Class GrpcCmekConfigServiceStub (0.60.0)

public class GrpcCmekConfigServiceStub extends CmekConfigServiceStub

gRPC stub implementation for the CmekConfigService service API.

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

Inheritance

java.lang.Object > CmekConfigServiceStub > GrpcCmekConfigServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CmekConfigServiceStubSettings settings)

public static final GrpcCmekConfigServiceStub create(CmekConfigServiceStubSettings settings)
Parameter
Name Description
settings CmekConfigServiceStubSettings
Returns
Type Description
GrpcCmekConfigServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcCmekConfigServiceStub(CmekConfigServiceStubSettings settings, ClientContext clientContext)

protected GrpcCmekConfigServiceStub(CmekConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCmekConfigServiceStub, 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 CmekConfigServiceStubSettings
clientContext ClientContext

GrpcCmekConfigServiceStub(CmekConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCmekConfigServiceStub(CmekConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

deleteCmekConfigCallable()

public UnaryCallable<DeleteCmekConfigRequest,Operation> deleteCmekConfigCallable()
Returns
Type Description
UnaryCallable<DeleteCmekConfigRequest,Operation>
Overrides

deleteCmekConfigOperationCallable()

public OperationCallable<DeleteCmekConfigRequest,Empty,DeleteCmekConfigMetadata> deleteCmekConfigOperationCallable()
Returns
Type Description
OperationCallable<DeleteCmekConfigRequest,Empty,DeleteCmekConfigMetadata>
Overrides

getCmekConfigCallable()

public UnaryCallable<GetCmekConfigRequest,CmekConfig> getCmekConfigCallable()
Returns
Type Description
UnaryCallable<GetCmekConfigRequest,CmekConfig>
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

listCmekConfigsCallable()

public UnaryCallable<ListCmekConfigsRequest,ListCmekConfigsResponse> listCmekConfigsCallable()
Returns
Type Description
UnaryCallable<ListCmekConfigsRequest,ListCmekConfigsResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCmekConfigCallable()

public UnaryCallable<UpdateCmekConfigRequest,Operation> updateCmekConfigCallable()
Returns
Type Description
UnaryCallable<UpdateCmekConfigRequest,Operation>
Overrides

updateCmekConfigOperationCallable()

public OperationCallable<UpdateCmekConfigRequest,CmekConfig,UpdateCmekConfigMetadata> updateCmekConfigOperationCallable()
Returns
Type Description
OperationCallable<UpdateCmekConfigRequest,CmekConfig,UpdateCmekConfigMetadata>
Overrides