public static class ChannelDataChange.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ChannelDataChange> implements org.apache.avro.data.RecordBuilder<ChannelDataChange>
Modifier and Type | Method and Description |
---|---|
ChannelDataChange |
build() |
ChannelDataChange.Builder |
clearChannelId()
Clears the value of the 'channelId' field
|
ChannelDataChange.Builder |
clearData()
Clears the value of the 'data' field
|
ChannelDataChange.Builder |
clearEndIndex()
Clears the value of the 'endIndex' field
|
ChannelDataChange.Builder |
clearStartIndex()
Clears the value of the 'startIndex' field
|
Long |
getChannelId()
Gets the value of the 'channelId' field
|
List<DataItem> |
getData()
Gets the value of the 'data' field
|
Long |
getEndIndex()
Gets the value of the 'endIndex' field
|
Long |
getStartIndex()
Gets the value of the 'startIndex' field
|
boolean |
hasChannelId()
Checks whether the 'channelId' field has been set
|
boolean |
hasData()
Checks whether the 'data' field has been set
|
boolean |
hasEndIndex()
Checks whether the 'endIndex' field has been set
|
boolean |
hasStartIndex()
Checks whether the 'startIndex' field has been set
|
ChannelDataChange.Builder |
setChannelId(long value)
Sets the value of the 'channelId' field
|
ChannelDataChange.Builder |
setData(List<DataItem> value)
Sets the value of the 'data' field
|
ChannelDataChange.Builder |
setEndIndex(long value)
Sets the value of the 'endIndex' field
|
ChannelDataChange.Builder |
setStartIndex(long value)
Sets the value of the 'startIndex' field
|
public Long getChannelId()
public ChannelDataChange.Builder setChannelId(long value)
public boolean hasChannelId()
public ChannelDataChange.Builder clearChannelId()
public Long getStartIndex()
public ChannelDataChange.Builder setStartIndex(long value)
public boolean hasStartIndex()
public ChannelDataChange.Builder clearStartIndex()
public Long getEndIndex()
public ChannelDataChange.Builder setEndIndex(long value)
public boolean hasEndIndex()
public ChannelDataChange.Builder clearEndIndex()
public ChannelDataChange.Builder setData(List<DataItem> value)
public boolean hasData()
public ChannelDataChange.Builder clearData()
public ChannelDataChange build()
build
in interface org.apache.avro.data.RecordBuilder<ChannelDataChange>
Copyright © 2023 Petroware AS - https://petroware.no