org.apache.hadoop.mapreduce.jobhistory
Class TaskAttemptStarted.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<TaskAttemptStarted>
          extended by org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<TaskAttemptStarted>
Enclosing class:
TaskAttemptStarted

public static class TaskAttemptStarted.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<TaskAttemptStarted>
implements org.apache.avro.data.RecordBuilder<TaskAttemptStarted>

RecordBuilder for TaskAttemptStarted instances.


Method Summary
 TaskAttemptStarted build()
           
 TaskAttemptStarted.Builder clearAttemptId()
          Clears the value of the 'attemptId' field
 TaskAttemptStarted.Builder clearAvataar()
          Clears the value of the 'avataar' field
 TaskAttemptStarted.Builder clearContainerId()
          Clears the value of the 'containerId' field
 TaskAttemptStarted.Builder clearHttpPort()
          Clears the value of the 'httpPort' field
 TaskAttemptStarted.Builder clearLocality()
          Clears the value of the 'locality' field
 TaskAttemptStarted.Builder clearServicesMetaData()
          Clears the value of the 'servicesMetaData' field
 TaskAttemptStarted.Builder clearShufflePort()
          Clears the value of the 'shufflePort' field
 TaskAttemptStarted.Builder clearStartTime()
          Clears the value of the 'startTime' field
 TaskAttemptStarted.Builder clearTaskid()
          Clears the value of the 'taskid' field
 TaskAttemptStarted.Builder clearTaskType()
          Clears the value of the 'taskType' field
 TaskAttemptStarted.Builder clearTrackerName()
          Clears the value of the 'trackerName' field
 CharSequence getAttemptId()
          Gets the value of the 'attemptId' field
 CharSequence getAvataar()
          Gets the value of the 'avataar' field
 CharSequence getContainerId()
          Gets the value of the 'containerId' field
 Integer getHttpPort()
          Gets the value of the 'httpPort' field
 CharSequence getLocality()
          Gets the value of the 'locality' field
 Map<CharSequence,ByteBuffer> getServicesMetaData()
          Gets the value of the 'servicesMetaData' field
 Integer getShufflePort()
          Gets the value of the 'shufflePort' field
 Long getStartTime()
          Gets the value of the 'startTime' field
 CharSequence getTaskid()
          Gets the value of the 'taskid' field
 CharSequence getTaskType()
          Gets the value of the 'taskType' field
 CharSequence getTrackerName()
          Gets the value of the 'trackerName' field
 boolean hasAttemptId()
          Checks whether the 'attemptId' field has been set
 boolean hasAvataar()
          Checks whether the 'avataar' field has been set
 boolean hasContainerId()
          Checks whether the 'containerId' field has been set
 boolean hasHttpPort()
          Checks whether the 'httpPort' field has been set
 boolean hasLocality()
          Checks whether the 'locality' field has been set
 boolean hasServicesMetaData()
          Checks whether the 'servicesMetaData' field has been set
 boolean hasShufflePort()
          Checks whether the 'shufflePort' field has been set
 boolean hasStartTime()
          Checks whether the 'startTime' field has been set
 boolean hasTaskid()
          Checks whether the 'taskid' field has been set
 boolean hasTaskType()
          Checks whether the 'taskType' field has been set
 boolean hasTrackerName()
          Checks whether the 'trackerName' field has been set
 TaskAttemptStarted.Builder setAttemptId(CharSequence value)
          Sets the value of the 'attemptId' field
 TaskAttemptStarted.Builder setAvataar(CharSequence value)
          Sets the value of the 'avataar' field
 TaskAttemptStarted.Builder setContainerId(CharSequence value)
          Sets the value of the 'containerId' field
 TaskAttemptStarted.Builder setHttpPort(int value)
          Sets the value of the 'httpPort' field
 TaskAttemptStarted.Builder setLocality(CharSequence value)
          Sets the value of the 'locality' field
 TaskAttemptStarted.Builder setServicesMetaData(Map<CharSequence,ByteBuffer> value)
          Sets the value of the 'servicesMetaData' field
 TaskAttemptStarted.Builder setShufflePort(int value)
          Sets the value of the 'shufflePort' field
 TaskAttemptStarted.Builder setStartTime(long value)
          Sets the value of the 'startTime' field
 TaskAttemptStarted.Builder setTaskid(CharSequence value)
          Sets the value of the 'taskid' field
 TaskAttemptStarted.Builder setTaskType(CharSequence value)
          Sets the value of the 'taskType' field
 TaskAttemptStarted.Builder setTrackerName(CharSequence value)
          Sets the value of the 'trackerName' field
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTaskid

public CharSequence getTaskid()
Gets the value of the 'taskid' field


setTaskid

public TaskAttemptStarted.Builder setTaskid(CharSequence value)
Sets the value of the 'taskid' field


