public static final class PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder extends Object implements PubSubSystemEvent.Builder<PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder>
PubSubMqttJsonConnectionNetworkMessageSentEvent.| Modifier and Type | Field and Description |
|---|---|
protected PubSubMqttJsonConnectionConf |
connection |
protected ByteString |
encodedMessage |
protected String |
topic |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PubSubMqttJsonConnectionNetworkMessageSentEvent |
build()
Returns an instance of
PubSubMqttJsonConnectionNetworkMessageSentEvent with the values given to this builder. |
PubSubMqttJsonConnectionConf |
getConnection() |
ByteString |
getEncodedMessage() |
String |
getTopic() |
PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder |
setConnection(PubSubMqttJsonConnectionConf connection)
Set the value for
PubSubMqttJsonConnectionNetworkMessageSentEvent.getConnection(). |
PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder |
setEncodedMessage(ByteString encodedMessage)
Set the value for
PubSubMqttJsonConnectionNetworkMessageSentEvent.getEncodedMessage(). |
PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder |
setTopic(String topic)
Set the value for
PubSubMqttJsonConnectionNetworkMessageSentEvent.getTopic(). |
protected PubSubMqttJsonConnectionConf connection
protected ByteString encodedMessage
protected String topic
public PubSubMqttJsonConnectionConf getConnection()
public ByteString getEncodedMessage()
public String getTopic()
public PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder setConnection(PubSubMqttJsonConnectionConf connection)
PubSubMqttJsonConnectionNetworkMessageSentEvent.getConnection(). Returns itself for method chaining.public PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder setEncodedMessage(ByteString encodedMessage)
PubSubMqttJsonConnectionNetworkMessageSentEvent.getEncodedMessage(). Returns itself for method chaining.public PubSubMqttJsonConnectionNetworkMessageSentEvent.Builder setTopic(String topic)
PubSubMqttJsonConnectionNetworkMessageSentEvent.getTopic(). Returns itself for method chaining.public PubSubMqttJsonConnectionNetworkMessageSentEvent build()
PubSubMqttJsonConnectionNetworkMessageSentEvent with the values given to this builder.Copyright © 2026. All rights reserved.