public interface DailyRollUpDataPointsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDataSourceFamily()
public abstract String getDataSourceFamily()Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dataSourceFamily. |
getDataSourceFamilyBytes()
public abstract ByteString getDataSourceFamilyBytes()Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataSourceFamily. |
getPageSize()
public abstract int getPageSize()Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public abstract String getPageToken() Optional. The next_page_token from a previous request, if any.
All other request fields need to be the same as in the initial request
when the page token is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public abstract ByteString getPageTokenBytes() Optional. The next_page_token from a previous request, if any.
All other request fields need to be the same as in the initial request
when the page token is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public abstract String getParent()Required. Parent data type of the Data Point collection.
Format: users/{user}/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/distanceFor a list of the supported data types see the DailyRollupDataPoint value union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. Parent data type of the Data Point collection.
Format: users/{user}/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/distanceFor a list of the supported data types see the DailyRollupDataPoint value union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRange()
public abstract CivilTimeInterval getRange() Required. Closed-open range of data points that will be rolled up.
The start time must be aligned with the aggregation window.
The maximum range for calories-in-heart-rate-zone, heart-rate,
active-minutes and total-calories is 14 days.
The maximum range for all other data types is 90 days.
.google.devicesandservices.health.v4.CivilTimeInterval range = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CivilTimeInterval |
The range. |
getRangeOrBuilder()
public abstract CivilTimeIntervalOrBuilder getRangeOrBuilder() Required. Closed-open range of data points that will be rolled up.
The start time must be aligned with the aggregation window.
The maximum range for calories-in-heart-rate-zone, heart-rate,
active-minutes and total-calories is 14 days.
The maximum range for all other data types is 90 days.
.google.devicesandservices.health.v4.CivilTimeInterval range = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CivilTimeIntervalOrBuilder |
|
getWindowSizeDays()
public abstract int getWindowSizeDays()Optional. Aggregation window size, in number of days. Defaults to 1 if not specified.
int32 window_size_days = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The windowSizeDays. |
hasRange()
public abstract boolean hasRange() Required. Closed-open range of data points that will be rolled up.
The start time must be aligned with the aggregation window.
The maximum range for calories-in-heart-rate-zone, heart-rate,
active-minutes and total-calories is 14 days.
The maximum range for all other data types is 90 days.
.google.devicesandservices.health.v4.CivilTimeInterval range = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the range field is set. |