Class DataPointsServiceGrpc.DataPointsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DataPointsServiceGrpc.DataPointsServiceStub>
com.google.devicesandservices.health.v4.DataPointsServiceGrpc.DataPointsServiceStub
- Enclosing class:
- DataPointsServiceGrpc
public static final class DataPointsServiceGrpc.DataPointsServiceStub
extends io.grpc.stub.AbstractAsyncStub<DataPointsServiceGrpc.DataPointsServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionvoidbatchDeleteDataPoints(BatchDeleteDataPointsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Delete a batch of identifyable data points.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateDataPoint(CreateDataPointRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a single identifiable data point.voiddailyRollUpDataPoints(DailyRollUpDataPointsRequest request, io.grpc.stub.StreamObserver<DailyRollUpDataPointsResponse> responseObserver) Roll up data points over civil time intervals for supported data types.voidexportExerciseTcx(ExportExerciseTcxRequest request, io.grpc.stub.StreamObserver<ExportExerciseTcxResponse> responseObserver) Exports exercise data in TCX format.voidgetDataPoint(GetDataPointRequest request, io.grpc.stub.StreamObserver<DataPoint> responseObserver) Get a single identifyable data point.voidlistDataPoints(ListDataPointsRequest request, io.grpc.stub.StreamObserver<ListDataPointsResponse> responseObserver) Query user health and fitness data points.voidreconcileDataPoints(ReconcileDataPointsRequest request, io.grpc.stub.StreamObserver<ReconcileDataPointsResponse> responseObserver) Reconcile data points from multiple data sources into a single data stream.voidrollUpDataPoints(RollUpDataPointsRequest request, io.grpc.stub.StreamObserver<RollUpDataPointsResponse> responseObserver) Roll up data points over physical time intervals for supported data types.voidupdateDataPoint(UpdateDataPointRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a single identifiable data point.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.DataPointsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataPointsServiceGrpc.DataPointsServiceStub>
-
getDataPoint
public void getDataPoint(GetDataPointRequest request, io.grpc.stub.StreamObserver<DataPoint> responseObserver) Get a single identifyable data point.
-
listDataPoints
public void listDataPoints(ListDataPointsRequest request, io.grpc.stub.StreamObserver<ListDataPointsResponse> responseObserver) Query user health and fitness data points.
-
createDataPoint
public void createDataPoint(CreateDataPointRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a single identifiable data point.
-
updateDataPoint
public void updateDataPoint(UpdateDataPointRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a single identifiable data point. If a data point with the specified `name` is not found, the request will fail.
-
batchDeleteDataPoints
public void batchDeleteDataPoints(BatchDeleteDataPointsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Delete a batch of identifyable data points.
-
reconcileDataPoints
public void reconcileDataPoints(ReconcileDataPointsRequest request, io.grpc.stub.StreamObserver<ReconcileDataPointsResponse> responseObserver) Reconcile data points from multiple data sources into a single data stream.
-
rollUpDataPoints
public void rollUpDataPoints(RollUpDataPointsRequest request, io.grpc.stub.StreamObserver<RollUpDataPointsResponse> responseObserver) Roll up data points over physical time intervals for supported data types.
-
dailyRollUpDataPoints
public void dailyRollUpDataPoints(DailyRollUpDataPointsRequest request, io.grpc.stub.StreamObserver<DailyRollUpDataPointsResponse> responseObserver) Roll up data points over civil time intervals for supported data types.
-
exportExerciseTcx
public void exportExerciseTcx(ExportExerciseTcxRequest request, io.grpc.stub.StreamObserver<ExportExerciseTcxResponse> responseObserver) 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.
-