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

public static final class YarnProtos.ContainerIdProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnProtos.ContainerIdProto.Builder>
implements YarnProtos.ContainerIdProtoOrBuilder

Protobuf type hadoop.yarn.ContainerIdProto


Method Summary
 YarnProtos.ContainerIdProto build()
           
 YarnProtos.ContainerIdProto buildPartial()
           
 YarnProtos.ContainerIdProto.Builder clear()
           
 YarnProtos.ContainerIdProto.Builder clearAppAttemptId()
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ContainerIdProto.Builder clearAppId()
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ContainerIdProto.Builder clearId()
          optional int32 id = 3;
 YarnProtos.ContainerIdProto.Builder clone()
           
 YarnProtos.ApplicationAttemptIdProto getAppAttemptId()
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ApplicationAttemptIdProto.Builder getAppAttemptIdBuilder()
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ApplicationAttemptIdProtoOrBuilder getAppAttemptIdOrBuilder()
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ApplicationIdProto getAppId()
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ApplicationIdProto.Builder getAppIdBuilder()
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ApplicationIdProtoOrBuilder getAppIdOrBuilder()
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ContainerIdProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getId()
          optional int32 id = 3;
 boolean hasAppAttemptId()
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 boolean hasAppId()
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 boolean hasId()
          optional int32 id = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnProtos.ContainerIdProto.Builder mergeAppAttemptId(YarnProtos.ApplicationAttemptIdProto value)
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ContainerIdProto.Builder mergeAppId(YarnProtos.ApplicationIdProto value)
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ContainerIdProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.ContainerIdProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnProtos.ContainerIdProto.Builder mergeFrom(YarnProtos.ContainerIdProto other)
           
 YarnProtos.ContainerIdProto.Builder setAppAttemptId(YarnProtos.ApplicationAttemptIdProto.Builder builderForValue)
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ContainerIdProto.Builder setAppAttemptId(YarnProtos.ApplicationAttemptIdProto value)
          optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;
 YarnProtos.ContainerIdProto.Builder setAppId(YarnProtos.ApplicationIdProto.Builder builderForValue)
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ContainerIdProto.Builder setAppId(YarnProtos.ApplicationIdProto value)
          optional .hadoop.yarn.ApplicationIdProto app_id = 1;
 YarnProtos.ContainerIdProto.Builder setId(int value)
          optional int32 id = 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<YarnProtos.ContainerIdProto.Builder>

clear

public YarnProtos.ContainerIdProto.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<YarnProtos.ContainerIdProto.Builder>

clone

public YarnProtos.ContainerIdProto.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<YarnProtos.ContainerIdProto.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<YarnProtos.ContainerIdProto.Builder>

getDefaultInstanceForType

public YarnProtos.ContainerIdProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public YarnProtos.ContainerIdProto.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<YarnProtos.ContainerIdProto.Builder>

mergeFrom

public YarnProtos.ContainerIdProto.Builder mergeFrom(YarnProtos.ContainerIdProto other)

isInitialized

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

mergeFrom

public YarnProtos.ContainerIdProto.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<YarnProtos.ContainerIdProto.Builder>
Throws:
IOException

hasAppId

public boolean hasAppId()
optional .hadoop.yarn.ApplicationIdProto app_id = 1;

Specified by:
hasAppId in interface YarnProtos.ContainerIdProtoOrBuilder

getAppId

public YarnProtos.ApplicationIdProto getAppId()
optional .hadoop.yarn.ApplicationIdProto app_id = 1;

Specified by:
getAppId in interface YarnProtos.ContainerIdProtoOrBuilder

setAppId

public YarnProtos.ContainerIdProto.Builder setAppId(YarnProtos.ApplicationIdProto value)
optional .hadoop.yarn.ApplicationIdProto app_id = 1;


setAppId

public YarnProtos.ContainerIdProto.Builder setAppId(YarnProtos.ApplicationIdProto.Builder builderForValue)
optional .hadoop.yarn.ApplicationIdProto app_id = 1;


mergeAppId

public YarnProtos.ContainerIdProto.Builder mergeAppId(YarnProtos.ApplicationIdProto value)
optional .hadoop.yarn.ApplicationIdProto app_id = 1;


clearAppId

public YarnProtos.ContainerIdProto.Builder clearAppId()
optional .hadoop.yarn.ApplicationIdProto app_id = 1;


getAppIdBuilder

public YarnProtos.ApplicationIdProto.Builder getAppIdBuilder()
optional .hadoop.yarn.ApplicationIdProto app_id = 1;


getAppIdOrBuilder

public YarnProtos.ApplicationIdProtoOrBuilder getAppIdOrBuilder()
optional .hadoop.yarn.ApplicationIdProto app_id = 1;

Specified by:
getAppIdOrBuilder in interface YarnProtos.ContainerIdProtoOrBuilder

hasAppAttemptId

public boolean hasAppAttemptId()
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;

Specified by:
hasAppAttemptId in interface YarnProtos.ContainerIdProtoOrBuilder

getAppAttemptId

public YarnProtos.ApplicationAttemptIdProto getAppAttemptId()
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;

Specified by:
getAppAttemptId in interface YarnProtos.ContainerIdProtoOrBuilder

setAppAttemptId

public YarnProtos.ContainerIdProto.Builder setAppAttemptId(YarnProtos.ApplicationAttemptIdProto value)
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;


setAppAttemptId

public YarnProtos.ContainerIdProto.Builder setAppAttemptId(YarnProtos.ApplicationAttemptIdProto.Builder builderForValue)
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;


mergeAppAttemptId

public YarnProtos.ContainerIdProto.Builder mergeAppAttemptId(YarnProtos.ApplicationAttemptIdProto value)
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;


clearAppAttemptId

public YarnProtos.ContainerIdProto.Builder clearAppAttemptId()
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;


getAppAttemptIdBuilder

public YarnProtos.ApplicationAttemptIdProto.Builder getAppAttemptIdBuilder()
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;


getAppAttemptIdOrBuilder

public YarnProtos.ApplicationAttemptIdProtoOrBuilder getAppAttemptIdOrBuilder()
optional .hadoop.yarn.ApplicationAttemptIdProto app_attempt_id = 2;

Specified by:
getAppAttemptIdOrBuilder in interface YarnProtos.ContainerIdProtoOrBuilder

hasId

public boolean hasId()
optional int32 id = 3;

Specified by:
hasId in interface YarnProtos.ContainerIdProtoOrBuilder

getId

public int getId()
optional int32 id = 3;

Specified by:
getId in interface YarnProtos.ContainerIdProtoOrBuilder

setId

public YarnProtos.ContainerIdProto.Builder setId(int value)
optional int32 id = 3;


clearId

public YarnProtos.ContainerIdProto.Builder clearId()
optional int32 id = 3;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.