org.apache.hadoop.yarn.proto
Class ApplicationHistoryServerProtos.ContainerHistoryDataProto

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

public static final class ApplicationHistoryServerProtos.ContainerHistoryDataProto
extends com.google.protobuf.GeneratedMessage
implements ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

Protobuf type hadoop.yarn.ContainerHistoryDataProto

See Also:
Serialized Form

Nested Class Summary
static class ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder
          Protobuf type hadoop.yarn.ContainerHistoryDataProto
 
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 ALLOCATED_RESOURCE_FIELD_NUMBER
           
static int ASSIGNED_NODE_ID_FIELD_NUMBER
           
static int CONTAINER_EXIT_STATUS_FIELD_NUMBER
           
static int CONTAINER_ID_FIELD_NUMBER
           
static int CONTAINER_STATE_FIELD_NUMBER
           
static int DIAGNOSTICS_INFO_FIELD_NUMBER
           
static int FINISH_TIME_FIELD_NUMBER
           
static com.google.protobuf.Parser<ApplicationHistoryServerProtos.ContainerHistoryDataProto> PARSER
           
static int PRIORITY_FIELD_NUMBER
           
static int START_TIME_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 YarnProtos.ResourceProto getAllocatedResource()
          optional .hadoop.yarn.ResourceProto allocated_resource = 2;
 YarnProtos.ResourceProtoOrBuilder getAllocatedResourceOrBuilder()
          optional .hadoop.yarn.ResourceProto allocated_resource = 2;
 YarnProtos.NodeIdProto getAssignedNodeId()
          optional .hadoop.yarn.NodeIdProto assigned_node_id = 3;
 YarnProtos.NodeIdProtoOrBuilder getAssignedNodeIdOrBuilder()
          optional .hadoop.yarn.NodeIdProto assigned_node_id = 3;
 int getContainerExitStatus()
          optional int32 container_exit_status = 8;
 YarnProtos.ContainerIdProto getContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnProtos.ContainerStateProto getContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 9;
static ApplicationHistoryServerProtos.ContainerHistoryDataProto getDefaultInstance()
           
 ApplicationHistoryServerProtos.ContainerHistoryDataProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getDiagnosticsInfo()
          optional string diagnostics_info = 7;
 com.google.protobuf.ByteString getDiagnosticsInfoBytes()
          optional string diagnostics_info = 7;
 long getFinishTime()
          optional int64 finish_time = 6;
 com.google.protobuf.Parser<ApplicationHistoryServerProtos.ContainerHistoryDataProto> getParserForType()
           
 YarnProtos.PriorityProto getPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 YarnProtos.PriorityProtoOrBuilder getPriorityOrBuilder()
          optional .hadoop.yarn.PriorityProto priority = 4;
 int getSerializedSize()
           
 long getStartTime()
          optional int64 start_time = 5;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasAllocatedResource()
          optional .hadoop.yarn.ResourceProto allocated_resource = 2;
 boolean hasAssignedNodeId()
          optional .hadoop.yarn.NodeIdProto assigned_node_id = 3;
 boolean hasContainerExitStatus()
          optional int32 container_exit_status = 8;
 boolean hasContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 boolean hasContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 9;
 boolean hasDiagnosticsInfo()
          optional string diagnostics_info = 7;
 boolean hasFinishTime()
          optional int64 finish_time = 6;
 int hashCode()
           
 boolean hasPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 boolean hasStartTime()
          optional int64 start_time = 5;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder newBuilder()
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder newBuilder(ApplicationHistoryServerProtos.ContainerHistoryDataProto prototype)
           
 ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder newBuilderForType()
           
protected  ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseDelimitedFrom(InputStream input)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(byte[] data)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(com.google.protobuf.ByteString data)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(InputStream input)
           
static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ApplicationHistoryServerProtos.ContainerHistoryDataProto.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<ApplicationHistoryServerProtos.ContainerHistoryDataProto> PARSER

CONTAINER_ID_FIELD_NUMBER

public static final int CONTAINER_ID_FIELD_NUMBER
See Also:
Constant Field Values

ALLOCATED_RESOURCE_FIELD_NUMBER

public static final int ALLOCATED_RESOURCE_FIELD_NUMBER
See Also:
Constant Field Values

ASSIGNED_NODE_ID_FIELD_NUMBER

public static final int ASSIGNED_NODE_ID_FIELD_NUMBER
See Also:
Constant Field Values

PRIORITY_FIELD_NUMBER

public static final int PRIORITY_FIELD_NUMBER
See Also:
Constant Field Values

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
See Also:
Constant Field Values

FINISH_TIME_FIELD_NUMBER

