Class ServicesGrpc.ServicesStub (2.24.0)

public static final class ServicesGrpc.ServicesStub extends AbstractAsyncStub<ServicesGrpc.ServicesStub>

A stub to allow clients to do asynchronous rpc calls to service Services.

Manages services of an application.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ServicesGrpc.ServicesStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

public void deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified service and all enclosed versions.

Parameters
NameDescription
requestDeleteServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

public void getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

Gets the current configuration of the specified service.

Parameters
NameDescription
requestGetServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

public void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

Lists all the services in the application.

Parameters
NameDescription
requestListServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListServicesResponse>

updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)

public void updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)

Updates the configuration of the specified service.

Parameters
NameDescription
requestUpdateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>