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 |
|---|---|
private int |
bitField0_ |
private static Responses.ErrorResponse |
DEFAULT_INSTANCE |
static int |
ERROR_CODE_FIELD_NUMBER |
static int |
ERROR_MESSAGE_FIELD_NUMBER |
private int |
errorCode_ |
private Object |
errorMessage_ |
private com.google.protobuf.LazyStringList |
exceptions_ |
static int |
EXCEPTIONS_FIELD_NUMBER |
static int |
HAS_EXCEPTIONS_FIELD_NUMBER |
private boolean |
hasExceptions_ |
private byte |
memoizedIsInitialized |
private Responses.RpcMetadata |
metadata_ |
static int |
METADATA_FIELD_NUMBER |
private static com.google.protobuf.Parser<Responses.ErrorResponse> |
PARSER |
private static long |
serialVersionUID |
private int |
severity_ |
static int |
SEVERITY_FIELD_NUMBER |
static int |
SQL_STATE_FIELD_NUMBER |
private Object |
sqlState_ |
| Modifier | Constructor and Description |
|---|---|
private |
Responses.ErrorResponse() |
private |
Responses.ErrorResponse(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
Responses.ErrorResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) |
| 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()
optional .RpcMetadata metadata = 6; |
Responses.RpcMetadataOrBuilder |
getMetadataOrBuilder()
optional .RpcMetadata metadata = 6; |
com.google.protobuf.Parser<Responses.ErrorResponse> |
getParserForType() |
int |
getSerializedSize() |
Common.Severity |
getSeverity()
optional .Severity severity = 3; |
int |
getSeverityValue()
optional .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()
optional .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(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) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate int bitField0_
public static final int EXCEPTIONS_FIELD_NUMBER
private com.google.protobuf.LazyStringList exceptions_
public static final int HAS_EXCEPTIONS_FIELD_NUMBER
private boolean hasExceptions_
public static final int ERROR_MESSAGE_FIELD_NUMBER
private volatile Object errorMessage_
public static final int SEVERITY_FIELD_NUMBER
private int severity_
public static final int ERROR_CODE_FIELD_NUMBER
private int errorCode_
public static final int SQL_STATE_FIELD_NUMBER
private volatile Object sqlState_
public static final int METADATA_FIELD_NUMBER
private Responses.RpcMetadata metadata_
private byte memoizedIsInitialized
private static final long serialVersionUID
private static final Responses.ErrorResponse DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<Responses.ErrorResponse> PARSER
private Responses.ErrorResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
private Responses.ErrorResponse()
private Responses.ErrorResponse(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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 com.google.protobuf.ProtocolStringList getExceptionsList()
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;getExceptionsList in interface Responses.ErrorResponseOrBuilderpublic int getExceptionsCount()
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;getExceptionsCount in interface Responses.ErrorResponseOrBuilderpublic String getExceptions(int index)
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;getExceptions in interface Responses.ErrorResponseOrBuilderpublic com.google.protobuf.ByteString getExceptionsBytes(int index)
exception stacktraces, many for linked exceptions.
repeated string exceptions = 1;getExceptionsBytes in interface Responses.ErrorResponseOrBuilderpublic boolean getHasExceptions()
are there stacktraces contained?
optional bool has_exceptions = 7;getHasExceptions in interface Responses.ErrorResponseOrBuilderpublic String getErrorMessage()
human readable description
optional string error_message = 2;getErrorMessage in interface Responses.ErrorResponseOrBuilderpublic com.google.protobuf.ByteString getErrorMessageBytes()
human readable description
optional string error_message = 2;getErrorMessageBytes in interface Responses.ErrorResponseOrBuilderpublic int getSeverityValue()
optional .Severity severity = 3;getSeverityValue in interface Responses.ErrorResponseOrBuilderpublic Common.Severity getSeverity()
optional .Severity severity = 3;getSeverity in interface Responses.ErrorResponseOrBuilderpublic int getErrorCode()
numeric identifier for error
optional uint32 error_code = 4;getErrorCode in interface Responses.ErrorResponseOrBuilderpublic String getSqlState()
five-character standard-defined value
optional string sql_state = 5;getSqlState in interface Responses.ErrorResponseOrBuilderpublic com.google.protobuf.ByteString getSqlStateBytes()
five-character standard-defined value
optional string sql_state = 5;getSqlStateBytes in interface Responses.ErrorResponseOrBuilderpublic boolean hasMetadata()
optional .RpcMetadata metadata = 6;hasMetadata in interface Responses.ErrorResponseOrBuilderpublic Responses.RpcMetadata getMetadata()
optional .RpcMetadata metadata = 6;getMetadata in interface Responses.ErrorResponseOrBuilderpublic Responses.RpcMetadataOrBuilder getMetadataOrBuilder()
optional .RpcMetadata metadata = 6;getMetadataOrBuilder in interface Responses.ErrorResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(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 Responses.ErrorResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Responses.ErrorResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Responses.ErrorResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Responses.ErrorResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Responses.ErrorResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Responses.ErrorResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Responses.ErrorResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Responses.ErrorResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Responses.ErrorResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Responses.ErrorResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Responses.ErrorResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Responses.ErrorResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Responses.ErrorResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.