Class GrpcDataPointsServiceStub (0.2.0)

public class GrpcDataPointsServiceStub extends DataPointsServiceStub

gRPC stub implementation for the DataPointsService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DataPointsServiceStub > GrpcDataPointsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDataPointsServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataPointsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataPointsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataPointsServiceStub
Exceptions
Type Description
IOException

create(DataPointsServiceStubSettings settings)

public static final GrpcDataPointsServiceStub create(DataPointsServiceStubSettings settings)
Parameter
Name Description
settings DataPointsServiceStubSettings
Returns
Type Description
GrpcDataPointsServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcDataPointsServiceStub(DataPointsServiceStubSettings settings, ClientContext clientContext)

protected GrpcDataPointsServiceStub(DataPointsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDataPointsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DataPointsServiceStubSettings
clientContext ClientContext

GrpcDataPointsServiceStub(DataPointsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDataPointsServiceStub(DataPointsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDataPointsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DataPointsServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchDeleteDataPointsCallable()

public UnaryCallable<BatchDeleteDataPointsRequest,Operation> batchDeleteDataPointsCallable()
Returns
Type Description
UnaryCallable<BatchDeleteDataPointsRequest,Operation>
Overrides

batchDeleteDataPointsOperationCallable()

public OperationCallable<BatchDeleteDataPointsRequest,BatchDeleteDataPointsResponse,BatchDeleteDataPointsOperationMetadata> batchDeleteDataPointsOperationCallable()
Returns
Type Description
OperationCallable<BatchDeleteDataPointsRequest,BatchDeleteDataPointsResponse,BatchDeleteDataPointsOperationMetadata>
Overrides

close()

public final void close()
Overrides

createDataPointCallable()

public UnaryCallable<CreateDataPointRequest,Operation> createDataPointCallable()
Returns
Type Description
UnaryCallable<CreateDataPointRequest,Operation>
Overrides

createDataPointOperationCallable()

public OperationCallable<CreateDataPointRequest,DataPoint,CreateDataPointOperationMetadata> createDataPointOperationCallable()
Returns
Type Description
OperationCallable<CreateDataPointRequest,DataPoint,CreateDataPointOperationMetadata>
Overrides

dailyRollUpDataPointsCallable()

public UnaryCallable<DailyRollUpDataPointsRequest,DailyRollUpDataPointsResponse> dailyRollUpDataPointsCallable()
Returns
Type Description
UnaryCallable<DailyRollUpDataPointsRequest,DailyRollUpDataPointsResponse>
Overrides

exportExerciseTcxCallable()

public UnaryCallable<ExportExerciseTcxRequest,ExportExerciseTcxResponse> exportExerciseTcxCallable()
Returns
Type Description
UnaryCallable<ExportExerciseTcxRequest,ExportExerciseTcxResponse>
Overrides

getDataPointCallable()

public UnaryCallable<GetDataPointRequest,DataPoint> getDataPointCallable()
Returns
Type Description
UnaryCallable<GetDataPointRequest,DataPoint>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listDataPointsCallable()

public UnaryCallable<ListDataPointsRequest,ListDataPointsResponse> listDataPointsCallable()
Returns
Type Description
UnaryCallable<ListDataPointsRequest,ListDataPointsResponse>
Overrides

listDataPointsPagedCallable()

public UnaryCallable<ListDataPointsRequest,DataPointsServiceClient.ListDataPointsPagedResponse> listDataPointsPagedCallable()
Returns
Type Description
UnaryCallable<ListDataPointsRequest,ListDataPointsPagedResponse>
Overrides

reconcileDataPointsCallable()

public UnaryCallable<ReconcileDataPointsRequest,ReconcileDataPointsResponse> reconcileDataPointsCallable()
Returns
Type Description
UnaryCallable<ReconcileDataPointsRequest,ReconcileDataPointsResponse>
Overrides

reconcileDataPointsPagedCallable()

public UnaryCallable<ReconcileDataPointsRequest,DataPointsServiceClient.ReconcileDataPointsPagedResponse> reconcileDataPointsPagedCallable()
Returns
Type Description
UnaryCallable<ReconcileDataPointsRequest,ReconcileDataPointsPagedResponse>
Overrides

rollUpDataPointsCallable()

public UnaryCallable<RollUpDataPointsRequest,RollUpDataPointsResponse> rollUpDataPointsCallable()
Returns
Type Description
UnaryCallable<RollUpDataPointsRequest,RollUpDataPointsResponse>
Overrides

rollUpDataPointsPagedCallable()

public UnaryCallable<RollUpDataPointsRequest,DataPointsServiceClient.RollUpDataPointsPagedResponse> rollUpDataPointsPagedCallable()
Returns
Type Description
UnaryCallable<RollUpDataPointsRequest,RollUpDataPointsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDataPointCallable()

public UnaryCallable<UpdateDataPointRequest,Operation> updateDataPointCallable()
Returns
Type Description
UnaryCallable<UpdateDataPointRequest,Operation>
Overrides

updateDataPointOperationCallable()

public OperationCallable<UpdateDataPointRequest,DataPoint,UpdateDataPointOperationMetadata> updateDataPointOperationCallable()
Returns
Type Description
OperationCallable<UpdateDataPointRequest,DataPoint,UpdateDataPointOperationMetadata>
Overrides