public static final class ControlServiceGrpc.ControlServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ControlServiceGrpc.ControlServiceBlockingStub>
Service for modifying Control.
| Modifier and Type | Method and Description |
|---|---|
protected ControlServiceGrpc.ControlServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Control |
createControl(CreateControlRequest request)
Creates a Control.
|
com.google.protobuf.Empty |
deleteControl(DeleteControlRequest request)
Deletes a Control.
|
Control |
getControl(GetControlRequest request)
Gets a Control.
|
ListControlsResponse |
listControls(ListControlsRequest request)
Lists all Controls by their parent
[Catalog][google.cloud.retail.v2beta.Catalog].
|
Control |
updateControl(UpdateControlRequest request)
Updates a Control.
|
protected ControlServiceGrpc.ControlServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ControlServiceGrpc.ControlServiceBlockingStub>public Control createControl(CreateControlRequest request)
Creates a Control. If the [Control][google.cloud.retail.v2beta.Control] to create already exists, an ALREADY_EXISTS error is returned.
public com.google.protobuf.Empty deleteControl(DeleteControlRequest request)
Deletes a Control. If the [Control][google.cloud.retail.v2beta.Control] to delete does not exist, a NOT_FOUND error is returned.
public Control updateControl(UpdateControlRequest request)
Updates a Control. [Control][google.cloud.retail.v2beta.Control] cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the [Control][google.cloud.retail.v2beta.Control] to update does not exist, a NOT_FOUND error is returned.
public Control getControl(GetControlRequest request)
Gets a Control.
public ListControlsResponse listControls(ListControlsRequest request)
Lists all Controls by their parent [Catalog][google.cloud.retail.v2beta.Catalog].
Copyright © 2022 Google LLC. All rights reserved.