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