public static enum MysqlxResultset.ContentType_BYTES extends java.lang.Enum<MysqlxResultset.ContentType_BYTES> implements com.google.protobuf.ProtocolMessageEnum
a hint about the higher-level encoding of a BYTES field ====== ====== =========== type value description ====== ====== =========== BYTES 0x0001 GEOMETRY (WKB encoding) BYTES 0x0002 JSON (text encoding) BYTES 0x0003 XML (text encoding) ====== ====== =========== .. note:: this list isn't comprehensive. As guideline: the field's value is expected to pass a validator check on client and server if this field is set. If the server adds more internal datatypes that rely on BLOB storage like image manipulation, seeking into complex types in BLOBs, ... more types will be added.Protobuf enum
Mysqlx.Resultset.ContentType_BYTES| Enum Constant and Description |
|---|
GEOMETRY
GEOMETRY = 1; |
JSON
JSON = 2; |
XML
XML = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
GEOMETRY_VALUE
GEOMETRY = 1; |
static int |
JSON_VALUE
JSON = 2; |
static int |
XML_VALUE
XML = 3; |
| Modifier and Type | Method and Description |
|---|---|
static MysqlxResultset.ContentType_BYTES |
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<MysqlxResultset.ContentType_BYTES> |
internalGetValueMap() |
static MysqlxResultset.ContentType_BYTES |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxResultset.ContentType_BYTES |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxResultset.ContentType_BYTES |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxResultset.ContentType_BYTES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxResultset.ContentType_BYTES GEOMETRY
GEOMETRY = 1;public static final MysqlxResultset.ContentType_BYTES JSON
JSON = 2;public static final MysqlxResultset.ContentType_BYTES XML
XML = 3;public static final int GEOMETRY_VALUE
GEOMETRY = 1;public static final int JSON_VALUE
JSON = 2;public static final int XML_VALUE
XML = 3;public static MysqlxResultset.ContentType_BYTES[] values()
for (MysqlxResultset.ContentType_BYTES c : MysqlxResultset.ContentType_BYTES.values()) System.out.println(c);
public static MysqlxResultset.ContentType_BYTES 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 MysqlxResultset.ContentType_BYTES valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxResultset.ContentType_BYTES forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxResultset.ContentType_BYTES> 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 MysqlxResultset.ContentType_BYTES valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)