public static enum MysqlxResultset.ContentType_DATETIME extends java.lang.Enum<MysqlxResultset.ContentType_DATETIME> implements com.google.protobuf.ProtocolMessageEnum
A hint about the higher-level encoding of a DATETIME field |type |value |description | |---------|-------|-------------------------------------------| |DATE |0x0001 |DATETIME contains only date part | |DATETIME |0x0002 |DATETIME contains both date and time parts |Protobuf enum
Mysqlx.Resultset.ContentType_DATETIME| Enum Constant and Description |
|---|
DATE
DATE = 1; |
DATETIME
DATETIME = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATE_VALUE
DATE = 1; |
static int |
DATETIME_VALUE
DATETIME = 2; |
| Modifier and Type | Method and Description |
|---|---|
static MysqlxResultset.ContentType_DATETIME |
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_DATETIME> |
internalGetValueMap() |
static MysqlxResultset.ContentType_DATETIME |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxResultset.ContentType_DATETIME |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxResultset.ContentType_DATETIME |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxResultset.ContentType_DATETIME[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxResultset.ContentType_DATETIME DATE
DATE = 1;public static final MysqlxResultset.ContentType_DATETIME DATETIME
DATETIME = 2;public static final int DATE_VALUE
DATE = 1;public static final int DATETIME_VALUE
DATETIME = 2;public static MysqlxResultset.ContentType_DATETIME[] values()
for (MysqlxResultset.ContentType_DATETIME c : MysqlxResultset.ContentType_DATETIME.values()) System.out.println(c);
public static MysqlxResultset.ContentType_DATETIME 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_DATETIME valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxResultset.ContentType_DATETIME forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxResultset.ContentType_DATETIME> 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_DATETIME valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)