public class ImageRegionRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, ImageRegion
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageRegionRecord.Builder
RecordBuilder for ImageRegionRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
int |
height
Deprecated.
|
int |
regionId
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
int |
width
Deprecated.
|
int |
x
Deprecated.
|
int |
y
Deprecated.
|
| Constructor and Description |
|---|
ImageRegionRecord() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
Integer |
getHeight()
Gets the value of the 'height' field.
|
Integer |
getRegionId()
Gets the value of the 'regionId' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getWidth()
Gets the value of the 'width' field.
|
Integer |
getX()
Gets the value of the 'x' field.
|
Integer |
getY()
Gets the value of the 'y' field.
|
static ImageRegionRecord.Builder |
newBuilder()
Creates a new ImageRegionRecord RecordBuilder
|
static ImageRegionRecord.Builder |
newBuilder(ImageRegionRecord.Builder other)
Creates a new ImageRegionRecord RecordBuilder by copying an existing Builder
|
static ImageRegionRecord.Builder |
newBuilder(ImageRegionRecord other)
Creates a new ImageRegionRecord RecordBuilder by copying an existing ImageRegionRecord instance
|
void |
put(int field$,
Object value$) |
void |
setHeight(Integer value)
Sets the value of the 'height' field.
|
void |
setRegionId(Integer value)
Sets the value of the 'regionId' field.
|
void |
setWidth(Integer value)
Sets the value of the 'width' field.
|
void |
setX(Integer value)
Sets the value of the 'x' field.
|
void |
setY(Integer value)
Sets the value of the 'y' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int regionId
@Deprecated public int x
@Deprecated public int y
@Deprecated public int width
@Deprecated public int height
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.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic Integer getRegionId()
getRegionId in interface ImageRegionpublic void setRegionId(Integer value)
value - the value to set.public Integer getX()
getX in interface ImageRegionpublic void setX(Integer value)
value - the value to set.public Integer getY()
getY in interface ImageRegionpublic void setY(Integer value)
value - the value to set.public Integer getWidth()
getWidth in interface ImageRegionpublic void setWidth(Integer value)
value - the value to set.public Integer getHeight()
getHeight in interface ImageRegionpublic void setHeight(Integer value)
value - the value to set.public static ImageRegionRecord.Builder newBuilder()
public static ImageRegionRecord.Builder newBuilder(ImageRegionRecord.Builder other)
public static ImageRegionRecord.Builder newBuilder(ImageRegionRecord other)
Copyright © 2011-2016. All Rights Reserved.