Class ControlServiceGrpc.ControlServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ControlServiceGrpc.ControlServiceBlockingStub>
com.google.cloud.discoveryengine.v1.ControlServiceGrpc.ControlServiceBlockingStub
- Enclosing class:
- ControlServiceGrpc
public static final class ControlServiceGrpc.ControlServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ControlServiceGrpc.ControlServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service ControlService.
Service for performing CRUD operations on Controls. Controls allow for custom logic to be implemented in the serving path. Controls need to be attached to a Serving Config to be considered during a request.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createControl(CreateControlRequest request) Creates a Control.com.google.protobuf.EmptydeleteControl(DeleteControlRequest request) Deletes a Control.getControl(GetControlRequest request) Gets a Control.listControls(ListControlsRequest request) Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].updateControl(UpdateControlRequest request) Updates a Control.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ControlServiceGrpc.ControlServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ControlServiceGrpc.ControlServiceBlockingStub>
-
createControl
Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1.Control] to create already exists, an ALREADY_EXISTS error is returned.
-
deleteControl
Deletes a Control. If the [Control][google.cloud.discoveryengine.v1.Control] to delete does not exist, a NOT_FOUND error is returned.
-
updateControl
Updates a Control. [Control][google.cloud.discoveryengine.v1.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1.Control] to update does not exist, a NOT_FOUND error is returned.
-
getControl
Gets a Control.
-
listControls
Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
-