Class GrpcSqlSslCertsServiceStub (0.1.0)

public class GrpcSqlSslCertsServiceStub extends SqlSslCertsServiceStub

gRPC stub implementation for the SqlSslCertsService service API.

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

Inheritance

java.lang.Object > SqlSslCertsServiceStub > GrpcSqlSslCertsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(SqlSslCertsServiceStubSettings settings)

public static final GrpcSqlSslCertsServiceStub create(SqlSslCertsServiceStubSettings settings)
Parameter
Name Description
settings SqlSslCertsServiceStubSettings
Returns
Type Description
GrpcSqlSslCertsServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext)

protected GrpcSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcSqlSslCertsServiceStub, 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 SqlSslCertsServiceStubSettings
clientContext ClientContext

GrpcSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcSqlSslCertsServiceStub, 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 SqlSslCertsServiceStubSettings
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

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<SqlSslCertsDeleteRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<SqlSslCertsDeleteRequest,Operation>
Overrides

getCallable()

public UnaryCallable<SqlSslCertsGetRequest,SslCert> getCallable()
Returns
Type Description
UnaryCallable<SqlSslCertsGetRequest,SslCert>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

insertCallable()

public UnaryCallable<SqlSslCertsInsertRequest,SslCertsInsertResponse> insertCallable()
Returns
Type Description
UnaryCallable<SqlSslCertsInsertRequest,SslCertsInsertResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<SqlSslCertsListRequest,SslCertsListResponse> listCallable()
Returns
Type Description
UnaryCallable<SqlSslCertsListRequest,SslCertsListResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()