|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avro.specific.SpecificRecordBase
org.robokind.avrogen.vision.ImageRecord
public class ImageRecord
| Nested Class Summary | |
|---|---|
static class |
ImageRecord.Builder
RecordBuilder for ImageRecord instances. |
| Field Summary | |
|---|---|
ByteBuffer |
data
Deprecated. |
int |
height
Deprecated. |
long |
imageId
Deprecated. |
String |
imageSourceId
Deprecated. |
long |
imageTimestampMillisecUTC
Deprecated. |
int |
nChannels
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
int |
width
Deprecated. |
int |
widthStep
Deprecated. |
| Constructor Summary | |
|---|---|
ImageRecord()
|
|
| Method Summary | |
|---|---|
Object |
get(int field$)
|
ByteBuffer |
getData()
Gets the value of the 'data' field. |
Integer |
getHeight()
Gets the value of the 'height' field. |
Long |
getImageId()
Gets the value of the 'imageId' field. |
String |
getImageSourceId()
Gets the value of the 'imageSourceId' field. |
Long |
getImageTimestampMillisecUTC()
Gets the value of the 'imageTimestampMillisecUTC' field. |
Integer |
getNChannels()
Gets the value of the 'nChannels' field. |
org.apache.avro.Schema |
getSchema()
|
Integer |
getWidth()
Gets the value of the 'width' field. |
Integer |
getWidthStep()
Gets the value of the 'widthStep' field. |
static ImageRecord.Builder |
newBuilder()
Creates a new ImageRecord RecordBuilder |
static ImageRecord.Builder |
newBuilder(ImageRecord.Builder other)
Creates a new ImageRecord RecordBuilder by copying an existing Builder |
static ImageRecord.Builder |
newBuilder(ImageRecord other)
Creates a new ImageRecord RecordBuilder by copying an existing ImageRecord instance |
void |
put(int field$,
Object value$)
|
void |
setData(ByteBuffer value)
Sets the value of the 'data' field. |
void |
setHeight(Integer value)
Sets the value of the 'height' field. |
void |
setImageId(Long value)
Sets the value of the 'imageId' field. |
void |
setImageSourceId(String value)
Sets the value of the 'imageSourceId' field. |
void |
setImageTimestampMillisecUTC(Long value)
Sets the value of the 'imageTimestampMillisecUTC' field. |
void |
setNChannels(Integer value)
Sets the value of the 'nChannels' field. |
void |
setWidth(Integer value)
Sets the value of the 'width' field. |
void |
setWidthStep(Integer value)
Sets the value of the 'widthStep' field. |
| Methods inherited from class org.apache.avro.specific.SpecificRecordBase |
|---|
compareTo, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String imageSourceId
@Deprecated public long imageId
@Deprecated public long imageTimestampMillisecUTC
@Deprecated public int width
@Deprecated public int height
@Deprecated public int nChannels
@Deprecated public int widthStep
@Deprecated public ByteBuffer data
| Constructor Detail |
|---|
public ImageRecord()
| Method Detail |
|---|
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getImageSourceId()
getImageSourceId in interface ImageEventpublic void setImageSourceId(String value)
value - the value to set.public Long getImageId()
getImageId in interface ImageEventpublic void setImageId(Long value)
value - the value to set.public Long getImageTimestampMillisecUTC()
getImageTimestampMillisecUTC in interface ImageEventpublic void setImageTimestampMillisecUTC(Long value)
value - the value to set.public Integer getWidth()
getWidth in interface ImageEventpublic void setWidth(Integer value)
value - the value to set.public Integer getHeight()
getHeight in interface ImageEventpublic void setHeight(Integer value)
value - the value to set.public Integer getNChannels()
getNChannels in interface ImageEventpublic void setNChannels(Integer value)
value - the value to set.public Integer getWidthStep()
getWidthStep in interface ImageEventpublic void setWidthStep(Integer value)
value - the value to set.public ByteBuffer getData()
getData in interface ImageEventpublic void setData(ByteBuffer value)
value - the value to set.public static ImageRecord.Builder newBuilder()
public static ImageRecord.Builder newBuilder(ImageRecord.Builder other)
public static ImageRecord.Builder newBuilder(ImageRecord other)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||