org.apache.hadoop.yarn.ipc
Class RpcProtos.ProtoSpecificRpcResponse.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.ProtoSpecificRpcResponse.Builder>
              extended by org.apache.hadoop.yarn.ipc.RpcProtos.ProtoSpecificRpcResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RpcProtos.ProtoSpecificRpcResponseOrBuilder
Enclosing class:
RpcProtos.ProtoSpecificRpcResponse

public static final class RpcProtos.ProtoSpecificRpcResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RpcProtos.ProtoSpecificRpcResponse.Builder>
implements RpcProtos.ProtoSpecificRpcResponseOrBuilder


Method Summary
 RpcProtos.ProtoSpecificRpcResponse build()
           
 RpcProtos.ProtoSpecificRpcResponse buildPartial()
           
 RpcProtos.ProtoSpecificRpcResponse.Builder clear()
           
 RpcProtos.ProtoSpecificRpcResponse.Builder clearException()
           
 RpcProtos.ProtoSpecificRpcResponse.Builder clearIsError()
           
 RpcProtos.ProtoSpecificRpcResponse.Builder clearResponseProto()
           
 RpcProtos.ProtoSpecificRpcResponse.Builder clone()
           
 RpcProtos.ProtoSpecificRpcResponse getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto getException()
           
 org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto.Builder getExceptionBuilder()
           
 org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProtoOrBuilder getExceptionOrBuilder()
           
 boolean getIsError()
           
 com.google.protobuf.ByteString getResponseProto()
           
 boolean hasException()
           
 boolean hasIsError()
           
 boolean hasResponseProto()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 RpcProtos.ProtoSpecificRpcResponse.Builder mergeException(org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto value)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder mergeFrom(com.google.protobuf.Message other)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder mergeFrom(RpcProtos.ProtoSpecificRpcResponse other)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder setException(org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto.Builder builderForValue)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder setException(org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto value)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder setIsError(boolean value)
           
 RpcProtos.ProtoSpecificRpcResponse.Builder setResponseProto(com.google.protobuf.ByteString value)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
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
getAllFields, getField, 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.ProtoSpecificRpcResponse.Builder>

clear

public RpcProtos.ProtoSpecificRpcResponse.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.ProtoSpecificRpcResponse.Builder>

clone

public RpcProtos.ProtoSpecificRpcResponse.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.ProtoSpecificRpcResponse.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.ProtoSpecificRpcResponse.Builder>

getDefaultInstanceForType

public RpcProtos.ProtoSpecificRpcResponse getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public RpcProtos.ProtoSpecificRpcResponse.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.ProtoSpecificRpcResponse.Builder>

mergeFrom

public RpcProtos.ProtoSpecificRpcResponse.Builder mergeFrom(RpcProtos.ProtoSpecificRpcResponse 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.ProtoSpecificRpcResponse.Builder>

mergeFrom

public RpcProtos.ProtoSpecificRpcResponse.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.ProtoSpecificRpcResponse.Builder>
Throws:
IOException

hasResponseProto

public boolean hasResponseProto()
Specified by:
hasResponseProto in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder

getResponseProto

public com.google.protobuf.ByteString getResponseProto()
Specified by:
getResponseProto in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder

setResponseProto

public RpcProtos.ProtoSpecificRpcResponse.Builder setResponseProto(com.google.protobuf.ByteString value)

clearResponseProto

public RpcProtos.ProtoSpecificRpcResponse.Builder clearResponseProto()

hasIsError

public boolean hasIsError()
Specified by:
hasIsError in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder

getIsError

public boolean getIsError()
Specified by:
getIsError in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder

setIsError

public RpcProtos.ProtoSpecificRpcResponse.Builder setIsError(boolean value)

clearIsError

public RpcProtos.ProtoSpecificRpcResponse.Builder clearIsError()

hasException

public boolean hasException()
Specified by:
hasException in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder

getException

public org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto getException()
Specified by:
getException in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder

setException

public RpcProtos.ProtoSpecificRpcResponse.Builder setException(org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto value)

setException

public RpcProtos.ProtoSpecificRpcResponse.Builder setException(org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto.Builder builderForValue)

mergeException

public RpcProtos.ProtoSpecificRpcResponse.Builder mergeException(org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto value)

clearException

public RpcProtos.ProtoSpecificRpcResponse.Builder clearException()

getExceptionBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProto.Builder getExceptionBuilder()

getExceptionOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.YarnRemoteExceptionProtoOrBuilder getExceptionOrBuilder()
Specified by:
getExceptionOrBuilder in interface RpcProtos.ProtoSpecificRpcResponseOrBuilder


Copyright © 2012 Apache Software Foundation. All Rights Reserved.