public final class CollectdPayloadError
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 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CollectdPayloadError() |
| Modifier and Type | Method and Description |
|---|---|
CollectdPayloadError |
clone() |
Status |
getError()
Records the error status for the payload.
|
Integer |
getIndex()
The zero-based index in CreateCollectdTimeSeriesRequest.collectd_payloads.
|
List<CollectdValueError> |
getValueErrors()
Records the error status for values that were not written due to an error.Failed payloads for
which nothing is written will not include partial value errors.
|
CollectdPayloadError |
set(String fieldName,
Object value) |
CollectdPayloadError |
setError(Status error)
Records the error status for the payload.
|
CollectdPayloadError |
setIndex(Integer index)
The zero-based index in CreateCollectdTimeSeriesRequest.collectd_payloads.
|
CollectdPayloadError |
setValueErrors(List<CollectdValueError> valueErrors)
Records the error status for values that were not written due to an error.Failed payloads for
which nothing is written will not include partial value errors.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Status getError()
null for nonepublic CollectdPayloadError setError(Status error)
error - error or null for nonepublic Integer getIndex()
null for nonepublic CollectdPayloadError setIndex(Integer index)
index - index or null for nonepublic List<CollectdValueError> getValueErrors()
null for nonepublic CollectdPayloadError setValueErrors(List<CollectdValueError> valueErrors)
valueErrors - valueErrors or null for nonepublic CollectdPayloadError set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CollectdPayloadError clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.