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

Protobuf type hadoop.yarn.NodeReportProto

See Also:
Serialized Form

Nested Class Summary
static class YarnProtos.NodeReportProto.Builder
          Protobuf type hadoop.yarn.NodeReportProto
 
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 HEALTH_REPORT_FIELD_NUMBER
           
static int HTTPADDRESS_FIELD_NUMBER
           
static int LAST_HEALTH_REPORT_TIME_FIELD_NUMBER
           
static int NODE_STATE_FIELD_NUMBER
           
static int NODEID_FIELD_NUMBER
           
static int NUMCONTAINERS_FIELD_NUMBER
           
static com.google.protobuf.Parser<YarnProtos.NodeReportProto> PARSER
           
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()
          optional .hadoop.yarn.ResourceProto capability = 5;
 YarnProtos.ResourceProtoOrBuilder getCapabilityOrBuilder()
          optional .hadoop.yarn.ResourceProto capability = 5;
static YarnProtos.NodeReportProto getDefaultInstance()
           
 YarnProtos.NodeReportProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getHealthReport()
          optional string health_report = 8;
 com.google.protobuf.ByteString getHealthReportBytes()
          optional string health_report = 8;
 String getHttpAddress()
          optional string httpAddress = 2;
 com.google.protobuf.ByteString getHttpAddressBytes()
          optional string httpAddress = 2;
 long getLastHealthReportTime()
          optional int64 last_health_report_time = 9;
 YarnProtos.NodeIdProto getNodeId()
          optional .hadoop.yarn.NodeIdProto nodeId = 1;
 YarnProtos.NodeIdProtoOrBuilder getNodeIdOrBuilder()
          optional .hadoop.yarn.NodeIdProto nodeId = 1;
 YarnProtos.NodeStateProto getNodeState()
          optional .hadoop.yarn.NodeStateProto node_state = 7;
 int getNumContainers()
          optional int32 numContainers = 6;
 com.google.protobuf.Parser<YarnProtos.NodeReportProto> getParserForType()
           
 String getRackName()
          optional string rackName = 3;
 com.google.protobuf.ByteString getRackNameBytes()
          optional string rackName = 3;
 int getSerializedSize()
           
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 YarnProtos.ResourceProto getUsed()
          optional .hadoop.yarn.ResourceProto used = 4;
 YarnProtos.ResourceProtoOrBuilder getUsedOrBuilder()
          optional .hadoop.yarn.ResourceProto used = 4;
 boolean hasCapability()
          optional .hadoop.yarn.ResourceProto capability = 5;
 int hashCode()
           
 boolean hasHealthReport()
          optional string health_report = 8;
 boolean hasHttpAddress()
          optional string httpAddress = 2;
 boolean hasLastHealthReportTime()
          optional int64 last_health_report_time = 9;
 boolean hasNodeId()
          optional .hadoop.yarn.NodeIdProto nodeId = 1;
 boolean hasNodeState()
          optional .hadoop.yarn.NodeStateProto node_state = 7;
 boolean hasNumContainers()
          optional int32 numContainers = 6;
 boolean hasRackName()
          optional string rackName = 3;
 boolean hasUsed()
          optional .hadoop.yarn.ResourceProto used = 4;
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, 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.NodeReportProto> PARSER

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_STATE_FIELD_NUMBER

public static final int NODE_STATE_FIELD_NUMBER
See Also:
Constant Field Values

HEALTH_REPORT_FIELD_NUMBER

public static final int HEALTH_REPORT_FIELD_NUMBER
See Also:
Constant Field Values

LAST_HEALTH_REPORT_TIME_FIELD_NUMBER

public static final int LAST_HEALTH_REPORT_TIME_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

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.NodeReportProto> 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

hasNodeId

public boolean hasNodeId()
optional .hadoop.yarn.NodeIdProto nodeId = 1;

Specified by:
hasNodeId in interface YarnProtos.NodeReportProtoOrBuilder

getNodeId

public YarnProtos.NodeIdProto getNodeId()
optional .hadoop.yarn.NodeIdProto nodeId = 1;

Specified by:
getNodeId in interface YarnProtos.NodeReportProtoOrBuilder

getNodeIdOrBuilder

public YarnProtos.NodeIdProtoOrBuilder getNodeIdOrBuilder()
optional .hadoop.yarn.NodeIdProto nodeId = 1;

