Package io.deephaven.proto.controller
Enum Class ScriptCommandEnum
- All Implemented Interfaces:
io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
,io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ScriptCommandEnum>
,java.lang.constant.Constable
public enum ScriptCommandEnum
extends Enum<ScriptCommandEnum>
implements io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
Protobuf enum
io.deephaven.proto.controller.ScriptCommandEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSCE_GET_AS_OTHER = 2;
SCE_GET_AS_SELF = 1;
SCE_GET_FOR_QUERY = 3;
SCE_UNSPECIFIED = 0;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
SCE_GET_AS_OTHER = 2;
static final int
SCE_GET_AS_SELF = 1;
static final int
SCE_GET_FOR_QUERY = 3;
static final int
SCE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptCommandEnum
forNumber
(int value) static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor
final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor
final int
final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor
static io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLiteMap<ScriptCommandEnum>
static ScriptCommandEnum
valueOf
(int value) Deprecated.static ScriptCommandEnum
valueOf
(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ScriptCommandEnum
Returns the enum constant of this class with the specified name.static ScriptCommandEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCE_UNSPECIFIED
SCE_UNSPECIFIED = 0;
-
SCE_GET_AS_SELF
SCE_GET_AS_SELF = 1;
-
SCE_GET_AS_OTHER
SCE_GET_AS_OTHER = 2;
-
SCE_GET_FOR_QUERY
SCE_GET_FOR_QUERY = 3;
-
UNRECOGNIZED
-
-
Field Details
-
SCE_UNSPECIFIED_VALUE
public static final int SCE_UNSPECIFIED_VALUESCE_UNSPECIFIED = 0;
- See Also:
-
SCE_GET_AS_SELF_VALUE
public static final int SCE_GET_AS_SELF_VALUESCE_GET_AS_SELF = 1;
- See Also:
-
SCE_GET_AS_OTHER_VALUE
public static final int SCE_GET_AS_OTHER_VALUESCE_GET_AS_OTHER = 2;
- See Also:
-
SCE_GET_FOR_QUERY_VALUE
public static final int SCE_GET_FOR_QUERY_VALUESCE_GET_FOR_QUERY = 3;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfaceio.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfaceio.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLiteMap<ScriptCommandEnum> internalGetValueMap() -
getValueDescriptor
public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfaceio.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfaceio.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ScriptCommandEnum valueOf(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-