public final class Vertex
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Vision API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Vertex() |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
clone() |
java.lang.Integer |
getX()
X coordinate.
|
java.lang.Integer |
getY()
Y coordinate.
|
Vertex |
set(java.lang.String fieldName,
java.lang.Object value) |
Vertex |
setX(java.lang.Integer x)
X coordinate.
|
Vertex |
setY(java.lang.Integer y)
Y coordinate.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getX()
null for nonepublic Vertex setX(java.lang.Integer x)
x - x or null for nonepublic java.lang.Integer getY()
null for nonepublic Vertex setY(java.lang.Integer y)
y - y or null for nonepublic Vertex set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Vertex clone()
clone in class com.google.api.client.json.GenericJson