Class Key.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Key>
-
- org.apache.camel.quarkus.component.avro.rpc.it.specific.generated.Key.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Keybuild()Key.BuilderclearKey()Clears the value of the 'key' field.CharSequencegetKey()Gets the value of the 'key' field.booleanhasKey()Checks whether the 'key' field has been set.Key.BuildersetKey(CharSequence value)Sets the value of the 'key' field.
-
-
-
Method Detail
-
getKey
public CharSequence getKey()
Gets the value of the 'key' field.- Returns:
- The value.
-
setKey
public Key.Builder setKey(CharSequence value)
Sets the value of the 'key' field.- Parameters:
value- The value of 'key'.- Returns:
- This builder.
-
hasKey
public boolean hasKey()
Checks whether the 'key' field has been set.- Returns:
- True if the 'key' field has been set, false otherwise.
-
clearKey
public Key.Builder clearKey()
Clears the value of the 'key' field.- Returns:
- This builder.
-
-