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