public final class RegionProto extends 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 Tool Results API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RegionProto() |
| Modifier and Type | Method and Description |
|---|---|
RegionProto |
clone() |
Integer |
getHeightPx()
The height, in pixels.
|
Integer |
getLeftPx()
The left side of the rectangle, in pixels.
|
Integer |
getTopPx()
The top of the rectangle, in pixels.
|
Integer |
getWidthPx()
The width, in pixels.
|
RegionProto |
set(String fieldName,
Object value) |
RegionProto |
setHeightPx(Integer heightPx)
The height, in pixels.
|
RegionProto |
setLeftPx(Integer leftPx)
The left side of the rectangle, in pixels.
|
RegionProto |
setTopPx(Integer topPx)
The top of the rectangle, in pixels.
|
RegionProto |
setWidthPx(Integer widthPx)
The width, in pixels.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getHeightPx()
null for nonepublic RegionProto setHeightPx(Integer heightPx)
heightPx - heightPx or null for nonepublic Integer getLeftPx()
null for nonepublic RegionProto setLeftPx(Integer leftPx)
leftPx - leftPx or null for nonepublic Integer getTopPx()
null for nonepublic RegionProto setTopPx(Integer topPx)
topPx - topPx or null for nonepublic Integer getWidthPx()
null for nonepublic RegionProto setWidthPx(Integer widthPx)
widthPx - widthPx or null for nonepublic RegionProto set(String fieldName, Object value)
set in class GenericJsonpublic RegionProto clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.