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

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

public static final class YarnProtos.ContainerLaunchContextProto
extends com.google.protobuf.GeneratedMessage
implements YarnProtos.ContainerLaunchContextProtoOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class YarnProtos.ContainerLaunchContextProto.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 APPLICATION_ACLS_FIELD_NUMBER
           
static int COMMAND_FIELD_NUMBER
           
static int CONTAINER_ID_FIELD_NUMBER
           
static int CONTAINER_TOKENS_FIELD_NUMBER
           
static int ENVIRONMENT_FIELD_NUMBER
           
static int LOCALRESOURCES_FIELD_NUMBER
           
static int RESOURCE_FIELD_NUMBER
           
static int SERVICE_DATA_FIELD_NUMBER
           
static int USER_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 YarnProtos.ApplicationACLMapProto getApplicationACLs(int index)
           
 int getApplicationACLsCount()
           
 List<YarnProtos.ApplicationACLMapProto> getApplicationACLsList()
           
 YarnProtos.ApplicationACLMapProtoOrBuilder getApplicationACLsOrBuilder(int index)
           
 List<? extends YarnProtos.ApplicationACLMapProtoOrBuilder> getApplicationACLsOrBuilderList()
           
 String getCommand(int index)
           
 int getCommandCount()
           
 List<String> getCommandList()
           
 YarnProtos.ContainerIdProto getContainerId()
           
 YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
           
 com.google.protobuf.ByteString getContainerTokens()
           
static YarnProtos.ContainerLaunchContextProto getDefaultInstance()
           
 YarnProtos.ContainerLaunchContextProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 YarnProtos.StringStringMapProto getEnvironment(int index)
           
 int getEnvironmentCount()
           
 List<YarnProtos.StringStringMapProto> getEnvironmentList()
           
 YarnProtos.StringStringMapProtoOrBuilder getEnvironmentOrBuilder(int index)
           
 List<? extends YarnProtos.StringStringMapProtoOrBuilder> getEnvironmentOrBuilderList()
           
 YarnProtos.StringLocalResourceMapProto getLocalResources(int index)
           
 int getLocalResourcesCount()
           
 List<YarnProtos.StringLocalResourceMapProto> getLocalResourcesList()
           
 YarnProtos.StringLocalResourceMapProtoOrBuilder getLocalResourcesOrBuilder(int index)
           
 List<? extends YarnProtos.StringLocalResourceMapProtoOrBuilder> getLocalResourcesOrBuilderList()
           
 YarnProtos.ResourceProto getResource()
           
 YarnProtos.ResourceProtoOrBuilder getResourceOrBuilder()
           
 int getSerializedSize()
           
 YarnProtos.StringBytesMapProto getServiceData(int index)
           
 int getServiceDataCount()
           
 List<YarnProtos.StringBytesMapProto> getServiceDataList()
           
 YarnProtos.StringBytesMapProtoOrBuilder getServiceDataOrBuilder(int index)
           
 List<? extends YarnProtos.StringBytesMapProtoOrBuilder> getServiceDataOrBuilderList()
           
 String getUser()
           
 boolean hasContainerId()
           
 boolean hasContainerTokens()
           
 int hashCode()
           
 boolean hasResource()
           
 boolean hasUser()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static YarnProtos.ContainerLaunchContextProto.Builder newBuilder()
           
static YarnProtos.ContainerLaunchContextProto.Builder newBuilder(YarnProtos.ContainerLaunchContextProto prototype)
           
 YarnProtos.ContainerLaunchContextProto.Builder newBuilderForType()
           
protected  YarnProtos.ContainerLaunchContextProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static YarnProtos.ContainerLaunchContextProto parseDelimitedFrom(InputStream input)
           
static YarnProtos.ContainerLaunchContextProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(byte[] data)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(com.google.protobuf.ByteString data)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(InputStream input)
           
static YarnProtos.ContainerLaunchContextProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.ContainerLaunchContextProto.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

CONTAINER_ID_FIELD_NUMBER

public static final int CONTAINER_ID_FIELD_NUMBER
See Also:
Constant Field Values

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
See Also:
Constant Field Values

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
See Also:
Constant Field Values

LOCALRESOURCES_FIELD_NUMBER

public static final int LOCALRESOURCES_FIELD_NUMBER
See Also:
Constant Field Values

CONTAINER_TOKENS_FIELD_NUMBER

public static final int CONTAINER_TOKENS_FIELD_NUMBER
See Also:
Constant Field Values

SERVICE_DATA_FIELD_NUMBER

public static final int SERVICE_DATA_FIELD_NUMBER
See Also:
Constant Field Values

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
See Also:
Constant Field Values

COMMAND_FIELD_NUMBER

public static final int COMMAND_FIELD_NUMBER
See Also:
Constant Field Values

