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