Class HttpJsonSqlSslCertsServiceStub (0.1.0)

public class HttpJsonSqlSslCertsServiceStub extends SqlSslCertsServiceStub

REST stub implementation for the SqlSslCertsService service API.

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

Inheritance

java.lang.Object > SqlSslCertsServiceStub > HttpJsonSqlSslCertsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(SqlSslCertsServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonSqlSslCertsServiceStub(SqlSslCertsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonSqlSslCertsServiceStub, 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 HttpJsonStubCallableFactory

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

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()