Class ServingConfigServiceGrpc.ServingConfigServiceStub (0.90.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 operations related to 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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ServingConfigServiceGrpc.ServingConfigServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createServingConfig(CreateServingConfigRequest request, StreamObserver<ServingConfig> responseObserver)

public void createServingConfig(CreateServingConfigRequest request, StreamObserver<ServingConfig> responseObserver)

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.

Parameters
Name Description
request CreateServingConfigRequest
responseObserver io.grpc.stub.StreamObserver<ServingConfig>

deleteServingConfig(DeleteServingConfigRequest request, StreamObserver<Empty> responseObserver)

public void deleteServingConfig(DeleteServingConfigRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
Name Description
request DeleteServingConfigRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

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
Name Description
request GetServingConfigRequest
responseObserver io.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
Name Description
request ListServingConfigsRequest
responseObserver io.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
Name Description
request UpdateServingConfigRequest
responseObserver io.grpc.stub.StreamObserver<ServingConfig>