public static enum JsonFileFormat.SchemaFileFormat extends Enum<JsonFileFormat.SchemaFileFormat> implements com.google.protobuf.ProtocolMessageEnum
Schema file format.Protobuf enum
google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat| Enum Constant and Description |
|---|
AVRO_SCHEMA_FILE
Avro schema format.
|
NO_SCHEMA_FILE
Do not attach schema file.
|
SCHEMA_FILE_FORMAT_UNSPECIFIED
Unspecified schema file format.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AVRO_SCHEMA_FILE_VALUE
Avro schema format.
|
static int |
NO_SCHEMA_FILE_VALUE
Do not attach schema file.
|
static int |
SCHEMA_FILE_FORMAT_UNSPECIFIED_VALUE
Unspecified schema file format.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonFileFormat.SchemaFileFormat |
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.SchemaFileFormat> |
internalGetValueMap() |
static JsonFileFormat.SchemaFileFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static JsonFileFormat.SchemaFileFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JsonFileFormat.SchemaFileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonFileFormat.SchemaFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonFileFormat.SchemaFileFormat SCHEMA_FILE_FORMAT_UNSPECIFIED
Unspecified schema file format.
SCHEMA_FILE_FORMAT_UNSPECIFIED = 0;public static final JsonFileFormat.SchemaFileFormat NO_SCHEMA_FILE
Do not attach schema file.
NO_SCHEMA_FILE = 1;public static final JsonFileFormat.SchemaFileFormat AVRO_SCHEMA_FILE
Avro schema format.
AVRO_SCHEMA_FILE = 2;public static final JsonFileFormat.SchemaFileFormat UNRECOGNIZED
public static final int SCHEMA_FILE_FORMAT_UNSPECIFIED_VALUE
Unspecified schema file format.
SCHEMA_FILE_FORMAT_UNSPECIFIED = 0;public static final int NO_SCHEMA_FILE_VALUE
Do not attach schema file.
NO_SCHEMA_FILE = 1;public static final int AVRO_SCHEMA_FILE_VALUE
Avro schema format.
AVRO_SCHEMA_FILE = 2;public static JsonFileFormat.SchemaFileFormat[] values()
for (JsonFileFormat.SchemaFileFormat c : JsonFileFormat.SchemaFileFormat.values()) System.out.println(c);
public static JsonFileFormat.SchemaFileFormat 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.SchemaFileFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static JsonFileFormat.SchemaFileFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<JsonFileFormat.SchemaFileFormat> 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.SchemaFileFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.