Class ServingConfigServiceGrpc.ServingConfigServiceStub (0.31.0)

public static final class ServingConfigServiceGrpc.ServingConfigServiceStub extends AbstractAsyncStub<ServingConfigServiceGrpc.ServingConfigServiceStub>

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

Service for modifying ServingConfig.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ServingConfigServiceGrpc.ServingConfigServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getServingConfig(GetServingConfigRequest request, StreamObserver<ServingConfig> responseObserver)

public void getServingConfig(GetServingConfigRequest request, StreamObserver<ServingConfig> responseObserver)

Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.

Parameters
NameDescription
requestGetServingConfigRequest
responseObserverio.grpc.stub.StreamObserver<ServingConfig>

listServingConfigs(ListServingConfigsRequest request, StreamObserver<ListServingConfigsResponse> responseObserver)

public void listServingConfigs(ListServingConfigsRequest request, StreamObserver<ListServingConfigsResponse> responseObserver)

Lists all ServingConfigs linked to this dataStore.

Parameters
NameDescription
requestListServingConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListServingConfigsResponse>

updateServingConfig(UpdateServingConfigRequest request, StreamObserver<ServingConfig> responseObserver)

public void updateServingConfig(UpdateServingConfigRequest request, StreamObserver<ServingConfig> responseObserver)

Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.

Parameters
NameDescription
requestUpdateServingConfigRequest
responseObserverio.grpc.stub.StreamObserver<ServingConfig>