Class ServingConfigServiceGrpc.ServingConfigServiceBlockingV2Stub (0.90.0)

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

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.ServingConfigServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

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

createServingConfig(CreateServingConfigRequest request)

public ServingConfig createServingConfig(CreateServingConfigRequest request)

Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.

Parameter
Name Description
request CreateServingConfigRequest
Returns
Type Description
ServingConfig
Exceptions
Type Description
io.grpc.StatusException

deleteServingConfig(DeleteServingConfigRequest request)

public Empty deleteServingConfig(DeleteServingConfigRequest request)

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

Parameter
Name Description
request DeleteServingConfigRequest
Returns
Type Description
Empty
Exceptions
Type Description
io.grpc.StatusException

getServingConfig(GetServingConfigRequest request)

public 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
ServingConfig
Exceptions
Type Description
io.grpc.StatusException

listServingConfigs(ListServingConfigsRequest request)

public ListServingConfigsResponse listServingConfigs(ListServingConfigsRequest request)

Lists all ServingConfigs linked to this dataStore.

Parameter
Name Description
request ListServingConfigsRequest
Returns
Type Description
ListServingConfigsResponse
Exceptions
Type Description
io.grpc.StatusException

updateServingConfig(UpdateServingConfigRequest request)

public 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
ServingConfig
Exceptions
Type Description
io.grpc.StatusException