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

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.NodeReportProto
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, YarnProtos.NodeReportProtoOrBuilder
Enclosing class:
YarnProtos

public static final class YarnProtos.NodeReportProto
extends com.google.protobuf.GeneratedMessage
implements YarnProtos.NodeReportProtoOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class YarnProtos.NodeReportProto.Builder
           
 
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 CAPABILITY_FIELD_NUMBER
           
static int HTTPADDRESS_FIELD_NUMBER
           
static int NODE_HEALTH_STATUS_FIELD_NUMBER
           
static int NODEID_FIELD_NUMBER
           
static int NUMCONTAINERS_FIELD_NUMBER
           
static int RACKNAME_FIELD_NUMBER
           
static int USED_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 YarnProtos.ResourceProto getCapability()
           
 YarnProtos.ResourceProtoOrBuilder getCapabilityOrBuilder()
           
static YarnProtos.NodeReportProto getDefaultInstance()
           
 YarnProtos.NodeReportProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getHttpAddress()
           
 YarnProtos.NodeHealthStatusProto getNodeHealthStatus()
           
 YarnProtos.NodeHealthStatusProtoOrBuilder getNodeHealthStatusOrBuilder()
           
 YarnProtos.NodeIdProto getNodeId()
           
 YarnProtos.NodeIdProtoOrBuilder getNodeIdOrBuilder()
           
 int getNumContainers()
           
 String getRackName()
           
 int getSerializedSize()
           
 YarnProtos.ResourceProto getUsed()
           
 YarnProtos.ResourceProtoOrBuilder getUsedOrBuilder()
           
 boolean hasCapability()
           
 int hashCode()
           
 boolean hasHttpAddress()
           
 boolean hasNodeHealthStatus()
           
 boolean hasNodeId()
           
 boolean hasNumContainers()
           
 boolean hasRackName()
           
 boolean hasUsed()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static YarnProtos.NodeReportProto.Builder newBuilder()
           
static YarnProtos.NodeReportProto.Builder newBuilder(YarnProtos.NodeReportProto prototype)
           
 YarnProtos.NodeReportProto.Builder newBuilderForType()
           
protected  YarnProtos.NodeReportProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static YarnProtos.NodeReportProto parseDelimitedFrom(InputStream input)
           
static YarnProtos.NodeReportProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.NodeReportProto parseFrom(byte[] data)
           
static YarnProtos.NodeReportProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.NodeReportProto parseFrom(com.google.protobuf.ByteString data)
           
static YarnProtos.NodeReportProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.NodeReportProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static YarnProtos.NodeReportProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.NodeReportProto parseFrom(InputStream input)
           
static YarnProtos.NodeReportProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.NodeReportProto.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, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
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
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

NODEID_FIELD_NUMBER

public static final int NODEID_FIELD_NUMBER
See Also:
Constant Field Values

HTTPADDRESS_FIELD_NUMBER

public static final int HTTPADDRESS_FIELD_NUMBER
See Also:
Constant Field Values

RACKNAME_FIELD_NUMBER

public static final int RACKNAME_FIELD_NUMBER
See Also:
Constant Field Values

USED_FIELD_NUMBER

public static final int USED_FIELD_NUMBER
See Also:
Constant Field Values

CAPABILITY_FIELD_NUMBER

public static final int CAPABILITY_FIELD_NUMBER
See Also:
Constant Field Values

NUMCONTAINERS_FIELD_NUMBER

public static final int NUMCONTAINERS_FIELD_NUMBER
See Also:
Constant Field Values

NODE_HEALTH_STATUS_FIELD_NUMBER

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

getDefaultInstance

public static YarnProtos.NodeReportProto getDefaultInstance()

getDefaultInstanceForType

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

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

hasNodeId

public boolean hasNodeId()
Specified by:
hasNodeId in interface YarnProtos.NodeReportProtoOrBuilder

getNodeId

public YarnProtos.NodeIdProto getNodeId()
Specified by:
getNodeId in interface YarnProtos.NodeReportProtoOrBuilder

getNodeIdOrBuilder

public YarnProtos.NodeIdProtoOrBuilder getNodeIdOrBuilder()
Specified by:
getNodeIdOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

hasHttpAddress

public boolean hasHttpAddress()
Specified by:
hasHttpAddress in interface YarnProtos.NodeReportProtoOrBuilder

getHttpAddress

public String getHttpAddress()
Specified by:
getHttpAddress in interface YarnProtos.NodeReportProtoOrBuilder

hasRackName

public boolean hasRackName()
Specified by:
hasRackName in interface YarnProtos.NodeReportProtoOrBuilder

getRackName

public String getRackName()
Specified by:
getRackName in interface YarnProtos.NodeReportProtoOrBuilder

hasUsed

public boolean hasUsed()
Specified by:
hasUsed in interface YarnProtos.NodeReportProtoOrBuilder

getUsed

public YarnProtos.ResourceProto getUsed()
Specified by:
getUsed in interface YarnProtos.NodeReportProtoOrBuilder

getUsedOrBuilder

public YarnProtos.ResourceProtoOrBuilder getUsedOrBuilder()
Specified by:
getUsedOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

hasCapability

public boolean hasCapability()
Specified by:
hasCapability in interface YarnProtos.NodeReportProtoOrBuilder

getCapability

public YarnProtos.ResourceProto getCapability()
Specified by:
getCapability in interface YarnProtos.NodeReportProtoOrBuilder

getCapabilityOrBuilder

public YarnProtos.ResourceProtoOrBuilder getCapabilityOrBuilder()
Specified by:
getCapabilityOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

hasNumContainers

public boolean hasNumContainers()
Specified by:
hasNumContainers in interface YarnProtos.NodeReportProtoOrBuilder

getNumContainers

public int getNumContainers()
Specified by:
getNumContainers in interface YarnProtos.NodeReportProtoOrBuilder

hasNodeHealthStatus

public boolean hasNodeHealthStatus()
Specified by:
hasNodeHealthStatus in interface YarnProtos.NodeReportProtoOrBuilder

getNodeHealthStatus

public YarnProtos.NodeHealthStatusProto getNodeHealthStatus()
Specified by:
getNodeHealthStatus in interface YarnProtos.NodeReportProtoOrBuilder

getNodeHealthStatusOrBuilder

public YarnProtos.NodeHealthStatusProtoOrBuilder getNodeHealthStatusOrBuilder()
Specified by:
getNodeHealthStatusOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

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.NodeReportProto parseFrom(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static YarnProtos.NodeReportProto 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.NodeReportProto parseFrom(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static YarnProtos.NodeReportProto.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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

newBuilderForType

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


Copyright © 2012 Apache Software Foundation. All Rights Reserved.