Enum CommandType
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum CommandType implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.query.v1.CommandType
-
-
Field Summary
Fields Modifier and Type Field Description public final static intCOMMAND_TYPE_UNSPECIFIED_VALUEpublic final static intCOMMAND_TYPE_EXEC_VALUEpublic final static intCOMMAND_TYPE_EXECRESULT_VALUEpublic final static intCOMMAND_TYPE_ONE_VALUEpublic final static intCOMMAND_TYPE_MANY_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAND_TYPE_UNSPECIFIEDCOMMAND_TYPE_UNSPECIFIED = 0;COMMAND_TYPE_EXECCOMMAND_TYPE_EXEC = 1;COMMAND_TYPE_EXECRESULTCOMMAND_TYPE_EXECRESULT = 2;COMMAND_TYPE_ONECOMMAND_TYPE_ONE = 3;COMMAND_TYPE_MANYCOMMAND_TYPE_MANY = 4;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static CommandTypevalueOf(int value)static CommandTypeforNumber(int value)static Internal.EnumLiteMap<CommandType>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static CommandTypevalueOf(Descriptors.EnumValueDescriptor desc)static Array<CommandType>values()Returns an array containing the constants of this enum type, in the order they're declared. static CommandTypevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static CommandType valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static CommandType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
internalGetValueMap
static Internal.EnumLiteMap<CommandType> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static CommandType valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<CommandType> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static CommandType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-