Package io.deephaven.proto.common
Enum Class EncodingTypeEnum
- All Implemented Interfaces:
io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
,io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<EncodingTypeEnum>
,java.lang.constant.Constable
public enum EncodingTypeEnum
extends Enum<EncodingTypeEnum>
implements io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
Protobuf enum
io.deephaven.proto.common.EncodingTypeEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionET_ISO_8859_1 = 1;
ET_UNSPECIFIED = 0;
ET_US_ASCII = 4;
ET_UTF_16 = 8;
ET_UTF_16BE = 16;
ET_UTF_16LE = 32;
ET_UTF_8 = 2;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
ET_ISO_8859_1 = 1;
static final int
ET_UNSPECIFIED = 0;
static final int
ET_US_ASCII = 4;
static final int
ET_UTF_16 = 8;
static final int
ET_UTF_16BE = 16;
static final int
ET_UTF_16LE = 32;
static final int
ET_UTF_8 = 2;
-
Method Summary
Modifier and TypeMethodDescriptionstatic EncodingTypeEnum
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<EncodingTypeEnum>
static EncodingTypeEnum
valueOf
(int value) Deprecated.static EncodingTypeEnum
valueOf
(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static EncodingTypeEnum
Returns the enum constant of this class with the specified name.static EncodingTypeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ET_UNSPECIFIED
ET_UNSPECIFIED = 0;
-
ET_ISO_8859_1
ET_ISO_8859_1 = 1;
-
ET_UTF_8
ET_UTF_8 = 2;
-
ET_US_ASCII
ET_US_ASCII = 4;
-
ET_UTF_16
ET_UTF_16 = 8;
-
ET_UTF_16BE
ET_UTF_16BE = 16;
-
ET_UTF_16LE
ET_UTF_16LE = 32;
-
UNRECOGNIZED
-
-
Field Details
-
ET_UNSPECIFIED_VALUE
public static final int ET_UNSPECIFIED_VALUEET_UNSPECIFIED = 0;
- See Also:
-
ET_ISO_8859_1_VALUE
public static final int ET_ISO_8859_1_VALUEET_ISO_8859_1 = 1;
- See Also:
-
ET_UTF_8_VALUE
public static final int ET_UTF_8_VALUEET_UTF_8 = 2;
- See Also:
-
ET_US_ASCII_VALUE
public static final int ET_US_ASCII_VALUEET_US_ASCII = 4;
- See Also:
-
ET_UTF_16_VALUE
public static final int ET_UTF_16_VALUEET_UTF_16 = 8;
- See Also:
-
ET_UTF_16BE_VALUE
public static final int ET_UTF_16BE_VALUEET_UTF_16BE = 16;
- See Also:
-
ET_UTF_16LE_VALUE
public static final int ET_UTF_16LE_VALUEET_UTF_16LE = 32;
- 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<EncodingTypeEnum> 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 EncodingTypeEnum 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
-