public static class AvroFailedTask.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroFailedTask> implements org.apache.avro.data.RecordBuilder<AvroFailedTask>
Modifier and Type | Method and Description |
---|---|
AvroFailedTask |
build() |
AvroFailedTask.Builder |
clearActiveContext()
Clears the value of the 'activeContext' field.
|
AvroFailedTask.Builder |
clearFailure()
Clears the value of the 'failure' field.
|
AvroActiveContext |
getActiveContext()
Gets the value of the 'activeContext' field.
|
AvroActiveContext.Builder |
getActiveContextBuilder()
Gets the Builder instance for the 'activeContext' field and creates one if it doesn't exist yet.
|
AvroFailure |
getFailure()
Gets the value of the 'failure' field.
|
AvroFailure.Builder |
getFailureBuilder()
Gets the Builder instance for the 'failure' field and creates one if it doesn't exist yet.
|
boolean |
hasActiveContext()
Checks whether the 'activeContext' field has been set.
|
boolean |
hasActiveContextBuilder()
Checks whether the 'activeContext' field has an active Builder instance
|
boolean |
hasFailure()
Checks whether the 'failure' field has been set.
|
boolean |
hasFailureBuilder()
Checks whether the 'failure' field has an active Builder instance
|
AvroFailedTask.Builder |
setActiveContext(AvroActiveContext value)
Sets the value of the 'activeContext' field.
|
AvroFailedTask.Builder |
setActiveContextBuilder(AvroActiveContext.Builder value)
Sets the Builder instance for the 'activeContext' field
|
AvroFailedTask.Builder |
setFailure(AvroFailure value)
Sets the value of the 'failure' field.
|
AvroFailedTask.Builder |
setFailureBuilder(AvroFailure.Builder value)
Sets the Builder instance for the 'failure' field
|
public AvroFailure getFailure()
public AvroFailedTask.Builder setFailure(AvroFailure value)
value
- The value of 'failure'.public boolean hasFailure()
public AvroFailure.Builder getFailureBuilder()
public AvroFailedTask.Builder setFailureBuilder(AvroFailure.Builder value)
value
- The builder instance that must be set.public boolean hasFailureBuilder()
public AvroFailedTask.Builder clearFailure()
public AvroActiveContext getActiveContext()
public AvroFailedTask.Builder setActiveContext(AvroActiveContext value)
value
- The value of 'activeContext'.public boolean hasActiveContext()
public AvroActiveContext.Builder getActiveContextBuilder()
public AvroFailedTask.Builder setActiveContextBuilder(AvroActiveContext.Builder value)
value
- The builder instance that must be set.public boolean hasActiveContextBuilder()
public AvroFailedTask.Builder clearActiveContext()
public AvroFailedTask build()
build
in interface org.apache.avro.data.RecordBuilder<AvroFailedTask>
Copyright © 2017 The Apache Software Foundation. All rights reserved.