public static class ObjectFragment.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ObjectFragment> implements org.apache.avro.data.RecordBuilder<ObjectFragment>
Modifier and Type | Method and Description |
---|---|
ObjectFragment |
build() |
ObjectFragment.Builder |
clearContentEncoding()
Clears the value of the 'contentEncoding' field
|
ObjectFragment.Builder |
clearContentType()
Clears the value of the 'contentType' field
|
ObjectFragment.Builder |
clearData()
Clears the value of the 'data' field
|
ObjectFragment.Builder |
clearUri()
Clears the value of the 'uri' field
|
CharSequence |
getContentEncoding()
Gets the value of the 'contentEncoding' field
|
CharSequence |
getContentType()
Gets the value of the 'contentType' field
|
ByteBuffer |
getData()
Gets the value of the 'data' field
|
CharSequence |
getUri()
Gets the value of the 'uri' field
|
boolean |
hasContentEncoding()
Checks whether the 'contentEncoding' field has been set
|
boolean |
hasContentType()
Checks whether the 'contentType' field has been set
|
boolean |
hasData()
Checks whether the 'data' field has been set
|
boolean |
hasUri()
Checks whether the 'uri' field has been set
|
ObjectFragment.Builder |
setContentEncoding(CharSequence value)
Sets the value of the 'contentEncoding' field
|
ObjectFragment.Builder |
setContentType(CharSequence value)
Sets the value of the 'contentType' field
|
ObjectFragment.Builder |
setData(ByteBuffer value)
Sets the value of the 'data' field
|
ObjectFragment.Builder |
setUri(CharSequence value)
Sets the value of the 'uri' field
|
public CharSequence getUri()
public ObjectFragment.Builder setUri(CharSequence value)
public boolean hasUri()
public ObjectFragment.Builder clearUri()
public CharSequence getContentType()
public ObjectFragment.Builder setContentType(CharSequence value)
public boolean hasContentType()
public ObjectFragment.Builder clearContentType()
public CharSequence getContentEncoding()
public ObjectFragment.Builder setContentEncoding(CharSequence value)
public boolean hasContentEncoding()
public ObjectFragment.Builder clearContentEncoding()
public ByteBuffer getData()
public ObjectFragment.Builder setData(ByteBuffer value)
public boolean hasData()
public ObjectFragment.Builder clearData()
public ObjectFragment build()
build
in interface org.apache.avro.data.RecordBuilder<ObjectFragment>
Copyright © 2023 Petroware AS - https://petroware.no