APPLICATION_ACLS_FIELD_NUMBER

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

getDefaultInstance

public static YarnProtos.ContainerLaunchContextProto getDefaultInstance()

getDefaultInstanceForType

public YarnProtos.ContainerLaunchContextProto 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

hasContainerId

public boolean hasContainerId()
Specified by:
hasContainerId in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getContainerId

public YarnProtos.ContainerIdProto getContainerId()
Specified by:
getContainerId in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getContainerIdOrBuilder

public YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
Specified by:
getContainerIdOrBuilder in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

hasUser

public boolean hasUser()
Specified by:
hasUser in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getUser

public String getUser()
Specified by:
getUser in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

hasResource

public boolean hasResource()
Specified by:
hasResource in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getResource

public YarnProtos.ResourceProto getResource()
Specified by:
getResource in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getResourceOrBuilder

public YarnProtos.ResourceProtoOrBuilder getResourceOrBuilder()
Specified by:
getResourceOrBuilder in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getLocalResourcesList

public List<YarnProtos.StringLocalResourceMapProto> getLocalResourcesList()
Specified by:
getLocalResourcesList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getLocalResourcesOrBuilderList

public List<? extends YarnProtos.StringLocalResourceMapProtoOrBuilder> getLocalResourcesOrBuilderList()
Specified by:
getLocalResourcesOrBuilderList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getLocalResourcesCount

public int getLocalResourcesCount()
Specified by:
getLocalResourcesCount in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getLocalResources

public YarnProtos.StringLocalResourceMapProto getLocalResources(int index)
Specified by:
getLocalResources in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getLocalResourcesOrBuilder

public YarnProtos.StringLocalResourceMapProtoOrBuilder getLocalResourcesOrBuilder(int index)
Specified by:
getLocalResourcesOrBuilder in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

hasContainerTokens

public boolean hasContainerTokens()
Specified by:
hasContainerTokens in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getContainerTokens

public com.google.protobuf.ByteString getContainerTokens()
Specified by:
getContainerTokens in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getServiceDataList

public List<YarnProtos.StringBytesMapProto> getServiceDataList()
Specified by:
getServiceDataList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getServiceDataOrBuilderList

public List<? extends YarnProtos.StringBytesMapProtoOrBuilder> getServiceDataOrBuilderList()
Specified by:
getServiceDataOrBuilderList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getServiceDataCount

public int getServiceDataCount()
Specified by:
getServiceDataCount in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getServiceData

public YarnProtos.StringBytesMapProto getServiceData(int index)
Specified by:
getServiceData in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getServiceDataOrBuilder

public YarnProtos.StringBytesMapProtoOrBuilder getServiceDataOrBuilder(int index)
Specified by:
getServiceDataOrBuilder in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getEnvironmentList

public List<YarnProtos.StringStringMapProto> getEnvironmentList()
Specified by:
getEnvironmentList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getEnvironmentOrBuilderList

public List<? extends YarnProtos.StringStringMapProtoOrBuilder> getEnvironmentOrBuilderList()
Specified by:
getEnvironmentOrBuilderList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getEnvironmentCount

public int getEnvironmentCount()
Specified by:
getEnvironmentCount in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getEnvironment

public YarnProtos.StringStringMapProto getEnvironment(int index)
Specified by:
getEnvironment in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getEnvironmentOrBuilder

public YarnProtos.StringStringMapProtoOrBuilder getEnvironmentOrBuilder(int index)
Specified by:
getEnvironmentOrBuilder in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getCommandList

public List<String> getCommandList()
Specified by:
getCommandList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getCommandCount

public int getCommandCount()
Specified by:
getCommandCount in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getCommand

public String getCommand(int index)
Specified by:
getCommand in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getApplicationACLsList

public List<YarnProtos.ApplicationACLMapProto> getApplicationACLsList()
Specified by:
getApplicationACLsList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getApplicationACLsOrBuilderList

public List<? extends YarnProtos.ApplicationACLMapProtoOrBuilder> getApplicationACLsOrBuilderList()
Specified by:
getApplicationACLsOrBuilderList in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getApplicationACLsCount

public int getApplicationACLsCount()
Specified by:
getApplicationACLsCount in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getApplicationACLs

public YarnProtos.ApplicationACLMapProto getApplicationACLs(int index)
Specified by:
getApplicationACLs in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

getApplicationACLsOrBuilder

public YarnProtos.ApplicationACLMapProtoOrBuilder getApplicationACLsOrBuilder(int index)
Specified by:
getApplicationACLsOrBuilder in interface YarnProtos.ContainerLaunchContextProtoOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static YarnProtos.ContainerLaunchContextProto.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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

newBuilderForType

protected YarnProtos.ContainerLaunchContextProto.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.