public class ChannelStatusChange
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ChannelStatusChange.Builder
RecordBuilder for ChannelStatusChange instances.
|
Modifier and Type | Field and Description |
---|---|
long |
channelId
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
ChannelStatuses |
status
Deprecated.
|
Constructor and Description |
---|
ChannelStatusChange()
Default constructor.
|
ChannelStatusChange(Long channelId,
ChannelStatuses status)
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() |
org.apache.avro.Schema |
getSchema() |
ChannelStatuses |
getStatus()
Gets the value of the 'status' field.
|
static ChannelStatusChange.Builder |
newBuilder()
Creates a new ChannelStatusChange RecordBuilder
|
static ChannelStatusChange.Builder |
newBuilder(ChannelStatusChange.Builder other)
Creates a new ChannelStatusChange RecordBuilder by copying an existing Builder
|
static ChannelStatusChange.Builder |
newBuilder(ChannelStatusChange other)
Creates a new ChannelStatusChange RecordBuilder by copying an existing ChannelStatusChange instance
|
void |
put(int field$,
Object value$) |
void |
setChannelId(Long value)
Sets the value of the 'channelId' field.
|
void |
setStatus(ChannelStatuses value)
Sets the value of the 'status' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public long channelId
@Deprecated public ChannelStatuses status
public ChannelStatusChange()
newBuilder()
.public ChannelStatusChange(Long channelId, ChannelStatuses status)
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 ChannelStatuses getStatus()
public void setStatus(ChannelStatuses value)
value
- the value to set.public static ChannelStatusChange.Builder newBuilder()
public static ChannelStatusChange.Builder newBuilder(ChannelStatusChange.Builder other)
public static ChannelStatusChange.Builder newBuilder(ChannelStatusChange other)
Copyright © 2023 Petroware AS - https://petroware.no