public static class ContactDetail.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ContactDetail> implements org.apache.avro.data.RecordBuilder<ContactDetail>
| Modifier and Type | Method and Description |
|---|---|
ContactDetail |
build() |
ContactDetail.Builder |
clearId()
Clears the value of the 'id' field.
|
ContactDetail.Builder |
clearName()
Clears the value of the 'name' field.
|
ContactDetail.Builder |
clearTelecom()
Clears the value of the 'telecom' field.
|
String |
getId()
Gets the value of the 'id' field.
|
String |
getName()
Gets the value of the 'name' field.
|
List<ContactPoint> |
getTelecom()
Gets the value of the 'telecom' field.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasTelecom()
Checks whether the 'telecom' field has been set.
|
ContactDetail.Builder |
setId(String value)
Sets the value of the 'id' field.
|
ContactDetail.Builder |
setName(String value)
Sets the value of the 'name' field.
|
ContactDetail.Builder |
setTelecom(List<ContactPoint> value)
Sets the value of the 'telecom' field.
|
public String getId()
public ContactDetail.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public ContactDetail.Builder clearId()
public String getName()
public ContactDetail.Builder setName(String value)
value - The value of 'name'.public boolean hasName()
public ContactDetail.Builder clearName()
public List<ContactPoint> getTelecom()
public ContactDetail.Builder setTelecom(List<ContactPoint> value)
value - The value of 'telecom'.public boolean hasTelecom()
public ContactDetail.Builder clearTelecom()
public ContactDetail build()
build in interface org.apache.avro.data.RecordBuilder<ContactDetail>Copyright © 2020. All rights reserved.