Class ServingConfigServiceGrpc.ServingConfigServiceBlockingStub (0.37.0)

public static final class ServingConfigServiceGrpc.ServingConfigServiceBlockingStub extends AbstractBlockingStub<ServingConfigServiceGrpc.ServingConfigServiceBlockingStub>

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

Service for operations related to ServingConfig.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ServingConfigServiceGrpc.ServingConfigServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getServingConfig(GetServingConfigRequest request)

public ServingConfig getServingConfig(GetServingConfigRequest request)

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

Parameter
NameDescription
requestGetServingConfigRequest
Returns
TypeDescription
ServingConfig

listServingConfigs(ListServingConfigsRequest request)

public ListServingConfigsResponse listServingConfigs(ListServingConfigsRequest request)

Lists all ServingConfigs linked to this dataStore.

Parameter
NameDescription
requestListServingConfigsRequest
Returns
TypeDescription
ListServingConfigsResponse

updateServingConfig(UpdateServingConfigRequest request)

public ServingConfig updateServingConfig(UpdateServingConfigRequest request)

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

Parameter
NameDescription
requestUpdateServingConfigRequest
Returns
TypeDescription
ServingConfig