public final class BucketOptions
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 |
|---|
BucketOptions() |
| Modifier and Type | Method and Description |
|---|---|
BucketOptions |
clone() |
Explicit |
getExplicitBuckets()
The explicit buckets.
|
Exponential |
getExponentialBuckets()
The exponential buckets.
|
Linear |
getLinearBuckets()
The linear bucket.
|
BucketOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
BucketOptions |
setExplicitBuckets(Explicit explicitBuckets)
The explicit buckets.
|
BucketOptions |
setExponentialBuckets(Exponential exponentialBuckets)
The exponential buckets.
|
BucketOptions |
setLinearBuckets(Linear linearBuckets)
The linear bucket.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Explicit getExplicitBuckets()
null for nonepublic BucketOptions setExplicitBuckets(Explicit explicitBuckets)
explicitBuckets - explicitBuckets or null for nonepublic Exponential getExponentialBuckets()
null for nonepublic BucketOptions setExponentialBuckets(Exponential exponentialBuckets)
exponentialBuckets - exponentialBuckets or null for nonepublic Linear getLinearBuckets()
null for nonepublic BucketOptions setLinearBuckets(Linear linearBuckets)
linearBuckets - linearBuckets or null for nonepublic BucketOptions set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic BucketOptions clone()
clone in class com.google.api.client.json.GenericJson