public static class ObjectChange.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ObjectChange> implements org.apache.avro.data.RecordBuilder<ObjectChange>
Modifier and Type | Method and Description |
---|---|
ObjectChange |
build() |
ObjectChange.Builder |
clearChangeTime()
Clears the value of the 'changeTime' field
|
ObjectChange.Builder |
clearChangeType()
Clears the value of the 'changeType' field
|
ObjectChange.Builder |
clearDataObject()
Clears the value of the 'dataObject' field
|
Long |
getChangeTime()
Gets the value of the 'changeTime' field
|
ObjectChangeTypes |
getChangeType()
Gets the value of the 'changeType' field
|
DataObject |
getDataObject()
Gets the value of the 'dataObject' field
|
boolean |
hasChangeTime()
Checks whether the 'changeTime' field has been set
|
boolean |
hasChangeType()
Checks whether the 'changeType' field has been set
|
boolean |
hasDataObject()
Checks whether the 'dataObject' field has been set
|
ObjectChange.Builder |
setChangeTime(long value)
Sets the value of the 'changeTime' field
|
ObjectChange.Builder |
setChangeType(ObjectChangeTypes value)
Sets the value of the 'changeType' field
|
ObjectChange.Builder |
setDataObject(DataObject value)
Sets the value of the 'dataObject' field
|
public ObjectChangeTypes getChangeType()
public ObjectChange.Builder setChangeType(ObjectChangeTypes value)
public boolean hasChangeType()
public ObjectChange.Builder clearChangeType()
public Long getChangeTime()
public ObjectChange.Builder setChangeTime(long value)
public boolean hasChangeTime()
public ObjectChange.Builder clearChangeTime()
public DataObject getDataObject()
public ObjectChange.Builder setDataObject(DataObject value)
public boolean hasDataObject()
public ObjectChange.Builder clearDataObject()
public ObjectChange build()
build
in interface org.apache.avro.data.RecordBuilder<ObjectChange>
Copyright © 2023 Petroware AS - https://petroware.no