Package io.deephaven.proto.common
Enum Class NamespaceSetEnum
- All Implemented Interfaces:
io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
,io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<NamespaceSetEnum>
,java.lang.constant.Constable
public enum NamespaceSetEnum
extends Enum<NamespaceSetEnum>
implements io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
Enum mirroring NamespaceSetProtobuf enum
io.deephaven.proto.common.NamespaceSetEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
SYSTEM = 1;
static final int
UNSET = 0;
static final int
USER = 2;
-
Method Summary
Modifier and TypeMethodDescriptionstatic NamespaceSetEnum
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<NamespaceSetEnum>
static NamespaceSetEnum
valueOf
(int value) Deprecated.static NamespaceSetEnum
valueOf
(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static NamespaceSetEnum
Returns the enum constant of this class with the specified name.static NamespaceSetEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSET
UNSET = 0;
-
SYSTEM
SYSTEM = 1;
-
USER
USER = 2;
-
UNRECOGNIZED
-
-
Field Details
-
UNSET_VALUE
public static final int UNSET_VALUEUNSET = 0;
- See Also:
-
SYSTEM_VALUE
public static final int SYSTEM_VALUESYSTEM = 1;
- See Also:
-
USER_VALUE
public static final int USER_VALUEUSER = 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<NamespaceSetEnum> 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 NamespaceSetEnum 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
-