Class DataPointsServiceGrpc.DataPointsServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DataPointsServiceGrpc.DataPointsServiceFutureStub>
com.google.devicesandservices.health.v4.DataPointsServiceGrpc.DataPointsServiceFutureStub
Enclosing class:
DataPointsServiceGrpc

public static final class DataPointsServiceGrpc.DataPointsServiceFutureStub extends io.grpc.stub.AbstractFutureStub<DataPointsServiceGrpc.DataPointsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DataPointsService.
 Data Points Service exposing the user's health and fitness measured and
 derived data.
 
  • Method Details

    • build

      protected DataPointsServiceGrpc.DataPointsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DataPointsServiceGrpc.DataPointsServiceFutureStub>
    • getDataPoint

      public com.google.common.util.concurrent.ListenableFuture<DataPoint> getDataPoint(GetDataPointRequest request)
       Get a single identifyable data point.
       
    • listDataPoints

      public com.google.common.util.concurrent.ListenableFuture<ListDataPointsResponse> listDataPoints(ListDataPointsRequest request)
       Query user health and fitness data points.
       
    • createDataPoint

      public com.google.common.util.concurrent.ListenableFuture<Operation> createDataPoint(CreateDataPointRequest request)
       Creates a single identifiable data point.
       
    • updateDataPoint

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateDataPoint(UpdateDataPointRequest request)
       Updates a single identifiable data point. If a data point with the
       specified `name` is not found, the request will fail.
       
    • batchDeleteDataPoints

      public com.google.common.util.concurrent.ListenableFuture<Operation> batchDeleteDataPoints(BatchDeleteDataPointsRequest request)
       Delete a batch of identifyable data points.
       
    • reconcileDataPoints

      public com.google.common.util.concurrent.ListenableFuture<ReconcileDataPointsResponse> reconcileDataPoints(ReconcileDataPointsRequest request)
       Reconcile data points from multiple data sources into a single data stream.
       
    • rollUpDataPoints

      public com.google.common.util.concurrent.ListenableFuture<RollUpDataPointsResponse> rollUpDataPoints(RollUpDataPointsRequest request)
       Roll up data points over physical time intervals for supported data types.
       
    • dailyRollUpDataPoints

      public com.google.common.util.concurrent.ListenableFuture<DailyRollUpDataPointsResponse> dailyRollUpDataPoints(DailyRollUpDataPointsRequest request)
       Roll up data points over civil time intervals for supported data types.
       
    • exportExerciseTcx

      public com.google.common.util.concurrent.ListenableFuture<ExportExerciseTcxResponse> exportExerciseTcx(ExportExerciseTcxRequest request)
       Exports exercise data in TCX format.
       Note: While the Authorization section below states that any one of the
       listed scopes is accepted, this specific method requires the user to
       provide both one of the `activity_and_fitness` scopes (`normal` or
       `readonly`) AND one of the `location` scopes (`normal` or `readonly`) in
       their access token to succeed.