public static final class Command.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder> implements CommandOrBuilder
alluxio.grpc.Command
Modifier and Type | Method and Description |
---|---|
Command.Builder |
addAllData(Iterable<? extends Long> values)
repeated int64 data = 2; |
Command.Builder |
addData(long value)
repeated int64 data = 2; |
Command.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Command |
build() |
Command |
buildPartial() |
Command.Builder |
clear() |
Command.Builder |
clearCommandType()
optional .alluxio.grpc.CommandType commandType = 1; |
Command.Builder |
clearData()
repeated int64 data = 2; |
Command.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Command.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Command.Builder |
clone() |
CommandType |
getCommandType()
optional .alluxio.grpc.CommandType commandType = 1; |
long |
getData(int index)
repeated int64 data = 2; |
int |
getDataCount()
repeated int64 data = 2; |
List<Long> |
getDataList()
repeated int64 data = 2; |
Command |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCommandType()
optional .alluxio.grpc.CommandType commandType = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Command.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Command.Builder |
mergeFrom(Command other) |
Command.Builder |
mergeFrom(com.google.protobuf.Message other) |
Command.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Command.Builder |
setCommandType(CommandType value)
optional .alluxio.grpc.CommandType commandType = 1; |
Command.Builder |
setData(int index,
long value)
repeated int64 data = 2; |
Command.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Command.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Command.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Command build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Command buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Command.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Command.Builder>
public Command.Builder mergeFrom(Command other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Command.Builder>
IOException
public boolean hasCommandType()
optional .alluxio.grpc.CommandType commandType = 1;
hasCommandType
in interface CommandOrBuilder
public CommandType getCommandType()
optional .alluxio.grpc.CommandType commandType = 1;
getCommandType
in interface CommandOrBuilder
public Command.Builder setCommandType(CommandType value)
optional .alluxio.grpc.CommandType commandType = 1;
value
- The commandType to set.public Command.Builder clearCommandType()
optional .alluxio.grpc.CommandType commandType = 1;
public List<Long> getDataList()
repeated int64 data = 2;
getDataList
in interface CommandOrBuilder
public int getDataCount()
repeated int64 data = 2;
getDataCount
in interface CommandOrBuilder
public long getData(int index)
repeated int64 data = 2;
getData
in interface CommandOrBuilder
index
- The index of the element to return.public Command.Builder setData(int index, long value)
repeated int64 data = 2;
index
- The index to set the value at.value
- The data to set.public Command.Builder addData(long value)
repeated int64 data = 2;
value
- The data to add.public Command.Builder addAllData(Iterable<? extends Long> values)
repeated int64 data = 2;
values
- The data to add.public Command.Builder clearData()
repeated int64 data = 2;
public final Command.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public final Command.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
Copyright © 2023. All Rights Reserved.