public static class AvroRunningTask.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroRunningTask> implements org.apache.avro.data.RecordBuilder<AvroRunningTask>
Modifier and Type | Method and Description |
---|---|
AvroRunningTask |
build() |
AvroRunningTask.Builder |
clearActiveContext()
Clears the value of the 'activeContext' field.
|
AvroRunningTask.Builder |
clearId()
Clears the value of the 'id' 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.
|
CharSequence |
getId()
Gets the value of the 'id' field.
|
boolean |
hasActiveContext()
Checks whether the 'activeContext' field has been set.
|
boolean |
hasActiveContextBuilder()
Checks whether the 'activeContext' field has an active Builder instance
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
AvroRunningTask.Builder |
setActiveContext(AvroActiveContext value)
Sets the value of the 'activeContext' field.
|
AvroRunningTask.Builder |
setActiveContextBuilder(AvroActiveContext.Builder value)
Sets the Builder instance for the 'activeContext' field
|
AvroRunningTask.Builder |
setId(CharSequence value)
Sets the value of the 'id' field.
|
public CharSequence getId()
public AvroRunningTask.Builder setId(CharSequence value)
value
- The value of 'id'.public boolean hasId()
public AvroRunningTask.Builder clearId()
public AvroActiveContext getActiveContext()
public AvroRunningTask.Builder setActiveContext(AvroActiveContext value)
value
- The value of 'activeContext'.public boolean hasActiveContext()
public AvroActiveContext.Builder getActiveContextBuilder()
public AvroRunningTask.Builder setActiveContextBuilder(AvroActiveContext.Builder value)
value
- The builder instance that must be set.public boolean hasActiveContextBuilder()
public AvroRunningTask.Builder clearActiveContext()
public AvroRunningTask build()
build
in interface org.apache.avro.data.RecordBuilder<AvroRunningTask>
Copyright © 2017 The Apache Software Foundation. All rights reserved.