org.apache.hadoop.hbase.protobuf.generated
Class RPCProtos.ExceptionResponse.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RPCProtos.ExceptionResponseOrBuilder
Enclosing class:
RPCProtos.ExceptionResponse

public static final class RPCProtos.ExceptionResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>
implements RPCProtos.ExceptionResponseOrBuilder

Protobuf type ExceptionResponse

 At the RPC layer, this message is used to carry
 the server side exception to the RPC client.
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>

clear

public RPCProtos.ExceptionResponse.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>

clone

public RPCProtos.ExceptionResponse.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>

getDefaultInstanceForType

public RPCProtos.ExceptionResponse getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public RPCProtos.ExceptionResponse build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public RPCProtos.ExceptionResponse buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ExceptionResponse.Builder>

mergeFrom

public RPCProtos.ExceptionResponse.Builder mergeFrom(RPCProtos.ExceptionResponse other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ExceptionResponse.Builder>

mergeFrom

public RPCProtos.ExceptionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ExceptionResponse.Builder>
Throws:
IOException

hasExceptionClassName

public boolean hasExceptionClassName()
optional string exception_class_name = 1;
 Class name of the exception thrown from the server
 

Specified by:
hasExceptionClassName in interface RPCProtos.ExceptionResponseOrBuilder

getExceptionClassName

public String getExceptionClassName()
optional string exception_class_name = 1;
 Class name of the exception thrown from the server
 

Specified by:
getExceptionClassName in interface RPCProtos.ExceptionResponseOrBuilder

getExceptionClassNameBytes

public com.google.protobuf.ByteString getExceptionClassNameBytes()
optional string exception_class_name = 1;
 Class name of the exception thrown from the server
 

Specified by:
getExceptionClassNameBytes in interface RPCProtos.ExceptionResponseOrBuilder

setExceptionClassName

public RPCProtos.ExceptionResponse.Builder setExceptionClassName(String value)
optional string exception_class_name = 1;
 Class name of the exception thrown from the server
 


clearExceptionClassName

public RPCProtos.ExceptionResponse.Builder clearExceptionClassName()
optional string exception_class_name = 1;
 Class name of the exception thrown from the server
 


setExceptionClassNameBytes

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
 


hasStackTrace

public boolean hasStackTrace()
optional string stack_trace = 2;
 Exception stack trace from the server side
 

Specified by:
hasStackTrace in interface RPCProtos.ExceptionResponseOrBuilder

getStackTrace

public String getStackTrace()
optional string stack_trace = 2;
 Exception stack trace from the server side
 

Specified by:
getStackTrace in interface RPCProtos.ExceptionResponseOrBuilder

getStackTraceBytes

public com.google.protobuf.ByteString getStackTraceBytes()
optional string stack_trace = 2;
 Exception stack trace from the server side
 

Specified by:
getStackTraceBytes in interface RPCProtos.ExceptionResponseOrBuilder

setStackTrace

public RPCProtos.ExceptionResponse.Builder setStackTrace(String value)
optional string stack_trace = 2;
 Exception stack trace from the server side
 


clearStackTrace

public RPCProtos.ExceptionResponse.Builder clearStackTrace()
optional string stack_trace = 2;
 Exception stack trace from the server side
 


setStackTraceBytes

public RPCProtos.ExceptionResponse.Builder setStackTraceBytes(com.google.protobuf.ByteString value)
optional string stack_trace = 2;
 Exception stack trace from the server side
 


hasHostname

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.
 

Specified by:
hasHostname in interface RPCProtos.ExceptionResponseOrBuilder

getHostname

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.
 

Specified by:
getHostname in interface RPCProtos.ExceptionResponseOrBuilder

getHostnameBytes

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.
 

Specified by:
getHostnameBytes in interface RPCProtos.ExceptionResponseOrBuilder

setHostname

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.
 


clearHostname

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.
 


setHostnameBytes

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.
 


hasPort

public boolean hasPort()
optional int32 port = 4;

Specified by:
hasPort in interface RPCProtos.ExceptionResponseOrBuilder

getPort

public int getPort()
optional int32 port = 4;

Specified by:
getPort in interface RPCProtos.ExceptionResponseOrBuilder

setPort

public RPCProtos.ExceptionResponse.Builder setPort(int value)
optional int32 port = 4;


clearPort

public RPCProtos.ExceptionResponse.Builder clearPort()
optional int32 port = 4;


hasDoNotRetry

public boolean hasDoNotRetry()
optional bool do_not_retry = 5;
 Set if we are NOT to retry on receipt of this exception
 

Specified by:
hasDoNotRetry in interface RPCProtos.ExceptionResponseOrBuilder

getDoNotRetry

public boolean getDoNotRetry()
optional bool do_not_retry = 5;
 Set if we are NOT to retry on receipt of this exception
 

Specified by:
getDoNotRetry in interface RPCProtos.ExceptionResponseOrBuilder

setDoNotRetry

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
 


clearDoNotRetry

public RPCProtos.ExceptionResponse.Builder clearDoNotRetry()
optional bool do_not_retry = 5;
 Set if we are NOT to retry on receipt of this exception
 



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.