org.apache.hadoop.yarn.proto
Class YarnProtos.QueueInfoProto

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, YarnProtos.QueueInfoProtoOrBuilder
Enclosing class:
YarnProtos

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

Protobuf type hadoop.yarn.QueueInfoProto

See Also:
Serialized Form

Nested Class Summary
static class YarnProtos.QueueInfoProto.Builder
          Protobuf type hadoop.yarn.QueueInfoProto
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int APPLICATIONS_FIELD_NUMBER
           
static int CAPACITY_FIELD_NUMBER
           
static int CHILDQUEUES_FIELD_NUMBER
           
static int CURRENTCAPACITY_FIELD_NUMBER
           
static int MAXIMUMCAPACITY_FIELD_NUMBER
           
static com.google.protobuf.Parser<YarnProtos.QueueInfoProto> PARSER
           
static int QUEUENAME_FIELD_NUMBER
           
static int STATE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 YarnProtos.ApplicationReportProto getApplications(int index)
          repeated .hadoop.yarn.ApplicationReportProto applications = 7;
 int getApplicationsCount()
          repeated .hadoop.yarn.ApplicationReportProto applications = 7;
 List<YarnProtos.ApplicationReportProto> getApplicationsList()
          repeated .hadoop.yarn.ApplicationReportProto applications = 7;
 YarnProtos.ApplicationReportProtoOrBuilder getApplicationsOrBuilder(int index)
          repeated .hadoop.yarn.ApplicationReportProto applications = 7;
 List<? extends YarnProtos.ApplicationReportProtoOrBuilder> getApplicationsOrBuilderList()
          repeated .hadoop.yarn.ApplicationReportProto applications = 7;
 float getCapacity()
          optional float capacity = 2;
 YarnProtos.QueueInfoProto getChildQueues(int index)
          repeated .hadoop.yarn.QueueInfoProto childQueues = 6;
 int getChildQueuesCount()
          repeated .hadoop.yarn.QueueInfoProto childQueues = 6;
 List<YarnProtos.QueueInfoProto> getChildQueuesList()
          repeated .hadoop.yarn.QueueInfoProto childQueues = 6;
 YarnProtos.QueueInfoProtoOrBuilder getChildQueuesOrBuilder(int index)
          repeated .hadoop.yarn.QueueInfoProto childQueues = 6;
 List<? extends YarnProtos.QueueInfoProtoOrBuilder> getChildQueuesOrBuilderList()
          repeated .hadoop.yarn.QueueInfoProto childQueues = 6;
 float getCurrentCapacity()
          optional float currentCapacity = 4;
static YarnProtos.QueueInfoProto getDefaultInstance()
           
 YarnProtos.QueueInfoProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 float getMaximumCapacity()
          optional float maximumCapacity = 3;
 com.google.protobuf.Parser<YarnProtos.QueueInfoProto> getParserForType()
           
 String getQueueName()
          optional string queueName = 1;
 com.google.protobuf.ByteString getQueueNameBytes()
          optional string queueName = 1;
 int getSerializedSize()
           
 YarnProtos.QueueStateProto getState()
          optional .hadoop.yarn.QueueStateProto state = 5;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasCapacity()
          optional float capacity = 2;
 boolean hasCurrentCapacity()
          optional float currentCapacity = 4;
 int hashCode()
           
 boolean hasMaximumCapacity()
          optional float maximumCapacity = 3;
 boolean hasQueueName()
          optional string queueName = 1;
 boolean hasState()
          optional .hadoop.yarn.QueueStateProto state = 5;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static YarnProtos.QueueInfoProto.Builder newBuilder()
           
static YarnProtos.QueueInfoProto.Builder newBuilder(YarnProtos.QueueInfoProto prototype)
           
 YarnProtos.QueueInfoProto.Builder newBuilderForType()
           
protected  YarnProtos.QueueInfoProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static YarnProtos.QueueInfoProto parseDelimitedFrom(InputStream input)
           
static YarnProtos.QueueInfoProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.QueueInfoProto parseFrom(byte[] data)
           
static YarnProtos.QueueInfoProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.ByteString data)
           
static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.QueueInfoProto parseFrom(InputStream input)
           
static YarnProtos.QueueInfoProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.QueueInfoProto.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<YarnProtos.QueueInfoProto> PARSER

QUEUENAME_FIELD_NUMBER

public static final int QUEUENAME_FIELD_NUMBER
See Also:
Constant Field Values

CAPACITY_FIELD_NUMBER

public static final int CAPACITY_FIELD_NUMBER
See Also:
Constant Field Values

MAXIMUMCAPACITY_FIELD_NUMBER

public static final int MAXIMUMCAPACITY_FIELD_NUMBER
See Also:
Constant Field Values

CURRENTCAPACITY_FIELD_NUMBER

public static final int CURRENTCAPACITY_FIELD_NUMBER
See Also:
Constant Field Values

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
See Also:
Constant Field Values

CHILDQUEUES_FIELD_NUMBER

public static final int CHILDQUEUES_FIELD_NUMBER
See Also:
Constant Field Values

APPLICATIONS_FIELD_NUMBER

public static final int APPLICATIONS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static YarnProtos.QueueInfoProto getDefaultInstance()

getDefaultInstanceForType

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

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

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

getParserForType

public com.google.protobuf.Parser<YarnProtos.QueueInfoProto> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasQueueName

public boolean hasQueueName()
optional string queueName = 1;

