Class ProvisioningGrpc.ProvisioningFutureStub (0.55.0)

public static final class ProvisioningGrpc.ProvisioningFutureStub extends AbstractFutureStub<ProvisioningGrpc.ProvisioningFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Provisioning.

The service that is used for managing the data plane provisioning of the Registry.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ProvisioningGrpc.ProvisioningFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createInstance(CreateInstanceRequest request)

public ListenableFuture<Operation> createInstance(CreateInstanceRequest request)

Provisions instance resources for the Registry.

Parameter
Name Description
request CreateInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteInstance(DeleteInstanceRequest request)

public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)

Deletes the Registry instance.

Parameter
Name Description
request DeleteInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Gets details of a single Instance.

Parameter
Name Description
request GetInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Instance>