Class SqlTiersServiceGrpc.SqlTiersServiceStub (0.1.0)

public static final class SqlTiersServiceGrpc.SqlTiersServiceStub extends AbstractAsyncStub<SqlTiersServiceGrpc.SqlTiersServiceStub>

A stub to allow clients to do asynchronous rpc calls to service SqlTiersService.

Service for providing machine types (tiers) for Cloud SQL.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SqlTiersServiceGrpc.SqlTiersServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

list(SqlTiersListRequest request, StreamObserver<TiersListResponse> responseObserver)

public void list(SqlTiersListRequest request, StreamObserver<TiersListResponse> responseObserver)

Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For related information, see Pricing.

Parameters
Name Description
request SqlTiersListRequest
responseObserver io.grpc.stub.StreamObserver<TiersListResponse>