Class IdlTestIntegrationPayload.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<IdlTestIntegrationPayload>
org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationPayload>
ch.admin.bit.jeap.messaging.avro.command.integration.idl.IdlTestIntegrationPayload.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<IdlTestIntegrationPayload>
- Enclosing class:
IdlTestIntegrationPayload
public static class IdlTestIntegrationPayload.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationPayload>
implements org.apache.avro.data.RecordBuilder<IdlTestIntegrationPayload>
RecordBuilder for IdlTestIntegrationPayload instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'message' field.Gets the value of the 'message' field.Gets the value of the 'message' field as an OptionalbooleanChecks whether the 'message' field has been set.setMessage(String value) Sets the value of the 'message' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getMessage
Gets the value of the 'message' field.- Returns:
- The value.
-
getOptionalMessage
Gets the value of the 'message' field as an Optional- Returns:
- The Optional<value>.
-
setMessage
Sets the value of the 'message' field.- Parameters:
value- The value of 'message'.- Returns:
- This builder.
-
hasMessage
public boolean hasMessage()Checks whether the 'message' field has been set.- Returns:
- True if the 'message' field has been set, false otherwise.
-
clearMessage
Clears the value of the 'message' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<IdlTestIntegrationPayload>
-