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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Operation>Delete a batch of identifyable data points.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>createDataPoint(CreateDataPointRequest request) Creates a single identifiable data point.com.google.common.util.concurrent.ListenableFuture<DailyRollUpDataPointsResponse>Roll up data points over civil time intervals for supported data types.com.google.common.util.concurrent.ListenableFuture<ExportExerciseTcxResponse>Exports exercise data in TCX format.com.google.common.util.concurrent.ListenableFuture<DataPoint>getDataPoint(GetDataPointRequest request) Get a single identifyable data point.com.google.common.util.concurrent.ListenableFuture<ListDataPointsResponse>listDataPoints(ListDataPointsRequest request) Query user health and fitness data points.com.google.common.util.concurrent.ListenableFuture<ReconcileDataPointsResponse>Reconcile data points from multiple data sources into a single data stream.com.google.common.util.concurrent.ListenableFuture<RollUpDataPointsResponse>rollUpDataPoints(RollUpDataPointsRequest request) Roll up data points over physical time intervals for supported data types.com.google.common.util.concurrent.ListenableFuture<Operation>updateDataPoint(UpdateDataPointRequest request) Updates a single identifiable data point.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataPointsServiceGrpc.DataPointsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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.
-