public static class Attachment.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Attachment> implements org.apache.avro.data.RecordBuilder<Attachment>
| Modifier and Type | Method and Description |
|---|---|
Attachment |
build() |
Attachment.Builder |
clearContentType()
Clears the value of the 'contentType' field.
|
Attachment.Builder |
clearCreation()
Clears the value of the 'creation' field.
|
Attachment.Builder |
clearData()
Clears the value of the 'data' field.
|
Attachment.Builder |
clearHash()
Clears the value of the 'hash' field.
|
Attachment.Builder |
clearId()
Clears the value of the 'id' field.
|
Attachment.Builder |
clearLanguage()
Clears the value of the 'language' field.
|
Attachment.Builder |
clearSize()
Clears the value of the 'size' field.
|
Attachment.Builder |
clearTitle()
Clears the value of the 'title' field.
|
Attachment.Builder |
clearUrl()
Clears the value of the 'url' field.
|
String |
getContentType()
Gets the value of the 'contentType' field.
|
String |
getCreation()
Gets the value of the 'creation' field.
|
String |
getData()
Gets the value of the 'data' field.
|
String |
getHash()
Gets the value of the 'hash' field.
|
String |
getId()
Gets the value of the 'id' field.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
Integer |
getSize()
Gets the value of the 'size' field.
|
String |
getTitle()
Gets the value of the 'title' field.
|
String |
getUrl()
Gets the value of the 'url' field.
|
boolean |
hasContentType()
Checks whether the 'contentType' field has been set.
|
boolean |
hasCreation()
Checks whether the 'creation' field has been set.
|
boolean |
hasData()
Checks whether the 'data' field has been set.
|
boolean |
hasHash()
Checks whether the 'hash' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasLanguage()
Checks whether the 'language' field has been set.
|
boolean |
hasSize()
Checks whether the 'size' field has been set.
|
boolean |
hasTitle()
Checks whether the 'title' field has been set.
|
boolean |
hasUrl()
Checks whether the 'url' field has been set.
|
Attachment.Builder |
setContentType(String value)
Sets the value of the 'contentType' field.
|
Attachment.Builder |
setCreation(String value)
Sets the value of the 'creation' field.
|
Attachment.Builder |
setData(String value)
Sets the value of the 'data' field.
|
Attachment.Builder |
setHash(String value)
Sets the value of the 'hash' field.
|
Attachment.Builder |
setId(String value)
Sets the value of the 'id' field.
|
Attachment.Builder |
setLanguage(String value)
Sets the value of the 'language' field.
|
Attachment.Builder |
setSize(Integer value)
Sets the value of the 'size' field.
|
Attachment.Builder |
setTitle(String value)
Sets the value of the 'title' field.
|
Attachment.Builder |
setUrl(String value)
Sets the value of the 'url' field.
|
public String getId()
public Attachment.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public Attachment.Builder clearId()
public String getContentType()
public Attachment.Builder setContentType(String value)
value - The value of 'contentType'.public boolean hasContentType()
public Attachment.Builder clearContentType()
public String getLanguage()
public Attachment.Builder setLanguage(String value)
value - The value of 'language'.public boolean hasLanguage()
public Attachment.Builder clearLanguage()
public String getData()
public Attachment.Builder setData(String value)
value - The value of 'data'.public boolean hasData()
public Attachment.Builder clearData()
public String getUrl()
public Attachment.Builder setUrl(String value)
value - The value of 'url'.public boolean hasUrl()
public Attachment.Builder clearUrl()
public Integer getSize()
public Attachment.Builder setSize(Integer value)
value - The value of 'size'.public boolean hasSize()
public Attachment.Builder clearSize()
public String getHash()
public Attachment.Builder setHash(String value)
value - The value of 'hash'.public boolean hasHash()
public Attachment.Builder clearHash()
public String getTitle()
public Attachment.Builder setTitle(String value)
value - The value of 'title'.public boolean hasTitle()
public Attachment.Builder clearTitle()
public String getCreation()
public Attachment.Builder setCreation(String value)
value - The value of 'creation'.public boolean hasCreation()
public Attachment.Builder clearCreation()
public Attachment build()
build in interface org.apache.avro.data.RecordBuilder<Attachment>Copyright © 2020. All rights reserved.