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.
-
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.DataPointsServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataPointsServiceGrpc.DataPointsServiceBlockingV2Stub>
-
getDataPoint
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
Creates a single identifiable data point.
- Throws:
io.grpc.StatusException
-
updateDataPoint
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
-