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

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

public static final class DAGProtos.PreWarmContextProto
extends com.google.protobuf.GeneratedMessage
implements DAGProtos.PreWarmContextProtoOrBuilder

Protobuf type PreWarmContextProto

See Also:
Serialized Form

Nested Class Summary
static class DAGProtos.PreWarmContextProto.Builder
          Protobuf type PreWarmContextProto
 
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 JAVA_OPTS_FIELD_NUMBER
           
static int LOCALRESOURCES_FIELD_NUMBER
           
static int LOCATION_HINTS_FIELD_NUMBER
           
static int MEMORYMB_FIELD_NUMBER
           
static int NUM_TASKS_FIELD_NUMBER
           
static com.google.protobuf.Parser<DAGProtos.PreWarmContextProto> PARSER
           
static int PROCESSOR_DESCRIPTOR_FIELD_NUMBER
           
static int VIRTUALCORES_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
static DAGProtos.PreWarmContextProto getDefaultInstance()
           
 DAGProtos.PreWarmContextProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 DAGProtos.PlanKeyValuePair getEnvironmentSetting(int index)
          repeated .PlanKeyValuePair environmentSetting = 6;
 int getEnvironmentSettingCount()
          repeated .PlanKeyValuePair environmentSetting = 6;
 List<DAGProtos.PlanKeyValuePair> getEnvironmentSettingList()
          repeated .PlanKeyValuePair environmentSetting = 6;
 DAGProtos.PlanKeyValuePairOrBuilder getEnvironmentSettingOrBuilder(int index)
          repeated .PlanKeyValuePair environmentSetting = 6;
 List<? extends DAGProtos.PlanKeyValuePairOrBuilder> getEnvironmentSettingOrBuilderList()
          repeated .PlanKeyValuePair environmentSetting = 6;
 String getJavaOpts()
          optional string java_opts = 7;
 com.google.protobuf.ByteString getJavaOptsBytes()
          optional string java_opts = 7;
 DAGProtos.PlanLocalResourcesProto getLocalResources()
          optional .PlanLocalResourcesProto localResources = 5;
 DAGProtos.PlanLocalResourcesProtoOrBuilder getLocalResourcesOrBuilder()
          optional .PlanLocalResourcesProto localResources = 5;
 DAGProtos.VertexLocationHintProto getLocationHints()
          optional .VertexLocationHintProto location_hints = 4;
 DAGProtos.VertexLocationHintProtoOrBuilder getLocationHintsOrBuilder()
          optional .VertexLocationHintProto location_hints = 4;
 int getMemoryMb()
          required int32 memoryMb = 2;
 int getNumTasks()
          optional int32 num_tasks = 8;
 com.google.protobuf.Parser<DAGProtos.PreWarmContextProto> getParserForType()
           
 DAGProtos.TezEntityDescriptorProto getProcessorDescriptor()
          optional .TezEntityDescriptorProto processor_descriptor = 1;
 DAGProtos.TezEntityDescriptorProtoOrBuilder getProcessorDescriptorOrBuilder()
          optional .TezEntityDescriptorProto processor_descriptor = 1;
 int getSerializedSize()
           
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 int getVirtualCores()
          required int32 virtualCores = 3;
 int hashCode()
           
 boolean hasJavaOpts()
          optional string java_opts = 7;
 boolean hasLocalResources()
          optional .PlanLocalResourcesProto localResources = 5;
 boolean hasLocationHints()
          optional .VertexLocationHintProto location_hints = 4;
 boolean hasMemoryMb()
          required int32 memoryMb = 2;
 boolean hasNumTasks()
          optional int32 num_tasks = 8;
 boolean hasProcessorDescriptor()
          optional .TezEntityDescriptorProto processor_descriptor = 1;
 boolean hasVirtualCores()
          required int32 virtualCores = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static DAGProtos.PreWarmContextProto.Builder newBuilder()
           
static DAGProtos.PreWarmContextProto.Builder newBuilder(DAGProtos.PreWarmContextProto prototype)
           
 DAGProtos.PreWarmContextProto.Builder newBuilderForType()
           
protected  DAGProtos.PreWarmContextProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static DAGProtos.PreWarmContextProto parseDelimitedFrom(InputStream input)
           
static DAGProtos.PreWarmContextProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PreWarmContextProto parseFrom(byte[] data)
           
static DAGProtos.PreWarmContextProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PreWarmContextProto parseFrom(com.google.protobuf.ByteString data)
           
static DAGProtos.PreWarmContextProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PreWarmContextProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static DAGProtos.PreWarmContextProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DAGProtos.PreWarmContextProto parseFrom(InputStream input)
           
static DAGProtos.PreWarmContextProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 DAGProtos.PreWarmContextProto.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.PreWarmContextProto> PARSER

PROCESSOR_DESCRIPTOR_FIELD_NUMBER

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

LOCATION_HINTS_FIELD_NUMBER

public static final int LOCATION_HINTS_FIELD_NUMBER
See Also:
Constant Field Values

LOCALRESOURCES_FIELD_NUMBER

public static final int LOCALRESOURCES_FIELD_NUMBER
See Also:
Constant Field Values

ENVIRONMENTSETTING_FIELD_NUMBER

public static final int ENVIRONMENTSETTING_FIELD_NUMBER
See Also:
Constant Field Values

