Package io.deephaven.proto.controller
Enum Class RestartUsersEnum
- All Implemented Interfaces:
io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite,io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RestartUsersEnum>,java.lang.constant.Constable
public enum RestartUsersEnum
extends Enum<RestartUsersEnum>
implements io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
Deephaven data typesProtobuf enum
io.deephaven.proto.controller.RestartUsersEnum-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRU_ADMIN = 1;RU_ADMIN_AND_VIEWERS = 2;RU_RESERVED_1 = 3;RU_UNSPECIFIED = 0;RU_VIEWERS_WHEN_DOWN = 4; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRU_ADMIN_AND_VIEWERS = 2;static final intRU_ADMIN = 1;static final intRU_RESERVED_1 = 3;static final intRU_UNSPECIFIED = 0;static final intRU_VIEWERS_WHEN_DOWN = 4; -
Method Summary
Modifier and TypeMethodDescriptionstatic RestartUsersEnumforNumber(int value) static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptorfinal io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptorstatic io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLiteMap<RestartUsersEnum>static RestartUsersEnumvalueOf(int value) Deprecated.static RestartUsersEnumvalueOf(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static RestartUsersEnumReturns the enum constant of this class with the specified name.static RestartUsersEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RU_UNSPECIFIED
RU_UNSPECIFIED = 0; -
RU_ADMIN
RU_ADMIN = 1; -
RU_ADMIN_AND_VIEWERS
RU_ADMIN_AND_VIEWERS = 2; -
RU_RESERVED_1
RU_RESERVED_1 = 3; -
RU_VIEWERS_WHEN_DOWN
RU_VIEWERS_WHEN_DOWN = 4; -
UNRECOGNIZED
-
-
Field Details
-
RU_UNSPECIFIED_VALUE
public static final int RU_UNSPECIFIED_VALUERU_UNSPECIFIED = 0;- See Also:
-
RU_ADMIN_VALUE
public static final int RU_ADMIN_VALUERU_ADMIN = 1;- See Also:
-
RU_ADMIN_AND_VIEWERS_VALUE
public static final int RU_ADMIN_AND_VIEWERS_VALUERU_ADMIN_AND_VIEWERS = 2;- See Also:
-
RU_RESERVED_1_VALUE
public static final int RU_RESERVED_1_VALUERU_RESERVED_1 = 3;- See Also:
-
RU_VIEWERS_WHEN_DOWN_VALUE
public static final int RU_VIEWERS_WHEN_DOWN_VALUERU_VIEWERS_WHEN_DOWN = 4;- 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:
getNumberin interfaceio.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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<RestartUsersEnum> internalGetValueMap() -
getValueDescriptor
public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfaceio.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein 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 RestartUsersEnum 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
-