public static enum Logs.SlsCompressType extends Enum<Logs.SlsCompressType> implements com.google.protobuf.ProtocolMessageEnum
com.aliyun.openservices.log.common.SlsCompressType| Enum Constant and Description |
|---|
SLS_CMP_DEFLATE
SLS_CMP_DEFLATE = 1; |
SLS_CMP_LZ4
SLS_CMP_LZ4 = 2; |
SLS_CMP_NONE
SLS_CMP_NONE = 0; |
SLS_CMP_ZSTD
SLS_CMP_ZSTD = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
SLS_CMP_DEFLATE_VALUE
SLS_CMP_DEFLATE = 1; |
static int |
SLS_CMP_LZ4_VALUE
SLS_CMP_LZ4 = 2; |
static int |
SLS_CMP_NONE_VALUE
SLS_CMP_NONE = 0; |
static int |
SLS_CMP_ZSTD_VALUE
SLS_CMP_ZSTD = 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<Logs.SlsCompressType> |
internalGetValueMap() |
static Logs.SlsCompressType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Logs.SlsCompressType |
valueOf(int value) |
static Logs.SlsCompressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Logs.SlsCompressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logs.SlsCompressType SLS_CMP_NONE
SLS_CMP_NONE = 0;public static final Logs.SlsCompressType SLS_CMP_DEFLATE
SLS_CMP_DEFLATE = 1;public static final Logs.SlsCompressType SLS_CMP_LZ4
SLS_CMP_LZ4 = 2;public static final Logs.SlsCompressType SLS_CMP_ZSTD
SLS_CMP_ZSTD = 3;public static final int SLS_CMP_NONE_VALUE
SLS_CMP_NONE = 0;public static final int SLS_CMP_DEFLATE_VALUE
SLS_CMP_DEFLATE = 1;public static final int SLS_CMP_LZ4_VALUE
SLS_CMP_LZ4 = 2;public static final int SLS_CMP_ZSTD_VALUE
SLS_CMP_ZSTD = 3;public static Logs.SlsCompressType[] values()
for (Logs.SlsCompressType c : Logs.SlsCompressType.values()) System.out.println(c);
public static Logs.SlsCompressType 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 Logs.SlsCompressType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Logs.SlsCompressType> 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 Logs.SlsCompressType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All Rights Reserved.