Class ServicesGrpc.ServicesFutureStub (2.54.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request DeleteServiceRequest
Returns
Type Description
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
Name Description
request GetServiceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Service>

listServices(ListServicesRequest request)

public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)

Lists all the services in the application.

Parameter
Name Description
request ListServicesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>

updateService(UpdateServiceRequest request)

public ListenableFuture<Operation> updateService(UpdateServiceRequest request)

Updates the configuration of the specified service.

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