public static class Contributor.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Contributor> implements org.apache.avro.data.RecordBuilder<Contributor>
| Modifier and Type | Method and Description |
|---|---|
Contributor |
build() |
Contributor.Builder |
clearContact()
Clears the value of the 'contact' field.
|
Contributor.Builder |
clearId()
Clears the value of the 'id' field.
|
Contributor.Builder |
clearName()
Clears the value of the 'name' field.
|
Contributor.Builder |
clearType()
Clears the value of the 'type' field.
|
List<ContactDetail> |
getContact()
Gets the value of the 'contact' field.
|
String |
getId()
Gets the value of the 'id' field.
|
String |
getName()
Gets the value of the 'name' field.
|
String |
getType()
Gets the value of the 'type' field.
|
boolean |
hasContact()
Checks whether the 'contact' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
Contributor.Builder |
setContact(List<ContactDetail> value)
Sets the value of the 'contact' field.
|
Contributor.Builder |
setId(String value)
Sets the value of the 'id' field.
|
Contributor.Builder |
setName(String value)
Sets the value of the 'name' field.
|
Contributor.Builder |
setType(String value)
Sets the value of the 'type' field.
|
public String getId()
public Contributor.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public Contributor.Builder clearId()
public String getType()
public Contributor.Builder setType(String value)
value - The value of 'type'.public boolean hasType()
public Contributor.Builder clearType()
public String getName()
public Contributor.Builder setName(String value)
value - The value of 'name'.public boolean hasName()
public Contributor.Builder clearName()
public List<ContactDetail> getContact()
public Contributor.Builder setContact(List<ContactDetail> value)
value - The value of 'contact'.public boolean hasContact()
public Contributor.Builder clearContact()
public Contributor build()
build in interface org.apache.avro.data.RecordBuilder<Contributor>Copyright © 2020. All rights reserved.