Class AuthenticatedMessageDeliveryState.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class AuthenticatedMessageDeliveryState.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for AuthenticatedMessageDeliveryState instances.
-
-
Field Summary
Fields Modifier and Type Field Description public AuthenticatedMessageAndKey
message
public AuthenticatedMessageAndKey.Builder
messageBuilder
public long
timestamp
-
Method Summary
Modifier and Type Method Description AuthenticatedMessageAndKey
getMessage()
Gets the value of the 'message' field. AuthenticatedMessageDeliveryState.Builder
setMessage(AuthenticatedMessageAndKey value)
Sets the value of the 'message' field. AuthenticatedMessageAndKey.Builder
getMessageBuilder()
Gets the Builder instance for the 'message' field and creates one if it doesn't exist yet. AuthenticatedMessageDeliveryState.Builder
setMessageBuilder(AuthenticatedMessageAndKey.Builder value)
Sets the Builder instance for the 'message' field A copy of the original message in P2P_OUT_TOPIC. long
getTimestamp()
Gets the value of the 'timestamp' field. AuthenticatedMessageDeliveryState.Builder
setTimestamp(long value)
Sets the value of the 'timestamp' field. boolean
hasMessage()
Checks whether the 'message' field has been set. boolean
hasMessageBuilder()
Checks whether the 'message' field has an active Builder instance A copy of the original message in P2P_OUT_TOPIC. AuthenticatedMessageDeliveryState.Builder
clearMessage()
Clears the value of the 'message' field. boolean
hasTimestamp()
Checks whether the 'timestamp' field has been set. AuthenticatedMessageDeliveryState.Builder
clearTimestamp()
Clears the value of the 'timestamp' field. AuthenticatedMessageDeliveryState
build()
-
-
Method Detail
-
getMessage
AuthenticatedMessageAndKey getMessage()
Gets the value of the 'message' field. A copy of the original message in P2P_OUT_TOPIC.
-
setMessage
AuthenticatedMessageDeliveryState.Builder setMessage(AuthenticatedMessageAndKey value)
Sets the value of the 'message' field. A copy of the original message in P2P_OUT_TOPIC.
- Parameters:
value
- The value of 'message'.
-
getMessageBuilder
AuthenticatedMessageAndKey.Builder getMessageBuilder()
Gets the Builder instance for the 'message' field and creates one if it doesn't exist yet. A copy of the original message in P2P_OUT_TOPIC.
-
setMessageBuilder
AuthenticatedMessageDeliveryState.Builder setMessageBuilder(AuthenticatedMessageAndKey.Builder value)
Sets the Builder instance for the 'message' field A copy of the original message in P2P_OUT_TOPIC.
- Parameters:
value
- The builder instance that must be set.
-
getTimestamp
long getTimestamp()
Gets the value of the 'timestamp' field. The timestamp when the message was originally processed for the first time.
-
setTimestamp
AuthenticatedMessageDeliveryState.Builder setTimestamp(long value)
Sets the value of the 'timestamp' field. The timestamp when the message was originally processed for the first time.
- Parameters:
value
- The value of 'timestamp'.
-
hasMessage
boolean hasMessage()
Checks whether the 'message' field has been set. A copy of the original message in P2P_OUT_TOPIC.
-
hasMessageBuilder
boolean hasMessageBuilder()
Checks whether the 'message' field has an active Builder instance A copy of the original message in P2P_OUT_TOPIC.
-
clearMessage
AuthenticatedMessageDeliveryState.Builder clearMessage()
Clears the value of the 'message' field. A copy of the original message in P2P_OUT_TOPIC.
-
hasTimestamp
boolean hasTimestamp()
Checks whether the 'timestamp' field has been set. The timestamp when the message was originally processed for the first time.
-
clearTimestamp
AuthenticatedMessageDeliveryState.Builder clearTimestamp()
Clears the value of the 'timestamp' field. The timestamp when the message was originally processed for the first time.
-
-
-
-