public static class AvroActiveContext.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroActiveContext> implements org.apache.avro.data.RecordBuilder<AvroActiveContext>
Modifier and Type | Method and Description |
---|---|
AvroActiveContext |
build() |
AvroActiveContext.Builder |
clearBase()
Clears the value of the 'base' field.
|
AvroContextBase |
getBase()
Gets the value of the 'base' field.
|
AvroContextBase.Builder |
getBaseBuilder()
Gets the Builder instance for the 'base' field and creates one if it doesn't exist yet.
|
boolean |
hasBase()
Checks whether the 'base' field has been set.
|
boolean |
hasBaseBuilder()
Checks whether the 'base' field has an active Builder instance
|
AvroActiveContext.Builder |
setBase(AvroContextBase value)
Sets the value of the 'base' field.
|
AvroActiveContext.Builder |
setBaseBuilder(AvroContextBase.Builder value)
Sets the Builder instance for the 'base' field
|
public AvroContextBase getBase()
public AvroActiveContext.Builder setBase(AvroContextBase value)
value
- The value of 'base'.public boolean hasBase()
public AvroContextBase.Builder getBaseBuilder()
public AvroActiveContext.Builder setBaseBuilder(AvroContextBase.Builder value)
value
- The builder instance that must be set.public boolean hasBaseBuilder()
public AvroActiveContext.Builder clearBase()
public AvroActiveContext build()
build
in interface org.apache.avro.data.RecordBuilder<AvroActiveContext>
Copyright © 2017 The Apache Software Foundation. All rights reserved.