public enum CompressionType extends Enum<CompressionType> implements com.google.protobuf.ProtocolMessageEnum
The ways in which threat entry sets can be compressed.Protobuf enum
google.cloud.webrisk.v1beta1.CompressionType| Enum Constant and Description |
|---|
COMPRESSION_TYPE_UNSPECIFIED
Unknown.
|
RAW
Raw, uncompressed data.
|
RICE
Rice-Golomb encoded data.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESSION_TYPE_UNSPECIFIED_VALUE
Unknown.
|
static int |
RAW_VALUE
Raw, uncompressed data.
|
static int |
RICE_VALUE
Rice-Golomb encoded data.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressionType |
forNumber(int 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<CompressionType> |
internalGetValueMap() |
static CompressionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CompressionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionType COMPRESSION_TYPE_UNSPECIFIED
Unknown.
COMPRESSION_TYPE_UNSPECIFIED = 0;public static final CompressionType RAW
Raw, uncompressed data.
RAW = 1;public static final CompressionType RICE
Rice-Golomb encoded data.
RICE = 2;public static final CompressionType UNRECOGNIZED
public static final int COMPRESSION_TYPE_UNSPECIFIED_VALUE
Unknown.
COMPRESSION_TYPE_UNSPECIFIED = 0;public static final int RAW_VALUE
Raw, uncompressed data.
RAW = 1;public static final int RICE_VALUE
Rice-Golomb encoded data.
RICE = 2;public static CompressionType[] values()
for (CompressionType c : CompressionType.values()) System.out.println(c);
public static CompressionType 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.ProtocolMessageEnum@Deprecated public static CompressionType valueOf(int value)
forNumber(int) instead.public static CompressionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CompressionType> 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 CompressionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.