Package com.mysql.cj.x.protobuf
Enum Mysqlx.ServerMessages.Type
java.lang.Object
java.lang.Enum<Mysqlx.ServerMessages.Type>
com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Mysqlx.ServerMessages.Type>,java.lang.constant.Constable
- Enclosing class:
- Mysqlx.ServerMessages
public static enum Mysqlx.ServerMessages.Type extends java.lang.Enum<Mysqlx.ServerMessages.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
Mysqlx.ServerMessages.Type-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPRESSIONCOMPRESSION = 19;CONN_CAPABILITIESCONN_CAPABILITIES = 2;ERRORERROR = 1;NOTICENOTICE has to stay at 11 foreverOKOK = 0;RESULTSET_COLUMN_META_DATARESULTSET_COLUMN_META_DATA = 12;RESULTSET_FETCH_DONERESULTSET_FETCH_DONE = 14;RESULTSET_FETCH_DONE_MORE_OUT_PARAMSRESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18;RESULTSET_FETCH_DONE_MORE_RESULTSETSRESULTSET_FETCH_DONE_MORE_RESULTSETS = 16;RESULTSET_FETCH_SUSPENDEDRESULTSET_FETCH_SUSPENDED = 15;RESULTSET_ROWRESULTSET_ROW = 13;SESS_AUTHENTICATE_CONTINUESESS_AUTHENTICATE_CONTINUE = 3;SESS_AUTHENTICATE_OKSESS_AUTHENTICATE_OK = 4;SQL_STMT_EXECUTE_OKSQL_STMT_EXECUTE_OK = 17; -
Field Summary
Fields Modifier and Type Field Description static intCOMPRESSION_VALUECOMPRESSION = 19;static intCONN_CAPABILITIES_VALUECONN_CAPABILITIES = 2;static intERROR_VALUEERROR = 1;static intNOTICE_VALUENOTICE has to stay at 11 foreverstatic intOK_VALUEOK = 0;static intRESULTSET_COLUMN_META_DATA_VALUERESULTSET_COLUMN_META_DATA = 12;static intRESULTSET_FETCH_DONE_MORE_OUT_PARAMS_VALUERESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18;static intRESULTSET_FETCH_DONE_MORE_RESULTSETS_VALUERESULTSET_FETCH_DONE_MORE_RESULTSETS = 16;static intRESULTSET_FETCH_DONE_VALUERESULTSET_FETCH_DONE = 14;static intRESULTSET_FETCH_SUSPENDED_VALUERESULTSET_FETCH_SUSPENDED = 15;static intRESULTSET_ROW_VALUERESULTSET_ROW = 13;static intSESS_AUTHENTICATE_CONTINUE_VALUESESS_AUTHENTICATE_CONTINUE = 3;static intSESS_AUTHENTICATE_OK_VALUESESS_AUTHENTICATE_OK = 4;static intSQL_STMT_EXECUTE_OK_VALUESQL_STMT_EXECUTE_OK = 17; -
Method Summary
Modifier and Type Method Description static Mysqlx.ServerMessages.TypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Mysqlx.ServerMessages.Type>internalGetValueMap()static Mysqlx.ServerMessages.TypevalueOf(int value)Deprecated.static Mysqlx.ServerMessages.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Mysqlx.ServerMessages.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Mysqlx.ServerMessages.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
OK = 0; -
ERROR
ERROR = 1; -
CONN_CAPABILITIES
CONN_CAPABILITIES = 2; -
SESS_AUTHENTICATE_CONTINUE
SESS_AUTHENTICATE_CONTINUE = 3; -
SESS_AUTHENTICATE_OK
SESS_AUTHENTICATE_OK = 4; -
NOTICE
NOTICE has to stay at 11 forever
NOTICE = 11; -
RESULTSET_COLUMN_META_DATA
RESULTSET_COLUMN_META_DATA = 12; -
RESULTSET_ROW
RESULTSET_ROW = 13; -
RESULTSET_FETCH_DONE
RESULTSET_FETCH_DONE = 14; -
RESULTSET_FETCH_SUSPENDED
RESULTSET_FETCH_SUSPENDED = 15; -
RESULTSET_FETCH_DONE_MORE_RESULTSETS
RESULTSET_FETCH_DONE_MORE_RESULTSETS = 16; -
SQL_STMT_EXECUTE_OK
SQL_STMT_EXECUTE_OK = 17; -
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18; -
COMPRESSION
COMPRESSION = 19;
-
-
Field Details
-
OK_VALUE
public static final int OK_VALUEOK = 0;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUEERROR = 1;- See Also:
- Constant Field Values
-
CONN_CAPABILITIES_VALUE
public static final int CONN_CAPABILITIES_VALUECONN_CAPABILITIES = 2;- See Also:
- Constant Field Values
-
SESS_AUTHENTICATE_CONTINUE_VALUE
public static final int SESS_AUTHENTICATE_CONTINUE_VALUESESS_AUTHENTICATE_CONTINUE = 3;- See Also:
- Constant Field Values
-
SESS_AUTHENTICATE_OK_VALUE
public static final int SESS_AUTHENTICATE_OK_VALUESESS_AUTHENTICATE_OK = 4;- See Also:
- Constant Field Values
-
NOTICE_VALUE
public static final int NOTICE_VALUENOTICE has to stay at 11 forever
NOTICE = 11;- See Also:
- Constant Field Values
-
RESULTSET_COLUMN_META_DATA_VALUE
public static final int RESULTSET_COLUMN_META_DATA_VALUERESULTSET_COLUMN_META_DATA = 12;- See Also:
- Constant Field Values
-
RESULTSET_ROW_VALUE
public static final int RESULTSET_ROW_VALUERESULTSET_ROW = 13;- See Also:
- Constant Field Values
-
RESULTSET_FETCH_DONE_VALUE
public static final int RESULTSET_FETCH_DONE_VALUERESULTSET_FETCH_DONE = 14;- See Also:
- Constant Field Values
-
RESULTSET_FETCH_SUSPENDED_VALUE
public static final int RESULTSET_FETCH_SUSPENDED_VALUERESULTSET_FETCH_SUSPENDED = 15;- See Also:
- Constant Field Values
-
RESULTSET_FETCH_DONE_MORE_RESULTSETS_VALUE
public static final int RESULTSET_FETCH_DONE_MORE_RESULTSETS_VALUERESULTSET_FETCH_DONE_MORE_RESULTSETS = 16;- See Also:
- Constant Field Values
-
SQL_STMT_EXECUTE_OK_VALUE
public static final int SQL_STMT_EXECUTE_OK_VALUESQL_STMT_EXECUTE_OK = 17;- See Also:
- Constant Field Values
-
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS_VALUE
public static final int RESULTSET_FETCH_DONE_MORE_OUT_PARAMS_VALUERESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18;- See Also:
- Constant Field Values
-
COMPRESSION_VALUE
public static final int COMPRESSION_VALUECOMPRESSION = 19;- See Also:
- Constant Field Values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Mysqlx.ServerMessages.Type> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Mysqlx.ServerMessages.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-