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