public final class Linear
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 Stackdriver Monitoring 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 |
|---|
Linear() |
| Modifier and Type | Method and Description |
|---|---|
Linear |
clone() |
java.lang.Integer |
getNumFiniteBuckets()
Must be greater than 0.
|
java.lang.Double |
getOffset()
Lower bound of the first bucket.
|
java.lang.Double |
getWidth()
Must be greater than 0.
|
Linear |
set(java.lang.String fieldName,
java.lang.Object value) |
Linear |
setNumFiniteBuckets(java.lang.Integer numFiniteBuckets)
Must be greater than 0.
|
Linear |
setOffset(java.lang.Double offset)
Lower bound of the first bucket.
|
Linear |
setWidth(java.lang.Double width)
Must be greater than 0.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getNumFiniteBuckets()
null for nonepublic Linear setNumFiniteBuckets(java.lang.Integer numFiniteBuckets)
numFiniteBuckets - numFiniteBuckets or null for nonepublic java.lang.Double getOffset()
null for nonepublic Linear setOffset(java.lang.Double offset)
offset - offset or null for nonepublic java.lang.Double getWidth()
null for nonepublic Linear setWidth(java.lang.Double width)
width - width or null for nonepublic Linear set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Linear clone()
clone in class com.google.api.client.json.GenericJson