org.apache.tez.dag.api.records
Class DAGProtos.PlanTaskConfiguration

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.tez.dag.api.records.DAGProtos.PlanTaskConfiguration
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, DAGProtos.PlanTaskConfigurationOrBuilder
Enclosing class:
DAGProtos

public static final class DAGProtos.PlanTaskConfiguration
extends com.google.protobuf.GeneratedMessage
implements DAGProtos.PlanTaskConfigurationOrBuilder

Protobuf type PlanTaskConfiguration

See Also:
Serialized Form

Nested Class Summary
static class DAGProtos.PlanTaskConfiguration.Builder
          Protobuf type PlanTaskConfiguration
 
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 ENVIRONMENTSETTING_FIELD_NUMBER
           
static int JAVAOPTS_FIELD_NUMBER
           
static int LOCALRESOURCE_FIELD_NUMBER
           
static int MEMORYMB_FIELD_NUMBER
           
static int NUMTASKS_FIELD_NUMBER
           
static com.google.protobuf.Parser<DAGProtos.PlanTaskConfiguration> PARSER
           
static int TASKMODULE_FIELD_NUMBER
           
static int VIRTUALCORES_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
static DAGProtos.PlanTaskConfiguration getDefaultInstance()
           
 DAGProtos.PlanTaskConfiguration getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 DAGProtos.PlanKeyValuePair getEnvironmentSetting(int index)
          repeated .PlanKeyValuePair environmentSetting = 7;
 int getEnvironmentSettingCount()
          repeated .PlanKeyValuePair environmentSetting = 7;
 List<DAGProtos.PlanKeyValuePair> getEnvironmentSettingList()
          repeated .PlanKeyValuePair environmentSetting = 7;
 DAGProtos.PlanKeyValuePairOrBuilder getEnvironmentSettingOrBuilder(int index)
          repeated .PlanKeyValuePair environmentSetting = 7;
 List<? extends DAGProtos.PlanKeyValuePairOrBuilder> getEnvironmentSettingOrBuilderList()
          repeated .PlanKeyValuePair environmentSetting = 7;
 String getJavaOpts()
          required string javaOpts = 4;
 com.google.protobuf.ByteString getJavaOptsBytes()
          required string javaOpts = 4;
 DAGProtos.PlanLocalResource getLocalResource(int index)
          repeated .PlanLocalResource localResource = 6;
 int getLocalResourceCount()
          repeated .PlanLocalResource localResource = 6;
 List<DAGProtos.PlanLocalResource> getLocalResourceList()
          repeated .PlanLocalResource localResource = 6;
 DAGProtos.PlanLocalResourceOrBuilder getLocalResourceOrBuilder(int index)
          repeated .PlanLocalResource localResource = 6;
 List<? extends DAGProtos.PlanLocalResourceOrBuilder> getLocalResourceOrBuilderList()
          repeated .PlanLocalResource localResource = 6;
 int getMemoryMb()
          required int32 memoryMb = 2;
 int getNumTasks()
          required int32 numTasks = 1;
 com.google.protobuf.Parser<DAGProtos.PlanTaskConfiguration> getParserForType()
           
 int getSerializedSize()
           
 String getTaskModule()
          required string taskModule = 5;
 com.google.protobuf.ByteString getTaskModuleBytes()
          required string taskModule = 5;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 int getVirtualCores()
          required int32 virtualCores = 3;
 int hashCode()
           
 boolean hasJavaOpts()
          required string javaOpts = 4;
 boolean hasMemoryMb()
          required int32 memoryMb = 2;
 boolean hasNumTasks()
          required int32 numTasks = 1;
 boolean hasTaskModule()
          required string taskModule = 5;
 boolean hasVirtualCores()
          required int32 virtualCores = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static DAGProtos.PlanTaskConfiguration.Builder newBuilder()
           
static DAGProtos.PlanTaskConfiguration.Builder newBuilder(DAGProtos.PlanTaskConfiguration prototype)
           
 DAGProtos.PlanTaskConfiguration.Builder newBuilderForType()
           
