Class ControlServiceGrpc
java.lang.Object
com.google.cloud.discoveryengine.v1.ControlServiceGrpc
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 ClassesModifier and TypeClassDescriptionstatic interfaceService for performing CRUD operations on Controls.static final classA stub to allow clients to do limited synchronous rpc calls to service ControlService.static final classA stub to allow clients to do synchronous rpc calls to service ControlService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ControlService.static classBase class for the server implementation of the service ControlService.static final classA stub to allow clients to do asynchronous rpc calls to service ControlService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CreateControlRequest,Control> static io.grpc.MethodDescriptor<DeleteControlRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetControlRequest,Control> static io.grpc.MethodDescriptor<ListControlsRequest,ListControlsResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<UpdateControlRequest,Control> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCreateControlMethod
-
getDeleteControlMethod
public static io.grpc.MethodDescriptor<DeleteControlRequest,com.google.protobuf.Empty> getDeleteControlMethod() -
getUpdateControlMethod
-
getGetControlMethod
-
getListControlsMethod
public static io.grpc.MethodDescriptor<ListControlsRequest,ListControlsResponse> getListControlsMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static ControlServiceGrpc.ControlServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static ControlServiceGrpc.ControlServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ControlServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-