public static final class Responses.ErrorResponse extends com.google.protobuf.GeneratedMessage implements Responses.ErrorResponseOrBuilder
ErrorResponse
Send contextual information about some error over the wire from the server.
| Modifier and Type | Class and Description |
|---|---|
static class |
Responses.ErrorResponse.Builder
Protobuf type
ErrorResponse |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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.GeneratedMessage.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
static Responses.ErrorResponse |
getDefaultInstance() |
Responses.ErrorResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getErrorCode()
optional uint32 error_code = 4; |
String |
getErrorMessage()
optional string error_message = 2; |
com.google.protobuf.ByteString |
getErrorMessageBytes()
optional string error_message = 2; |
String |
getExceptions(int index)
repeated string exceptions = 1; |
com.google.protobuf.ByteString |
getExceptionsBytes(int index)
repeated string exceptions = 1; |
int |
getExceptionsCount()
repeated string exceptions = 1; |
com.google.protobuf.ProtocolStringList |
getExceptionsList()
repeated string exceptions = 1; |
boolean |
getHasExceptions()
optional bool has_exceptions = 7; |
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()
optional string sql_state = 5; |
com.google.protobuf.ByteString |
getSqlStateBytes()
optional string sql_state = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasMetadata()
optional .RpcMetadata metadata = 6; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, 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.GeneratedMessage.Builder<?> builder)
private Responses.ErrorResponse()
private Responses.ErrorResponse(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.ProtocolStringList getExceptionsList()
repeated string exceptions = 1;
exception stacktraces, many for linked exceptions.
getExceptionsList in interface Responses.ErrorResponseOrBuilderpublic int getExceptionsCount()
repeated string exceptions = 1;
exception stacktraces, many for linked exceptions.
getExceptionsCount in interface Responses.ErrorResponseOrBuilderpublic String getExceptions(int index)
repeated string exceptions = 1;
exception stacktraces, many for linked exceptions.
getExceptions in interface Responses.ErrorResponseOrBuilderpublic com.google.protobuf.ByteString getExceptionsBytes(int index)
repeated string exceptions = 1;
exception stacktraces, many for linked exceptions.
getExceptionsBytes in interface Responses.ErrorResponseOrBuilderpublic boolean getHasExceptions()
optional bool has_exceptions = 7;
are there stacktraces contained?
getHasExceptions in interface Responses.ErrorResponseOrBuilderpublic String getErrorMessage()
optional string error_message = 2;
human readable description
getErrorMessage in interface Responses.ErrorResponseOrBuilderpublic com.google.protobuf.ByteString getErrorMessageBytes()
optional string error_message = 2;
human readable description
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()
optional uint32 error_code = 4;
numeric identifier for error
getErrorCode in interface Responses.ErrorResponseOrBuilderpublic String getSqlState()
optional string sql_state = 5;
five-character standard-defined value
getSqlState in interface Responses.ErrorResponseOrBuilderpublic com.google.protobuf.ByteString getSqlStateBytes()
optional string sql_state = 5;
five-character standard-defined value
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.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic 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.