public static enum JsonFileFormat.JsonCompression extends Enum<JsonFileFormat.JsonCompression> implements com.google.protobuf.ProtocolMessageEnum
Json file compression.Protobuf enum
google.cloud.datastream.v1.JsonFileFormat.JsonCompression| Enum Constant and Description |
|---|
GZIP
Gzip compression.
|
JSON_COMPRESSION_UNSPECIFIED
Unspecified json file compression.
|
NO_COMPRESSION
Do not compress JSON file.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GZIP_VALUE
Gzip compression.
|
static int |
JSON_COMPRESSION_UNSPECIFIED_VALUE
Unspecified json file compression.
|
static int |
NO_COMPRESSION_VALUE
Do not compress JSON file.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonFileFormat.JsonCompression |
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<JsonFileFormat.JsonCompression> |
internalGetValueMap() |
static JsonFileFormat.JsonCompression |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static JsonFileFormat.JsonCompression |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JsonFileFormat.JsonCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonFileFormat.JsonCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonFileFormat.JsonCompression JSON_COMPRESSION_UNSPECIFIED
Unspecified json file compression.
JSON_COMPRESSION_UNSPECIFIED = 0;public static final JsonFileFormat.JsonCompression NO_COMPRESSION
Do not compress JSON file.
NO_COMPRESSION = 1;public static final JsonFileFormat.JsonCompression GZIP
Gzip compression.
GZIP = 2;public static final JsonFileFormat.JsonCompression UNRECOGNIZED
public static final int JSON_COMPRESSION_UNSPECIFIED_VALUE
Unspecified json file compression.
JSON_COMPRESSION_UNSPECIFIED = 0;public static final int NO_COMPRESSION_VALUE
Do not compress JSON file.
NO_COMPRESSION = 1;public static final int GZIP_VALUE
Gzip compression.
GZIP = 2;public static JsonFileFormat.JsonCompression[] values()
for (JsonFileFormat.JsonCompression c : JsonFileFormat.JsonCompression.values()) System.out.println(c);
public static JsonFileFormat.JsonCompression 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 JsonFileFormat.JsonCompression valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static JsonFileFormat.JsonCompression forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<JsonFileFormat.JsonCompression> 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 JsonFileFormat.JsonCompression valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.