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

public static final class YarnProtos.QueueInfoProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnProtos.QueueInfoProto.Builder>
implements YarnProtos.QueueInfoProtoOrBuilder


Method Summary
 YarnProtos.QueueInfoProto.Builder addAllApplications(Iterable<? extends YarnProtos.ApplicationReportProto> values)
           
 YarnProtos.QueueInfoProto.Builder addAllChildQueues(Iterable<? extends YarnProtos.QueueInfoProto> values)
           
 YarnProtos.QueueInfoProto.Builder addApplications(int index, YarnProtos.ApplicationReportProto.Builder builderForValue)
           
 YarnProtos.QueueInfoProto.Builder addApplications(int index, YarnProtos.ApplicationReportProto value)
           
 YarnProtos.QueueInfoProto.Builder addApplications(YarnProtos.ApplicationReportProto.Builder builderForValue)
           
 YarnProtos.QueueInfoProto.Builder addApplications(YarnProtos.ApplicationReportProto value)
           
 YarnProtos.ApplicationReportProto.Builder addApplicationsBuilder()
           
 YarnProtos.ApplicationReportProto.Builder addApplicationsBuilder(int index)
           
 YarnProtos.QueueInfoProto.Builder addChildQueues(int index, YarnProtos.QueueInfoProto.Builder builderForValue)
           
 YarnProtos.QueueInfoProto.Builder addChildQueues(int index, YarnProtos.QueueInfoProto value)
           
 YarnProtos.QueueInfoProto.Builder addChildQueues(YarnProtos.QueueInfoProto.Builder builderForValue)
           
 YarnProtos.QueueInfoProto.Builder addChildQueues(YarnProtos.QueueInfoProto value)
           
 YarnProtos.QueueInfoProto.Builder addChildQueuesBuilder()
           
 YarnProtos.QueueInfoProto.Builder addChildQueuesBuilder(int index)
           
 YarnProtos.QueueInfoProto build()
           
 YarnProtos.QueueInfoProto buildPartial()
           
 YarnProtos.QueueInfoProto.Builder clear()
           
 YarnProtos.QueueInfoProto.Builder clearApplications()
           
 YarnProtos.QueueInfoProto.Builder clearCapacity()
           
 YarnProtos.QueueInfoProto.Builder clearChildQueues()
           
 YarnProtos.QueueInfoProto.Builder clearCurrentCapacity()
           
 YarnProtos.QueueInfoProto.Builder clearMaximumCapacity()
           
 YarnProtos.QueueInfoProto.Builder clearQueueName()
           
 YarnProtos.QueueInfoProto.Builder clearState()
           
 YarnProtos.QueueInfoProto.Builder clone()
           
 YarnProtos.ApplicationReportProto getApplications(int index)
           
 YarnProtos.ApplicationReportProto.Builder getApplicationsBuilder(int index)
           
 List<YarnProtos.ApplicationReportProto.Builder> getApplicationsBuilderList()
           
 int getApplicationsCount()
           
 List<YarnProtos.ApplicationReportProto> getApplicationsList()
           
 YarnProtos.ApplicationReportProtoOrBuilder getApplicationsOrBuilder(int index)
           
 List<? extends YarnProtos.ApplicationReportProtoOrBuilder> getApplicationsOrBuilderList()
           
 float getCapacity()
           
 YarnProtos.QueueInfoProto getChildQueues(int index)
           
 YarnProtos.QueueInfoProto.Builder getChildQueuesBuilder(int index)
           
 List<YarnProtos.QueueInfoProto.Builder> getChildQueuesBuilderList()
           
 int getChildQueuesCount()
           
 List<YarnProtos.QueueInfoProto> getChildQueuesList()
           
 YarnProtos.QueueInfoProtoOrBuilder getChildQueuesOrBuilder(int index)
           
 List<? extends YarnProtos.QueueInfoProtoOrBuilder> getChildQueuesOrBuilderList()
           
 float getCurrentCapacity()
           
 YarnProtos.QueueInfoProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 float getMaximumCapacity()
           
 String getQueueName()
           
 YarnProtos.QueueStateProto getState()
           
 boolean hasCapacity()
           
 boolean hasCurrentCapacity()
           
 boolean hasMaximumCapacity()
           
 boolean hasQueueName()
           
 boolean hasState()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnProtos.QueueInfoProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.QueueInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnProtos.QueueInfoProto.Builder mergeFrom(YarnProtos.QueueInfoProto other)
           
 YarnProtos.QueueInfoProto.Builder removeApplications(int index)
           
 YarnProtos.QueueInfoProto.Builder removeChildQueues(int index)
           
 YarnProtos.QueueInfoProto.Builder setApplications(int index, YarnProtos.ApplicationReportProto.Builder builderForValue)
           
 YarnProtos.QueueInfoProto.Builder setApplications(int index, YarnProtos.ApplicationReportProto value)
           
 YarnProtos.QueueInfoProto.Builder setCapacity(float value)
           
 YarnProtos.QueueInfoProto.Builder setChildQueues(int index, YarnProtos.QueueInfoProto.Builder builderForValue)
           
 YarnProtos.QueueInfoProto.Builder setChildQueues(int index, YarnProtos.QueueInfoProto value)
           
 YarnProtos.QueueInfoProto.Builder setCurrentCapacity(float value)
           
 YarnProtos.QueueInfoProto.Builder setMaximumCapacity(float value)
           
 YarnProtos.QueueInfoProto.Builder setQueueName(String value)
           
 YarnProtos.QueueInfoProto.Builder setState(YarnProtos.QueueStateProto 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<YarnProtos.QueueInfoProto.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasQueueName

public boolean hasQueueName()
Specified by:
hasQueueName in interface YarnProtos.QueueInfoProtoOrBuilder

getQueueName

public String getQueueName()
Specified by:
getQueueName in interface YarnProtos.QueueInfoProtoOrBuilder

setQueueName

public YarnProtos.QueueInfoProto.Builder setQueueName(String value)

clearQueueName

public YarnProtos.QueueInfoProto.Builder clearQueueName()

hasCapacity

public boolean hasCapacity()
Specified by:
hasCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

getCapacity

public float getCapacity()
Specified by:
getCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

setCapacity

public YarnProtos.QueueInfoProto.Builder setCapacity(float value)

clearCapacity

public YarnProtos.QueueInfoProto.Builder clearCapacity()

hasMaximumCapacity

public boolean hasMaximumCapacity()
Specified by:
hasMaximumCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

getMaximumCapacity

public float getMaximumCapacity()
Specified by:
getMaximumCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

setMaximumCapacity

public YarnProtos.QueueInfoProto.Builder setMaximumCapacity(float value)

clearMaximumCapacity

public YarnProtos.QueueInfoProto.Builder clearMaximumCapacity()

hasCurrentCapacity

public boolean hasCurrentCapacity()
Specified by:
hasCurrentCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

getCurrentCapacity

public float getCurrentCapacity()
Specified by:
getCurrentCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

setCurrentCapacity

public YarnProtos.QueueInfoProto.Builder setCurrentCapacity(float value)

clearCurrentCapacity

public YarnProtos.QueueInfoProto.Builder clearCurrentCapacity()

hasState

public boolean hasState()
Specified by:
hasState in interface YarnProtos.QueueInfoProtoOrBuilder

getState

public YarnProtos.QueueStateProto getState()
Specified by:
getState in interface YarnProtos.QueueInfoProtoOrBuilder

setState

public YarnProtos.QueueInfoProto.Builder setState(YarnProtos.QueueStateProto value)

clearState

public YarnProtos.QueueInfoProto.Builder clearState()

getChildQueuesList

public List<YarnProtos.QueueInfoProto> getChildQueuesList()
Specified by:
getChildQueuesList in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueuesCount

public int getChildQueuesCount()
Specified by:
getChildQueuesCount in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueues

public YarnProtos.QueueInfoProto getChildQueues(int index)
Specified by:
getChildQueues in interface YarnProtos.QueueInfoProtoOrBuilder

setChildQueues

public YarnProtos.QueueInfoProto.Builder setChildQueues(int index,
                                                        YarnProtos.QueueInfoProto value)

setChildQueues

public YarnProtos.QueueInfoProto.Builder setChildQueues(int index,
                                                        YarnProtos.QueueInfoProto.Builder builderForValue)

addChildQueues

public YarnProtos.QueueInfoProto.Builder addChildQueues(YarnProtos.QueueInfoProto value)

addChildQueues

public YarnProtos.QueueInfoProto.Builder addChildQueues(int index,
                                                        YarnProtos.QueueInfoProto value)

addChildQueues

public YarnProtos.QueueInfoProto.Builder addChildQueues(YarnProtos.QueueInfoProto.Builder builderForValue)

addChildQueues

public YarnProtos.QueueInfoProto.Builder addChildQueues(int index,
                                                        YarnProtos.QueueInfoProto.Builder builderForValue)

addAllChildQueues

public YarnProtos.QueueInfoProto.Builder addAllChildQueues(Iterable<? extends YarnProtos.QueueInfoProto> values)

clearChildQueues

public YarnProtos.QueueInfoProto.Builder clearChildQueues()

removeChildQueues

public YarnProtos.QueueInfoProto.Builder removeChildQueues(int index)

getChildQueuesBuilder

public YarnProtos.QueueInfoProto.Builder getChildQueuesBuilder(int index)

getChildQueuesOrBuilder

public YarnProtos.QueueInfoProtoOrBuilder getChildQueuesOrBuilder(int index)
Specified by:
getChildQueuesOrBuilder in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueuesOrBuilderList

public List<? extends YarnProtos.QueueInfoProtoOrBuilder> getChildQueuesOrBuilderList()
Specified by:
getChildQueuesOrBuilderList in interface YarnProtos.QueueInfoProtoOrBuilder

addChildQueuesBuilder

public YarnProtos.QueueInfoProto.Builder addChildQueuesBuilder()

addChildQueuesBuilder

public YarnProtos.QueueInfoProto.Builder addChildQueuesBuilder(int index)

getChildQueuesBuilderList

public List<YarnProtos.QueueInfoProto.Builder> getChildQueuesBuilderList()

getApplicationsList

public List<YarnProtos.ApplicationReportProto> getApplicationsList()
Specified by:
getApplicationsList in interface YarnProtos.QueueInfoProtoOrBuilder

getApplicationsCount

public int getApplicationsCount()
Specified by:
getApplicationsCount in interface YarnProtos.QueueInfoProtoOrBuilder

getApplications

public YarnProtos.ApplicationReportProto getApplications(int index)
Specified by:
getApplications in interface YarnProtos.QueueInfoProtoOrBuilder

setApplications

public YarnProtos.QueueInfoProto.Builder setApplications(int index,
                                                         YarnProtos.ApplicationReportProto value)

setApplications

public YarnProtos.QueueInfoProto.Builder setApplications(int index,
                                                         YarnProtos.ApplicationReportProto.Builder builderForValue)

addApplications

public YarnProtos.QueueInfoProto.Builder addApplications(YarnProtos.ApplicationReportProto value)

addApplications

public YarnProtos.QueueInfoProto.Builder addApplications(int index,
                                                         YarnProtos.ApplicationReportProto value)

addApplications

public YarnProtos.QueueInfoProto.Builder addApplications(YarnProtos.ApplicationReportProto.Builder builderForValue)

addApplications

public YarnProtos.QueueInfoProto.Builder addApplications(int index,
                                                         YarnProtos.ApplicationReportProto.Builder builderForValue)

addAllApplications

public YarnProtos.QueueInfoProto.Builder addAllApplications(Iterable<? extends YarnProtos.ApplicationReportProto> values)

clearApplications

public YarnProtos.QueueInfoProto.Builder clearApplications()

removeApplications

public YarnProtos.QueueInfoProto.Builder removeApplications(int index)

getApplicationsBuilder

public YarnProtos.ApplicationReportProto.Builder getApplicationsBuilder(int index)

getApplicationsOrBuilder

public YarnProtos.ApplicationReportProtoOrBuilder getApplicationsOrBuilder(int index)
Specified by:
getApplicationsOrBuilder in interface YarnProtos.QueueInfoProtoOrBuilder

getApplicationsOrBuilderList

public List<? extends YarnProtos.ApplicationReportProtoOrBuilder> getApplicationsOrBuilderList()
Specified by:
getApplicationsOrBuilderList in interface YarnProtos.QueueInfoProtoOrBuilder

addApplicationsBuilder

public YarnProtos.ApplicationReportProto.Builder addApplicationsBuilder()

addApplicationsBuilder

public YarnProtos.ApplicationReportProto.Builder addApplicationsBuilder(int index)

getApplicationsBuilderList

public List<YarnProtos.ApplicationReportProto.Builder> getApplicationsBuilderList()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.