public static enum OtsDelivery.Encoding extends Enum<OtsDelivery.Encoding> implements com.google.protobuf.ProtocolMessageEnum
枚举常量和说明 |
---|
DELTA_BINARY_PACKED |
DELTA_BYTE_ARRAY |
DELTA_LENGTH_BYTE_ARRAY |
PLAIN |
PLAIN_DICTIONARY |
限定符和类型 | 字段和说明 |
---|---|
static int |
DELTA_BINARY_PACKED_VALUE |
static int |
DELTA_BYTE_ARRAY_VALUE |
static int |
DELTA_LENGTH_BYTE_ARRAY_VALUE |
static int |
PLAIN_DICTIONARY_VALUE |
static int |
PLAIN_VALUE |
限定符和类型 | 方法和说明 |
---|---|
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<OtsDelivery.Encoding> |
internalGetValueMap() |
static OtsDelivery.Encoding |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OtsDelivery.Encoding |
valueOf(int value) |
static OtsDelivery.Encoding |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static OtsDelivery.Encoding[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final OtsDelivery.Encoding PLAIN
public static final OtsDelivery.Encoding PLAIN_DICTIONARY
public static final OtsDelivery.Encoding DELTA_BINARY_PACKED
public static final OtsDelivery.Encoding DELTA_BYTE_ARRAY
public static final OtsDelivery.Encoding DELTA_LENGTH_BYTE_ARRAY
public static final int PLAIN_VALUE
public static final int PLAIN_DICTIONARY_VALUE
public static final int DELTA_BINARY_PACKED_VALUE
public static final int DELTA_BYTE_ARRAY_VALUE
public static final int DELTA_LENGTH_BYTE_ARRAY_VALUE
public static OtsDelivery.Encoding[] values()
for (OtsDelivery.Encoding c : OtsDelivery.Encoding.values()) System.out.println(c);
public static OtsDelivery.Encoding valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public final int getNumber()
getNumber
在接口中 com.google.protobuf.Internal.EnumLite
getNumber
在接口中 com.google.protobuf.ProtocolMessageEnum
public static OtsDelivery.Encoding valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OtsDelivery.Encoding> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
在接口中 com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
在接口中 com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OtsDelivery.Encoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All Rights Reserved.