public static class TaskFinished.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<TaskFinished> implements org.apache.avro.data.RecordBuilder<TaskFinished>
Modifier and Type | Method and Description |
---|---|
TaskFinished |
build() |
TaskFinished.Builder |
clearCounters()
Clears the value of the 'counters' field.
|
TaskFinished.Builder |
clearFinishTime()
Clears the value of the 'finishTime' field.
|
TaskFinished.Builder |
clearStatus()
Clears the value of the 'status' field.
|
TaskFinished.Builder |
clearSuccessfulAttemptId()
Clears the value of the 'successfulAttemptId' field.
|
TaskFinished.Builder |
clearTaskid()
Clears the value of the 'taskid' field.
|
TaskFinished.Builder |
clearTaskType()
Clears the value of the 'taskType' 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 |
getStatus()
Gets the value of the 'status' field.
|
CharSequence |
getSuccessfulAttemptId()
Gets the value of the 'successfulAttemptId' field.
|
CharSequence |
getTaskid()
Gets the value of the 'taskid' field.
|
CharSequence |
getTaskType()
Gets the value of the 'taskType' field.
|
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 |
hasStatus()
Checks whether the 'status' field has been set.
|
boolean |
hasSuccessfulAttemptId()
Checks whether the 'successfulAttemptId' field has been set.
|
boolean |
hasTaskid()
Checks whether the 'taskid' field has been set.
|
boolean |
hasTaskType()
Checks whether the 'taskType' field has been set.
|
TaskFinished.Builder |
setCounters(JhCounters value)
Sets the value of the 'counters' field.
|
TaskFinished.Builder |
setCountersBuilder(JhCounters.Builder value)
Sets the Builder instance for the 'counters' field
|
TaskFinished.Builder |
setFinishTime(long value)
Sets the value of the 'finishTime' field.
|
TaskFinished.Builder |
setStatus(CharSequence value)
Sets the value of the 'status' field.
|
TaskFinished.Builder |
setSuccessfulAttemptId(CharSequence value)
Sets the value of the 'successfulAttemptId' field.
|
TaskFinished.Builder |
setTaskid(CharSequence value)
Sets the value of the 'taskid' field.
|
TaskFinished.Builder |
setTaskType(CharSequence value)
Sets the value of the 'taskType' field.
|
public CharSequence getTaskid()
public TaskFinished.Builder setTaskid(CharSequence value)
value
- The value of 'taskid'.public boolean hasTaskid()
public TaskFinished.Builder clearTaskid()
public CharSequence getTaskType()
public TaskFinished.Builder setTaskType(CharSequence value)
value
- The value of 'taskType'.public boolean hasTaskType()
public TaskFinished.Builder clearTaskType()
public Long getFinishTime()
public TaskFinished.Builder setFinishTime(long value)
value
- The value of 'finishTime'.public boolean hasFinishTime()
public TaskFinished.Builder clearFinishTime()
public CharSequence getStatus()
public TaskFinished.Builder setStatus(CharSequence value)
value
- The value of 'status'.public boolean hasStatus()
public TaskFinished.Builder clearStatus()
public JhCounters getCounters()
public TaskFinished.Builder setCounters(JhCounters value)
value
- The value of 'counters'.public boolean hasCounters()
public JhCounters.Builder getCountersBuilder()
public TaskFinished.Builder setCountersBuilder(JhCounters.Builder value)
public boolean hasCountersBuilder()
public TaskFinished.Builder clearCounters()
public CharSequence getSuccessfulAttemptId()
public TaskFinished.Builder setSuccessfulAttemptId(CharSequence value)
value
- The value of 'successfulAttemptId'.public boolean hasSuccessfulAttemptId()
public TaskFinished.Builder clearSuccessfulAttemptId()
public TaskFinished build()
build
in interface org.apache.avro.data.RecordBuilder<TaskFinished>
Copyright © 2016 Apache Software Foundation. All Rights Reserved.