Class NotebookServiceGrpc.NotebookServiceStub (3.56.0)

public static final class NotebookServiceGrpc.NotebookServiceStub extends AbstractAsyncStub<NotebookServiceGrpc.NotebookServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > NotebookServiceGrpc.NotebookServiceStub

Methods

assignNotebookRuntime(AssignNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public void assignNotebookRuntime(AssignNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request AssignNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

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

createNotebookExecutionJob(CreateNotebookExecutionJobRequest request, StreamObserver<Operation> responseObserver)

public void createNotebookExecutionJob(CreateNotebookExecutionJobRequest request, StreamObserver<Operation> responseObserver)

Creates a NotebookExecutionJob.

Parameters
Name Description
request CreateNotebookExecutionJobRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

public void createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

Creates a NotebookRuntimeTemplate.

Parameters
Name Description
request CreateNotebookRuntimeTemplateRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest request, StreamObserver<Operation> responseObserver)

public void deleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest request, StreamObserver<Operation> responseObserver)

Deletes a NotebookExecutionJob.

Parameters
Name Description
request DeleteNotebookExecutionJobRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteNotebookRuntime(DeleteNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public void deleteNotebookRuntime(DeleteNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Deletes a NotebookRuntime.

Parameters
Name Description
request DeleteNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

public void deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

Deletes a NotebookRuntimeTemplate.

Parameters
Name Description
request DeleteNotebookRuntimeTemplateRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getNotebookExecutionJob(GetNotebookExecutionJobRequest request, StreamObserver<NotebookExecutionJob> responseObserver)

public void getNotebookExecutionJob(GetNotebookExecutionJobRequest request, StreamObserver<NotebookExecutionJob> responseObserver)

Gets a NotebookExecutionJob.

Parameters
Name Description
request GetNotebookExecutionJobRequest
responseObserver io.grpc.stub.StreamObserver<NotebookExecutionJob>

getNotebookRuntime(GetNotebookRuntimeRequest request, StreamObserver<NotebookRuntime> responseObserver)

public void getNotebookRuntime(GetNotebookRuntimeRequest request, StreamObserver<NotebookRuntime> responseObserver)

Gets a NotebookRuntime.

Parameters
Name Description
request GetNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<NotebookRuntime>

getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request, StreamObserver<NotebookRuntimeTemplate> responseObserver)

public void getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request, StreamObserver<NotebookRuntimeTemplate> responseObserver)

Gets a NotebookRuntimeTemplate.

Parameters
Name Description
request GetNotebookRuntimeTemplateRequest
responseObserver io.grpc.stub.StreamObserver<NotebookRuntimeTemplate>

listNotebookExecutionJobs(ListNotebookExecutionJobsRequest request, StreamObserver<ListNotebookExecutionJobsResponse> responseObserver)

public void listNotebookExecutionJobs(ListNotebookExecutionJobsRequest request, StreamObserver<ListNotebookExecutionJobsResponse> responseObserver)

Lists NotebookExecutionJobs in a Location.

Parameters
Name Description
request ListNotebookExecutionJobsRequest
responseObserver io.grpc.stub.StreamObserver<ListNotebookExecutionJobsResponse>

listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request, StreamObserver<ListNotebookRuntimeTemplatesResponse> responseObserver)

public void listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request, StreamObserver<ListNotebookRuntimeTemplatesResponse> responseObserver)

Lists NotebookRuntimeTemplates in a Location.

Parameters
Name Description
request ListNotebookRuntimeTemplatesRequest
responseObserver io.grpc.stub.StreamObserver<ListNotebookRuntimeTemplatesResponse>

listNotebookRuntimes(ListNotebookRuntimesRequest request, StreamObserver<ListNotebookRuntimesResponse> responseObserver)

public void listNotebookRuntimes(ListNotebookRuntimesRequest request, StreamObserver<ListNotebookRuntimesResponse> responseObserver)

Lists NotebookRuntimes in a Location.

Parameters
Name Description
request ListNotebookRuntimesRequest
responseObserver io.grpc.stub.StreamObserver<ListNotebookRuntimesResponse>

startNotebookRuntime(StartNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public void startNotebookRuntime(StartNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Starts a NotebookRuntime.

Parameters
Name Description
request StartNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

stopNotebookRuntime(StopNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public void stopNotebookRuntime(StopNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Stops a NotebookRuntime.

Parameters
Name Description
request StopNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateNotebookRuntimeTemplate(UpdateNotebookRuntimeTemplateRequest request, StreamObserver<NotebookRuntimeTemplate> responseObserver)

public void updateNotebookRuntimeTemplate(UpdateNotebookRuntimeTemplateRequest request, StreamObserver<NotebookRuntimeTemplate> responseObserver)

Updates a NotebookRuntimeTemplate.

Parameters
Name Description
request UpdateNotebookRuntimeTemplateRequest
responseObserver io.grpc.stub.StreamObserver<NotebookRuntimeTemplate>

upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public void upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Upgrades a NotebookRuntime.

Parameters
Name Description
request UpgradeNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>