public static enum NcStreamProto.Attribute.Type extends java.lang.Enum<NcStreamProto.Attribute.Type> implements com.google.protobuf.ProtocolMessageEnum
Attribute.Type
Enum Constant and Description |
---|
BYTE
BYTE = 1; |
DOUBLE
DOUBLE = 6; |
FLOAT
FLOAT = 5; |
INT
INT = 3; |
LONG
LONG = 4; |
SHORT
SHORT = 2; |
STRING
STRING = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
BYTE_VALUE
BYTE = 1; |
static int |
DOUBLE_VALUE
DOUBLE = 6; |
static int |
FLOAT_VALUE
FLOAT = 5; |
static int |
INT_VALUE
INT = 3; |
static int |
LONG_VALUE
LONG = 4; |
static int |
SHORT_VALUE
SHORT = 2; |
static int |
STRING_VALUE
STRING = 0; |
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.Attribute.Type> |
internalGetValueMap() |
static NcStreamProto.Attribute.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NcStreamProto.Attribute.Type |
valueOf(int value) |
static NcStreamProto.Attribute.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NcStreamProto.Attribute.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NcStreamProto.Attribute.Type STRING
STRING = 0;
public static final NcStreamProto.Attribute.Type BYTE
BYTE = 1;
public static final NcStreamProto.Attribute.Type SHORT
SHORT = 2;
public static final NcStreamProto.Attribute.Type INT
INT = 3;
public static final NcStreamProto.Attribute.Type LONG
LONG = 4;
public static final NcStreamProto.Attribute.Type FLOAT
FLOAT = 5;
public static final NcStreamProto.Attribute.Type DOUBLE
DOUBLE = 6;
public static final int STRING_VALUE
STRING = 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 NcStreamProto.Attribute.Type[] values()
for (NcStreamProto.Attribute.Type c : NcStreamProto.Attribute.Type.values()) System.out.println(c);
public static NcStreamProto.Attribute.Type 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.Attribute.Type valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<NcStreamProto.Attribute.Type> 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.Attribute.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)