public final class XPSMetricEntry
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 Cloud Natural Language 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
XPSMetricEntry() |
Modifier and Type | Method and Description |
---|---|
XPSMetricEntry |
clone() |
String |
getArgentumMetricId()
For billing metrics that are using legacy sku's, set the legacy billing metric id here.
|
Double |
getDoubleValue()
A double value.
|
Long |
getInt64Value()
A signed 64-bit integer value.
|
String |
getMetricName()
The metric name defined in the service configuration.
|
List<XPSMetricEntryLabel> |
getSystemLabels()
Billing system labels for this (metric, value) pair.
|
XPSMetricEntry |
set(String fieldName,
Object value) |
XPSMetricEntry |
setArgentumMetricId(String argentumMetricId)
For billing metrics that are using legacy sku's, set the legacy billing metric id here.
|
XPSMetricEntry |
setDoubleValue(Double doubleValue)
A double value.
|
XPSMetricEntry |
setInt64Value(Long int64Value)
A signed 64-bit integer value.
|
XPSMetricEntry |
setMetricName(String metricName)
The metric name defined in the service configuration.
|
XPSMetricEntry |
setSystemLabels(List<XPSMetricEntryLabel> systemLabels)
Billing system labels for this (metric, value) pair.
|
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 String getArgentumMetricId()
null
for nonepublic XPSMetricEntry setArgentumMetricId(String argentumMetricId)
argentumMetricId
- argentumMetricId or null
for nonepublic Double getDoubleValue()
null
for nonepublic XPSMetricEntry setDoubleValue(Double doubleValue)
doubleValue
- doubleValue or null
for nonepublic Long getInt64Value()
null
for nonepublic XPSMetricEntry setInt64Value(Long int64Value)
int64Value
- int64Value or null
for nonepublic String getMetricName()
null
for nonepublic XPSMetricEntry setMetricName(String metricName)
metricName
- metricName or null
for nonepublic List<XPSMetricEntryLabel> getSystemLabels()
null
for nonepublic XPSMetricEntry setSystemLabels(List<XPSMetricEntryLabel> systemLabels)
systemLabels
- systemLabels or null
for nonepublic XPSMetricEntry set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSMetricEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.