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

public static final class YarnProtos.StrictPreemptionContractProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnProtos.StrictPreemptionContractProto.Builder>
implements YarnProtos.StrictPreemptionContractProtoOrBuilder

Protobuf type hadoop.yarn.StrictPreemptionContractProto


Method Summary
 YarnProtos.StrictPreemptionContractProto.Builder addAllContainer(Iterable<? extends YarnProtos.PreemptionContainerProto> values)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder addContainer(int index, YarnProtos.PreemptionContainerProto.Builder builderForValue)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder addContainer(int index, YarnProtos.PreemptionContainerProto value)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder addContainer(YarnProtos.PreemptionContainerProto.Builder builderForValue)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder addContainer(YarnProtos.PreemptionContainerProto value)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.PreemptionContainerProto.Builder addContainerBuilder()
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.PreemptionContainerProto.Builder addContainerBuilder(int index)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto build()
           
 YarnProtos.StrictPreemptionContractProto buildPartial()
           
 YarnProtos.StrictPreemptionContractProto.Builder clear()
           
 YarnProtos.StrictPreemptionContractProto.Builder clearContainer()
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder clone()
           
 YarnProtos.PreemptionContainerProto getContainer(int index)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.PreemptionContainerProto.Builder getContainerBuilder(int index)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 List<YarnProtos.PreemptionContainerProto.Builder> getContainerBuilderList()
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 int getContainerCount()
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 List<YarnProtos.PreemptionContainerProto> getContainerList()
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.PreemptionContainerProtoOrBuilder getContainerOrBuilder(int index)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 List<? extends YarnProtos.PreemptionContainerProtoOrBuilder> getContainerOrBuilderList()
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnProtos.StrictPreemptionContractProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.StrictPreemptionContractProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnProtos.StrictPreemptionContractProto.Builder mergeFrom(YarnProtos.StrictPreemptionContractProto other)
           
 YarnProtos.StrictPreemptionContractProto.Builder removeContainer(int index)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder setContainer(int index, YarnProtos.PreemptionContainerProto.Builder builderForValue)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 YarnProtos.StrictPreemptionContractProto.Builder setContainer(int index, YarnProtos.PreemptionContainerProto value)
          repeated .hadoop.yarn.PreemptionContainerProto container = 1;
 
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.StrictPreemptionContractProto.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

public YarnProtos.StrictPreemptionContractProto.Builder mergeFrom(YarnProtos.StrictPreemptionContractProto 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.StrictPreemptionContractProto.Builder>

mergeFrom

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

getContainerList

public List<YarnProtos.PreemptionContainerProto> getContainerList()
repeated .hadoop.yarn.PreemptionContainerProto container = 1;

Specified by:
getContainerList in interface YarnProtos.StrictPreemptionContractProtoOrBuilder

getContainerCount

public int getContainerCount()
repeated .hadoop.yarn.PreemptionContainerProto container = 1;

Specified by:
getContainerCount in interface YarnProtos.StrictPreemptionContractProtoOrBuilder

getContainer

public YarnProtos.PreemptionContainerProto getContainer(int index)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;

Specified by:
getContainer in interface YarnProtos.StrictPreemptionContractProtoOrBuilder

setContainer

public YarnProtos.StrictPreemptionContractProto.Builder setContainer(int index,
                                                                     YarnProtos.PreemptionContainerProto value)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


setContainer

public YarnProtos.StrictPreemptionContractProto.Builder setContainer(int index,
                                                                     YarnProtos.PreemptionContainerProto.Builder builderForValue)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


addContainer

public YarnProtos.StrictPreemptionContractProto.Builder addContainer(YarnProtos.PreemptionContainerProto value)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


addContainer

public YarnProtos.StrictPreemptionContractProto.Builder addContainer(int index,
                                                                     YarnProtos.PreemptionContainerProto value)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


addContainer

public YarnProtos.StrictPreemptionContractProto.Builder addContainer(YarnProtos.PreemptionContainerProto.Builder builderForValue)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


addContainer

public YarnProtos.StrictPreemptionContractProto.Builder addContainer(int index,
                                                                     YarnProtos.PreemptionContainerProto.Builder builderForValue)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


addAllContainer

public YarnProtos.StrictPreemptionContractProto.Builder addAllContainer(Iterable<? extends YarnProtos.PreemptionContainerProto> values)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


clearContainer

public YarnProtos.StrictPreemptionContractProto.Builder clearContainer()
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


removeContainer

public YarnProtos.StrictPreemptionContractProto.Builder removeContainer(int index)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


getContainerBuilder

public YarnProtos.PreemptionContainerProto.Builder getContainerBuilder(int index)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


getContainerOrBuilder

public YarnProtos.PreemptionContainerProtoOrBuilder getContainerOrBuilder(int index)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;

Specified by:
getContainerOrBuilder in interface YarnProtos.StrictPreemptionContractProtoOrBuilder

getContainerOrBuilderList

public List<? extends YarnProtos.PreemptionContainerProtoOrBuilder> getContainerOrBuilderList()
repeated .hadoop.yarn.PreemptionContainerProto container = 1;

Specified by:
getContainerOrBuilderList in interface YarnProtos.StrictPreemptionContractProtoOrBuilder

addContainerBuilder

public YarnProtos.PreemptionContainerProto.Builder addContainerBuilder()
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


addContainerBuilder

public YarnProtos.PreemptionContainerProto.Builder addContainerBuilder(int index)
repeated .hadoop.yarn.PreemptionContainerProto container = 1;


getContainerBuilderList

public List<YarnProtos.PreemptionContainerProto.Builder> getContainerBuilderList()
repeated .hadoop.yarn.PreemptionContainerProto container = 1;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.