枚举 Mysqlx.ServerMessages.Type
- java.lang.Object
-
- java.lang.Enum<Mysqlx.ServerMessages.Type>
-
- com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.Type
-
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Mysqlx.ServerMessages.Type>
public static enum Mysqlx.ServerMessages.Type extends Enum<Mysqlx.ServerMessages.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumMysqlx.ServerMessages.Type
-
-
枚举常量概要
枚举常量 枚举常量 说明 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;
-
字段概要
字段 修饰符和类型 字段 说明 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;
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 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)已过时。static Mysqlx.ServerMessages.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)返回带有指定名称的该类型的枚举常量。static Mysqlx.ServerMessages.TypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static Mysqlx.ServerMessages.Type[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
OK
public static final Mysqlx.ServerMessages.Type OK
OK = 0;
-
ERROR
public static final Mysqlx.ServerMessages.Type ERROR
ERROR = 1;
-
CONN_CAPABILITIES
public static final Mysqlx.ServerMessages.Type CONN_CAPABILITIES
CONN_CAPABILITIES = 2;
-
SESS_AUTHENTICATE_CONTINUE
public static final Mysqlx.ServerMessages.Type SESS_AUTHENTICATE_CONTINUE
SESS_AUTHENTICATE_CONTINUE = 3;
-
SESS_AUTHENTICATE_OK
public static final Mysqlx.ServerMessages.Type SESS_AUTHENTICATE_OK
SESS_AUTHENTICATE_OK = 4;
-
NOTICE
public static final Mysqlx.ServerMessages.Type NOTICE
NOTICE has to stay at 11 forever
NOTICE = 11;
-
RESULTSET_COLUMN_META_DATA
public static final Mysqlx.ServerMessages.Type RESULTSET_COLUMN_META_DATA
RESULTSET_COLUMN_META_DATA = 12;
-
RESULTSET_ROW
public static final Mysqlx.ServerMessages.Type RESULTSET_ROW
RESULTSET_ROW = 13;
-
RESULTSET_FETCH_DONE
public static final Mysqlx.ServerMessages.Type RESULTSET_FETCH_DONE
RESULTSET_FETCH_DONE = 14;
-
RESULTSET_FETCH_SUSPENDED
public static final Mysqlx.ServerMessages.Type RESULTSET_FETCH_SUSPENDED
RESULTSET_FETCH_SUSPENDED = 15;
-
RESULTSET_FETCH_DONE_MORE_RESULTSETS
public static final Mysqlx.ServerMessages.Type RESULTSET_FETCH_DONE_MORE_RESULTSETS
RESULTSET_FETCH_DONE_MORE_RESULTSETS = 16;
-
SQL_STMT_EXECUTE_OK
public static final Mysqlx.ServerMessages.Type SQL_STMT_EXECUTE_OK
SQL_STMT_EXECUTE_OK = 17;
-
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS
public static final Mysqlx.ServerMessages.Type RESULTSET_FETCH_DONE_MORE_OUT_PARAMS
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18;
-
COMPRESSION
public static final Mysqlx.ServerMessages.Type COMPRESSION
COMPRESSION = 19;
-
-
字段详细资料
-
OK_VALUE
public static final int OK_VALUE
OK = 0;- 另请参阅:
- 常量字段值
-
ERROR_VALUE
public static final int ERROR_VALUE
ERROR = 1;- 另请参阅:
- 常量字段值
-
CONN_CAPABILITIES_VALUE
public static final int CONN_CAPABILITIES_VALUE
CONN_CAPABILITIES = 2;- 另请参阅:
- 常量字段值
-
SESS_AUTHENTICATE_CONTINUE_VALUE
public static final int SESS_AUTHENTICATE_CONTINUE_VALUE
SESS_AUTHENTICATE_CONTINUE = 3;- 另请参阅:
- 常量字段值
-
SESS_AUTHENTICATE_OK_VALUE
public static final int SESS_AUTHENTICATE_OK_VALUE
SESS_AUTHENTICATE_OK = 4;- 另请参阅:
- 常量字段值
-
NOTICE_VALUE
public static final int NOTICE_VALUE
NOTICE has to stay at 11 forever
NOTICE = 11;- 另请参阅:
- 常量字段值
-
RESULTSET_COLUMN_META_DATA_VALUE
public static final int RESULTSET_COLUMN_META_DATA_VALUE
RESULTSET_COLUMN_META_DATA = 12;- 另请参阅:
- 常量字段值
-
RESULTSET_ROW_VALUE
public static final int RESULTSET_ROW_VALUE
RESULTSET_ROW = 13;- 另请参阅:
- 常量字段值
-
RESULTSET_FETCH_DONE_VALUE
public static final int RESULTSET_FETCH_DONE_VALUE
RESULTSET_FETCH_DONE = 14;- 另请参阅:
- 常量字段值
-
RESULTSET_FETCH_SUSPENDED_VALUE
public static final int RESULTSET_FETCH_SUSPENDED_VALUE
RESULTSET_FETCH_SUSPENDED = 15;- 另请参阅:
- 常量字段值
-
RESULTSET_FETCH_DONE_MORE_RESULTSETS_VALUE
public static final int RESULTSET_FETCH_DONE_MORE_RESULTSETS_VALUE
RESULTSET_FETCH_DONE_MORE_RESULTSETS = 16;- 另请参阅:
- 常量字段值
-
SQL_STMT_EXECUTE_OK_VALUE
public static final int SQL_STMT_EXECUTE_OK_VALUE
SQL_STMT_EXECUTE_OK = 17;- 另请参阅:
- 常量字段值
-
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS_VALUE
public static final int RESULTSET_FETCH_DONE_MORE_OUT_PARAMS_VALUE
RESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18;- 另请参阅:
- 常量字段值
-
COMPRESSION_VALUE
public static final int COMPRESSION_VALUE
COMPRESSION = 19;- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
values
public static Mysqlx.ServerMessages.Type[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (Mysqlx.ServerMessages.Type c : Mysqlx.ServerMessages.Type.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static Mysqlx.ServerMessages.Type valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()
- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Mysqlx.ServerMessages.Type valueOf(int value)
已过时。返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
forNumber
public static Mysqlx.ServerMessages.Type forNumber(int value)
- 参数:
value- The numeric wire value of the corresponding enum entry.- 返回:
- 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()
- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.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)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
-