public static class ChoiceAddressLocationReference.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ChoiceAddressLocationReference> implements org.apache.avro.data.RecordBuilder<ChoiceAddressLocationReference>
| Modifier and Type | Method and Description |
|---|---|
ChoiceAddressLocationReference |
build() |
ChoiceAddressLocationReference.Builder |
clearAddress()
Clears the value of the 'address' field.
|
ChoiceAddressLocationReference.Builder |
clearReference()
Clears the value of the 'reference' field.
|
Address |
getAddress()
Gets the value of the 'address' field.
|
Address.Builder |
getAddressBuilder()
Gets the Builder instance for the 'address' field and creates one if it doesn't exist yet.
|
LocationReference |
getReference()
Gets the value of the 'reference' field.
|
LocationReference.Builder |
getReferenceBuilder()
Gets the Builder instance for the 'reference' field and creates one if it doesn't exist yet.
|
boolean |
hasAddress()
Checks whether the 'address' field has been set.
|
boolean |
hasAddressBuilder()
Checks whether the 'address' field has an active Builder instance
Choice field
|
boolean |
hasReference()
Checks whether the 'reference' field has been set.
|
boolean |
hasReferenceBuilder()
Checks whether the 'reference' field has an active Builder instance
Choice field
|
ChoiceAddressLocationReference.Builder |
setAddress(Address value)
Sets the value of the 'address' field.
|
ChoiceAddressLocationReference.Builder |
setAddressBuilder(Address.Builder value)
Sets the Builder instance for the 'address' field
Choice field
|
ChoiceAddressLocationReference.Builder |
setReference(LocationReference value)
Sets the value of the 'reference' field.
|
ChoiceAddressLocationReference.Builder |
setReferenceBuilder(LocationReference.Builder value)
Sets the Builder instance for the 'reference' field
Choice field
|
public Address getAddress()
public ChoiceAddressLocationReference.Builder setAddress(Address value)
value - The value of 'address'.public boolean hasAddress()
public Address.Builder getAddressBuilder()
public ChoiceAddressLocationReference.Builder setAddressBuilder(Address.Builder value)
value - The builder instance that must be set.public boolean hasAddressBuilder()
public ChoiceAddressLocationReference.Builder clearAddress()
public LocationReference getReference()
public ChoiceAddressLocationReference.Builder setReference(LocationReference value)
value - The value of 'reference'.public boolean hasReference()
public LocationReference.Builder getReferenceBuilder()
public ChoiceAddressLocationReference.Builder setReferenceBuilder(LocationReference.Builder value)
value - The builder instance that must be set.public boolean hasReferenceBuilder()
public ChoiceAddressLocationReference.Builder clearReference()
public ChoiceAddressLocationReference build()
build in interface org.apache.avro.data.RecordBuilder<ChoiceAddressLocationReference>Copyright © 2020. All rights reserved.