JAVA_OPTS_FIELD_NUMBER

public static final int JAVA_OPTS_FIELD_NUMBER
See Also:
Constant Field Values

NUM_TASKS_FIELD_NUMBER

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

getDefaultInstance

public static DAGProtos.PreWarmContextProto getDefaultInstance()

getDefaultInstanceForType

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

hasProcessorDescriptor

public boolean hasProcessorDescriptor()
optional .TezEntityDescriptorProto processor_descriptor = 1;

Specified by:
hasProcessorDescriptor in interface DAGProtos.PreWarmContextProtoOrBuilder

getProcessorDescriptor

public DAGProtos.TezEntityDescriptorProto getProcessorDescriptor()
optional .TezEntityDescriptorProto processor_descriptor = 1;

Specified by:
getProcessorDescriptor in interface DAGProtos.PreWarmContextProtoOrBuilder

getProcessorDescriptorOrBuilder

public DAGProtos.TezEntityDescriptorProtoOrBuilder getProcessorDescriptorOrBuilder()
optional .TezEntityDescriptorProto processor_descriptor = 1;

Specified by:
getProcessorDescriptorOrBuilder in interface DAGProtos.PreWarmContextProtoOrBuilder

hasMemoryMb

public boolean hasMemoryMb()
required int32 memoryMb = 2;

Specified by:
hasMemoryMb in interface DAGProtos.PreWarmContextProtoOrBuilder

getMemoryMb

public int getMemoryMb()
required int32 memoryMb = 2;

Specified by:
getMemoryMb in interface DAGProtos.PreWarmContextProtoOrBuilder

hasVirtualCores

public boolean hasVirtualCores()
required int32 virtualCores = 3;

Specified by:
hasVirtualCores in interface DAGProtos.PreWarmContextProtoOrBuilder

getVirtualCores

public int getVirtualCores()
required int32 virtualCores = 3;

Specified by:
getVirtualCores in interface DAGProtos.PreWarmContextProtoOrBuilder

hasLocationHints

public boolean hasLocationHints()
optional .VertexLocationHintProto location_hints = 4;

Specified by:
hasLocationHints in interface DAGProtos.PreWarmContextProtoOrBuilder

getLocationHints

public DAGProtos.VertexLocationHintProto getLocationHints()
optional .VertexLocationHintProto location_hints = 4;

Specified by:
getLocationHints in interface DAGProtos.PreWarmContextProtoOrBuilder

getLocationHintsOrBuilder

public DAGProtos.VertexLocationHintProtoOrBuilder getLocationHintsOrBuilder()
optional .VertexLocationHintProto location_hints = 4;

Specified by:
getLocationHintsOrBuilder in interface DAGProtos.PreWarmContextProtoOrBuilder

hasLocalResources

public boolean hasLocalResources()
optional .PlanLocalResourcesProto localResources = 5;

Specified by:
hasLocalResources in interface DAGProtos.PreWarmContextProtoOrBuilder

getLocalResources

public DAGProtos.PlanLocalResourcesProto getLocalResources()
optional .PlanLocalResourcesProto localResources = 5;

Specified by:
getLocalResources in interface DAGProtos.PreWarmContextProtoOrBuilder

getLocalResourcesOrBuilder

public DAGProtos.PlanLocalResourcesProtoOrBuilder getLocalResourcesOrBuilder()
optional .PlanLocalResourcesProto localResources = 5;

Specified by:
getLocalResourcesOrBuilder in interface DAGProtos.PreWarmContextProtoOrBuilder

getEnvironmentSettingList

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

Specified by:
getEnvironmentSettingList in interface DAGProtos.PreWarmContextProtoOrBuilder

getEnvironmentSettingOrBuilderList

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

Specified by:
getEnvironmentSettingOrBuilderList in interface DAGProtos.PreWarmContextProtoOrBuilder

getEnvironmentSettingCount

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

Specified by:
getEnvironmentSettingCount in interface DAGProtos.PreWarmContextProtoOrBuilder

getEnvironmentSetting

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

Specified by:
getEnvironmentSetting in interface DAGProtos.PreWarmContextProtoOrBuilder

getEnvironmentSettingOrBuilder

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

Specified by:
getEnvironmentSettingOrBuilder in interface DAGProtos.PreWarmContextProtoOrBuilder

hasJavaOpts

public boolean hasJavaOpts()
optional string java_opts = 7;

Specified by:
hasJavaOpts in interface DAGProtos.PreWarmContextProtoOrBuilder

getJavaOpts

public String getJavaOpts()
optional string java_opts = 7;

Specified by:
getJavaOpts in interface DAGProtos.PreWarmContextProtoOrBuilder

getJavaOptsBytes

public com.google.protobuf.ByteString getJavaOptsBytes()
optional string java_opts = 7;

Specified by:
getJavaOptsBytes in interface DAGProtos.PreWarmContextProtoOrBuilder

hasNumTasks

public boolean hasNumTasks()
optional int32 num_tasks = 8;

Specified by:
hasNumTasks in interface DAGProtos.PreWarmContextProtoOrBuilder

getNumTasks

public int getNumTasks()
optional int32 num_tasks = 8;

Specified by:
getNumTasks in interface DAGProtos.PreWarmContextProtoOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static DAGProtos.PreWarmContextProto.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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

newBuilderForType

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