Class NotebookServiceGrpc.NotebookServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<NotebookServiceGrpc.NotebookServiceFutureStub>
-
- com.google.cloud.notebooks.v1beta1.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 Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected NotebookServiceGrpc.NotebookServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createEnvironment(CreateEnvironmentRequest request)
Creates a new Environment.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createInstance(CreateInstanceRequest request)
Creates a new Instance in a given project and location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteEnvironment(DeleteEnvironmentRequest request)
Deletes a single Environment.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.com.google.common.util.concurrent.ListenableFuture<Environment>
getEnvironment(GetEnvironmentRequest request)
Gets details of a single Environment.com.google.common.util.concurrent.ListenableFuture<Instance>
getInstance(GetInstanceRequest request)
Gets details of a single Instance.com.google.common.util.concurrent.ListenableFuture<IsInstanceUpgradeableResponse>
isInstanceUpgradeable(IsInstanceUpgradeableRequest request)
Deprecated.com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse>
listEnvironments(ListEnvironmentsRequest request)
Lists environments in a project.com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>
listInstances(ListInstancesRequest request)
Lists instances in a given project and location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
registerInstance(RegisterInstanceRequest request)
Registers an existing legacy notebook instance to the Notebooks API server.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.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
resetInstance(ResetInstanceRequest request)
Resets a notebook instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
setInstanceAccelerator(SetInstanceAcceleratorRequest request)
Updates the guest accelerators of a single Instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
setInstanceLabels(SetInstanceLabelsRequest request)
Updates the labels of an Instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
setInstanceMachineType(SetInstanceMachineTypeRequest request)
Updates the machine type of a single Instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
startInstance(StartInstanceRequest request)
Starts a notebook instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
stopInstance(StopInstanceRequest request)
Stops a notebook instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
upgradeInstance(UpgradeInstanceRequest request)
Deprecated.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
upgradeInstanceInternal(UpgradeInstanceInternalRequest request)
Deprecated.
-
-
-
Method Detail
-
build
protected NotebookServiceGrpc.NotebookServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<NotebookServiceGrpc.NotebookServiceFutureStub>
-
listInstances
public com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists instances in a given project and location.
-
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.
-
isInstanceUpgradeable
@Deprecated public com.google.common.util.concurrent.ListenableFuture<IsInstanceUpgradeableResponse> isInstanceUpgradeable(IsInstanceUpgradeableRequest request)
Deprecated.Check if a notebook instance is upgradable. Deprecated. Please consider using v1.
-
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.
-
listEnvironments
public com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)
Lists environments in a project.
-
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.
-
-