public final class MetricsValue
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 Apps Script 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 |
|---|
MetricsValue() |
| Modifier and Type | Method and Description |
|---|---|
MetricsValue |
clone() |
java.lang.String |
getEndTime()
Required field indicating the end time of the interval.
|
java.lang.String |
getStartTime()
Required field indicating the start time of the interval.
|
java.math.BigInteger |
getValue()
Indicates the number of executions counted.
|
MetricsValue |
set(java.lang.String fieldName,
java.lang.Object value) |
MetricsValue |
setEndTime(java.lang.String endTime)
Required field indicating the end time of the interval.
|
MetricsValue |
setStartTime(java.lang.String startTime)
Required field indicating the start time of the interval.
|
MetricsValue |
setValue(java.math.BigInteger value)
Indicates the number of executions counted.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getEndTime()
null for nonepublic MetricsValue setEndTime(java.lang.String endTime)
endTime - endTime or null for nonepublic java.lang.String getStartTime()
null for nonepublic MetricsValue setStartTime(java.lang.String startTime)
startTime - startTime or null for nonepublic java.math.BigInteger getValue()
null for nonepublic MetricsValue setValue(java.math.BigInteger value)
value - value or null for nonepublic MetricsValue set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricsValue clone()
clone in class com.google.api.client.json.GenericJson