public static final class Responses.ErrorResponse extends com.google.protobuf.GeneratedMessageV3 implements Responses.ErrorResponseOrBuilder
Send contextual information about some error over the wire from the server.Protobuf type
ErrorResponse
Modifier and Type | Class and Description |
---|---|
static class |
Responses.ErrorResponse.Builder
Send contextual information about some error over the wire from the server.
|
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
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_CODE_FIELD_NUMBER |
static int |
ERROR_MESSAGE_FIELD_NUMBER |
static int |
EXCEPTIONS_FIELD_NUMBER |
static int |
HAS_EXCEPTIONS_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
SQL_STATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Responses.ErrorResponse |
getDefaultInstance() |
Responses.ErrorResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getErrorCode()
numeric identifier for error
|
String |
getErrorMessage()
human readable description
|
com.google.protobuf.ByteString |
getErrorMessageBytes()
human readable description
|
String |
getExceptions(int index)
exception stacktraces, many for linked exceptions.
|
com.google.protobuf.ByteString |
getExceptionsBytes(int index)
exception stacktraces, many for linked exceptions.
|
int |
getExceptionsCount()
exception stacktraces, many for linked exceptions.
|
com.google.protobuf.ProtocolStringList |
getExceptionsList()
exception stacktraces, many for linked exceptions.
|
boolean |
getHasExceptions()
are there stacktraces contained?
|
Responses.RpcMetadata |
getMetadata()
.RpcMetadata metadata = 6; |
Responses.RpcMetadataOrBuilder |
getMetadataOrBuilder()
.RpcMetadata metadata = 6; |
com.google.protobuf.Parser<Responses.ErrorResponse> |
getParserForType() |
int |
getSerializedSize() |
Common.Severity |
getSeverity()
.Severity severity = 3; |
int |
getSeverityValue()
.Severity severity = 3; |
String |
getSqlState()
five-character standard-defined value
|
com.google.protobuf.ByteString |
getSqlStateBytes()
five-character standard-defined value
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMetadata()
.RpcMetadata metadata = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Responses.ErrorResponse.Builder |
newBuilder() |
static Responses.ErrorResponse.Builder |
newBuilder(Responses.ErrorResponse prototype) |
Responses.ErrorResponse.Builder |
newBuilderForType() |
protected Responses.ErrorResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Responses.ErrorResponse |
parseDelimitedFrom(InputStream input) |
static Responses.ErrorResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Responses.ErrorResponse |
parseFrom(byte[] data) |
static Responses.ErrorResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Responses.ErrorResponse |
parseFrom(ByteBuffer data) |
static Responses.ErrorResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Responses.ErrorResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Responses.ErrorResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Responses.ErrorResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Responses.ErrorResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Responses.ErrorResponse |
parseFrom(InputStream input) |
static Responses.ErrorResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Responses.ErrorResponse> |
parser() |
Responses.ErrorResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int EXCEPTIONS_FIELD_NUMBER
public static final int HAS_EXCEPTIONS_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
public static final int SQL_STATE_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ProtocolStringList getExceptionsList()
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;
getExceptionsList
in interface Responses.ErrorResponseOrBuilder
public int getExceptionsCount()
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;
getExceptionsCount
in interface Responses.ErrorResponseOrBuilder
public String getExceptions(int index)
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;
getExceptions
in interface Responses.ErrorResponseOrBuilder
public com.google.protobuf.ByteString getExceptionsBytes(int index)
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;
getExceptionsBytes
in interface Responses.ErrorResponseOrBuilder
public boolean getHasExceptions()
are there stacktraces contained?
bool has_exceptions = 7;
getHasExceptions
in interface Responses.ErrorResponseOrBuilder
public String getErrorMessage()
human readable description
string error_message = 2;
getErrorMessage
in interface Responses.ErrorResponseOrBuilder
public com.google.protobuf.ByteString getErrorMessageBytes()
human readable description
string error_message = 2;
getErrorMessageBytes
in interface Responses.ErrorResponseOrBuilder
public int getSeverityValue()
.Severity severity = 3;
getSeverityValue
in interface Responses.ErrorResponseOrBuilder
public Common.Severity getSeverity()
.Severity severity = 3;
getSeverity
in interface Responses.ErrorResponseOrBuilder
public int getErrorCode()
numeric identifier for error
uint32 error_code = 4;
getErrorCode
in interface Responses.ErrorResponseOrBuilder
public String getSqlState()
five-character standard-defined value
string sql_state = 5;
getSqlState
in interface Responses.ErrorResponseOrBuilder
public com.google.protobuf.ByteString getSqlStateBytes()
five-character standard-defined value
string sql_state = 5;
getSqlStateBytes
in interface Responses.ErrorResponseOrBuilder
public boolean hasMetadata()
.RpcMetadata metadata = 6;
hasMetadata
in interface Responses.ErrorResponseOrBuilder
public Responses.RpcMetadata getMetadata()
.RpcMetadata metadata = 6;
getMetadata
in interface Responses.ErrorResponseOrBuilder
public Responses.RpcMetadataOrBuilder getMetadataOrBuilder()
.RpcMetadata metadata = 6;
getMetadataOrBuilder
in interface Responses.ErrorResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Responses.ErrorResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Responses.ErrorResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Responses.ErrorResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Responses.ErrorResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Responses.ErrorResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Responses.ErrorResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Responses.ErrorResponse parseFrom(InputStream input) throws IOException
IOException
public static Responses.ErrorResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Responses.ErrorResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Responses.ErrorResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Responses.ErrorResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Responses.ErrorResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Responses.ErrorResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Responses.ErrorResponse.Builder newBuilder()
public static Responses.ErrorResponse.Builder newBuilder(Responses.ErrorResponse prototype)
public Responses.ErrorResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Responses.ErrorResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Responses.ErrorResponse getDefaultInstance()
public static com.google.protobuf.Parser<Responses.ErrorResponse> parser()
public com.google.protobuf.Parser<Responses.ErrorResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Responses.ErrorResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.