public static enum SchemaRegistryFormat.SchemaInfo.SchemaType extends Enum<SchemaRegistryFormat.SchemaInfo.SchemaType> implements com.google.protobuf.ProtocolMessageEnum
pulsar.schema.SchemaInfo.SchemaType| Enum Constant and Description |
|---|
AVRO
AVRO = 5; |
BOOLEAN
BOOLEAN = 6; |
DATE
DATE = 13; |
DOUBLE
DOUBLE = 12; |
FLOAT
FLOAT = 11; |
INSTANT
INSTANT = 17; |
INT16
INT16 = 8; |
INT32
INT32 = 9; |
INT64
INT64 = 10; |
INT8
INT8 = 7; |
JSON
JSON = 3; |
KEYVALUE
KEYVALUE = 16; |
LOCALDATE
LOCALDATE = 18; |
LOCALDATETIME
LOCALDATETIME = 20; |
LOCALTIME
LOCALTIME = 19; |
NONE
NONE = 1; |
PROTOBUF
PROTOBUF = 4; |
PROTOBUFNATIVE
PROTOBUFNATIVE = 21; |
STRING
STRING = 2; |
TIME
TIME = 14; |
TIMESTAMP
TIMESTAMP = 15; |
| Modifier and Type | Field and Description |
|---|---|
static int |
AVRO_VALUE
AVRO = 5; |
static int |
BOOLEAN_VALUE
BOOLEAN = 6; |
static int |
DATE_VALUE
DATE = 13; |
static int |
DOUBLE_VALUE
DOUBLE = 12; |
static int |
FLOAT_VALUE
FLOAT = 11; |
static int |
INSTANT_VALUE
INSTANT = 17; |
static int |
INT16_VALUE
INT16 = 8; |
static int |
INT32_VALUE
INT32 = 9; |
static int |
INT64_VALUE
INT64 = 10; |
static int |
INT8_VALUE
INT8 = 7; |
static int |
JSON_VALUE
JSON = 3; |
static int |
KEYVALUE_VALUE
KEYVALUE = 16; |
static int |
LOCALDATE_VALUE
LOCALDATE = 18; |
static int |
LOCALDATETIME_VALUE
LOCALDATETIME = 20; |
static int |
LOCALTIME_VALUE
LOCALTIME = 19; |
static int |
NONE_VALUE
NONE = 1; |
static int |
PROTOBUF_VALUE
PROTOBUF = 4; |
static int |
PROTOBUFNATIVE_VALUE
PROTOBUFNATIVE = 21; |
static int |
STRING_VALUE
STRING = 2; |
static int |
TIME_VALUE
TIME = 14; |
static int |
TIMESTAMP_VALUE
TIMESTAMP = 15; |
| Modifier and Type | Method and Description |
|---|---|
static SchemaRegistryFormat.SchemaInfo.SchemaType |
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<SchemaRegistryFormat.SchemaInfo.SchemaType> |
internalGetValueMap() |
static SchemaRegistryFormat.SchemaInfo.SchemaType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SchemaRegistryFormat.SchemaInfo.SchemaType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SchemaRegistryFormat.SchemaInfo.SchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaRegistryFormat.SchemaInfo.SchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaRegistryFormat.SchemaInfo.SchemaType NONE
NONE = 1;public static final SchemaRegistryFormat.SchemaInfo.SchemaType STRING
STRING = 2;public static final SchemaRegistryFormat.SchemaInfo.SchemaType JSON
JSON = 3;public static final SchemaRegistryFormat.SchemaInfo.SchemaType PROTOBUF
PROTOBUF = 4;public static final SchemaRegistryFormat.SchemaInfo.SchemaType AVRO
AVRO = 5;public static final SchemaRegistryFormat.SchemaInfo.SchemaType BOOLEAN
BOOLEAN = 6;public static final SchemaRegistryFormat.SchemaInfo.SchemaType INT8
INT8 = 7;public static final SchemaRegistryFormat.SchemaInfo.SchemaType INT16
INT16 = 8;public static final SchemaRegistryFormat.SchemaInfo.SchemaType INT32
INT32 = 9;public static final SchemaRegistryFormat.SchemaInfo.SchemaType INT64
INT64 = 10;public static final SchemaRegistryFormat.SchemaInfo.SchemaType FLOAT
FLOAT = 11;public static final SchemaRegistryFormat.SchemaInfo.SchemaType DOUBLE
DOUBLE = 12;public static final SchemaRegistryFormat.SchemaInfo.SchemaType DATE
DATE = 13;public static final SchemaRegistryFormat.SchemaInfo.SchemaType TIME
TIME = 14;public static final SchemaRegistryFormat.SchemaInfo.SchemaType TIMESTAMP
TIMESTAMP = 15;public static final SchemaRegistryFormat.SchemaInfo.SchemaType KEYVALUE
KEYVALUE = 16;public static final SchemaRegistryFormat.SchemaInfo.SchemaType INSTANT
INSTANT = 17;public static final SchemaRegistryFormat.SchemaInfo.SchemaType LOCALDATE
LOCALDATE = 18;public static final SchemaRegistryFormat.SchemaInfo.SchemaType LOCALTIME
LOCALTIME = 19;public static final SchemaRegistryFormat.SchemaInfo.SchemaType LOCALDATETIME
LOCALDATETIME = 20;public static final SchemaRegistryFormat.SchemaInfo.SchemaType PROTOBUFNATIVE
PROTOBUFNATIVE = 21;public static final int NONE_VALUE
NONE = 1;public static final int STRING_VALUE
STRING = 2;public static final int JSON_VALUE
JSON = 3;public static final int PROTOBUF_VALUE
PROTOBUF = 4;public static final int AVRO_VALUE
AVRO = 5;public static final int BOOLEAN_VALUE
BOOLEAN = 6;public static final int INT8_VALUE
INT8 = 7;public static final int INT16_VALUE
INT16 = 8;public static final int INT32_VALUE
INT32 = 9;public static final int INT64_VALUE
INT64 = 10;public static final int FLOAT_VALUE
FLOAT = 11;public static final int DOUBLE_VALUE
DOUBLE = 12;public static final int DATE_VALUE
DATE = 13;public static final int TIME_VALUE
TIME = 14;public static final int TIMESTAMP_VALUE
TIMESTAMP = 15;public static final int KEYVALUE_VALUE
KEYVALUE = 16;public static final int INSTANT_VALUE
INSTANT = 17;public static final int LOCALDATE_VALUE
LOCALDATE = 18;public static final int LOCALTIME_VALUE
LOCALTIME = 19;public static final int LOCALDATETIME_VALUE
LOCALDATETIME = 20;public static final int PROTOBUFNATIVE_VALUE
PROTOBUFNATIVE = 21;public static SchemaRegistryFormat.SchemaInfo.SchemaType[] values()
for (SchemaRegistryFormat.SchemaInfo.SchemaType c : SchemaRegistryFormat.SchemaInfo.SchemaType.values()) System.out.println(c);
public static SchemaRegistryFormat.SchemaInfo.SchemaType 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 SchemaRegistryFormat.SchemaInfo.SchemaType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SchemaRegistryFormat.SchemaInfo.SchemaType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SchemaRegistryFormat.SchemaInfo.SchemaType> 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 SchemaRegistryFormat.SchemaInfo.SchemaType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.