public static class TaskAttemptFinished.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<TaskAttemptFinished> implements org.apache.avro.data.RecordBuilder<TaskAttemptFinished>
Modifier and Type | Method and Description |
---|---|
TaskAttemptFinished |
build() |
TaskAttemptFinished.Builder |
clearAttemptId()
Clears the value of the 'attemptId' field.
|
TaskAttemptFinished.Builder |
clearCounters()
Clears the value of the 'counters' field.
|
TaskAttemptFinished.Builder |
clearFinishTime()
Clears the value of the 'finishTime' field.
|
TaskAttemptFinished.Builder |
clearHostname()
Clears the value of the 'hostname' field.
|
TaskAttemptFinished.Builder |
clearRackname()
Clears the value of the 'rackname' field.
|
TaskAttemptFinished.Builder |
clearState()
Clears the value of the 'state' field.
|
TaskAttemptFinished.Builder |
clearTaskid()
Clears the value of the 'taskid' field.
|
TaskAttemptFinished.Builder |
clearTaskStatus()
Clears the value of the 'taskStatus' field.
|
TaskAttemptFinished.Builder |
clearTaskType()
Clears the value of the 'taskType' field.
|
CharSequence |
getAttemptId()
Gets the value of the 'attemptId' field.
|
JhCounters |
getCounters()
Gets the value of the 'counters' field.
|
JhCounters.Builder |
getCountersBuilder()
Gets the Builder instance for the 'counters' field and creates one if it doesn't exist yet.
|
Long |
getFinishTime()
Gets the value of the 'finishTime' field.
|
CharSequence |
getHostname()
Gets the value of the 'hostname' field.
|
CharSequence |
getRackname()
Gets the value of the 'rackname' field.
|
CharSequence |
getState()
Gets the value of the 'state' field.
|
CharSequence |
getTaskid()
Gets the value of the 'taskid' field.
|
CharSequence |
getTaskStatus()
Gets the value of the 'taskStatus' field.
|
CharSequence |
getTaskType()
Gets the value of the 'taskType' field.
|
boolean |
hasAttemptId()
Checks whether the 'attemptId' field has been set.
|
boolean |
hasCounters()
Checks whether the 'counters' field has been set.
|
boolean |
hasCountersBuilder()
Checks whether the 'counters' field has an active Builder instance
|
boolean |
hasFinishTime()
Checks whether the 'finishTime' field has been set.
|
boolean |
hasHostname()
Checks whether the 'hostname' field has been set.
|
boolean |
hasRackname()
Checks whether the 'rackname' field has been set.
|
boolean |
hasState()
Checks whether the 'state' field has been set.
|
boolean |
hasTaskid()
Checks whether the 'taskid' field has been set.
|
boolean |
hasTaskStatus()
Checks whether the 'taskStatus' field has been set.
|
boolean |
hasTaskType()
Checks whether the 'taskType' field has been set.
|
TaskAttemptFinished.Builder |
setAttemptId(CharSequence value)
Sets the value of the 'attemptId' field.
|
TaskAttemptFinished.Builder |
setCounters(JhCounters value)
Sets the value of the 'counters' field.
|
TaskAttemptFinished.Builder |
setCountersBuilder(JhCounters.Builder value)
Sets the Builder instance for the 'counters' field
|
TaskAttemptFinished.Builder |
setFinishTime(long value)
Sets the value of the 'finishTime' field.
|
TaskAttemptFinished.Builder |
setHostname(CharSequence value)
Sets the value of the 'hostname' field.
|
TaskAttemptFinished.Builder |
setRackname(CharSequence value)
Sets the value of the 'rackname' field.
|
TaskAttemptFinished.Builder |
setState(CharSequence value)
Sets the value of the 'state' field.
|
TaskAttemptFinished.Builder |
setTaskid(CharSequence value)
Sets the value of the 'taskid' field.
|
TaskAttemptFinished.Builder |
setTaskStatus(CharSequence value)
Sets the value of the 'taskStatus' field.
|
TaskAttemptFinished.Builder |
setTaskType(CharSequence value)
Sets the value of the 'taskType' field.
|
public CharSequence getTaskid()
public TaskAttemptFinished.Builder setTaskid(CharSequence value)
value
- The value of 'taskid'.public boolean hasTaskid()
public TaskAttemptFinished.Builder clearTaskid()
public CharSequence getAttemptId()
public TaskAttemptFinished.Builder setAttemptId(CharSequence value)
value
- The value of 'attemptId'.public boolean hasAttemptId()
public TaskAttemptFinished.Builder clearAttemptId()
public CharSequence getTaskType()
public TaskAttemptFinished.Builder setTaskType(CharSequence value)
value
- The value of 'taskType'.public boolean hasTaskType()
public TaskAttemptFinished.Builder clearTaskType()
public CharSequence getTaskStatus()
public TaskAttemptFinished.Builder setTaskStatus(CharSequence value)
value
- The value of 'taskStatus'.public boolean hasTaskStatus()
public TaskAttemptFinished.Builder clearTaskStatus()
public Long getFinishTime()
public TaskAttemptFinished.Builder setFinishTime(long value)
value
- The value of 'finishTime'.public boolean hasFinishTime()
public TaskAttemptFinished.Builder clearFinishTime()
public CharSequence getRackname()
public TaskAttemptFinished.Builder setRackname(CharSequence value)
value
- The value of 'rackname'.public boolean hasRackname()
public TaskAttemptFinished.Builder clearRackname()
public CharSequence getHostname()
public TaskAttemptFinished.Builder setHostname(CharSequence value)
value
- The value of 'hostname'.public boolean hasHostname()
public TaskAttemptFinished.Builder clearHostname()
public CharSequence getState()
public TaskAttemptFinished.Builder setState(CharSequence value)
value
- The value of 'state'.public boolean hasState()
public TaskAttemptFinished.Builder clearState()
public JhCounters getCounters()
public TaskAttemptFinished.Builder setCounters(JhCounters value)
value
- The value of 'counters'.public boolean hasCounters()
public JhCounters.Builder getCountersBuilder()
public TaskAttemptFinished.Builder setCountersBuilder(JhCounters.Builder value)
public boolean hasCountersBuilder()
public TaskAttemptFinished.Builder clearCounters()
public TaskAttemptFinished build()
build
in interface org.apache.avro.data.RecordBuilder<TaskAttemptFinished>
Copyright © 2016 Apache Software Foundation. All Rights Reserved.