public final class CounterOptions
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 Google Cloud Key Management Service (KMS) 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 |
|---|
CounterOptions() |
| Modifier and Type | Method and Description |
|---|---|
CounterOptions |
clone() |
java.lang.String |
getField()
The field value to attribute.
|
java.lang.String |
getMetric()
The metric to update.
|
CounterOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
CounterOptions |
setField(java.lang.String field)
The field value to attribute.
|
CounterOptions |
setMetric(java.lang.String metric)
The metric to update.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getField()
null for nonepublic CounterOptions setField(java.lang.String field)
field - field or null for nonepublic java.lang.String getMetric()
null for nonepublic CounterOptions setMetric(java.lang.String metric)
metric - metric or null for nonepublic CounterOptions set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CounterOptions clone()
clone in class com.google.api.client.json.GenericJson