Class ServicesGrpc.ServicesFutureStub (2.23.0)

public static final class ServicesGrpc.ServicesFutureStub extends AbstractFutureStub<ServicesGrpc.ServicesFutureStub>

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

Manages services of an application.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ServicesGrpc.ServicesFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ServicesGrpc.ServicesFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ServicesGrpc.ServicesFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteService(DeleteServiceRequest request)

public ListenableFuture<Operation> deleteService(DeleteServiceRequest request)

Deletes the specified service and all enclosed versions.

Parameter
NameDescription
requestDeleteServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getService(GetServiceRequest request)

public ListenableFuture<Service> getService(GetServiceRequest request)

Gets the current configuration of the specified service.

Parameter
NameDescription
requestGetServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Service>

listServices(ListServicesRequest request)

public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)

Lists all the services in the application.

Parameter
NameDescription
requestListServicesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>

updateService(UpdateServiceRequest request)

public ListenableFuture<Operation> updateService(UpdateServiceRequest request)

Updates the configuration of the specified service.

Parameter
NameDescription
requestUpdateServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>