protected  DAGProtos.PlanTaskConfiguration.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static DAGProtos.PlanTaskConfiguration parseDelimitedFrom(InputStream input)
           
static DAGProtos.PlanTaskConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PlanTaskConfiguration parseFrom(byte[] data)
           
static DAGProtos.PlanTaskConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PlanTaskConfiguration parseFrom(com.google.protobuf.ByteString data)
           
static DAGProtos.PlanTaskConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PlanTaskConfiguration parseFrom(com.google.protobuf.CodedInputStream input)
           
static DAGProtos.PlanTaskConfiguration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PlanTaskConfiguration parseFrom(InputStream input)
           
static DAGProtos.PlanTaskConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 DAGProtos.PlanTaskConfiguration.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<DAGProtos.PlanTaskConfiguration> PARSER

NUMTASKS_FIELD_NUMBER

public static final int NUMTASKS_FIELD_NUMBER
See Also:
Constant Field Values

MEMORYMB_FIELD_NUMBER

public static final int MEMORYMB_FIELD_NUMBER
See Also:
Constant Field Values

VIRTUALCORES_FIELD_NUMBER

public static final int VIRTUALCORES_FIELD_NUMBER
See Also:
Constant Field Values

JAVAOPTS_FIELD_NUMBER

public static final int JAVAOPTS_FIELD_NUMBER
See Also:
Constant Field Values

TASKMODULE_FIELD_NUMBER

public static final int TASKMODULE_FIELD_NUMBER
See Also:
Constant Field Values

LOCALRESOURCE_FIELD_NUMBER

public static final int LOCALRESOURCE_FIELD_NUMBER
See Also:
Constant Field Values

ENVIRONMENTSETTING_FIELD_NUMBER

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

getDefaultInstance

public static DAGProtos.PlanTaskConfiguration getDefaultInstance()

getDefaultInstanceForType

public DAGProtos.PlanTaskConfiguration 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<DAGProtos.PlanTaskConfiguration> 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

hasNumTasks

public boolean hasNumTasks()
required int32 numTasks = 1;

Specified by:
hasNumTasks in interface DAGProtos.PlanTaskConfigurationOrBuilder

getNumTasks

public int getNumTasks()
required int32 numTasks = 1;

Specified by:
getNumTasks in interface DAGProtos.PlanTaskConfigurationOrBuilder

hasMemoryMb

public boolean hasMemoryMb()
required int32 memoryMb = 2;

Specified by:
hasMemoryMb in interface DAGProtos.PlanTaskConfigurationOrBuilder

getMemoryMb

public int getMemoryMb()
required int32 memoryMb = 2;

Specified by:
getMemoryMb in interface DAGProtos.PlanTaskConfigurationOrBuilder

hasVirtualCores

public boolean hasVirtualCores()
required int32 virtualCores = 3;

Specified by:
hasVirtualCores in interface DAGProtos.PlanTaskConfigurationOrBuilder

getVirtualCores

public int getVirtualCores()
required int32 virtualCores = 3;

Specified by:
getVirtualCores in interface DAGProtos.PlanTaskConfigurationOrBuilder

hasJavaOpts

public boolean hasJavaOpts()
required string javaOpts = 4;

Specified by:
hasJavaOpts in interface DAGProtos.PlanTaskConfigurationOrBuilder

getJavaOpts

public String getJavaOpts()
required string javaOpts = 4;

Specified by:
getJavaOpts in interface DAGProtos.PlanTaskConfigurationOrBuilder

getJavaOptsBytes

public com.google.protobuf.ByteString getJavaOptsBytes()
required string javaOpts = 4;

Specified by:
getJavaOptsBytes in interface DAGProtos.PlanTaskConfigurationOrBuilder

hasTaskModule

public boolean hasTaskModule()
required string taskModule = 5;

Specified by:
hasTaskModule in interface DAGProtos.PlanTaskConfigurationOrBuilder

getTaskModule

public String getTaskModule()
required string taskModule = 5;

Specified by:
getTaskModule in interface DAGProtos.PlanTaskConfigurationOrBuilder

