Class NotebookServiceGrpc.NotebookServiceBlockingStub (3.56.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)

createNotebookExecutionJob(CreateNotebookExecutionJobRequest request)

public Operation createNotebookExecutionJob(CreateNotebookExecutionJobRequest request)

Creates a NotebookExecutionJob.

Parameter
Name Description
request CreateNotebookExecutionJobRequest
Returns
Type Description
Operation

createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request)

public Operation createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request)

Creates a NotebookRuntimeTemplate.

Parameter
Name Description
request CreateNotebookRuntimeTemplateRequest
Returns
Type Description
Operation

deleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest request)

public Operation deleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest request)

Deletes a NotebookExecutionJob.

Parameter
Name Description
request DeleteNotebookExecutionJobRequest
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

getNotebookExecutionJob(GetNotebookExecutionJobRequest request)

public NotebookExecutionJob getNotebookExecutionJob(GetNotebookExecutionJobRequest request)

Gets a NotebookExecutionJob.

Parameter
Name Description
request GetNotebookExecutionJobRequest
Returns
Type Description
NotebookExecutionJob

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

listNotebookExecutionJobs(ListNotebookExecutionJobsRequest request)

public ListNotebookExecutionJobsResponse listNotebookExecutionJobs(ListNotebookExecutionJobsRequest request)

Lists NotebookExecutionJobs in a Location.

Parameter
Name Description
request ListNotebookExecutionJobsRequest
Returns
Type Description
ListNotebookExecutionJobsResponse

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

stopNotebookRuntime(StopNotebookRuntimeRequest request)

public Operation stopNotebookRuntime(StopNotebookRuntimeRequest request)

Stops a NotebookRuntime.

Parameter
Name Description
request StopNotebookRuntimeRequest
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