Interface RollUpDataPointsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RollUpDataPointsRequest, RollUpDataPointsRequest.Builder

@Generated public interface RollUpDataPointsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. Parent data type of the Data Point collection.
      
       Format: `users/{user}/dataTypes/{data_type}`, e.g.:
      
       - `users/me/dataTypes/steps`
       - `users/me/dataTypes/distance`
      
       For a list of the supported data types see the [RollupDataPoint
       value][google.devicesandservices.health.v4.RollupDataPoint]
       union field.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Parent data type of the Data Point collection.
      
       Format: `users/{user}/dataTypes/{data_type}`, e.g.:
      
       - `users/me/dataTypes/steps`
       - `users/me/dataTypes/distance`
      
       For a list of the supported data types see the [RollupDataPoint
       value][google.devicesandservices.health.v4.RollupDataPoint]
       union field.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasRange

      boolean hasRange()
       Required. Closed-open range of data points that will be rolled up.
       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.type.Interval range = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the range field is set.
    • getRange

      Interval getRange()
       Required. Closed-open range of data points that will be rolled up.
       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.type.Interval range = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The range.
    • getRangeOrBuilder

      IntervalOrBuilder getRangeOrBuilder()
       Required. Closed-open range of data points that will be rolled up.
       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.type.Interval range = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasWindowSize

      boolean hasWindowSize()
       Required. The size of the time window to group data points into before
       applying the aggregation functions.
       
      .google.protobuf.Duration window_size = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the windowSize field is set.
    • getWindowSize

      com.google.protobuf.Duration getWindowSize()
       Required. The size of the time window to group data points into before
       applying the aggregation functions.
       
      .google.protobuf.Duration window_size = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The windowSize.
    • getWindowSizeOrBuilder

      com.google.protobuf.DurationOrBuilder getWindowSizeOrBuilder()
       Required. The size of the time window to group data points into before
       applying the aggregation functions.
       
      .google.protobuf.Duration window_size = 3 [(.google.api.field_behavior) = REQUIRED];
    • getPageSize

      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:
      The pageSize.
    • getPageToken

      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:
      The pageToken.
    • getPageTokenBytes

      com.google.protobuf.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:
      The bytes for pageToken.
    • getDataSourceFamily

      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 value
       - `users/me/dataSourceFamilies/google-wearables` - tracker devices
       - `users/me/dataSourceFamilies/google-sources` - Google first party
       sources
       
      string data_source_family = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The dataSourceFamily.
    • getDataSourceFamilyBytes

      com.google.protobuf.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 value
       - `users/me/dataSourceFamilies/google-wearables` - tracker devices
       - `users/me/dataSourceFamilies/google-sources` - Google first party
       sources
       
      string data_source_family = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for dataSourceFamily.