Class IdlTestIntegrationCommand.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<IdlTestIntegrationCommand>
org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationCommand>
ch.admin.bit.jeap.messaging.avro.command.integration.idl.IdlTestIntegrationCommand.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<IdlTestIntegrationCommand>
- Enclosing class:
IdlTestIntegrationCommand
public static class IdlTestIntegrationCommand.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationCommand>
implements org.apache.avro.data.RecordBuilder<IdlTestIntegrationCommand>
RecordBuilder for IdlTestIntegrationCommand instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'commandVersion' field.Clears the value of the 'identity' field.Clears the value of the 'payload' field.Clears the value of the 'publisher' field.Clears the value of the 'references' field.Clears the value of the 'type' field.Gets the value of the 'commandVersion' field.ch.admin.bit.jeap.messaging.avro.AvroMessageIdentityGets the value of the 'identity' field.ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity.BuilderGets the Builder instance for the 'identity' field and creates one if it doesn't exist yet.Gets the value of the 'commandVersion' field as an OptionalOptional<ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity> Gets the value of the 'identity' field as an OptionalGets the value of the 'payload' field as an OptionalOptional<ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher> Gets the value of the 'publisher' field as an OptionalGets the value of the 'references' field as an OptionalOptional<ch.admin.bit.jeap.messaging.avro.AvroMessageType> Gets the value of the 'type' field as an OptionalGets the value of the 'payload' field.Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet.ch.admin.bit.jeap.messaging.avro.AvroMessagePublisherGets the value of the 'publisher' field.ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher.BuilderGets the Builder instance for the 'publisher' field and creates one if it doesn't exist yet.Gets the value of the 'references' field.Gets the Builder instance for the 'references' field and creates one if it doesn't exist yet.ch.admin.bit.jeap.messaging.avro.AvroMessageTypegetType()Gets the value of the 'type' field.ch.admin.bit.jeap.messaging.avro.AvroMessageType.BuilderGets the Builder instance for the 'type' field and creates one if it doesn't exist yet.booleanChecks whether the 'commandVersion' field has been set.booleanChecks whether the 'identity' field has been set.booleanChecks whether the 'identity' field has an active Builder instancebooleanChecks whether the 'payload' field has been set.booleanChecks whether the 'payload' field has an active Builder instancebooleanChecks whether the 'publisher' field has been set.booleanChecks whether the 'publisher' field has an active Builder instancebooleanChecks whether the 'references' field has been set.booleanChecks whether the 'references' field has an active Builder instancebooleanhasType()Checks whether the 'type' field has been set.booleanChecks whether the 'type' field has an active Builder instancesetCommandVersion(String value) Sets the value of the 'commandVersion' field.setIdentity(ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity value) Sets the value of the 'identity' field.setIdentityBuilder(ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity.Builder value) Sets the Builder instance for the 'identity' fieldSets the value of the 'payload' field.Sets the Builder instance for the 'payload' fieldsetPublisher(ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher value) Sets the value of the 'publisher' field.setPublisherBuilder(ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher.Builder value) Sets the Builder instance for the 'publisher' fieldSets the value of the 'references' field.Sets the Builder instance for the 'references' fieldsetType(ch.admin.bit.jeap.messaging.avro.AvroMessageType value) Sets the value of the 'type' field.setTypeBuilder(ch.admin.bit.jeap.messaging.avro.AvroMessageType.Builder value) Sets the Builder instance for the 'type' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getIdentity
public ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity getIdentity()Gets the value of the 'identity' field.- Returns:
- The value.
-
getOptionalIdentity
Gets the value of the 'identity' field as an Optional- Returns:
- The Optional<value>.
-
setIdentity
public IdlTestIntegrationCommand.Builder setIdentity(ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity value) Sets the value of the 'identity' field.- Parameters:
value- The value of 'identity'.- Returns:
- This builder.
-
hasIdentity
public boolean hasIdentity()Checks whether the 'identity' field has been set.- Returns:
- True if the 'identity' field has been set, false otherwise.
-
getIdentityBuilder
public ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity.Builder getIdentityBuilder()Gets the Builder instance for the 'identity' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setIdentityBuilder
public IdlTestIntegrationCommand.Builder setIdentityBuilder(ch.admin.bit.jeap.messaging.avro.AvroMessageIdentity.Builder value) Sets the Builder instance for the 'identity' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasIdentityBuilder
public boolean hasIdentityBuilder()Checks whether the 'identity' field has an active Builder instance- Returns:
- True if the 'identity' field has an active Builder instance
-
clearIdentity
Clears the value of the 'identity' field.- Returns:
- This builder.
-
getType
public ch.admin.bit.jeap.messaging.avro.AvroMessageType getType()Gets the value of the 'type' field.- Returns:
- The value.
-
getOptionalType
Gets the value of the 'type' field as an Optional- Returns:
- The Optional<value>.
-
setType
public IdlTestIntegrationCommand.Builder setType(ch.admin.bit.jeap.messaging.avro.AvroMessageType value) Sets the value of the 'type' field.- Parameters:
value- The value of 'type'.- Returns:
- This builder.
-
hasType
public boolean hasType()Checks whether the 'type' field has been set.- Returns:
- True if the 'type' field has been set, false otherwise.
-
getTypeBuilder
public ch.admin.bit.jeap.messaging.avro.AvroMessageType.Builder getTypeBuilder()Gets the Builder instance for the 'type' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTypeBuilder
public IdlTestIntegrationCommand.Builder setTypeBuilder(ch.admin.bit.jeap.messaging.avro.AvroMessageType.Builder value) Sets the Builder instance for the 'type' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasTypeBuilder
public boolean hasTypeBuilder()Checks whether the 'type' field has an active Builder instance- Returns:
- True if the 'type' field has an active Builder instance
-
clearType
Clears the value of the 'type' field.- Returns:
- This builder.
-
getPublisher
public ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher getPublisher()Gets the value of the 'publisher' field.- Returns:
- The value.
-
getOptionalPublisher
Gets the value of the 'publisher' field as an Optional- Returns:
- The Optional<value>.
-
setPublisher
public IdlTestIntegrationCommand.Builder setPublisher(ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher value) Sets the value of the 'publisher' field.- Parameters:
value- The value of 'publisher'.- Returns:
- This builder.
-
hasPublisher
public boolean hasPublisher()Checks whether the 'publisher' field has been set.- Returns:
- True if the 'publisher' field has been set, false otherwise.
-
getPublisherBuilder
public ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher.Builder getPublisherBuilder()Gets the Builder instance for the 'publisher' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setPublisherBuilder
public IdlTestIntegrationCommand.Builder setPublisherBuilder(ch.admin.bit.jeap.messaging.avro.AvroMessagePublisher.Builder value) Sets the Builder instance for the 'publisher' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasPublisherBuilder
public boolean hasPublisherBuilder()Checks whether the 'publisher' field has an active Builder instance- Returns:
- True if the 'publisher' field has an active Builder instance
-
clearPublisher
Clears the value of the 'publisher' field.- Returns:
- This builder.
-
getReferences
Gets the value of the 'references' field.- Returns:
- The value.
-
getOptionalReferences
Gets the value of the 'references' field as an Optional- Returns:
- The Optional<value>.
-
setReferences
Sets the value of the 'references' field.- Parameters:
value- The value of 'references'.- Returns:
- This builder.
-
hasReferences
public boolean hasReferences()Checks whether the 'references' field has been set.- Returns:
- True if the 'references' field has been set, false otherwise.
-
getReferencesBuilder
Gets the Builder instance for the 'references' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setReferencesBuilder
public IdlTestIntegrationCommand.Builder setReferencesBuilder(IdlTestIntegrationReferences.Builder value) Sets the Builder instance for the 'references' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasReferencesBuilder
public boolean hasReferencesBuilder()Checks whether the 'references' field has an active Builder instance- Returns:
- True if the 'references' field has an active Builder instance
-
clearReferences
Clears the value of the 'references' field.- Returns:
- This builder.
-
getPayload
Gets the value of the 'payload' field.- Returns:
- The value.
-
getOptionalPayload
Gets the value of the 'payload' field as an Optional- Returns:
- The Optional<value>.
-
setPayload
Sets the value of the 'payload' field.- Parameters:
value- The value of 'payload'.- Returns:
- This builder.
-
hasPayload
public boolean hasPayload()Checks whether the 'payload' field has been set.- Returns:
- True if the 'payload' field has been set, false otherwise.
-
getPayloadBuilder
Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setPayloadBuilder
Sets the Builder instance for the 'payload' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasPayloadBuilder
public boolean hasPayloadBuilder()Checks whether the 'payload' field has an active Builder instance- Returns:
- True if the 'payload' field has an active Builder instance
-
clearPayload
Clears the value of the 'payload' field.- Returns:
- This builder.
-
getCommandVersion
Gets the value of the 'commandVersion' field.- Returns:
- The value.
-
getOptionalCommandVersion
Gets the value of the 'commandVersion' field as an Optional- Returns:
- The Optional<value>.
-
setCommandVersion
Sets the value of the 'commandVersion' field.- Parameters:
value- The value of 'commandVersion'.- Returns:
- This builder.
-
hasCommandVersion
public boolean hasCommandVersion()Checks whether the 'commandVersion' field has been set.- Returns:
- True if the 'commandVersion' field has been set, false otherwise.
-
clearCommandVersion
Clears the value of the 'commandVersion' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<IdlTestIntegrationCommand>
-