public static final class Mysqlx.Error extends com.google.protobuf.GeneratedMessageV3 implements Mysqlx.ErrorOrBuilder
generic Error message A ``severity`` of ``ERROR`` indicates the current message sequence is aborted for the given error and the session is ready for more. In case of a ``FATAL`` error message the client should not expect the server to continue handling any further messages and should close the connection. :param severity: severity of the error message :param code: error-code :param sql_state: SQL state :param msg: human readable error messageProtobuf type
Mysqlx.Error| Modifier and Type | Class and Description |
|---|---|
static class |
Mysqlx.Error.Builder
generic Error message
A ``severity`` of ``ERROR`` indicates the current message sequence is
aborted for the given error and the session is ready for more.
|
static class |
Mysqlx.Error.Severity
Protobuf enum
Mysqlx.Error.Severity |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_FIELD_NUMBER |
static int |
MSG_FIELD_NUMBER |
static com.google.protobuf.Parser<Mysqlx.Error> |
PARSER
Deprecated.
|
static int |
SEVERITY_FIELD_NUMBER |
static int |
SQL_STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCode()
required uint32 code = 2; |
static Mysqlx.Error |
getDefaultInstance() |
Mysqlx.Error |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getMsg()
required string msg = 3; |
com.google.protobuf.ByteString |
getMsgBytes()
required string msg = 3; |
com.google.protobuf.Parser<Mysqlx.Error> |
getParserForType() |
int |
getSerializedSize() |
Mysqlx.Error.Severity |
getSeverity()
optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; |
java.lang.String |
getSqlState()
required string sql_state = 4; |
com.google.protobuf.ByteString |
getSqlStateBytes()
required string sql_state = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCode()
required uint32 code = 2; |
int |
hashCode() |
boolean |
hasMsg()
required string msg = 3; |
boolean |
hasSeverity()
optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; |
boolean |
hasSqlState()
required string sql_state = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Mysqlx.Error.Builder |
newBuilder() |
static Mysqlx.Error.Builder |
newBuilder(Mysqlx.Error prototype) |
Mysqlx.Error.Builder |
newBuilderForType() |
protected Mysqlx.Error.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Mysqlx.Error |
parseDelimitedFrom(java.io.InputStream input) |
static Mysqlx.Error |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mysqlx.Error |
parseFrom(byte[] data) |
static Mysqlx.Error |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mysqlx.Error |
parseFrom(java.nio.ByteBuffer data) |
static Mysqlx.Error |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mysqlx.Error |
parseFrom(com.google.protobuf.ByteString data) |
static Mysqlx.Error |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mysqlx.Error |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Mysqlx.Error |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mysqlx.Error |
parseFrom(java.io.InputStream input) |
static Mysqlx.Error |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Mysqlx.Error> |
parser() |
Mysqlx.Error.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SEVERITY_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static final int SQL_STATE_FIELD_NUMBER
public static final int MSG_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Mysqlx.Error> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasSeverity()
optional .Mysqlx.Error.Severity severity = 1 [default = ERROR];hasSeverity in interface Mysqlx.ErrorOrBuilderpublic Mysqlx.Error.Severity getSeverity()
optional .Mysqlx.Error.Severity severity = 1 [default = ERROR];getSeverity in interface Mysqlx.ErrorOrBuilderpublic boolean hasCode()
required uint32 code = 2;hasCode in interface Mysqlx.ErrorOrBuilderpublic int getCode()
required uint32 code = 2;getCode in interface Mysqlx.ErrorOrBuilderpublic boolean hasSqlState()
required string sql_state = 4;hasSqlState in interface Mysqlx.ErrorOrBuilderpublic java.lang.String getSqlState()
required string sql_state = 4;getSqlState in interface Mysqlx.ErrorOrBuilderpublic com.google.protobuf.ByteString getSqlStateBytes()
required string sql_state = 4;getSqlStateBytes in interface Mysqlx.ErrorOrBuilderpublic boolean hasMsg()
required string msg = 3;hasMsg in interface Mysqlx.ErrorOrBuilderpublic java.lang.String getMsg()
required string msg = 3;getMsg in interface Mysqlx.ErrorOrBuilderpublic com.google.protobuf.ByteString getMsgBytes()
required string msg = 3;getMsgBytes in interface Mysqlx.ErrorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Mysqlx.Error parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mysqlx.Error parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mysqlx.Error parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mysqlx.Error parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mysqlx.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mysqlx.Error parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mysqlx.Error parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Mysqlx.Error parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Mysqlx.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Mysqlx.Error parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Mysqlx.Error parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Mysqlx.Error parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Mysqlx.Error.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Mysqlx.Error.Builder newBuilder()
public static Mysqlx.Error.Builder newBuilder(Mysqlx.Error prototype)
public Mysqlx.Error.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Mysqlx.Error.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Mysqlx.Error getDefaultInstance()
public static com.google.protobuf.Parser<Mysqlx.Error> parser()
public com.google.protobuf.Parser<Mysqlx.Error> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Mysqlx.Error getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder