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