public static final class RPCProtos.ExceptionResponse.Builder extends <any> implements RPCProtos.ExceptionResponseOrBuilder
hbase.pb.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; |
java.lang.String |
getExceptionClassName()
optional string exception_class_name = 1; |
com.google.protobuf.ByteString |
getExceptionClassNameBytes()
optional string exception_class_name = 1; |
java.lang.String |
getHostname()
optional string hostname = 3; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 3; |
int |
getPort()
optional int32 port = 4; |
java.lang.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 |
setDoNotRetry(boolean value)
optional bool do_not_retry = 5; |
RPCProtos.ExceptionResponse.Builder |
setExceptionClassName(java.lang.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(java.lang.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(java.lang.String value)
optional string stack_trace = 2; |
RPCProtos.ExceptionResponse.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
optional string stack_trace = 2; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public RPCProtos.ExceptionResponse.Builder clear()
public RPCProtos.ExceptionResponse.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public RPCProtos.ExceptionResponse getDefaultInstanceForType()
public RPCProtos.ExceptionResponse build()
public RPCProtos.ExceptionResponse buildPartial()
public RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
hasExceptionClassName in interface RPCProtos.ExceptionResponseOrBuilderpublic java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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