Class SqlOperationsServiceGrpc.SqlOperationsServiceBlockingV2Stub (0.1.0)

public static final class SqlOperationsServiceGrpc.SqlOperationsServiceBlockingV2Stub extends AbstractBlockingStub<SqlOperationsServiceGrpc.SqlOperationsServiceBlockingV2Stub>

A stub to allow clients to do synchronous rpc calls to service SqlOperationsService.

Service to fetch operations for database instances.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SqlOperationsServiceGrpc.SqlOperationsServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected SqlOperationsServiceGrpc.SqlOperationsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SqlOperationsServiceGrpc.SqlOperationsServiceBlockingV2Stub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancel(SqlOperationsCancelRequest request)

public Empty cancel(SqlOperationsCancelRequest request)

Cancels an instance operation that has been performed on an instance.

Parameter
Name Description
request SqlOperationsCancelRequest
Returns
Type Description
Empty
Exceptions
Type Description
io.grpc.StatusException

get(SqlOperationsGetRequest request)

public Operation get(SqlOperationsGetRequest request)

Retrieves an instance operation that has been performed on an instance.

Parameter
Name Description
request SqlOperationsGetRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

list(SqlOperationsListRequest request)

public OperationsListResponse list(SqlOperationsListRequest request)

Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.

Parameter
Name Description
request SqlOperationsListRequest
Returns
Type Description
OperationsListResponse
Exceptions
Type Description
io.grpc.StatusException