Specified by:
getNodeIdOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

hasHttpAddress

public boolean hasHttpAddress()
optional string httpAddress = 2;

Specified by:
hasHttpAddress in interface YarnProtos.NodeReportProtoOrBuilder

getHttpAddress

public String getHttpAddress()
optional string httpAddress = 2;

Specified by:
getHttpAddress in interface YarnProtos.NodeReportProtoOrBuilder

getHttpAddressBytes

public com.google.protobuf.ByteString getHttpAddressBytes()
optional string httpAddress = 2;

Specified by:
getHttpAddressBytes in interface YarnProtos.NodeReportProtoOrBuilder

hasRackName

public boolean hasRackName()
optional string rackName = 3;

Specified by:
hasRackName in interface YarnProtos.NodeReportProtoOrBuilder

getRackName

public String getRackName()
optional string rackName = 3;

Specified by:
getRackName in interface YarnProtos.NodeReportProtoOrBuilder

getRackNameBytes

public com.google.protobuf.ByteString getRackNameBytes()
optional string rackName = 3;

Specified by:
getRackNameBytes in interface YarnProtos.NodeReportProtoOrBuilder

hasUsed

public boolean hasUsed()
optional .hadoop.yarn.ResourceProto used = 4;

Specified by:
hasUsed in interface YarnProtos.NodeReportProtoOrBuilder

getUsed

public YarnProtos.ResourceProto getUsed()
optional .hadoop.yarn.ResourceProto used = 4;

Specified by:
getUsed in interface YarnProtos.NodeReportProtoOrBuilder

getUsedOrBuilder

public YarnProtos.ResourceProtoOrBuilder getUsedOrBuilder()
optional .hadoop.yarn.ResourceProto used = 4;

Specified by:
getUsedOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

hasCapability

public boolean hasCapability()
optional .hadoop.yarn.ResourceProto capability = 5;

Specified by:
hasCapability in interface YarnProtos.NodeReportProtoOrBuilder

getCapability

public YarnProtos.ResourceProto getCapability()
optional .hadoop.yarn.ResourceProto capability = 5;

Specified by:
getCapability in interface YarnProtos.NodeReportProtoOrBuilder

getCapabilityOrBuilder

public YarnProtos.ResourceProtoOrBuilder getCapabilityOrBuilder()
optional .hadoop.yarn.ResourceProto capability = 5;

Specified by:
getCapabilityOrBuilder in interface YarnProtos.NodeReportProtoOrBuilder

hasNumContainers

public boolean hasNumContainers()
optional int32 numContainers = 6;

Specified by:
hasNumContainers in interface YarnProtos.NodeReportProtoOrBuilder

getNumContainers

public int getNumContainers()
optional int32 numContainers = 6;

Specified by:
getNumContainers in interface YarnProtos.NodeReportProtoOrBuilder

hasNodeState

public boolean hasNodeState()
optional .hadoop.yarn.NodeStateProto node_state = 7;

Specified by:
hasNodeState in interface YarnProtos.NodeReportProtoOrBuilder

getNodeState

public YarnProtos.NodeStateProto getNodeState()
optional .hadoop.yarn.NodeStateProto node_state = 7;

Specified by:
getNodeState in interface YarnProtos.NodeReportProtoOrBuilder

hasHealthReport

public boolean hasHealthReport()
optional string health_report = 8;

Specified by:
hasHealthReport in interface YarnProtos.NodeReportProtoOrBuilder

getHealthReport

public String getHealthReport()
optional string health_report = 8;

Specified by:
getHealthReport in interface YarnProtos.NodeReportProtoOrBuilder

getHealthReportBytes

public com.google.protobuf.ByteString getHealthReportBytes()
optional string health_report = 8;

Specified by:
getHealthReportBytes in interface YarnProtos.NodeReportProtoOrBuilder

hasLastHealthReportTime

public boolean hasLastHealthReportTime()
optional int64 last_health_report_time = 9;

Specified by:
hasLastHealthReportTime in interface YarnProtos.NodeReportProtoOrBuilder

getLastHealthReportTime

public long getLastHealthReportTime()
optional int64 last_health_report_time = 9;

Specified by:
getLastHealthReportTime 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 © 2014 Apache Software Foundation. All Rights Reserved.