@Generated(value="proto") public static final class RPCProtos.ExceptionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder> 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; |
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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>
public RPCProtos.ExceptionResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>
public RPCProtos.ExceptionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RPCProtos.ExceptionResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.ExceptionResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ExceptionResponse.Builder>
IOException
public boolean hasExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
hasExceptionClassName
in interface RPCProtos.ExceptionResponseOrBuilder
public String getExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
getExceptionClassName
in interface RPCProtos.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 RPCProtos.ExceptionResponseOrBuilder
public 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.ExceptionResponseOrBuilder
public String getStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
getStackTrace
in interface RPCProtos.ExceptionResponseOrBuilder
public com.google.protobuf.ByteString getStackTraceBytes()
optional string stack_trace = 2;
Exception stack trace from the server side
getStackTraceBytes
in interface RPCProtos.ExceptionResponseOrBuilder
public 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.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 RPCProtos.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 RPCProtos.ExceptionResponseOrBuilder
public 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.ExceptionResponseOrBuilder
public int getPort()
optional int32 port = 4;
getPort
in interface RPCProtos.ExceptionResponseOrBuilder
public 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.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 RPCProtos.ExceptionResponseOrBuilder
public 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 © 2007–2019 Cloudera. All rights reserved.