类 Mysqlx.Error
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.mysql.cj.x.protobuf.Mysqlx.Error
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mysqlx.ErrorOrBuilder,Serializable
- 封闭类:
- Mysqlx
public static final class Mysqlx.Error extends com.google.protobuf.GeneratedMessageV3 implements Mysqlx.ErrorOrBuilder
Protobuf typeMysqlx.Error- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMysqlx.Error.BuilderProtobuf typeMysqlx.Errorstatic classMysqlx.Error.SeverityProtobuf enumMysqlx.Error.Severity-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCODE_FIELD_NUMBERstatic intMSG_FIELD_NUMBERstatic com.google.protobuf.Parser<Mysqlx.Error>PARSER已过时。static intSEVERITY_FIELD_NUMBERstatic intSQL_STATE_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)intgetCode()error codestatic Mysqlx.ErrorgetDefaultInstance()Mysqlx.ErrorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetMsg()human-readable error messagecom.google.protobuf.ByteStringgetMsgBytes()human-readable error messagecom.google.protobuf.Parser<Mysqlx.Error>getParserForType()intgetSerializedSize()Mysqlx.Error.SeveritygetSeverity()severity of the error messageStringgetSqlState()SQL statecom.google.protobuf.ByteStringgetSqlStateBytes()SQL statecom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCode()error codeinthashCode()booleanhasMsg()human-readable error messagebooleanhasSeverity()severity of the error messagebooleanhasSqlState()SQL stateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Mysqlx.Error.BuildernewBuilder()static Mysqlx.Error.BuildernewBuilder(Mysqlx.Error prototype)Mysqlx.Error.BuildernewBuilderForType()protected Mysqlx.Error.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Mysqlx.ErrorparseDelimitedFrom(InputStream input)static Mysqlx.ErrorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mysqlx.ErrorparseFrom(byte[] data)static Mysqlx.ErrorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mysqlx.ErrorparseFrom(com.google.protobuf.ByteString data)static Mysqlx.ErrorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mysqlx.ErrorparseFrom(com.google.protobuf.CodedInputStream input)static Mysqlx.ErrorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mysqlx.ErrorparseFrom(InputStream input)static Mysqlx.ErrorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mysqlx.ErrorparseFrom(ByteBuffer data)static Mysqlx.ErrorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Mysqlx.Error>parser()Mysqlx.Error.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
SQL_STATE_FIELD_NUMBER
public static final int SQL_STATE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
MSG_FIELD_NUMBER
public static final int MSG_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Mysqlx.Error> PARSER
已过时。
-
-
方法详细资料
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
hasSeverity
public boolean hasSeverity()
severity of the error message
optional .Mysqlx.Error.Severity severity = 1 [default = ERROR];- 指定者:
hasSeverity在接口中Mysqlx.ErrorOrBuilder- 返回:
- Whether the severity field is set.
-
getSeverity
public Mysqlx.Error.Severity getSeverity()
severity of the error message
optional .Mysqlx.Error.Severity severity = 1 [default = ERROR];- 指定者:
getSeverity在接口中Mysqlx.ErrorOrBuilder- 返回:
- The severity.
-
hasCode
public boolean hasCode()
error code
required uint32 code = 2;- 指定者:
hasCode在接口中Mysqlx.ErrorOrBuilder- 返回:
- Whether the code field is set.
-
getCode
public int getCode()
error code
required uint32 code = 2;- 指定者:
getCode在接口中Mysqlx.ErrorOrBuilder- 返回:
- The code.
-
hasSqlState
public boolean hasSqlState()
SQL state
required string sql_state = 4;- 指定者:
hasSqlState在接口中Mysqlx.ErrorOrBuilder- 返回:
- Whether the sqlState field is set.
-
getSqlState
public String getSqlState()
SQL state
required string sql_state = 4;- 指定者:
getSqlState在接口中Mysqlx.ErrorOrBuilder- 返回:
- The sqlState.
-
getSqlStateBytes
public com.google.protobuf.ByteString getSqlStateBytes()
SQL state
required string sql_state = 4;- 指定者:
getSqlStateBytes在接口中Mysqlx.ErrorOrBuilder- 返回:
- The bytes for sqlState.
-
hasMsg
public boolean hasMsg()
human-readable error message
required string msg = 3;- 指定者:
hasMsg在接口中Mysqlx.ErrorOrBuilder- 返回:
- Whether the msg field is set.
-
getMsg
public String getMsg()
human-readable error message
required string msg = 3;- 指定者:
getMsg在接口中Mysqlx.ErrorOrBuilder- 返回:
- The msg.
-
getMsgBytes
public com.google.protobuf.ByteString getMsgBytes()
human-readable error message
required string msg = 3;- 指定者:
getMsgBytes在接口中Mysqlx.ErrorOrBuilder- 返回:
- The bytes for msg.
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Mysqlx.Error parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mysqlx.Error parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mysqlx.Error parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mysqlx.Error parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mysqlx.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mysqlx.Error parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mysqlx.Error parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static Mysqlx.Error parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static Mysqlx.Error parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static Mysqlx.Error parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static Mysqlx.Error parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static Mysqlx.Error parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public Mysqlx.Error.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Mysqlx.Error.Builder newBuilder()
-
newBuilder
public static Mysqlx.Error.Builder newBuilder(Mysqlx.Error prototype)
-
toBuilder
public Mysqlx.Error.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Mysqlx.Error.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Mysqlx.Error getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Mysqlx.Error> parser()
-
getParserForType
public com.google.protobuf.Parser<Mysqlx.Error> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Mysqlx.Error getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-