Class ServingConfigServiceGrpc.ServingConfigServiceFutureStub (0.50.0)

public static final class ServingConfigServiceGrpc.ServingConfigServiceFutureStub extends AbstractFutureStub<ServingConfigServiceGrpc.ServingConfigServiceFutureStub>

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

Service for operations related to ServingConfig.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ServingConfigServiceGrpc.ServingConfigServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ServingConfigServiceGrpc.ServingConfigServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ServingConfigServiceGrpc.ServingConfigServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getServingConfig(GetServingConfigRequest request)

public ListenableFuture<ServingConfig> getServingConfig(GetServingConfigRequest request)

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

Parameter
Name Description
request GetServingConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServingConfig>

listServingConfigs(ListServingConfigsRequest request)

public ListenableFuture<ListServingConfigsResponse> listServingConfigs(ListServingConfigsRequest request)

Lists all ServingConfigs linked to this dataStore.

Parameter
Name Description
request ListServingConfigsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListServingConfigsResponse>

updateServingConfig(UpdateServingConfigRequest request)

public ListenableFuture<ServingConfig> updateServingConfig(UpdateServingConfigRequest request)

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

Parameter
Name Description
request UpdateServingConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServingConfig>