Class CompletedCommandMetadata.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CompletedCommandMetadata.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CompletedCommandMetadata instances.
-
-
Method Summary
Modifier and Type Method Description int
getIndex()
Gets the value of the 'index' field. CompletedCommandMetadata.Builder
setIndex(int value)
Sets the value of the 'index' field. String
getCommand()
Gets the value of the 'command' field. CompletedCommandMetadata.Builder
setCommand(String value)
Sets the value of the 'command' field. boolean
hasIndex()
Checks whether the 'index' field has been set. CompletedCommandMetadata.Builder
clearIndex()
Clears the value of the 'index' field. boolean
hasCommand()
Checks whether the 'command' field has been set. CompletedCommandMetadata.Builder
clearCommand()
Clears the value of the 'command' field. CompletedCommandMetadata
build()
-
-
Method Detail
-
getIndex
int getIndex()
Gets the value of the 'index' field. An index which can be used to determine the order of previously completed registration commands.
-
setIndex
CompletedCommandMetadata.Builder setIndex(int value)
Sets the value of the 'index' field. An index which can be used to determine the order of previously completed registration commands.
- Parameters:
value
- The value of 'index'.
-
getCommand
String getCommand()
Gets the value of the 'command' field. The name of the command which was completed.
-
setCommand
CompletedCommandMetadata.Builder setCommand(String value)
Sets the value of the 'command' field. The name of the command which was completed.
- Parameters:
value
- The value of 'command'.
-
hasIndex
boolean hasIndex()
Checks whether the 'index' field has been set. An index which can be used to determine the order of previously completed registration commands.
-
clearIndex
CompletedCommandMetadata.Builder clearIndex()
Clears the value of the 'index' field. An index which can be used to determine the order of previously completed registration commands.
-
hasCommand
boolean hasCommand()
Checks whether the 'command' field has been set. The name of the command which was completed.
-
clearCommand
CompletedCommandMetadata.Builder clearCommand()
Clears the value of the 'command' field. The name of the command which was completed.
-
build
CompletedCommandMetadata build()
-
-
-
-