Class NotebookServiceGrpc.NotebookServiceFutureStub (3.44.0)

public static final class NotebookServiceGrpc.NotebookServiceFutureStub extends AbstractFutureStub<NotebookServiceGrpc.NotebookServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service NotebookService.

The interface for Vertex Notebook service (a.k.a. Colab on Workbench).

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > NotebookServiceGrpc.NotebookServiceFutureStub

Methods

assignNotebookRuntime(AssignNotebookRuntimeRequest request)

public ListenableFuture<Operation> assignNotebookRuntime(AssignNotebookRuntimeRequest request)

Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one.

Parameter
Name Description
request AssignNotebookRuntimeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected NotebookServiceGrpc.NotebookServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
NotebookServiceGrpc.NotebookServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request)

public ListenableFuture<Operation> createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request)

Creates a NotebookRuntimeTemplate.

Parameter
Name Description
request CreateNotebookRuntimeTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest request)

public ListenableFuture<Operation> deleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest request)

Deletes a NotebookExecutionJob.

Parameter
Name Description
request DeleteNotebookExecutionJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteNotebookRuntime(DeleteNotebookRuntimeRequest request)

public ListenableFuture<Operation> deleteNotebookRuntime(DeleteNotebookRuntimeRequest request)

Deletes a NotebookRuntime.

Parameter
Name Description
request DeleteNotebookRuntimeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request)

public ListenableFuture<Operation> deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request)

Deletes a NotebookRuntimeTemplate.

Parameter
Name Description
request DeleteNotebookRuntimeTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getNotebookExecutionJob(GetNotebookExecutionJobRequest request)

public ListenableFuture<NotebookExecutionJob> getNotebookExecutionJob(GetNotebookExecutionJobRequest request)

Gets a NotebookExecutionJob.

Parameter
Name Description
request GetNotebookExecutionJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<NotebookExecutionJob>

getNotebookRuntime(GetNotebookRuntimeRequest request)

public ListenableFuture<NotebookRuntime> getNotebookRuntime(GetNotebookRuntimeRequest request)

Gets a NotebookRuntime.

Parameter
Name Description
request GetNotebookRuntimeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<NotebookRuntime>

getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request)

public ListenableFuture<NotebookRuntimeTemplate> getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request)

Gets a NotebookRuntimeTemplate.

Parameter
Name Description
request GetNotebookRuntimeTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<NotebookRuntimeTemplate>

listNotebookExecutionJobs(ListNotebookExecutionJobsRequest request)

public ListenableFuture<ListNotebookExecutionJobsResponse> listNotebookExecutionJobs(ListNotebookExecutionJobsRequest request)

Lists NotebookExecutionJobs in a Location.

Parameter
Name Description
request ListNotebookExecutionJobsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListNotebookExecutionJobsResponse>

listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request)

public ListenableFuture<ListNotebookRuntimeTemplatesResponse> listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request)

Lists NotebookRuntimeTemplates in a Location.

Parameter
Name Description
request ListNotebookRuntimeTemplatesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListNotebookRuntimeTemplatesResponse>

listNotebookRuntimes(ListNotebookRuntimesRequest request)

public ListenableFuture<ListNotebookRuntimesResponse> listNotebookRuntimes(ListNotebookRuntimesRequest request)

Lists NotebookRuntimes in a Location.

Parameter
Name Description
request ListNotebookRuntimesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListNotebookRuntimesResponse>

startNotebookRuntime(StartNotebookRuntimeRequest request)

public ListenableFuture<Operation> startNotebookRuntime(StartNotebookRuntimeRequest request)

Starts a NotebookRuntime.

Parameter
Name Description
request StartNotebookRuntimeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request)

public ListenableFuture<Operation> upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request)

Upgrades a NotebookRuntime.

Parameter
Name Description
request UpgradeNotebookRuntimeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>