public static final class RPCProtos.ExceptionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder> implements RPCProtos.ExceptionResponseOrBuilder
ExceptionResponse
At the RPC layer, this message is used to carry the server side exception to the RPC client.
| Modifier and Type | Method and Description |
|---|---|
RPCProtos.ExceptionResponse |
build() |
RPCProtos.ExceptionResponse |
buildPartial() |
RPCProtos.ExceptionResponse.Builder |
clear() |
RPCProtos.ExceptionResponse.Builder |
clearDoNotRetry()
optional bool do_not_retry = 5; |
RPCProtos.ExceptionResponse.Builder |
clearExceptionClassName()
optional string exception_class_name = 1; |
RPCProtos.ExceptionResponse.Builder |
clearHostname()
optional string hostname = 3; |
RPCProtos.ExceptionResponse.Builder |
clearPort()
optional int32 port = 4; |
RPCProtos.ExceptionResponse.Builder |
clearStackTrace()
optional string stack_trace = 2; |
RPCProtos.ExceptionResponse.Builder |
clone() |
RPCProtos.ExceptionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDoNotRetry()
optional bool do_not_retry = 5; |
String |
getExceptionClassName()
optional string exception_class_name = 1; |
com.google.protobuf.ByteString |
getExceptionClassNameBytes()
optional string exception_class_name = 1; |
String |
getHostname()
optional string hostname = 3; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 3; |
int |
getPort()
optional int32 port = 4; |
String |
getStackTrace()
optional string stack_trace = 2; |
com.google.protobuf.ByteString |
getStackTraceBytes()
optional string stack_trace = 2; |
boolean |
hasDoNotRetry()
optional bool do_not_retry = 5; |
boolean |
hasExceptionClassName()
optional string exception_class_name = 1; |
boolean |
hasHostname()
optional string hostname = 3; |
boolean |
hasPort()
optional int32 port = 4; |
boolean |
hasStackTrace()
optional string stack_trace = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RPCProtos.ExceptionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.ExceptionResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RPCProtos.ExceptionResponse.Builder |
mergeFrom(RPCProtos.ExceptionResponse other) |
RPCProtos.ExceptionResponse.Builder |
setDoNotRetry(boolean value)
optional bool do_not_retry = 5; |
RPCProtos.ExceptionResponse.Builder |
setExceptionClassName(String value)
optional string exception_class_name = 1; |
RPCProtos.ExceptionResponse.Builder |
setExceptionClassNameBytes(com.google.protobuf.ByteString value)
optional string exception_class_name = 1; |
RPCProtos.ExceptionResponse.Builder |
setHostname(String value)
optional string hostname = 3; |
RPCProtos.ExceptionResponse.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 3; |
RPCProtos.ExceptionResponse.Builder |
setPort(int value)
optional int32 port = 4; |
RPCProtos.ExceptionResponse.Builder |
setStackTrace(String value)
optional string stack_trace = 2; |
RPCProtos.ExceptionResponse.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
optional string stack_trace = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RPCProtos.ExceptionResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RPCProtos.ExceptionResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder mergeFrom(RPCProtos.ExceptionResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ExceptionResponse.Builder>IOExceptionpublic boolean hasExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
hasExceptionClassName in interface RPCProtos.ExceptionResponseOrBuilderpublic String getExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
getExceptionClassName in interface RPCProtos.ExceptionResponseOrBuilderpublic com.google.protobuf.ByteString getExceptionClassNameBytes()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
getExceptionClassNameBytes in interface RPCProtos.ExceptionResponseOrBuilderpublic RPCProtos.ExceptionResponse.Builder setExceptionClassName(String value)
optional string exception_class_name = 1;
Class name of the exception thrown from the server
public RPCProtos.ExceptionResponse.Builder clearExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
public RPCProtos.ExceptionResponse.Builder setExceptionClassNameBytes(com.google.protobuf.ByteString value)
optional string exception_class_name = 1;
Class name of the exception thrown from the server
public boolean hasStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
hasStackTrace in interface RPCProtos.ExceptionResponseOrBuilderpublic String getStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
getStackTrace in interface RPCProtos.ExceptionResponseOrBuilderpublic com.google.protobuf.ByteString getStackTraceBytes()
optional string stack_trace = 2;
Exception stack trace from the server side
getStackTraceBytes in interface RPCProtos.ExceptionResponseOrBuilderpublic RPCProtos.ExceptionResponse.Builder setStackTrace(String value)
optional string stack_trace = 2;
Exception stack trace from the server side
public RPCProtos.ExceptionResponse.Builder clearStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
public RPCProtos.ExceptionResponse.Builder setStackTraceBytes(com.google.protobuf.ByteString value)
optional string stack_trace = 2;
Exception stack trace from the server side
public boolean hasHostname()
optional string hostname = 3;
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
hasHostname in interface RPCProtos.ExceptionResponseOrBuilderpublic String getHostname()
optional string hostname = 3;
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
getHostname in interface RPCProtos.ExceptionResponseOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
optional string hostname = 3;
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
getHostnameBytes in interface RPCProtos.ExceptionResponseOrBuilderpublic RPCProtos.ExceptionResponse.Builder setHostname(String value)
optional string hostname = 3;
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
public RPCProtos.ExceptionResponse.Builder clearHostname()
optional string hostname = 3;
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
public RPCProtos.ExceptionResponse.Builder setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 3;
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
public boolean hasPort()
optional int32 port = 4;hasPort in interface RPCProtos.ExceptionResponseOrBuilderpublic int getPort()
optional int32 port = 4;getPort in interface RPCProtos.ExceptionResponseOrBuilderpublic RPCProtos.ExceptionResponse.Builder setPort(int value)
optional int32 port = 4;public RPCProtos.ExceptionResponse.Builder clearPort()
optional int32 port = 4;public boolean hasDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
hasDoNotRetry in interface RPCProtos.ExceptionResponseOrBuilderpublic boolean getDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
getDoNotRetry in interface RPCProtos.ExceptionResponseOrBuilderpublic RPCProtos.ExceptionResponse.Builder setDoNotRetry(boolean value)
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
public RPCProtos.ExceptionResponse.Builder clearDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
Copyright © 2014 The Apache Software Foundation. All rights reserved.