Class DataPointsServiceGrpc.DataPointsServiceBlockingV2Stub

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

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

    • build

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

      public DataPoint getDataPoint(GetDataPointRequest request) throws io.grpc.StatusException
       Get a single identifyable data point.
       
      Throws:
      io.grpc.StatusException
    • listDataPoints

      public ListDataPointsResponse listDataPoints(ListDataPointsRequest request) throws io.grpc.StatusException
       Query user health and fitness data points.
       
      Throws:
      io.grpc.StatusException
    • createDataPoint

      public Operation createDataPoint(CreateDataPointRequest request) throws io.grpc.StatusException
       Creates a single identifiable data point.
       
      Throws:
      io.grpc.StatusException
    • updateDataPoint

      public Operation updateDataPoint(UpdateDataPointRequest request) throws io.grpc.StatusException
       Updates a single identifiable data point. If a data point with the
       specified `name` is not found, the request will fail.
       
      Throws:
      io.grpc.StatusException
    • batchDeleteDataPoints

      public Operation batchDeleteDataPoints(BatchDeleteDataPointsRequest request) throws io.grpc.StatusException
       Delete a batch of identifyable data points.
       
      Throws:
      io.grpc.StatusException
    • reconcileDataPoints

      public ReconcileDataPointsResponse reconcileDataPoints(ReconcileDataPointsRequest request) throws io.grpc.StatusException
       Reconcile data points from multiple data sources into a single data stream.
       
      Throws:
      io.grpc.StatusException
    • rollUpDataPoints

      public RollUpDataPointsResponse rollUpDataPoints(RollUpDataPointsRequest request) throws io.grpc.StatusException
       Roll up data points over physical time intervals for supported data types.
       
      Throws:
      io.grpc.StatusException
    • dailyRollUpDataPoints

      public DailyRollUpDataPointsResponse dailyRollUpDataPoints(DailyRollUpDataPointsRequest request) throws io.grpc.StatusException
       Roll up data points over civil time intervals for supported data types.
       
      Throws:
      io.grpc.StatusException
    • exportExerciseTcx

      public ExportExerciseTcxResponse exportExerciseTcx(ExportExerciseTcxRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException