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