public static final class RPCPB.ExceptionResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ExceptionResponse,RPCPB.ExceptionResponse.Builder> implements RPCPB.ExceptionResponseOrBuilder
At the RPC layer, this message is used to carry the server side exception to the RPC client.Protobuf type
ExceptionResponse
Modifier and Type | Method and Description |
---|---|
RPCPB.ExceptionResponse.Builder |
clearDoNotRetry()
Set if we are NOT to retry on receipt of this exception
|
RPCPB.ExceptionResponse.Builder |
clearExceptionClassName()
Class name of the exception thrown from the server
|
RPCPB.ExceptionResponse.Builder |
clearHostname()
Optional hostname.
|
RPCPB.ExceptionResponse.Builder |
clearPort()
optional int32 port = 4; |
RPCPB.ExceptionResponse.Builder |
clearStackTrace()
Exception stack trace from the server side
|
boolean |
getDoNotRetry()
Set if we are NOT to retry on receipt of this exception
|
String |
getExceptionClassName()
Class name of the exception thrown from the server
|
com.google.protobuf.ByteString |
getExceptionClassNameBytes()
Class name of the exception thrown from the server
|
String |
getHostname()
Optional hostname.
|
com.google.protobuf.ByteString |
getHostnameBytes()
Optional hostname.
|
int |
getPort()
optional int32 port = 4; |
String |
getStackTrace()
Exception stack trace from the server side
|
com.google.protobuf.ByteString |
getStackTraceBytes()
Exception stack trace from the server side
|
boolean |
hasDoNotRetry()
Set if we are NOT to retry on receipt of this exception
|
boolean |
hasExceptionClassName()
Class name of the exception thrown from the server
|
boolean |
hasHostname()
Optional hostname.
|
boolean |
hasPort()
optional int32 port = 4; |
boolean |
hasStackTrace()
Exception stack trace from the server side
|
RPCPB.ExceptionResponse.Builder |
setDoNotRetry(boolean value)
Set if we are NOT to retry on receipt of this exception
|
RPCPB.ExceptionResponse.Builder |
setExceptionClassName(String value)
Class name of the exception thrown from the server
|
RPCPB.ExceptionResponse.Builder |
setExceptionClassNameBytes(com.google.protobuf.ByteString value)
Class name of the exception thrown from the server
|
RPCPB.ExceptionResponse.Builder |
setHostname(String value)
Optional hostname.
|
RPCPB.ExceptionResponse.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
Optional hostname.
|
RPCPB.ExceptionResponse.Builder |
setPort(int value)
optional int32 port = 4; |
RPCPB.ExceptionResponse.Builder |
setStackTrace(String value)
Exception stack trace from the server side
|
RPCPB.ExceptionResponse.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
Exception stack trace from the server side
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasExceptionClassName()
Class name of the exception thrown from the server
optional string exception_class_name = 1;
hasExceptionClassName
in interface RPCPB.ExceptionResponseOrBuilder
public String getExceptionClassName()
Class name of the exception thrown from the server
optional string exception_class_name = 1;
getExceptionClassName
in interface RPCPB.ExceptionResponseOrBuilder
public com.google.protobuf.ByteString getExceptionClassNameBytes()
Class name of the exception thrown from the server
optional string exception_class_name = 1;
getExceptionClassNameBytes
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setExceptionClassName(String value)
Class name of the exception thrown from the server
optional string exception_class_name = 1;
public RPCPB.ExceptionResponse.Builder clearExceptionClassName()
Class name of the exception thrown from the server
optional string exception_class_name = 1;
public RPCPB.ExceptionResponse.Builder setExceptionClassNameBytes(com.google.protobuf.ByteString value)
Class name of the exception thrown from the server
optional string exception_class_name = 1;
public boolean hasStackTrace()
Exception stack trace from the server side
optional string stack_trace = 2;
hasStackTrace
in interface RPCPB.ExceptionResponseOrBuilder
public String getStackTrace()
Exception stack trace from the server side
optional string stack_trace = 2;
getStackTrace
in interface RPCPB.ExceptionResponseOrBuilder
public com.google.protobuf.ByteString getStackTraceBytes()
Exception stack trace from the server side
optional string stack_trace = 2;
getStackTraceBytes
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setStackTrace(String value)
Exception stack trace from the server side
optional string stack_trace = 2;
public RPCPB.ExceptionResponse.Builder clearStackTrace()
Exception stack trace from the server side
optional string stack_trace = 2;
public RPCPB.ExceptionResponse.Builder setStackTraceBytes(com.google.protobuf.ByteString value)
Exception stack trace from the server side
optional string stack_trace = 2;
public boolean hasHostname()
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
optional string hostname = 3;
hasHostname
in interface RPCPB.ExceptionResponseOrBuilder
public String getHostname()
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
optional string hostname = 3;
getHostname
in interface RPCPB.ExceptionResponseOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
optional string hostname = 3;
getHostnameBytes
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setHostname(String value)
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
optional string hostname = 3;
public RPCPB.ExceptionResponse.Builder clearHostname()
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
optional string hostname = 3;
public RPCPB.ExceptionResponse.Builder setHostnameBytes(com.google.protobuf.ByteString value)
Optional hostname. Filled in for some exceptions such as region moved where exception gives clue on where the region may have moved.
optional string hostname = 3;
public boolean hasPort()
optional int32 port = 4;
hasPort
in interface RPCPB.ExceptionResponseOrBuilder
public int getPort()
optional int32 port = 4;
getPort
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setPort(int value)
optional int32 port = 4;
public RPCPB.ExceptionResponse.Builder clearPort()
optional int32 port = 4;
public boolean hasDoNotRetry()
Set if we are NOT to retry on receipt of this exception
optional bool do_not_retry = 5;
hasDoNotRetry
in interface RPCPB.ExceptionResponseOrBuilder
public boolean getDoNotRetry()
Set if we are NOT to retry on receipt of this exception
optional bool do_not_retry = 5;
getDoNotRetry
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setDoNotRetry(boolean value)
Set if we are NOT to retry on receipt of this exception
optional bool do_not_retry = 5;
public RPCPB.ExceptionResponse.Builder clearDoNotRetry()
Set if we are NOT to retry on receipt of this exception
optional bool do_not_retry = 5;
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.