public static class AvroClosedContext.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroClosedContext> implements org.apache.avro.data.RecordBuilder<AvroClosedContext>
Modifier and Type | Method and Description |
---|---|
AvroClosedContext |
build() |
AvroClosedContext.Builder |
clearBase()
Clears the value of the 'base' field.
|
AvroClosedContext.Builder |
clearParentContext()
Clears the value of the 'parentContext' 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.
|
AvroActiveContext |
getParentContext()
Gets the value of the 'parentContext' field.
|
AvroActiveContext.Builder |
getParentContextBuilder()
Gets the Builder instance for the 'parentContext' 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
|
boolean |
hasParentContext()
Checks whether the 'parentContext' field has been set.
|
boolean |
hasParentContextBuilder()
Checks whether the 'parentContext' field has an active Builder instance
|
AvroClosedContext.Builder |
setBase(AvroContextBase value)
Sets the value of the 'base' field.
|
AvroClosedContext.Builder |
setBaseBuilder(AvroContextBase.Builder value)
Sets the Builder instance for the 'base' field
|
AvroClosedContext.Builder |
setParentContext(AvroActiveContext value)
Sets the value of the 'parentContext' field.
|
AvroClosedContext.Builder |
setParentContextBuilder(AvroActiveContext.Builder value)
Sets the Builder instance for the 'parentContext' field
|
public AvroContextBase getBase()
public AvroClosedContext.Builder setBase(AvroContextBase value)
value
- The value of 'base'.public boolean hasBase()
public AvroContextBase.Builder getBaseBuilder()
public AvroClosedContext.Builder setBaseBuilder(AvroContextBase.Builder value)
value
- The builder instance that must be set.public boolean hasBaseBuilder()
public AvroClosedContext.Builder clearBase()
public AvroActiveContext getParentContext()
public AvroClosedContext.Builder setParentContext(AvroActiveContext value)
value
- The value of 'parentContext'.public boolean hasParentContext()
public AvroActiveContext.Builder getParentContextBuilder()
public AvroClosedContext.Builder setParentContextBuilder(AvroActiveContext.Builder value)
value
- The builder instance that must be set.public boolean hasParentContextBuilder()
public AvroClosedContext.Builder clearParentContext()
public AvroClosedContext build()
build
in interface org.apache.avro.data.RecordBuilder<AvroClosedContext>
Copyright © 2017 The Apache Software Foundation. All rights reserved.