hasTaskid

public boolean hasTaskid()
Checks whether the 'taskid' field has been set


clearTaskid

public TaskAttemptStarted.Builder clearTaskid()
Clears the value of the 'taskid' field


getTaskType

public CharSequence getTaskType()
Gets the value of the 'taskType' field


setTaskType

public TaskAttemptStarted.Builder setTaskType(CharSequence value)
Sets the value of the 'taskType' field


hasTaskType

public boolean hasTaskType()
Checks whether the 'taskType' field has been set


clearTaskType

public TaskAttemptStarted.Builder clearTaskType()
Clears the value of the 'taskType' field


getAttemptId

public CharSequence getAttemptId()
Gets the value of the 'attemptId' field


setAttemptId

public TaskAttemptStarted.Builder setAttemptId(CharSequence value)
Sets the value of the 'attemptId' field


hasAttemptId

public boolean hasAttemptId()
Checks whether the 'attemptId' field has been set


clearAttemptId

public TaskAttemptStarted.Builder clearAttemptId()
Clears the value of the 'attemptId' field


getStartTime

public Long getStartTime()
Gets the value of the 'startTime' field


setStartTime

public TaskAttemptStarted.Builder setStartTime(long value)
Sets the value of the 'startTime' field


hasStartTime

public boolean hasStartTime()
Checks whether the 'startTime' field has been set


clearStartTime

public TaskAttemptStarted.Builder clearStartTime()
Clears the value of the 'startTime' field


getTrackerName

public CharSequence getTrackerName()
Gets the value of the 'trackerName' field


setTrackerName

public TaskAttemptStarted.Builder setTrackerName(CharSequence value)
Sets the value of the 'trackerName' field


hasTrackerName

public boolean hasTrackerName()
Checks whether the 'trackerName' field has been set


clearTrackerName

public TaskAttemptStarted.Builder clearTrackerName()
Clears the value of the 'trackerName' field


getHttpPort

public Integer getHttpPort()
Gets the value of the 'httpPort' field


setHttpPort

public TaskAttemptStarted.Builder setHttpPort(int value)
Sets the value of the 'httpPort' field


hasHttpPort

public boolean hasHttpPort()
Checks whether the 'httpPort' field has been set


clearHttpPort

public TaskAttemptStarted.Builder clearHttpPort()
Clears the value of the 'httpPort' field


getShufflePort

public Integer getShufflePort()
Gets the value of the 'shufflePort' field


setShufflePort

public TaskAttemptStarted.Builder setShufflePort(int value)
Sets the value of the 'shufflePort' field


hasShufflePort

public boolean hasShufflePort()
Checks whether the 'shufflePort' field has been set


clearShufflePort

public TaskAttemptStarted.Builder clearShufflePort()
Clears the value of the 'shufflePort' field


getContainerId

public CharSequence getContainerId()
Gets the value of the 'containerId' field


setContainerId

public TaskAttemptStarted.Builder setContainerId(CharSequence value)
Sets the value of the 'containerId' field


hasContainerId

public boolean hasContainerId()
Checks whether the 'containerId' field has been set


clearContainerId

public TaskAttemptStarted.Builder clearContainerId()
Clears the value of the 'containerId' field


getLocality

public CharSequence getLocality()
Gets the value of the 'locality' field


setLocality

public TaskAttemptStarted.Builder setLocality(CharSequence value)
Sets the value of the 'locality' field


hasLocality

public boolean hasLocality()
Checks whether the 'locality' field has been set


clearLocality

public TaskAttemptStarted.Builder clearLocality()
Clears the value of the 'locality' field


getAvataar

public CharSequence getAvataar()
Gets the value of the 'avataar' field


setAvataar

public TaskAttemptStarted.Builder setAvataar(CharSequence value)
Sets the value of the 'avataar' field


hasAvataar

public boolean hasAvataar()
Checks whether the 'avataar' field has been set


clearAvataar

public TaskAttemptStarted.Builder clearAvataar()
Clears the value of the 'avataar' field


getServicesMetaData

public Map<CharSequence,ByteBuffer> getServicesMetaData()
Gets the value of the 'servicesMetaData' field


setServicesMetaData

public TaskAttemptStarted.Builder setServicesMetaData(Map<CharSequence,ByteBuffer> value)
Sets the value of the 'servicesMetaData' field


hasServicesMetaData

public boolean hasServicesMetaData()
Checks whether the 'servicesMetaData' field has been set


clearServicesMetaData

public TaskAttemptStarted.Builder clearServicesMetaData()
Clears the value of the 'servicesMetaData' field


build

public TaskAttemptStarted build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<TaskAttemptStarted>


Copyright © 2014 Apache Software Foundation. All Rights Reserved.