Class NotebookServiceGrpc.NotebookServiceStub (3.47.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)

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>

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>

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>

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>

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>