Package com.google.cloud.retail.v2
Class ControlServiceGrpc.ControlServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ControlServiceGrpc.ControlServiceBlockingStub>
-
- com.google.cloud.retail.v2.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 synchronous rpc calls to service ControlService.Service for modifying Control.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ControlServiceGrpc.ControlServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)ControlcreateControl(CreateControlRequest request)Creates a Control.com.google.protobuf.EmptydeleteControl(DeleteControlRequest request)Deletes a Control.ControlgetControl(GetControlRequest request)Gets a Control.ListControlsResponselistControls(ListControlsRequest request)Lists all Controls by their parent [Catalog][google.cloud.retail.v2.Catalog].ControlupdateControl(UpdateControlRequest request)Updates a Control.
-
-
-
Method Detail
-
build
protected ControlServiceGrpc.ControlServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<ControlServiceGrpc.ControlServiceBlockingStub>
-
createControl
public Control createControl(CreateControlRequest request)
Creates a Control. If the [Control][google.cloud.retail.v2.Control] to create already exists, an ALREADY_EXISTS error is returned.
-
deleteControl
public com.google.protobuf.Empty deleteControl(DeleteControlRequest request)
Deletes a Control. If the [Control][google.cloud.retail.v2.Control] to delete does not exist, a NOT_FOUND error is returned.
-
updateControl
public Control updateControl(UpdateControlRequest request)
Updates a Control. [Control][google.cloud.retail.v2.Control] cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the [Control][google.cloud.retail.v2.Control] to update does not exist, a NOT_FOUND error is returned.
-
getControl
public Control getControl(GetControlRequest request)
Gets a Control.
-
listControls
public ListControlsResponse listControls(ListControlsRequest request)
Lists all Controls by their parent [Catalog][google.cloud.retail.v2.Catalog].
-
-