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.
| 限定符和类型 | 方法和说明 |
|---|---|
RPCProtos.ExceptionResponse |
build() |
RPCProtos.ExceptionResponse |
buildPartial() |
RPCProtos.ExceptionResponse.Builder |
clear() |
RPCProtos.ExceptionResponse.Builder |
clearDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
|
RPCProtos.ExceptionResponse.Builder |
clearExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
|
RPCProtos.ExceptionResponse.Builder |
clearHostname()
optional string hostname = 3;
Optional hostname. |
RPCProtos.ExceptionResponse.Builder |
clearPort()
optional int32 port = 4; |
RPCProtos.ExceptionResponse.Builder |
clearStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
|
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;
Set if we are NOT to retry on receipt of this exception
|
String |
getExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
|
com.google.protobuf.ByteString |
getExceptionClassNameBytes()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
|
String |
getHostname()
optional string hostname = 3;
Optional hostname. |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 3;
Optional hostname. |
int |
getPort()
optional int32 port = 4; |
String |
getStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
|
com.google.protobuf.ByteString |
getStackTraceBytes()
optional string stack_trace = 2;
Exception stack trace from the server side
|
boolean |
hasDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
|
boolean |
hasExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
|
boolean |
hasHostname()
optional string hostname = 3;
Optional hostname. |
boolean |
hasPort()
optional int32 port = 4; |
boolean |
hasStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
|
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;
Set if we are NOT to retry on receipt of this exception
|
RPCProtos.ExceptionResponse.Builder |
setExceptionClassName(String value)
optional string exception_class_name = 1;
Class name of the exception thrown from the server
|
RPCProtos.ExceptionResponse.Builder |
setExceptionClassNameBytes(com.google.protobuf.ByteString value)
optional string exception_class_name = 1;
Class name of the exception thrown from the server
|
RPCProtos.ExceptionResponse.Builder |
setHostname(String value)
optional string hostname = 3;
Optional hostname. |
RPCProtos.ExceptionResponse.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 3;
Optional hostname. |
RPCProtos.ExceptionResponse.Builder |
setPort(int value)
optional int32 port = 4; |
RPCProtos.ExceptionResponse.Builder |
setStackTrace(String value)
optional string stack_trace = 2;
Exception stack trace from the server side
|
RPCProtos.ExceptionResponse.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
optional string stack_trace = 2;
Exception stack trace from the server side
|
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, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic RPCProtos.ExceptionResponse build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic RPCProtos.ExceptionResponse buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RPCProtos.ExceptionResponse.Builder>public RPCProtos.ExceptionResponse.Builder mergeFrom(RPCProtos.ExceptionResponse other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 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 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 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
public String getExceptionClassName()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
public com.google.protobuf.ByteString getExceptionClassNameBytes()
optional string exception_class_name = 1;
Class name of the exception thrown from the server
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
public String getStackTrace()
optional string stack_trace = 2;
Exception stack trace from the server side
public com.google.protobuf.ByteString getStackTraceBytes()
optional string stack_trace = 2;
Exception stack trace from the server side
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.
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.
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.
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 在接口中 RPCProtos.ExceptionResponseOrBuilderpublic int getPort()
optional int32 port = 4;getPort 在接口中 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
public boolean getDoNotRetry()
optional bool do_not_retry = 5;
Set if we are NOT to retry on receipt of this exception
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. All rights reserved.