Class DataPointsServiceGrpc.DataPointsServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DataPointsServiceGrpc.DataPointsServiceBlockingStub>
com.google.devicesandservices.health.v4.DataPointsServiceGrpc.DataPointsServiceBlockingStub
- Enclosing class:
- DataPointsServiceGrpc
public static final class DataPointsServiceGrpc.DataPointsServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DataPointsServiceGrpc.DataPointsServiceBlockingStub>
A stub to allow clients to do limited synchronous 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 TypeMethodDescriptionDelete a batch of identifyable data points.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createDataPoint(CreateDataPointRequest request) Creates a single identifiable data point.Roll up data points over civil time intervals for supported data types.Exports exercise data in TCX format.getDataPoint(GetDataPointRequest request) Get a single identifyable data point.listDataPoints(ListDataPointsRequest request) Query user health and fitness data points.Reconcile data points from multiple data sources into a single data stream.rollUpDataPoints(RollUpDataPointsRequest request) Roll up data points over physical time intervals for supported data types.updateDataPoint(UpdateDataPointRequest request) Updates a single identifiable data point.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.DataPointsServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataPointsServiceGrpc.DataPointsServiceBlockingStub>
-
getDataPoint
Get a single identifyable data point.
-
listDataPoints
Query user health and fitness data points.
-
createDataPoint
Creates a single identifiable data point.
-
updateDataPoint
Updates a single identifiable data point. If a data point with the specified `name` is not found, the request will fail.
-
batchDeleteDataPoints
Delete a batch of identifyable data points.
-
reconcileDataPoints
Reconcile data points from multiple data sources into a single data stream.
-
rollUpDataPoints
Roll up data points over physical time intervals for supported data types.
-
dailyRollUpDataPoints
Roll up data points over civil time intervals for supported data types.
-
exportExerciseTcx
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.
-