public static enum SofaRpcProto.SofaCompressType extends Enum<SofaRpcProto.SofaCompressType> implements com.google.protobuf.ProtocolMessageEnum
brpc.policy.SofaCompressType| Enum Constant and Description |
|---|
SOFA_COMPRESS_TYPE_GZIP
SOFA_COMPRESS_TYPE_GZIP = 1; |
SOFA_COMPRESS_TYPE_LZ4
SOFA_COMPRESS_TYPE_LZ4 = 4; |
SOFA_COMPRESS_TYPE_NONE
SOFA_COMPRESS_TYPE_NONE = 0; |
SOFA_COMPRESS_TYPE_SNAPPY
SOFA_COMPRESS_TYPE_SNAPPY = 3; |
SOFA_COMPRESS_TYPE_ZLIB
SOFA_COMPRESS_TYPE_ZLIB = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
SOFA_COMPRESS_TYPE_GZIP_VALUE
SOFA_COMPRESS_TYPE_GZIP = 1; |
static int |
SOFA_COMPRESS_TYPE_LZ4_VALUE
SOFA_COMPRESS_TYPE_LZ4 = 4; |
static int |
SOFA_COMPRESS_TYPE_NONE_VALUE
SOFA_COMPRESS_TYPE_NONE = 0; |
static int |
SOFA_COMPRESS_TYPE_SNAPPY_VALUE
SOFA_COMPRESS_TYPE_SNAPPY = 3; |
static int |
SOFA_COMPRESS_TYPE_ZLIB_VALUE
SOFA_COMPRESS_TYPE_ZLIB = 2; |
| 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<SofaRpcProto.SofaCompressType> |
internalGetValueMap() |
static SofaRpcProto.SofaCompressType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SofaRpcProto.SofaCompressType |
valueOf(int value) |
static SofaRpcProto.SofaCompressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SofaRpcProto.SofaCompressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SofaRpcProto.SofaCompressType SOFA_COMPRESS_TYPE_NONE
SOFA_COMPRESS_TYPE_NONE = 0;public static final SofaRpcProto.SofaCompressType SOFA_COMPRESS_TYPE_GZIP
SOFA_COMPRESS_TYPE_GZIP = 1;public static final SofaRpcProto.SofaCompressType SOFA_COMPRESS_TYPE_ZLIB
SOFA_COMPRESS_TYPE_ZLIB = 2;public static final SofaRpcProto.SofaCompressType SOFA_COMPRESS_TYPE_SNAPPY
SOFA_COMPRESS_TYPE_SNAPPY = 3;public static final SofaRpcProto.SofaCompressType SOFA_COMPRESS_TYPE_LZ4
SOFA_COMPRESS_TYPE_LZ4 = 4;public static final int SOFA_COMPRESS_TYPE_NONE_VALUE
SOFA_COMPRESS_TYPE_NONE = 0;public static final int SOFA_COMPRESS_TYPE_GZIP_VALUE
SOFA_COMPRESS_TYPE_GZIP = 1;public static final int SOFA_COMPRESS_TYPE_ZLIB_VALUE
SOFA_COMPRESS_TYPE_ZLIB = 2;public static final int SOFA_COMPRESS_TYPE_SNAPPY_VALUE
SOFA_COMPRESS_TYPE_SNAPPY = 3;public static final int SOFA_COMPRESS_TYPE_LZ4_VALUE
SOFA_COMPRESS_TYPE_LZ4 = 4;public static SofaRpcProto.SofaCompressType[] values()
for (SofaRpcProto.SofaCompressType c : SofaRpcProto.SofaCompressType.values()) System.out.println(c);
public static SofaRpcProto.SofaCompressType 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 SofaRpcProto.SofaCompressType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SofaRpcProto.SofaCompressType> 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 SofaRpcProto.SofaCompressType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Baidu, Inc.. All rights reserved.