public final class LogConfigCounterOptions 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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LogConfigCounterOptions() |
Modifier and Type | Method and Description |
---|---|
LogConfigCounterOptions |
clone() |
List<LogConfigCounterOptionsCustomField> |
getCustomFields()
This is deprecated and has no effect.
|
String |
getField()
This is deprecated and has no effect.
|
String |
getMetric()
This is deprecated and has no effect.
|
LogConfigCounterOptions |
set(String fieldName,
Object value) |
LogConfigCounterOptions |
setCustomFields(List<LogConfigCounterOptionsCustomField> customFields)
This is deprecated and has no effect.
|
LogConfigCounterOptions |
setField(String field)
This is deprecated and has no effect.
|
LogConfigCounterOptions |
setMetric(String metric)
This is deprecated and has no effect.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<LogConfigCounterOptionsCustomField> getCustomFields()
null
for nonepublic LogConfigCounterOptions setCustomFields(List<LogConfigCounterOptionsCustomField> customFields)
customFields
- customFields or null
for nonepublic String getField()
null
for nonepublic LogConfigCounterOptions setField(String field)
field
- field or null
for nonepublic String getMetric()
null
for nonepublic LogConfigCounterOptions setMetric(String metric)
metric
- metric or null
for nonepublic LogConfigCounterOptions set(String fieldName, Object value)
set
in class GenericJson
public LogConfigCounterOptions clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.