public static final class RPCPB.ExceptionResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ExceptionResponse,RPCPB.ExceptionResponse.Builder> implements RPCPB.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 |
---|---|
RPCPB.ExceptionResponse |
build() |
RPCPB.ExceptionResponse |
buildPartial() |
RPCPB.ExceptionResponse.Builder |
clear() |
RPCPB.ExceptionResponse.Builder |
clearDoNotRetry()
optional bool do_not_retry = 5; |
RPCPB.ExceptionResponse.Builder |
clearExceptionClassName()
optional string exception_class_name = 1; |
RPCPB.ExceptionResponse.Builder |
clearHostname()
optional string hostname = 3; |
RPCPB.ExceptionResponse.Builder |
clearPort()
optional int32 port = 4; |
RPCPB.ExceptionResponse.Builder |
clearStackTrace()
optional string stack_trace = 2; |
RPCPB.ExceptionResponse.Builder |
clone() |
RPCPB.ExceptionResponse |
getDefaultInstanceForType() |
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; |
boolean |
isInitialized() |
RPCPB.ExceptionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCPB.ExceptionResponse.Builder |
mergeFrom(RPCPB.ExceptionResponse other) |
RPCPB.ExceptionResponse.Builder |
setDoNotRetry(boolean value)
optional bool do_not_retry = 5; |
RPCPB.ExceptionResponse.Builder |
setExceptionClassName(String value)
optional string exception_class_name = 1; |
RPCPB.ExceptionResponse.Builder |
setExceptionClassNameBytes(com.google.protobuf.ByteString value)
optional string exception_class_name = 1; |
RPCPB.ExceptionResponse.Builder |
setHostname(String value)
optional string hostname = 3; |
RPCPB.ExceptionResponse.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 3; |
RPCPB.ExceptionResponse.Builder |
setPort(int value)
optional int32 port = 4; |
RPCPB.ExceptionResponse.Builder |
setStackTrace(String value)
optional string stack_trace = 2; |
RPCPB.ExceptionResponse.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
optional string stack_trace = 2; |
public RPCPB.ExceptionResponse.Builder clear()
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ExceptionResponse,RPCPB.ExceptionResponse.Builder>
public RPCPB.ExceptionResponse.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ExceptionResponse,RPCPB.ExceptionResponse.Builder>
public RPCPB.ExceptionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ExceptionResponse,RPCPB.ExceptionResponse.Builder>
public RPCPB.ExceptionResponse build()
build
in interface com.google.protobuf.MessageLite.Builder
public RPCPB.ExceptionResponse buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCPB.ExceptionResponse.Builder mergeFrom(RPCPB.ExceptionResponse other)
mergeFrom
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ExceptionResponse,RPCPB.ExceptionResponse.Builder>
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public RPCPB.ExceptionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<RPCPB.ExceptionResponse.Builder>
IOException
public boolean hasExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
hasExceptionClassName
in interface RPCPB.ExceptionResponseOrBuilder
public String getExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
getExceptionClassName
in interface RPCPB.ExceptionResponseOrBuilder
public com.google.protobuf.ByteString getExceptionClassNameBytes()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
getExceptionClassNameBytes
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setExceptionClassName(String value)
optional string exception_class_name = 1;
Class name of the exception thrown from the server
public RPCPB.ExceptionResponse.Builder clearExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
public RPCPB.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 RPCPB.ExceptionResponseOrBuilder
public String getStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
getStackTrace
in interface RPCPB.ExceptionResponseOrBuilder
public com.google.protobuf.ByteString getStackTraceBytes()
optional string stack_trace = 2;
Exception stack trace from the server side
getStackTraceBytes
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setStackTrace(String value)
optional string stack_trace = 2;
Exception stack trace from the server side
public RPCPB.ExceptionResponse.Builder clearStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
public RPCPB.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 RPCPB.ExceptionResponseOrBuilder
public 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 RPCPB.ExceptionResponseOrBuilder
public 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 RPCPB.ExceptionResponseOrBuilder
public RPCPB.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 RPCPB.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 RPCPB.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 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()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
hasDoNotRetry
in interface RPCPB.ExceptionResponseOrBuilder
public boolean getDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
getDoNotRetry
in interface RPCPB.ExceptionResponseOrBuilder
public RPCPB.ExceptionResponse.Builder setDoNotRetry(boolean value)
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
public RPCPB.ExceptionResponse.Builder clearDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
Copyright © 2010-2017, The Async HBase Authors