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

public static final class YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder>
implements YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

Protobuf type hadoop.yarn.RegisterApplicationMasterRequestProto

////////////////////////////////////////////////////
 ///// AM_RM_Protocol ///////////////////////////////
 ////////////////////////////////////////////////////
 


Method Summary
 YarnServiceProtos.RegisterApplicationMasterRequestProto build()
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto buildPartial()
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clear()
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clearHost()
          optional string host = 1;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clearRpcPort()
          optional int32 rpc_port = 2;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clearTrackingUrl()
          optional string tracking_url = 3;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clone()
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getHost()
          optional string host = 1;
 com.google.protobuf.ByteString getHostBytes()
          optional string host = 1;
 int getRpcPort()
          optional int32 rpc_port = 2;
 String getTrackingUrl()
          optional string tracking_url = 3;
 com.google.protobuf.ByteString getTrackingUrlBytes()
          optional string tracking_url = 3;
 boolean hasHost()
          optional string host = 1;
 boolean hasRpcPort()
          optional int32 rpc_port = 2;
 boolean hasTrackingUrl()
          optional string tracking_url = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder mergeFrom(YarnServiceProtos.RegisterApplicationMasterRequestProto other)
           
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setHost(String value)
          optional string host = 1;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setHostBytes(com.google.protobuf.ByteString value)
          optional string host = 1;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setRpcPort(int value)
          optional int32 rpc_port = 2;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setTrackingUrl(String value)
          optional string tracking_url = 3;
 YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setTrackingUrlBytes(com.google.protobuf.ByteString value)
          optional string tracking_url = 3;
 
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<YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder>

clear

public YarnServiceProtos.RegisterApplicationMasterRequestProto.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<YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder>

clone

public YarnServiceProtos.RegisterApplicationMasterRequestProto.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<YarnServiceProtos.RegisterApplicationMasterRequestProto.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<YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder>

getDefaultInstanceForType

public YarnServiceProtos.RegisterApplicationMasterRequestProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public YarnServiceProtos.RegisterApplicationMasterRequestProto.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<YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder>

mergeFrom

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder mergeFrom(YarnServiceProtos.RegisterApplicationMasterRequestProto other)

isInitialized

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

mergeFrom

public YarnServiceProtos.RegisterApplicationMasterRequestProto.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<YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder>
Throws:
IOException

hasHost

public boolean hasHost()
optional string host = 1;

Specified by:
hasHost in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

getHost

public String getHost()
optional string host = 1;

Specified by:
getHost in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

getHostBytes

public com.google.protobuf.ByteString getHostBytes()
optional string host = 1;

Specified by:
getHostBytes in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

setHost

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setHost(String value)
optional string host = 1;


clearHost

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clearHost()
optional string host = 1;


setHostBytes

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setHostBytes(com.google.protobuf.ByteString value)
optional string host = 1;


hasRpcPort

public boolean hasRpcPort()
optional int32 rpc_port = 2;

Specified by:
hasRpcPort in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

getRpcPort

public int getRpcPort()
optional int32 rpc_port = 2;

Specified by:
getRpcPort in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

setRpcPort

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setRpcPort(int value)
optional int32 rpc_port = 2;


clearRpcPort

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clearRpcPort()
optional int32 rpc_port = 2;


hasTrackingUrl

public boolean hasTrackingUrl()
optional string tracking_url = 3;

Specified by:
hasTrackingUrl in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

getTrackingUrl

public String getTrackingUrl()
optional string tracking_url = 3;

Specified by:
getTrackingUrl in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

getTrackingUrlBytes

public com.google.protobuf.ByteString getTrackingUrlBytes()
optional string tracking_url = 3;

Specified by:
getTrackingUrlBytes in interface YarnServiceProtos.RegisterApplicationMasterRequestProtoOrBuilder

setTrackingUrl

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setTrackingUrl(String value)
optional string tracking_url = 3;


clearTrackingUrl

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder clearTrackingUrl()
optional string tracking_url = 3;


setTrackingUrlBytes

public YarnServiceProtos.RegisterApplicationMasterRequestProto.Builder setTrackingUrlBytes(com.google.protobuf.ByteString value)
optional string tracking_url = 3;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.