Class ServicesGrpc.ServicesStub (2.47.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request DeleteServiceRequest
responseObserver io.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
Name Description
request GetServiceRequest
responseObserver io.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
Name Description
request ListServicesRequest
responseObserver io.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
Name Description
request UpdateServiceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>