public static enum HuluRpcProto.HuluCompressType extends Enum<HuluRpcProto.HuluCompressType> implements com.google.protobuf.ProtocolMessageEnum
brpc.policy.HuluCompressType| Enum Constant and Description |
|---|
HULU_COMPRESS_TYPE_GZIP
HULU_COMPRESS_TYPE_GZIP = 2; |
HULU_COMPRESS_TYPE_NONE
HULU_COMPRESS_TYPE_NONE = 0; |
HULU_COMPRESS_TYPE_SNAPPY
HULU_COMPRESS_TYPE_SNAPPY = 1; |
HULU_COMPRESS_TYPE_ZLIB
HULU_COMPRESS_TYPE_ZLIB = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
HULU_COMPRESS_TYPE_GZIP_VALUE
HULU_COMPRESS_TYPE_GZIP = 2; |
static int |
HULU_COMPRESS_TYPE_NONE_VALUE
HULU_COMPRESS_TYPE_NONE = 0; |
static int |
HULU_COMPRESS_TYPE_SNAPPY_VALUE
HULU_COMPRESS_TYPE_SNAPPY = 1; |
static int |
HULU_COMPRESS_TYPE_ZLIB_VALUE
HULU_COMPRESS_TYPE_ZLIB = 3; |
| 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<HuluRpcProto.HuluCompressType> |
internalGetValueMap() |
static HuluRpcProto.HuluCompressType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HuluRpcProto.HuluCompressType |
valueOf(int value) |
static HuluRpcProto.HuluCompressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HuluRpcProto.HuluCompressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HuluRpcProto.HuluCompressType HULU_COMPRESS_TYPE_NONE
HULU_COMPRESS_TYPE_NONE = 0;public static final HuluRpcProto.HuluCompressType HULU_COMPRESS_TYPE_SNAPPY
HULU_COMPRESS_TYPE_SNAPPY = 1;public static final HuluRpcProto.HuluCompressType HULU_COMPRESS_TYPE_GZIP
HULU_COMPRESS_TYPE_GZIP = 2;public static final HuluRpcProto.HuluCompressType HULU_COMPRESS_TYPE_ZLIB
HULU_COMPRESS_TYPE_ZLIB = 3;public static final int HULU_COMPRESS_TYPE_NONE_VALUE
HULU_COMPRESS_TYPE_NONE = 0;public static final int HULU_COMPRESS_TYPE_SNAPPY_VALUE
HULU_COMPRESS_TYPE_SNAPPY = 1;public static final int HULU_COMPRESS_TYPE_GZIP_VALUE
HULU_COMPRESS_TYPE_GZIP = 2;public static final int HULU_COMPRESS_TYPE_ZLIB_VALUE
HULU_COMPRESS_TYPE_ZLIB = 3;public static HuluRpcProto.HuluCompressType[] values()
for (HuluRpcProto.HuluCompressType c : HuluRpcProto.HuluCompressType.values()) System.out.println(c);
public static HuluRpcProto.HuluCompressType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static HuluRpcProto.HuluCompressType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HuluRpcProto.HuluCompressType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HuluRpcProto.HuluCompressType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Baidu, Inc.. All rights reserved.