public final class AggregateRequest 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 |
|---|
AggregateRequest() |
| Modifier and Type | Method and Description |
|---|---|
AggregateRequest |
clone() |
List<AggregateBy> |
getAggregateBy()
The specification of data to be aggregated.
|
BucketByActivity |
getBucketByActivitySegment()
Specifies that data be aggregated each activity segment recorded for a user.
|
BucketByActivity |
getBucketByActivityType()
Specifies that data be aggregated by the type of activity being performed when the data was
recorded.
|
BucketBySession |
getBucketBySession()
Specifies that data be aggregated by user sessions.
|
BucketByTime |
getBucketByTime()
Specifies that data be aggregated by a single time interval.
|
Long |
getEndTimeMillis()
The end of a window of time.
|
List<String> |
getFilteredDataQualityStandard()
DO NOT POPULATE THIS FIELD.
|
Long |
getStartTimeMillis()
The start of a window of time.
|
AggregateRequest |
set(String fieldName,
Object value) |
AggregateRequest |
setAggregateBy(List<AggregateBy> aggregateBy)
The specification of data to be aggregated.
|
AggregateRequest |
setBucketByActivitySegment(BucketByActivity bucketByActivitySegment)
Specifies that data be aggregated each activity segment recorded for a user.
|
AggregateRequest |
setBucketByActivityType(BucketByActivity bucketByActivityType)
Specifies that data be aggregated by the type of activity being performed when the data was
recorded.
|
AggregateRequest |
setBucketBySession(BucketBySession bucketBySession)
Specifies that data be aggregated by user sessions.
|
AggregateRequest |
setBucketByTime(BucketByTime bucketByTime)
Specifies that data be aggregated by a single time interval.
|
AggregateRequest |
setEndTimeMillis(Long endTimeMillis)
The end of a window of time.
|
AggregateRequest |
setFilteredDataQualityStandard(List<String> filteredDataQualityStandard)
DO NOT POPULATE THIS FIELD.
|
AggregateRequest |
setStartTimeMillis(Long startTimeMillis)
The start of a window of time.
|
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 List<AggregateBy> getAggregateBy()
null for nonepublic AggregateRequest setAggregateBy(List<AggregateBy> aggregateBy)
aggregateBy - aggregateBy or null for nonepublic BucketByActivity getBucketByActivitySegment()
null for nonepublic AggregateRequest setBucketByActivitySegment(BucketByActivity bucketByActivitySegment)
bucketByActivitySegment - bucketByActivitySegment or null for nonepublic BucketByActivity getBucketByActivityType()
null for nonepublic AggregateRequest setBucketByActivityType(BucketByActivity bucketByActivityType)
bucketByActivityType - bucketByActivityType or null for nonepublic BucketBySession getBucketBySession()
null for nonepublic AggregateRequest setBucketBySession(BucketBySession bucketBySession)
bucketBySession - bucketBySession or null for nonepublic BucketByTime getBucketByTime()
null for nonepublic AggregateRequest setBucketByTime(BucketByTime bucketByTime)
bucketByTime - bucketByTime or null for nonepublic Long getEndTimeMillis()
null for nonepublic AggregateRequest setEndTimeMillis(Long endTimeMillis)
endTimeMillis - endTimeMillis or null for nonepublic List<String> getFilteredDataQualityStandard()
null for nonepublic AggregateRequest setFilteredDataQualityStandard(List<String> filteredDataQualityStandard)
filteredDataQualityStandard - filteredDataQualityStandard or null for nonepublic Long getStartTimeMillis()
null for nonepublic AggregateRequest setStartTimeMillis(Long startTimeMillis)
startTimeMillis - startTimeMillis or null for nonepublic AggregateRequest set(String fieldName, Object value)
set in class GenericJsonpublic AggregateRequest clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.