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

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

public static final class ApplicationHistoryServerProtos.ContainerStartDataProto
extends com.google.protobuf.GeneratedMessage
implements ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

Protobuf type hadoop.yarn.ContainerStartDataProto

See Also:
Serialized Form

Nested Class Summary
static class ApplicationHistoryServerProtos.ContainerStartDataProto.Builder
          Protobuf type hadoop.yarn.ContainerStartDataProto
 
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_ID_FIELD_NUMBER
           
static com.google.protobuf.Parser<ApplicationHistoryServerProtos.ContainerStartDataProto> 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;
 YarnProtos.ContainerIdProto getContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
static ApplicationHistoryServerProtos.ContainerStartDataProto getDefaultInstance()
           
 ApplicationHistoryServerProtos.ContainerStartDataProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Parser<ApplicationHistoryServerProtos.ContainerStartDataProto> 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 hasContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 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.ContainerStartDataProto.Builder newBuilder()
           
static ApplicationHistoryServerProtos.ContainerStartDataProto.Builder newBuilder(ApplicationHistoryServerProtos.ContainerStartDataProto prototype)
           
 ApplicationHistoryServerProtos.ContainerStartDataProto.Builder newBuilderForType()
           
protected  ApplicationHistoryServerProtos.ContainerStartDataProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseDelimitedFrom(InputStream input)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(byte[] data)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(com.google.protobuf.ByteString data)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(InputStream input)
           
static ApplicationHistoryServerProtos.ContainerStartDataProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ApplicationHistoryServerProtos.ContainerStartDataProto.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.ContainerStartDataProto> 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
Method Detail

getDefaultInstance

public static ApplicationHistoryServerProtos.ContainerStartDataProto getDefaultInstance()

getDefaultInstanceForType

public ApplicationHistoryServerProtos.ContainerStartDataProto 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.ContainerStartDataProto> 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.ContainerStartDataProtoOrBuilder

getContainerId

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

Specified by:
getContainerId in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getContainerIdOrBuilder

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

Specified by:
getContainerIdOrBuilder in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

hasAllocatedResource

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

Specified by:
hasAllocatedResource in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getAllocatedResource

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

Specified by:
getAllocatedResource in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getAllocatedResourceOrBuilder

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

Specified by:
getAllocatedResourceOrBuilder in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

hasAssignedNodeId

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

Specified by:
hasAssignedNodeId in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getAssignedNodeId

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

Specified by:
getAssignedNodeId in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getAssignedNodeIdOrBuilder

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

Specified by:
getAssignedNodeIdOrBuilder in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

hasPriority

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

Specified by:
hasPriority in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getPriority

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

Specified by:
getPriority in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getPriorityOrBuilder

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

Specified by:
getPriorityOrBuilder in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

hasStartTime

public boolean hasStartTime()
optional int64 start_time = 5;

Specified by:
hasStartTime in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

getStartTime

public long getStartTime()
optional int64 start_time = 5;

Specified by:
getStartTime in interface ApplicationHistoryServerProtos.ContainerStartDataProtoOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static ApplicationHistoryServerProtos.ContainerStartDataProto.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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

newBuilderForType

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