Class Value.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<Value>
org.apache.camel.quarkus.component.avro.rpc.it.specific.generated.Value.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<Value>
- Enclosing class:
- Value
public static class Value.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<Value>
implements org.apache.avro.data.RecordBuilder<Value>
RecordBuilder for Value instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'value' field.getValue()Gets the value of the 'value' field.booleanhasValue()Checks whether the 'value' field has been set.setValue(CharSequence value) Sets the value of the 'value' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getValue
Gets the value of the 'value' field.- Returns:
- The value.
-
setValue
Sets the value of the 'value' field.- Parameters:
value- The value of 'value'.- Returns:
- This builder.
-
hasValue
public boolean hasValue()Checks whether the 'value' field has been set.- Returns:
- True if the 'value' field has been set, false otherwise.
-
clearValue
Clears the value of the 'value' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<Value>
-