Package io.deephaven.proto.controller
Enum Class ServerTypeEnum
- All Implemented Interfaces:
io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
,io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ServerTypeEnum>
,java.lang.constant.Constable
public enum ServerTypeEnum
extends Enum<ServerTypeEnum>
implements io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
Protobuf enum
io.deephaven.proto.controller.ServerTypeEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSTE_DISPATCHER = 1;
STE_GROUP = 2;
STE_UNSPECIFIED = 0;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
STE_DISPATCHER = 1;
static final int
STE_GROUP = 2;
static final int
STE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerTypeEnum
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<ServerTypeEnum>
static ServerTypeEnum
valueOf
(int value) Deprecated.static ServerTypeEnum
valueOf
(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ServerTypeEnum
Returns the enum constant of this class with the specified name.static ServerTypeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STE_UNSPECIFIED
STE_UNSPECIFIED = 0;
-
STE_DISPATCHER
STE_DISPATCHER = 1;
-
STE_GROUP
STE_GROUP = 2;
-
UNRECOGNIZED
-
-
Field Details
-
STE_UNSPECIFIED_VALUE
public static final int STE_UNSPECIFIED_VALUESTE_UNSPECIFIED = 0;
- See Also:
-
STE_DISPATCHER_VALUE
public static final int STE_DISPATCHER_VALUESTE_DISPATCHER = 1;
- See Also:
-
STE_GROUP_VALUE
public static final int STE_GROUP_VALUESTE_GROUP = 2;
- 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<ServerTypeEnum> 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 ServerTypeEnum 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
-