public static enum NcStreamProto.Compress extends java.lang.Enum<NcStreamProto.Compress> implements com.google.protobuf.ProtocolMessageEnum
Compress
Enum Constant and Description |
---|
DEFLATE
DEFLATE = 1; |
NONE
NONE = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
DEFLATE_VALUE
DEFLATE = 1; |
static int |
NONE_VALUE
NONE = 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.Compress> |
internalGetValueMap() |
static NcStreamProto.Compress |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NcStreamProto.Compress |
valueOf(int value) |
static NcStreamProto.Compress |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NcStreamProto.Compress[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NcStreamProto.Compress NONE
NONE = 0;
public static final NcStreamProto.Compress DEFLATE
DEFLATE = 1;
public static final int NONE_VALUE
NONE = 0;
public static final int DEFLATE_VALUE
DEFLATE = 1;
public static NcStreamProto.Compress[] values()
for (NcStreamProto.Compress c : NcStreamProto.Compress.values()) System.out.println(c);
public static NcStreamProto.Compress 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.Compress valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<NcStreamProto.Compress> 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.Compress valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)