public final class BucketByActivity 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 Fitness API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BucketByActivity() |
| Modifier and Type | Method and Description |
|---|---|
BucketByActivity |
clone() |
String |
getActivityDataSourceId()
The default activity stream will be used if a specific activityDataSourceId is not specified.
|
Long |
getMinDurationMillis()
Specifies that only activity segments of duration longer than minDurationMillis are considered
and used as a container for aggregated data.
|
BucketByActivity |
set(String fieldName,
Object value) |
BucketByActivity |
setActivityDataSourceId(String activityDataSourceId)
The default activity stream will be used if a specific activityDataSourceId is not specified.
|
BucketByActivity |
setMinDurationMillis(Long minDurationMillis)
Specifies that only activity segments of duration longer than minDurationMillis are considered
and used as a container for aggregated data.
|
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 String getActivityDataSourceId()
null for nonepublic BucketByActivity setActivityDataSourceId(String activityDataSourceId)
activityDataSourceId - activityDataSourceId or null for nonepublic Long getMinDurationMillis()
null for nonepublic BucketByActivity setMinDurationMillis(Long minDurationMillis)
minDurationMillis - minDurationMillis or null for nonepublic BucketByActivity set(String fieldName, Object value)
set in class GenericJsonpublic BucketByActivity clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.