Class NotebookServiceGrpc.NotebookServiceFutureStub

  • Enclosing class:
    NotebookServiceGrpc

    public static final class NotebookServiceGrpc.NotebookServiceFutureStub
    extends io.grpc.stub.AbstractFutureStub<NotebookServiceGrpc.NotebookServiceFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service NotebookService.
     API v1beta1 service for Cloud AI Platform Notebooks.
     
    • Method Detail

      • getInstance

        public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance​(GetInstanceRequest request)
         Gets details of a single Instance.
         
      • createInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createInstance​(CreateInstanceRequest request)
         Creates a new Instance in a given project and location.
         
      • registerInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> registerInstance​(RegisterInstanceRequest request)
         Registers an existing legacy notebook instance to the Notebooks API server.
         Legacy instances are instances created with the legacy Compute Engine
         calls. They are not manageable by the Notebooks API out of the box. This
         call makes these instances manageable by the Notebooks API.
         
      • setInstanceAccelerator

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> setInstanceAccelerator​(SetInstanceAcceleratorRequest request)
         Updates the guest accelerators of a single Instance.
         
      • setInstanceMachineType

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> setInstanceMachineType​(SetInstanceMachineTypeRequest request)
         Updates the machine type of a single Instance.
         
      • setInstanceLabels

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> setInstanceLabels​(SetInstanceLabelsRequest request)
         Updates the labels of an Instance.
         
      • deleteInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteInstance​(DeleteInstanceRequest request)
         Deletes a single Instance.
         
      • startInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> startInstance​(StartInstanceRequest request)
         Starts a notebook instance.
         
      • stopInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> stopInstance​(StopInstanceRequest request)
         Stops a notebook instance.
         
      • resetInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> resetInstance​(ResetInstanceRequest request)
         Resets a notebook instance.
         
      • reportInstanceInfo

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> reportInstanceInfo​(ReportInstanceInfoRequest request)
         Allows notebook instances to
         report their latest instance information to the Notebooks
         API server. The server will merge the reported information to
         the instance metadata store. Do not use this method directly.
         
      • upgradeInstance

        @Deprecated
        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> upgradeInstance​(UpgradeInstanceRequest request)
        Deprecated.
         Upgrades a notebook instance to the latest version.
         Deprecated. Please consider using v1.
         
      • upgradeInstanceInternal

        @Deprecated
        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> upgradeInstanceInternal​(UpgradeInstanceInternalRequest request)
        Deprecated.
         Allows notebook instances to
         call this endpoint to upgrade themselves. Do not use this method directly.
         Deprecated. Please consider using v1.
         
      • getEnvironment

        public com.google.common.util.concurrent.ListenableFuture<Environment> getEnvironment​(GetEnvironmentRequest request)
         Gets details of a single Environment.
         
      • createEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createEnvironment​(CreateEnvironmentRequest request)
         Creates a new Environment.
         
      • deleteEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteEnvironment​(DeleteEnvironmentRequest request)
         Deletes a single Environment.