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