public enum SchemaFormat extends java.lang.Enum<SchemaFormat> implements com.google.protobuf.ProtocolMessageEnum
Represents the data format of the schema.Protobuf enum
kurrentdb.protocol.v2.streams.SchemaFormat| Enum Constant and Description |
|---|
SCHEMA_FORMAT_AVRO
SCHEMA_FORMAT_AVRO = 3; |
SCHEMA_FORMAT_BYTES
SCHEMA_FORMAT_BYTES = 4; |
SCHEMA_FORMAT_JSON
SCHEMA_FORMAT_JSON = 1; |
SCHEMA_FORMAT_PROTOBUF
SCHEMA_FORMAT_PROTOBUF = 2; |
SCHEMA_FORMAT_UNSPECIFIED
Default value, should not be used.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SCHEMA_FORMAT_AVRO_VALUE
SCHEMA_FORMAT_AVRO = 3; |
static int |
SCHEMA_FORMAT_BYTES_VALUE
SCHEMA_FORMAT_BYTES = 4; |
static int |
SCHEMA_FORMAT_JSON_VALUE
SCHEMA_FORMAT_JSON = 1; |
static int |
SCHEMA_FORMAT_PROTOBUF_VALUE
SCHEMA_FORMAT_PROTOBUF = 2; |
static int |
SCHEMA_FORMAT_UNSPECIFIED_VALUE
Default value, should not be used.
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaFormat |
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<SchemaFormat> |
internalGetValueMap() |
static SchemaFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SchemaFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SchemaFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SchemaFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaFormat SCHEMA_FORMAT_UNSPECIFIED
Default value, should not be used.
SCHEMA_FORMAT_UNSPECIFIED = 0;public static final SchemaFormat SCHEMA_FORMAT_JSON
SCHEMA_FORMAT_JSON = 1;public static final SchemaFormat SCHEMA_FORMAT_PROTOBUF
SCHEMA_FORMAT_PROTOBUF = 2;public static final SchemaFormat SCHEMA_FORMAT_AVRO
SCHEMA_FORMAT_AVRO = 3;public static final SchemaFormat SCHEMA_FORMAT_BYTES
SCHEMA_FORMAT_BYTES = 4;public static final SchemaFormat UNRECOGNIZED
public static final int SCHEMA_FORMAT_UNSPECIFIED_VALUE
Default value, should not be used.
SCHEMA_FORMAT_UNSPECIFIED = 0;public static final int SCHEMA_FORMAT_JSON_VALUE
SCHEMA_FORMAT_JSON = 1;public static final int SCHEMA_FORMAT_PROTOBUF_VALUE
SCHEMA_FORMAT_PROTOBUF = 2;public static final int SCHEMA_FORMAT_AVRO_VALUE
SCHEMA_FORMAT_AVRO = 3;public static final int SCHEMA_FORMAT_BYTES_VALUE
SCHEMA_FORMAT_BYTES = 4;public static SchemaFormat[] values()
for (SchemaFormat c : SchemaFormat.values()) System.out.println(c);
public static SchemaFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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 SchemaFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SchemaFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SchemaFormat> 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 SchemaFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)