public static class DataObject.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DataObject> implements org.apache.avro.data.RecordBuilder<DataObject>
Modifier and Type | Method and Description |
---|---|
DataObject |
build() |
DataObject.Builder |
clearContentEncoding()
Clears the value of the 'contentEncoding' field
|
DataObject.Builder |
clearData()
Clears the value of the 'data' field
|
DataObject.Builder |
clearResource()
Clears the value of the 'resource' field
|
CharSequence |
getContentEncoding()
Gets the value of the 'contentEncoding' field
|
ByteBuffer |
getData()
Gets the value of the 'data' field
|
Resource |
getResource()
Gets the value of the 'resource' field
|
boolean |
hasContentEncoding()
Checks whether the 'contentEncoding' field has been set
|
boolean |
hasData()
Checks whether the 'data' field has been set
|
boolean |
hasResource()
Checks whether the 'resource' field has been set
|
DataObject.Builder |
setContentEncoding(CharSequence value)
Sets the value of the 'contentEncoding' field
|
DataObject.Builder |
setData(ByteBuffer value)
Sets the value of the 'data' field
|
DataObject.Builder |
setResource(Resource value)
Sets the value of the 'resource' field
|
public Resource getResource()
public DataObject.Builder setResource(Resource value)
public boolean hasResource()
public DataObject.Builder clearResource()
public CharSequence getContentEncoding()
public DataObject.Builder setContentEncoding(CharSequence value)
public boolean hasContentEncoding()
public DataObject.Builder clearContentEncoding()
public ByteBuffer getData()
public DataObject.Builder setData(ByteBuffer value)
public boolean hasData()
public DataObject.Builder clearData()
public DataObject build()
build
in interface org.apache.avro.data.RecordBuilder<DataObject>
Copyright © 2023 Petroware AS - https://petroware.no