org.apache.hadoop.yarn.proto
Class YarnServerCommonServiceProtos.NMContainerStatusProto

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

public static final class YarnServerCommonServiceProtos.NMContainerStatusProto
extends com.google.protobuf.GeneratedMessage
implements YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

Protobuf type hadoop.yarn.NMContainerStatusProto

See Also:
Serialized Form

Nested Class Summary
static class YarnServerCommonServiceProtos.NMContainerStatusProto.Builder
          Protobuf type hadoop.yarn.NMContainerStatusProto
 
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 CONTAINER_EXIT_STATUS_FIELD_NUMBER
           
static int CONTAINER_ID_FIELD_NUMBER
           
static int CONTAINER_STATE_FIELD_NUMBER
           
static int CREATION_TIME_FIELD_NUMBER
           
static int DIAGNOSTICS_FIELD_NUMBER
           
static com.google.protobuf.Parser<YarnServerCommonServiceProtos.NMContainerStatusProto> PARSER
           
static int PRIORITY_FIELD_NUMBER
           
static int RESOURCE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 int getContainerExitStatus()
          optional int32 container_exit_status = 6;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto getContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto getContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 2;
 long getCreationTime()
          optional int64 creation_time = 7;
static YarnServerCommonServiceProtos.NMContainerStatusProto getDefaultInstance()
           
 YarnServerCommonServiceProtos.NMContainerStatusProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getDiagnostics()
          optional string diagnostics = 5 [default = "N/A"];
 com.google.protobuf.ByteString getDiagnosticsBytes()
          optional string diagnostics = 5 [default = "N/A"];
 com.google.protobuf.Parser<YarnServerCommonServiceProtos.NMContainerStatusProto> getParserForType()
           
 org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto getPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder getPriorityOrBuilder()
          optional .hadoop.yarn.PriorityProto priority = 4;
 org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto getResource()
          optional .hadoop.yarn.ResourceProto resource = 3;
 org.apache.hadoop.yarn.proto.YarnProtos.ResourceProtoOrBuilder getResourceOrBuilder()
          optional .hadoop.yarn.ResourceProto resource = 3;
 int getSerializedSize()
           
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasContainerExitStatus()
          optional int32 container_exit_status = 6;
 boolean hasContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 boolean hasContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 2;
 boolean hasCreationTime()
          optional int64 creation_time = 7;
 boolean hasDiagnostics()
          optional string diagnostics = 5 [default = "N/A"];
 int hashCode()
           
 boolean hasPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 boolean hasResource()
          optional .hadoop.yarn.ResourceProto resource = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static YarnServerCommonServiceProtos.NMContainerStatusProto.Builder newBuilder()
           
static YarnServerCommonServiceProtos.NMContainerStatusProto.Builder newBuilder(YarnServerCommonServiceProtos.NMContainerStatusProto prototype)
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder newBuilderForType()
           
protected  YarnServerCommonServiceProtos.NMContainerStatusProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseDelimitedFrom(InputStream input)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(byte[] data)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(com.google.protobuf.ByteString data)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(InputStream input)
           
static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.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<YarnServerCommonServiceProtos.NMContainerStatusProto> PARSER

CONTAINER_ID_FIELD_NUMBER

public static final int CONTAINER_ID_FIELD_NUMBER
See Also:
Constant Field Values

CONTAINER_STATE_FIELD_NUMBER

public static final int CONTAINER_STATE_FIELD_NUMBER
See Also:
Constant Field Values

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
See Also:
Constant Field Values

PRIORITY_FIELD_NUMBER

public static final int PRIORITY_FIELD_NUMBER
See Also:
Constant Field Values

DIAGNOSTICS_FIELD_NUMBER

public static final int DIAGNOSTICS_FIELD_NUMBER
See Also:
Constant Field Values

CONTAINER_EXIT_STATUS_FIELD_NUMBER

public static final int CONTAINER_EXIT_STATUS_FIELD_NUMBER
See Also:
Constant Field Values

CREATION_TIME_FIELD_NUMBER

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

getDefaultInstance

public static YarnServerCommonServiceProtos.NMContainerStatusProto getDefaultInstance()

getDefaultInstanceForType

public YarnServerCommonServiceProtos.NMContainerStatusProto 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<YarnServerCommonServiceProtos.NMContainerStatusProto> 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

hasContainerId

public boolean hasContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;

Specified by:
hasContainerId in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerId

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto getContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;

Specified by:
getContainerId in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerIdOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
optional .hadoop.yarn.ContainerIdProto container_id = 1;

Specified by:
getContainerIdOrBuilder in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasContainerState

public boolean hasContainerState()
optional .hadoop.yarn.ContainerStateProto container_state = 2;

Specified by:
hasContainerState in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerState

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto getContainerState()
optional .hadoop.yarn.ContainerStateProto container_state = 2;

Specified by:
getContainerState in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasResource

public boolean hasResource()
optional .hadoop.yarn.ResourceProto resource = 3;

Specified by:
hasResource in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getResource

public org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto getResource()
optional .hadoop.yarn.ResourceProto resource = 3;

Specified by:
getResource in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getResourceOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.ResourceProtoOrBuilder getResourceOrBuilder()
optional .hadoop.yarn.ResourceProto resource = 3;

Specified by:
getResourceOrBuilder in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasPriority

public boolean hasPriority()
optional .hadoop.yarn.PriorityProto priority = 4;

Specified by:
hasPriority in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getPriority

public org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto getPriority()
optional .hadoop.yarn.PriorityProto priority = 4;

Specified by:
getPriority in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getPriorityOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder getPriorityOrBuilder()
optional .hadoop.yarn.PriorityProto priority = 4;

Specified by:
getPriorityOrBuilder in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasDiagnostics

public boolean hasDiagnostics()
optional string diagnostics = 5 [default = "N/A"];

Specified by:
hasDiagnostics in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getDiagnostics

public String getDiagnostics()
optional string diagnostics = 5 [default = "N/A"];

Specified by:
getDiagnostics in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getDiagnosticsBytes

public com.google.protobuf.ByteString getDiagnosticsBytes()
optional string diagnostics = 5 [default = "N/A"];

Specified by:
getDiagnosticsBytes in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasContainerExitStatus

public boolean hasContainerExitStatus()
optional int32 container_exit_status = 6;

Specified by:
hasContainerExitStatus in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerExitStatus

public int getContainerExitStatus()
optional int32 container_exit_status = 6;

Specified by:
getContainerExitStatus in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasCreationTime

public boolean hasCreationTime()
optional int64 creation_time = 7;

Specified by:
hasCreationTime in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getCreationTime

public long getCreationTime()
optional int64 creation_time = 7;

Specified by:
getCreationTime in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

public static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(InputStream input)
                                                                      throws IOException
Throws:
IOException

parseFrom

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

parseDelimitedFrom

public static YarnServerCommonServiceProtos.NMContainerStatusProto parseDelimitedFrom(InputStream input)
                                                                               throws IOException
Throws:
IOException

parseDelimitedFrom

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

parseFrom

public static YarnServerCommonServiceProtos.NMContainerStatusProto parseFrom(com.google.protobuf.CodedInputStream input)
                                                                      throws IOException
Throws:
IOException

parseFrom

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

newBuilder

public static YarnServerCommonServiceProtos.NMContainerStatusProto.Builder newBuilder()

newBuilderForType

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

newBuilder

public static YarnServerCommonServiceProtos.NMContainerStatusProto.Builder newBuilder(YarnServerCommonServiceProtos.NMContainerStatusProto prototype)

toBuilder

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

newBuilderForType

protected YarnServerCommonServiceProtos.NMContainerStatusProto.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.