public static final class NotebookServiceGrpc.NotebookServiceFutureStub extends AbstractFutureStub<NotebookServiceGrpc.NotebookServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service NotebookService.
API v1 service for Cloud AI Platform Notebooks.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
NotebookServiceGrpc.NotebookServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected NotebookServiceGrpc.NotebookServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createEnvironment(CreateEnvironmentRequest request)
public ListenableFuture<Operation> createEnvironment(CreateEnvironmentRequest request)
Creates a new Environment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createExecution(CreateExecutionRequest request)
public ListenableFuture<Operation> createExecution(CreateExecutionRequest request)
Creates a new Execution in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createInstance(CreateInstanceRequest request)
public ListenableFuture<Operation> createInstance(CreateInstanceRequest request)
Creates a new Instance in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createSchedule(CreateScheduleRequest request)
public ListenableFuture<Operation> createSchedule(CreateScheduleRequest request)
Creates a new Scheduled Notebook in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteEnvironment(DeleteEnvironmentRequest request)
public ListenableFuture<Operation> deleteEnvironment(DeleteEnvironmentRequest request)
Deletes a single Environment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteExecution(DeleteExecutionRequest request)
public ListenableFuture<Operation> deleteExecution(DeleteExecutionRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteInstance(DeleteInstanceRequest request)
public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteSchedule(DeleteScheduleRequest request)
public ListenableFuture<Operation> deleteSchedule(DeleteScheduleRequest request)
Deletes schedule and all underlying jobs
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
diagnoseInstance(DiagnoseInstanceRequest request)
public ListenableFuture<Operation> diagnoseInstance(DiagnoseInstanceRequest request)
Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getEnvironment(GetEnvironmentRequest request)
public ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)
Gets details of a single Environment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Environment> |
|
getExecution(GetExecutionRequest request)
public ListenableFuture<Execution> getExecution(GetExecutionRequest request)
Gets details of executions
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Execution> |
|
getInstance(GetInstanceRequest request)
public ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Gets details of a single Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Instance> |
|
getInstanceHealth(GetInstanceHealthRequest request)
public ListenableFuture<GetInstanceHealthResponse> getInstanceHealth(GetInstanceHealthRequest request)
Check if a notebook instance is healthy.
getSchedule(GetScheduleRequest request)
public ListenableFuture<Schedule> getSchedule(GetScheduleRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Schedule> |
|
isInstanceUpgradeable(IsInstanceUpgradeableRequest request)
public ListenableFuture<IsInstanceUpgradeableResponse> isInstanceUpgradeable(IsInstanceUpgradeableRequest request)
Check if a notebook instance is upgradable.
listEnvironments(ListEnvironmentsRequest request)
public ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)
Lists environments in a project.
listExecutions(ListExecutionsRequest request)
public ListenableFuture<ListExecutionsResponse> listExecutions(ListExecutionsRequest request)
Lists executions in a given project and location
listInstances(ListInstancesRequest request)
public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists instances in a given project and location.
listSchedules(ListSchedulesRequest request)
public ListenableFuture<ListSchedulesResponse> listSchedules(ListSchedulesRequest request)
Lists schedules in a given project and location.
registerInstance(RegisterInstanceRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
reportInstanceInfo(ReportInstanceInfoRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
resetInstance(ResetInstanceRequest request)
public ListenableFuture<Operation> resetInstance(ResetInstanceRequest request)
Resets a notebook instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
rollbackInstance(RollbackInstanceRequest request)
public ListenableFuture<Operation> rollbackInstance(RollbackInstanceRequest request)
Rollbacks a notebook instance to the previous version.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setInstanceAccelerator(SetInstanceAcceleratorRequest request)
public ListenableFuture<Operation> setInstanceAccelerator(SetInstanceAcceleratorRequest request)
Updates the guest accelerators of a single Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setInstanceLabels(SetInstanceLabelsRequest request)
public ListenableFuture<Operation> setInstanceLabels(SetInstanceLabelsRequest request)
Replaces all the labels of an Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setInstanceMachineType(SetInstanceMachineTypeRequest request)
public ListenableFuture<Operation> setInstanceMachineType(SetInstanceMachineTypeRequest request)
Updates the machine type of a single Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
startInstance(StartInstanceRequest request)
public ListenableFuture<Operation> startInstance(StartInstanceRequest request)
Starts a notebook instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
stopInstance(StopInstanceRequest request)
public ListenableFuture<Operation> stopInstance(StopInstanceRequest request)
Stops a notebook instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
triggerSchedule(TriggerScheduleRequest request)
public ListenableFuture<Operation> triggerSchedule(TriggerScheduleRequest request)
Triggers execution of an existing schedule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateInstanceConfig(UpdateInstanceConfigRequest request)
public ListenableFuture<Operation> updateInstanceConfig(UpdateInstanceConfigRequest request)
Update Notebook Instance configurations.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<UpdateInstanceMetadataItemsResponse> updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request)
Add/update metadata items for an instance.
updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request)
public ListenableFuture<Operation> updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request)
Updates the Shielded instance configuration of a single Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
upgradeInstance(UpgradeInstanceRequest request)
public ListenableFuture<Operation> upgradeInstance(UpgradeInstanceRequest request)
Upgrades a notebook instance to the latest version.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
upgradeInstanceInternal(UpgradeInstanceInternalRequest request)
public ListenableFuture<Operation> upgradeInstanceInternal(UpgradeInstanceInternalRequest request)
Allows notebook instances to
call this endpoint to upgrade themselves. Do not use this method directly.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|