Class AppPlatformGrpc.AppPlatformBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AppPlatformGrpc.AppPlatformBlockingV2Stub>
com.google.cloud.visionai.v1.AppPlatformGrpc.AppPlatformBlockingV2Stub
Enclosing class:
AppPlatformGrpc

public static final class AppPlatformGrpc.AppPlatformBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AppPlatformGrpc.AppPlatformBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AppPlatform.
 Service describing handlers for resources
 
  • Method Details

    • build

      protected AppPlatformGrpc.AppPlatformBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AppPlatformGrpc.AppPlatformBlockingV2Stub>
    • listApplications

      public ListApplicationsResponse listApplications(ListApplicationsRequest request) throws io.grpc.StatusException
       Lists Applications in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getApplication

      public Application getApplication(GetApplicationRequest request) throws io.grpc.StatusException
       Gets details of a single Application.
       
      Throws:
      io.grpc.StatusException
    • createApplication

      public Operation createApplication(CreateApplicationRequest request) throws io.grpc.StatusException
       Creates a new Application in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateApplication

      public Operation updateApplication(UpdateApplicationRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Application.
       
      Throws:
      io.grpc.StatusException
    • deleteApplication

      public Operation deleteApplication(DeleteApplicationRequest request) throws io.grpc.StatusException
       Deletes a single Application.
       
      Throws:
      io.grpc.StatusException
    • deployApplication

      public Operation deployApplication(DeployApplicationRequest request) throws io.grpc.StatusException
       Deploys a single Application.
       
      Throws:
      io.grpc.StatusException
    • undeployApplication

      public Operation undeployApplication(UndeployApplicationRequest request) throws io.grpc.StatusException
       Undeploys a single Application.
       
      Throws:
      io.grpc.StatusException
    • addApplicationStreamInput

      public Operation addApplicationStreamInput(AddApplicationStreamInputRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • removeApplicationStreamInput

      public Operation removeApplicationStreamInput(RemoveApplicationStreamInputRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • updateApplicationStreamInput

      public Operation updateApplicationStreamInput(UpdateApplicationStreamInputRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • listInstances

      public ListInstancesResponse listInstances(ListInstancesRequest request) throws io.grpc.StatusException
       Lists Instances in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getInstance

      public Instance getInstance(GetInstanceRequest request) throws io.grpc.StatusException
       Gets details of a single Instance.
       
      Throws:
      io.grpc.StatusException
    • createApplicationInstances

      public Operation createApplicationInstances(CreateApplicationInstancesRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • deleteApplicationInstances

      public Operation deleteApplicationInstances(DeleteApplicationInstancesRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • updateApplicationInstances

      public Operation updateApplicationInstances(UpdateApplicationInstancesRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • listDrafts

      public ListDraftsResponse listDrafts(ListDraftsRequest request) throws io.grpc.StatusException
       Lists Drafts in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getDraft

      public Draft getDraft(GetDraftRequest request) throws io.grpc.StatusException
       Gets details of a single Draft.
       
      Throws:
      io.grpc.StatusException
    • createDraft

      public Operation createDraft(CreateDraftRequest request) throws io.grpc.StatusException
       Creates a new Draft in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateDraft

      public Operation updateDraft(UpdateDraftRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Draft.
       
      Throws:
      io.grpc.StatusException
    • deleteDraft

      public Operation deleteDraft(DeleteDraftRequest request) throws io.grpc.StatusException
       Deletes a single Draft.
       
      Throws:
      io.grpc.StatusException
    • listProcessors

      public ListProcessorsResponse listProcessors(ListProcessorsRequest request) throws io.grpc.StatusException
       Lists Processors in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • listPrebuiltProcessors

      public ListPrebuiltProcessorsResponse listPrebuiltProcessors(ListPrebuiltProcessorsRequest request) throws io.grpc.StatusException
       ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt
       Processors.
       
      Throws:
      io.grpc.StatusException
    • getProcessor

      public Processor getProcessor(GetProcessorRequest request) throws io.grpc.StatusException
       Gets details of a single Processor.
       
      Throws:
      io.grpc.StatusException
    • createProcessor

      public Operation createProcessor(CreateProcessorRequest request) throws io.grpc.StatusException
       Creates a new Processor in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateProcessor

      public Operation updateProcessor(UpdateProcessorRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Processor.
       
      Throws:
      io.grpc.StatusException
    • deleteProcessor

      public Operation deleteProcessor(DeleteProcessorRequest request) throws io.grpc.StatusException
       Deletes a single Processor.
       
      Throws:
      io.grpc.StatusException