getTaskModuleBytes

public com.google.protobuf.ByteString getTaskModuleBytes()
required string taskModule = 5;

Specified by:
getTaskModuleBytes in interface DAGProtos.PlanTaskConfigurationOrBuilder

getLocalResourceList

public List<DAGProtos.PlanLocalResource> getLocalResourceList()
repeated .PlanLocalResource localResource = 6;

Specified by:
getLocalResourceList in interface DAGProtos.PlanTaskConfigurationOrBuilder

getLocalResourceOrBuilderList

public List<? extends DAGProtos.PlanLocalResourceOrBuilder> getLocalResourceOrBuilderList()
repeated .PlanLocalResource localResource = 6;

Specified by:
getLocalResourceOrBuilderList in interface DAGProtos.PlanTaskConfigurationOrBuilder

getLocalResourceCount

public int getLocalResourceCount()
repeated .PlanLocalResource localResource = 6;

Specified by:
getLocalResourceCount in interface DAGProtos.PlanTaskConfigurationOrBuilder

getLocalResource

public DAGProtos.PlanLocalResource getLocalResource(int index)
repeated .PlanLocalResource localResource = 6;

Specified by:
getLocalResource in interface DAGProtos.PlanTaskConfigurationOrBuilder

getLocalResourceOrBuilder

public DAGProtos.PlanLocalResourceOrBuilder getLocalResourceOrBuilder(int index)
repeated .PlanLocalResource localResource = 6;

Specified by:
getLocalResourceOrBuilder in interface DAGProtos.PlanTaskConfigurationOrBuilder

getEnvironmentSettingList

public List<DAGProtos.PlanKeyValuePair> getEnvironmentSettingList()
repeated .PlanKeyValuePair environmentSetting = 7;

Specified by:
getEnvironmentSettingList in interface DAGProtos.PlanTaskConfigurationOrBuilder

getEnvironmentSettingOrBuilderList

public List<? extends DAGProtos.PlanKeyValuePairOrBuilder> getEnvironmentSettingOrBuilderList()
repeated .PlanKeyValuePair environmentSetting = 7;

Specified by:
getEnvironmentSettingOrBuilderList in interface DAGProtos.PlanTaskConfigurationOrBuilder

getEnvironmentSettingCount

public int getEnvironmentSettingCount()
repeated .PlanKeyValuePair environmentSetting = 7;

Specified by:
getEnvironmentSettingCount in interface DAGProtos.PlanTaskConfigurationOrBuilder

getEnvironmentSetting

public DAGProtos.PlanKeyValuePair getEnvironmentSetting(int index)
repeated .PlanKeyValuePair environmentSetting = 7;

Specified by:
getEnvironmentSetting in interface DAGProtos.PlanTaskConfigurationOrBuilder

getEnvironmentSettingOrBuilder

public DAGProtos.PlanKeyValuePairOrBuilder getEnvironmentSettingOrBuilder(int index)
repeated .PlanKeyValuePair environmentSetting = 7;

Specified by:
getEnvironmentSettingOrBuilder in interface DAGProtos.PlanTaskConfigurationOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

public static DAGProtos.PlanTaskConfiguration parseFrom(InputStream input)
                                                 throws IOException
Throws:
IOException

parseFrom

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

parseDelimitedFrom

public static DAGProtos.PlanTaskConfiguration parseDelimitedFrom(InputStream input)
                                                          throws IOException
Throws:
IOException

parseDelimitedFrom

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

parseFrom

public static DAGProtos.PlanTaskConfiguration parseFrom(com.google.protobuf.CodedInputStream input)
                                                 throws IOException
Throws:
IOException

parseFrom

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

newBuilder

public static DAGProtos.PlanTaskConfiguration.Builder newBuilder()

newBuilderForType

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

newBuilder

public static DAGProtos.PlanTaskConfiguration.Builder newBuilder(DAGProtos.PlanTaskConfiguration prototype)

toBuilder

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

newBuilderForType

protected DAGProtos.PlanTaskConfiguration.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.