public static enum NcStreamProto.DataType extends java.lang.Enum<NcStreamProto.DataType> implements com.google.protobuf.ProtocolMessageEnum
DataType
Enum Constant and Description |
---|
BYTE
BYTE = 1; |
CHAR
CHAR = 0; |
DOUBLE
DOUBLE = 6; |
ENUM1
ENUM1 = 10; |
ENUM2
ENUM2 = 11; |
ENUM4
ENUM4 = 12; |
FLOAT
FLOAT = 5; |
INT
INT = 3; |
LONG
LONG = 4; |
OPAQUE
OPAQUE = 13; |
SEQUENCE
SEQUENCE = 9; |
SHORT
SHORT = 2; |
STRING
STRING = 7; |
STRUCTURE
STRUCTURE = 8; |
Modifier and Type | Field and Description |
---|---|
static int |
BYTE_VALUE
BYTE = 1; |
static int |
CHAR_VALUE
CHAR = 0; |
static int |
DOUBLE_VALUE
DOUBLE = 6; |
static int |
ENUM1_VALUE
ENUM1 = 10; |
static int |
ENUM2_VALUE
ENUM2 = 11; |
static int |
ENUM4_VALUE
ENUM4 = 12; |
static int |
FLOAT_VALUE
FLOAT = 5; |
static int |
INT_VALUE
INT = 3; |
static int |
LONG_VALUE
LONG = 4; |
static int |
OPAQUE_VALUE
OPAQUE = 13; |
static int |
SEQUENCE_VALUE
SEQUENCE = 9; |
static int |
SHORT_VALUE
SHORT = 2; |
static int |
STRING_VALUE
STRING = 7; |
static int |
STRUCTURE_VALUE
STRUCTURE = 8; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NcStreamProto.DataType> |
internalGetValueMap() |
static NcStreamProto.DataType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NcStreamProto.DataType |
valueOf(int value) |
static NcStreamProto.DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NcStreamProto.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NcStreamProto.DataType CHAR
CHAR = 0;
public static final NcStreamProto.DataType BYTE
BYTE = 1;
public static final NcStreamProto.DataType SHORT
SHORT = 2;
public static final NcStreamProto.DataType INT
INT = 3;
public static final NcStreamProto.DataType LONG
LONG = 4;
public static final NcStreamProto.DataType FLOAT
FLOAT = 5;
public static final NcStreamProto.DataType DOUBLE
DOUBLE = 6;
public static final NcStreamProto.DataType STRING
STRING = 7;
public static final NcStreamProto.DataType STRUCTURE
STRUCTURE = 8;
public static final NcStreamProto.DataType SEQUENCE
SEQUENCE = 9;
public static final NcStreamProto.DataType ENUM1
ENUM1 = 10;
public static final NcStreamProto.DataType ENUM2
ENUM2 = 11;
public static final NcStreamProto.DataType ENUM4
ENUM4 = 12;
public static final NcStreamProto.DataType OPAQUE
OPAQUE = 13;
public static final int CHAR_VALUE
CHAR = 0;
public static final int BYTE_VALUE
BYTE = 1;
public static final int SHORT_VALUE
SHORT = 2;
public static final int INT_VALUE
INT = 3;
public static final int LONG_VALUE
LONG = 4;
public static final int FLOAT_VALUE
FLOAT = 5;
public static final int DOUBLE_VALUE
DOUBLE = 6;
public static final int STRING_VALUE
STRING = 7;
public static final int STRUCTURE_VALUE
STRUCTURE = 8;
public static final int SEQUENCE_VALUE
SEQUENCE = 9;
public static final int ENUM1_VALUE
ENUM1 = 10;
public static final int ENUM2_VALUE
ENUM2 = 11;
public static final int ENUM4_VALUE
ENUM4 = 12;
public static final int OPAQUE_VALUE
OPAQUE = 13;
public static NcStreamProto.DataType[] values()
for (NcStreamProto.DataType c : NcStreamProto.DataType.values()) System.out.println(c);
public static NcStreamProto.DataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static NcStreamProto.DataType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<NcStreamProto.DataType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NcStreamProto.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)