Specified by:
hasQueueName in interface YarnProtos.QueueInfoProtoOrBuilder

getQueueName

public String getQueueName()
optional string queueName = 1;

Specified by:
getQueueName in interface YarnProtos.QueueInfoProtoOrBuilder

getQueueNameBytes

public com.google.protobuf.ByteString getQueueNameBytes()
optional string queueName = 1;

Specified by:
getQueueNameBytes in interface YarnProtos.QueueInfoProtoOrBuilder

hasCapacity

public boolean hasCapacity()
optional float capacity = 2;

Specified by:
hasCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

getCapacity

public float getCapacity()
optional float capacity = 2;

Specified by:
getCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

hasMaximumCapacity

public boolean hasMaximumCapacity()
optional float maximumCapacity = 3;

Specified by:
hasMaximumCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

getMaximumCapacity

public float getMaximumCapacity()
optional float maximumCapacity = 3;

Specified by:
getMaximumCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

hasCurrentCapacity

public boolean hasCurrentCapacity()
optional float currentCapacity = 4;

Specified by:
hasCurrentCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

getCurrentCapacity

public float getCurrentCapacity()
optional float currentCapacity = 4;

Specified by:
getCurrentCapacity in interface YarnProtos.QueueInfoProtoOrBuilder

hasState

public boolean hasState()
optional .hadoop.yarn.QueueStateProto state = 5;

Specified by:
hasState in interface YarnProtos.QueueInfoProtoOrBuilder

getState

public YarnProtos.QueueStateProto getState()
optional .hadoop.yarn.QueueStateProto state = 5;

Specified by:
getState in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueuesList

public List<YarnProtos.QueueInfoProto> getChildQueuesList()
repeated .hadoop.yarn.QueueInfoProto childQueues = 6;

Specified by:
getChildQueuesList in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueuesOrBuilderList

public List<? extends YarnProtos.QueueInfoProtoOrBuilder> getChildQueuesOrBuilderList()
repeated .hadoop.yarn.QueueInfoProto childQueues = 6;

Specified by:
getChildQueuesOrBuilderList in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueuesCount

public int getChildQueuesCount()
repeated .hadoop.yarn.QueueInfoProto childQueues = 6;

Specified by:
getChildQueuesCount in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueues

public YarnProtos.QueueInfoProto getChildQueues(int index)
repeated .hadoop.yarn.QueueInfoProto childQueues = 6;

Specified by:
getChildQueues in interface YarnProtos.QueueInfoProtoOrBuilder

getChildQueuesOrBuilder

public YarnProtos.QueueInfoProtoOrBuilder getChildQueuesOrBuilder(int index)
repeated .hadoop.yarn.QueueInfoProto childQueues = 6;

Specified by:
getChildQueuesOrBuilder in interface YarnProtos.QueueInfoProtoOrBuilder

getApplicationsList

public List<YarnProtos.ApplicationReportProto> getApplicationsList()
repeated .hadoop.yarn.ApplicationReportProto applications = 7;

Specified by:
getApplicationsList in interface YarnProtos.QueueInfoProtoOrBuilder

getApplicationsOrBuilderList

public List<? extends YarnProtos.ApplicationReportProtoOrBuilder> getApplicationsOrBuilderList()
repeated .hadoop.yarn.ApplicationReportProto applications = 7;

Specified by:
getApplicationsOrBuilderList in interface YarnProtos.QueueInfoProtoOrBuilder

getApplicationsCount

public int getApplicationsCount()
repeated .hadoop.yarn.ApplicationReportProto applications = 7;

Specified by:
getApplicationsCount in interface YarnProtos.QueueInfoProtoOrBuilder

getApplications

public YarnProtos.ApplicationReportProto getApplications(int index)
repeated .hadoop.yarn.ApplicationReportProto applications = 7;

Specified by:
getApplications in interface YarnProtos.QueueInfoProtoOrBuilder

getApplicationsOrBuilder

public YarnProtos.ApplicationReportProtoOrBuilder getApplicationsOrBuilder(int index)
repeated .hadoop.yarn.ApplicationReportProto applications = 7;

Specified by:
getApplicationsOrBuilder in interface YarnProtos.QueueInfoProtoOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

equals

public boolean equals(Object obj)
Specified by:
equals in interface com.google.protobuf.Message
Overrides:
equals in class com.google.protobuf.AbstractMessage

hashCode

public int hashCode()
Specified by:
hashCode in interface com.google.protobuf.Message
Overrides:
hashCode in class com.google.protobuf.AbstractMessage

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(InputStream input)
                                           throws IOException
Throws:
IOException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(InputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
Throws:
IOException

parseDelimitedFrom

public static YarnProtos.QueueInfoProto parseDelimitedFrom(InputStream input)
                                                    throws IOException
Throws:
IOException

parseDelimitedFrom

public static YarnProtos.QueueInfoProto parseDelimitedFrom(InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
Throws:
IOException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.CodedInputStream input)
                                           throws IOException
Throws:
IOException

parseFrom

public static YarnProtos.QueueInfoProto parseFrom(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
Throws:
IOException

newBuilder

public static YarnProtos.QueueInfoProto.Builder newBuilder()

newBuilderForType

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

newBuilder

public static YarnProtos.QueueInfoProto.Builder newBuilder(YarnProtos.QueueInfoProto prototype)

toBuilder

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

newBuilderForType

protected YarnProtos.QueueInfoProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2014 Apache Software Foundation. All Rights Reserved.