public static final int FINISH_TIME_FIELD_NUMBER
See Also:
Constant Field Values

DIAGNOSTICS_INFO_FIELD_NUMBER

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

CONTAINER_STATE_FIELD_NUMBER

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

getDefaultInstance

public static ApplicationHistoryServerProtos.ContainerHistoryDataProto getDefaultInstance()

getDefaultInstanceForType

public ApplicationHistoryServerProtos.ContainerHistoryDataProto 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<ApplicationHistoryServerProtos.ContainerHistoryDataProto> 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 ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getContainerId

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

Specified by:
getContainerId in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getContainerIdOrBuilder

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

Specified by:
getContainerIdOrBuilder in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasAllocatedResource

public boolean hasAllocatedResource()
optional .hadoop.yarn.ResourceProto allocated_resource = 2;

Specified by:
hasAllocatedResource in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getAllocatedResource

public YarnProtos.ResourceProto getAllocatedResource()
optional .hadoop.yarn.ResourceProto allocated_resource = 2;

Specified by:
getAllocatedResource in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getAllocatedResourceOrBuilder

public YarnProtos.ResourceProtoOrBuilder getAllocatedResourceOrBuilder()
optional .hadoop.yarn.ResourceProto allocated_resource = 2;

Specified by:
getAllocatedResourceOrBuilder in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasAssignedNodeId

public boolean hasAssignedNodeId()
optional .hadoop.yarn.NodeIdProto assigned_node_id = 3;

Specified by:
hasAssignedNodeId in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getAssignedNodeId

public YarnProtos.NodeIdProto getAssignedNodeId()
optional .hadoop.yarn.NodeIdProto assigned_node_id = 3;

Specified by:
getAssignedNodeId in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getAssignedNodeIdOrBuilder

public YarnProtos.NodeIdProtoOrBuilder getAssignedNodeIdOrBuilder()
optional .hadoop.yarn.NodeIdProto assigned_node_id = 3;

Specified by:
getAssignedNodeIdOrBuilder in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasPriority

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

Specified by:
hasPriority in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getPriority

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

Specified by:
getPriority in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getPriorityOrBuilder

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

Specified by:
getPriorityOrBuilder in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasStartTime

public boolean hasStartTime()
optional int64 start_time = 5;

Specified by:
hasStartTime in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getStartTime

public long getStartTime()
optional int64 start_time = 5;

Specified by:
getStartTime in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasFinishTime

public boolean hasFinishTime()
optional int64 finish_time = 6;

Specified by:
hasFinishTime in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getFinishTime

public long getFinishTime()
optional int64 finish_time = 6;

Specified by:
getFinishTime in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasDiagnosticsInfo

public boolean hasDiagnosticsInfo()
optional string diagnostics_info = 7;

Specified by:
hasDiagnosticsInfo in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getDiagnosticsInfo

public String getDiagnosticsInfo()
optional string diagnostics_info = 7;

Specified by:
getDiagnosticsInfo in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getDiagnosticsInfoBytes

public com.google.protobuf.ByteString getDiagnosticsInfoBytes()
optional string diagnostics_info = 7;

Specified by:
getDiagnosticsInfoBytes in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasContainerExitStatus

public boolean hasContainerExitStatus()
optional int32 container_exit_status = 8;

Specified by:
hasContainerExitStatus in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getContainerExitStatus

public int getContainerExitStatus()
optional int32 container_exit_status = 8;

Specified by:
getContainerExitStatus in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

hasContainerState

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

Specified by:
hasContainerState in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

getContainerState

public YarnProtos.ContainerStateProto getContainerState()
optional .hadoop.yarn.ContainerStateProto container_state = 9;

Specified by:
getContainerState in interface ApplicationHistoryServerProtos.ContainerHistoryDataProtoOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

public static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(InputStream input)
                                                                          throws IOException
Throws:
IOException

parseFrom

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

parseDelimitedFrom

public static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseDelimitedFrom(InputStream input)
                                                                                   throws IOException
Throws:
IOException

parseDelimitedFrom

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

parseFrom

public static ApplicationHistoryServerProtos.ContainerHistoryDataProto parseFrom(com.google.protobuf.CodedInputStream input)
                                                                          throws IOException
Throws:
IOException

parseFrom

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

newBuilder

public static ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder newBuilder()

newBuilderForType

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

newBuilder

public static ApplicationHistoryServerProtos.ContainerHistoryDataProto.Builder newBuilder(ApplicationHistoryServerProtos.ContainerHistoryDataProto prototype)

toBuilder

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

newBuilderForType

protected ApplicationHistoryServerProtos.ContainerHistoryDataProto.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.