public static final class Subscription.Plan.CommitmentInterval extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CommitmentInterval() |
| Modifier and Type | Method and Description |
|---|---|
Subscription.Plan.CommitmentInterval |
clone() |
Long |
getEndTime()
An annual commitment plan's interval's `endTime` in milliseconds using the UNIX Epoch format.
|
Long |
getStartTime()
An annual commitment plan's interval's `startTime` in milliseconds using UNIX Epoch format.
|
Subscription.Plan.CommitmentInterval |
set(String fieldName,
Object value) |
Subscription.Plan.CommitmentInterval |
setEndTime(Long endTime)
An annual commitment plan's interval's `endTime` in milliseconds using the UNIX Epoch format.
|
Subscription.Plan.CommitmentInterval |
setStartTime(Long startTime)
An annual commitment plan's interval's `startTime` in milliseconds using UNIX Epoch format.
|
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 Long getEndTime()
null for nonepublic Subscription.Plan.CommitmentInterval setEndTime(Long endTime)
endTime - endTime or null for nonepublic Long getStartTime()
null for nonepublic Subscription.Plan.CommitmentInterval setStartTime(Long startTime)
startTime - startTime or null for nonepublic Subscription.Plan.CommitmentInterval set(String fieldName, Object value)
set in class GenericJsonpublic Subscription.Plan.CommitmentInterval clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.