public class ChannelStreamingInfo
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ChannelStreamingInfo.Builder
RecordBuilder for ChannelStreamingInfo instances.
|
Modifier and Type | Field and Description |
---|---|
long |
channelId
Deprecated.
|
boolean |
receiveChangeNotification
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
StreamingStartIndex |
startIndex
Deprecated.
|
Constructor and Description |
---|
ChannelStreamingInfo()
Default constructor.
|
ChannelStreamingInfo(Long channelId,
StreamingStartIndex startIndex,
Boolean receiveChangeNotification)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
Long |
getChannelId()
Gets the value of the 'channelId' field.
|
static org.apache.avro.Schema |
getClassSchema() |
Boolean |
getReceiveChangeNotification()
Gets the value of the 'receiveChangeNotification' field.
|
org.apache.avro.Schema |
getSchema() |
StreamingStartIndex |
getStartIndex()
Gets the value of the 'startIndex' field.
|
static ChannelStreamingInfo.Builder |
newBuilder()
Creates a new ChannelStreamingInfo RecordBuilder
|
static ChannelStreamingInfo.Builder |
newBuilder(ChannelStreamingInfo.Builder other)
Creates a new ChannelStreamingInfo RecordBuilder by copying an existing Builder
|
static ChannelStreamingInfo.Builder |
newBuilder(ChannelStreamingInfo other)
Creates a new ChannelStreamingInfo RecordBuilder by copying an existing ChannelStreamingInfo instance
|
void |
put(int field$,
Object value$) |
void |
setChannelId(Long value)
Sets the value of the 'channelId' field.
|
void |
setReceiveChangeNotification(Boolean value)
Sets the value of the 'receiveChangeNotification' field.
|
void |
setStartIndex(StreamingStartIndex value)
Sets the value of the 'startIndex' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public long channelId
@Deprecated public StreamingStartIndex startIndex
@Deprecated public boolean receiveChangeNotification
public ChannelStreamingInfo()
newBuilder()
.public ChannelStreamingInfo(Long channelId, StreamingStartIndex startIndex, Boolean receiveChangeNotification)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public Long getChannelId()
public void setChannelId(Long value)
value
- the value to set.public StreamingStartIndex getStartIndex()
public void setStartIndex(StreamingStartIndex value)
value
- the value to set.public Boolean getReceiveChangeNotification()
public void setReceiveChangeNotification(Boolean value)
value
- the value to set.public static ChannelStreamingInfo.Builder newBuilder()
public static ChannelStreamingInfo.Builder newBuilder(ChannelStreamingInfo.Builder other)
public static ChannelStreamingInfo.Builder newBuilder(ChannelStreamingInfo other)
Copyright © 2023 Petroware AS - https://petroware.no