Package com.google.cloud.visionai.v1
Class AppPlatformGrpc.AppPlatformStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AppPlatformGrpc.AppPlatformStub>
com.google.cloud.visionai.v1.AppPlatformGrpc.AppPlatformStub
- Enclosing class:
- AppPlatformGrpc
public static final class AppPlatformGrpc.AppPlatformStub
extends io.grpc.stub.AbstractAsyncStub<AppPlatformGrpc.AppPlatformStub>
A stub to allow clients to do asynchronous rpc calls to service AppPlatform.
Service describing handlers for resources
-
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 TypeMethodDescriptionvoidaddApplicationStreamInput(AddApplicationStreamInputRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Adds target stream input to the Application.protected AppPlatformGrpc.AppPlatformStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateApplication(CreateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Application in a given project and location.voidcreateApplicationInstances(CreateApplicationInstancesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Adds target stream input to the Application.voidcreateDraft(CreateDraftRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Draft in a given project and location.voidcreateProcessor(CreateProcessorRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Processor in a given project and location.voiddeleteApplication(DeleteApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Application.voiddeleteApplicationInstances(DeleteApplicationInstancesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted.voiddeleteDraft(DeleteDraftRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Draft.voiddeleteProcessor(DeleteProcessorRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Processor.voiddeployApplication(DeployApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deploys a single Application.voidgetApplication(GetApplicationRequest request, io.grpc.stub.StreamObserver<Application> responseObserver) Gets details of a single Application.voidgetDraft(GetDraftRequest request, io.grpc.stub.StreamObserver<Draft> responseObserver) Gets details of a single Draft.voidgetInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver) Gets details of a single Instance.voidgetProcessor(GetProcessorRequest request, io.grpc.stub.StreamObserver<Processor> responseObserver) Gets details of a single Processor.voidlistApplications(ListApplicationsRequest request, io.grpc.stub.StreamObserver<ListApplicationsResponse> responseObserver) Lists Applications in a given project and location.voidlistDrafts(ListDraftsRequest request, io.grpc.stub.StreamObserver<ListDraftsResponse> responseObserver) Lists Drafts in a given project and location.voidlistInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver) Lists Instances in a given project and location.voidlistPrebuiltProcessors(ListPrebuiltProcessorsRequest request, io.grpc.stub.StreamObserver<ListPrebuiltProcessorsResponse> responseObserver) ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt Processors.voidlistProcessors(ListProcessorsRequest request, io.grpc.stub.StreamObserver<ListProcessorsResponse> responseObserver) Lists Processors in a given project and location.voidremoveApplicationStreamInput(RemoveApplicationStreamInputRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted.voidundeployApplication(UndeployApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Undeploys a single Application.voidupdateApplication(UpdateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Application.voidupdateApplicationInstances(UpdateApplicationInstancesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Adds target stream input to the Application.voidupdateApplicationStreamInput(UpdateApplicationStreamInputRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Update target stream input to the Application, if the Application is deployed, the corresponding instance based will be deployed.voidupdateDraft(UpdateDraftRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Draft.voidupdateProcessor(UpdateProcessorRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Processor.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 AppPlatformGrpc.AppPlatformStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AppPlatformGrpc.AppPlatformStub>
-
listApplications
public void listApplications(ListApplicationsRequest request, io.grpc.stub.StreamObserver<ListApplicationsResponse> responseObserver) Lists Applications in a given project and location.
-
getApplication
public void getApplication(GetApplicationRequest request, io.grpc.stub.StreamObserver<Application> responseObserver) Gets details of a single Application.
-
createApplication
public void createApplication(CreateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Application in a given project and location.
-
updateApplication
public void updateApplication(UpdateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Application.
-
deleteApplication
public void deleteApplication(DeleteApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Application.
-
deployApplication
public void deployApplication(DeployApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deploys a single Application.
-
undeployApplication
public void undeployApplication(UndeployApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Undeploys a single Application.
-
addApplicationStreamInput
public void addApplicationStreamInput(AddApplicationStreamInputRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.
-
removeApplicationStreamInput
public void removeApplicationStreamInput(RemoveApplicationStreamInputRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.
-
updateApplicationStreamInput
public void updateApplicationStreamInput(UpdateApplicationStreamInputRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Update target stream input to the Application, if the Application is deployed, the corresponding instance based will be deployed. For CreateOrUpdate behavior, set allow_missing to true.
-
listInstances
public void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver) Lists Instances in a given project and location.
-
getInstance
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver) Gets details of a single Instance.
-
createApplicationInstances
public void createApplicationInstances(CreateApplicationInstancesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.
-
deleteApplicationInstances
public void deleteApplicationInstances(DeleteApplicationInstancesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.
-
updateApplicationInstances
public void updateApplicationInstances(UpdateApplicationInstancesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.
-
listDrafts
public void listDrafts(ListDraftsRequest request, io.grpc.stub.StreamObserver<ListDraftsResponse> responseObserver) Lists Drafts in a given project and location.
-
getDraft
Gets details of a single Draft.
-
createDraft
public void createDraft(CreateDraftRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Draft in a given project and location.
-
updateDraft
public void updateDraft(UpdateDraftRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Draft.
-
deleteDraft
public void deleteDraft(DeleteDraftRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Draft.
-
listProcessors
public void listProcessors(ListProcessorsRequest request, io.grpc.stub.StreamObserver<ListProcessorsResponse> responseObserver) Lists Processors in a given project and location.
-
listPrebuiltProcessors
public void listPrebuiltProcessors(ListPrebuiltProcessorsRequest request, io.grpc.stub.StreamObserver<ListPrebuiltProcessorsResponse> responseObserver) ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt Processors.
-
getProcessor
public void getProcessor(GetProcessorRequest request, io.grpc.stub.StreamObserver<Processor> responseObserver) Gets details of a single Processor.
-
createProcessor
public void createProcessor(CreateProcessorRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Processor in a given project and location.
-
updateProcessor
public void updateProcessor(UpdateProcessorRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Processor.
-
deleteProcessor
public void deleteProcessor(DeleteProcessorRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Processor.
-