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
 
  • Method Details

    • build

      protected AppPlatformGrpc.AppPlatformStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public void getDraft(GetDraftRequest request, io.grpc.stub.StreamObserver<Draft> responseObserver)
       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.