Class NotebookServiceGrpc.NotebookServiceBlockingStub (3.47.0)

public static final class NotebookServiceGrpc.NotebookServiceBlockingStub extends AbstractBlockingStub<NotebookServiceGrpc.NotebookServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > NotebookServiceGrpc.NotebookServiceBlockingStub

Methods

assignNotebookRuntime(AssignNotebookRuntimeRequest request)

public 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
Operation

build(Channel channel, CallOptions callOptions)

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

createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request)

public Operation createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request)

Creates a NotebookRuntimeTemplate.

Parameter
Name Description
request CreateNotebookRuntimeTemplateRequest
Returns
Type Description
Operation

deleteNotebookRuntime(DeleteNotebookRuntimeRequest request)

public Operation deleteNotebookRuntime(DeleteNotebookRuntimeRequest request)

Deletes a NotebookRuntime.

Parameter
Name Description
request DeleteNotebookRuntimeRequest
Returns
Type Description
Operation

deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request)

public Operation deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request)

Deletes a NotebookRuntimeTemplate.

Parameter
Name Description
request DeleteNotebookRuntimeTemplateRequest
Returns
Type Description
Operation

getNotebookRuntime(GetNotebookRuntimeRequest request)

public NotebookRuntime getNotebookRuntime(GetNotebookRuntimeRequest request)

Gets a NotebookRuntime.

Parameter
Name Description
request GetNotebookRuntimeRequest
Returns
Type Description
NotebookRuntime

getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request)

public NotebookRuntimeTemplate getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request)

Gets a NotebookRuntimeTemplate.

Parameter
Name Description
request GetNotebookRuntimeTemplateRequest
Returns
Type Description
NotebookRuntimeTemplate

listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request)

public ListNotebookRuntimeTemplatesResponse listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request)

Lists NotebookRuntimeTemplates in a Location.

Parameter
Name Description
request ListNotebookRuntimeTemplatesRequest
Returns
Type Description
ListNotebookRuntimeTemplatesResponse

listNotebookRuntimes(ListNotebookRuntimesRequest request)

public ListNotebookRuntimesResponse listNotebookRuntimes(ListNotebookRuntimesRequest request)

Lists NotebookRuntimes in a Location.

Parameter
Name Description
request ListNotebookRuntimesRequest
Returns
Type Description
ListNotebookRuntimesResponse

startNotebookRuntime(StartNotebookRuntimeRequest request)

public Operation startNotebookRuntime(StartNotebookRuntimeRequest request)

Starts a NotebookRuntime.

Parameter
Name Description
request StartNotebookRuntimeRequest
Returns
Type Description
Operation

updateNotebookRuntimeTemplate(UpdateNotebookRuntimeTemplateRequest request)

public NotebookRuntimeTemplate updateNotebookRuntimeTemplate(UpdateNotebookRuntimeTemplateRequest request)

Updates a NotebookRuntimeTemplate.

Parameter
Name Description
request UpdateNotebookRuntimeTemplateRequest
Returns
Type Description
NotebookRuntimeTemplate

upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request)

public Operation upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request)

Upgrades a NotebookRuntime.

Parameter
Name Description
request UpgradeNotebookRuntimeRequest
Returns
Type Description
Operation