Class LinkManagerDiscardedMarker.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class LinkManagerDiscardedMarker.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for LinkManagerDiscardedMarker instances.
-
-
Field Summary
Fields Modifier and Type Field Description public AuthenticatedMessageAndKey
message
public AuthenticatedMessageAndKey.Builder
messageBuilder
public String
reason
-
Method Summary
Modifier and Type Method Description AuthenticatedMessageAndKey
getMessage()
Gets the value of the 'message' field. LinkManagerDiscardedMarker.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. LinkManagerDiscardedMarker.Builder
setMessageBuilder(AuthenticatedMessageAndKey.Builder value)
Sets the Builder instance for the 'message' field A copy of the original message in P2P_OUT_TOPIC. String
getReason()
Gets the value of the 'reason' field. LinkManagerDiscardedMarker.Builder
setReason(String value)
Sets the value of the 'reason' 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. LinkManagerDiscardedMarker.Builder
clearMessage()
Clears the value of the 'message' field. boolean
hasReason()
Checks whether the 'reason' field has been set. LinkManagerDiscardedMarker.Builder
clearReason()
Clears the value of the 'reason' field. LinkManagerDiscardedMarker
build()
-
-
Method Detail
-
getMessage
AuthenticatedMessageAndKey getMessage()
Gets the value of the 'message' field. A copy of the original message in P2P_OUT_TOPIC.
-
setMessage
LinkManagerDiscardedMarker.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
LinkManagerDiscardedMarker.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.
-
getReason
String getReason()
Gets the value of the 'reason' field. The reason why the message was discarded.
-
setReason
LinkManagerDiscardedMarker.Builder setReason(String value)
Sets the value of the 'reason' field. The reason why the message was discarded.
- Parameters:
value
- The value of 'reason'.
-
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
LinkManagerDiscardedMarker.Builder clearMessage()
Clears the value of the 'message' field. A copy of the original message in P2P_OUT_TOPIC.
-
hasReason
boolean hasReason()
Checks whether the 'reason' field has been set. The reason why the message was discarded.
-
clearReason
LinkManagerDiscardedMarker.Builder clearReason()
Clears the value of the 'reason' field. The reason why the message was discarded.
-
build
LinkManagerDiscardedMarker build()
-
-
-
-