Class NotebookServiceGrpc.NotebookServiceStub (1.45.0)

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

A stub to allow clients to do asynchronous rpc calls to service NotebookService.

API v2 service for Workbench Notebooks Instances.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > NotebookServiceGrpc.NotebookServiceStub

Methods

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)

checkInstanceUpgradability(CheckInstanceUpgradabilityRequest request, StreamObserver<CheckInstanceUpgradabilityResponse> responseObserver)

public void checkInstanceUpgradability(CheckInstanceUpgradabilityRequest request, StreamObserver<CheckInstanceUpgradabilityResponse> responseObserver)

Checks whether a notebook instance is upgradable.

Parameters
Name Description
request CheckInstanceUpgradabilityRequest
responseObserver io.grpc.stub.StreamObserver<CheckInstanceUpgradabilityResponse>

createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

Creates a new Instance in a given project and location.

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

deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Instance.

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

diagnoseInstance(DiagnoseInstanceRequest request, StreamObserver<Operation> responseObserver)

public void diagnoseInstance(DiagnoseInstanceRequest request, StreamObserver<Operation> responseObserver)

Creates a Diagnostic File and runs Diagnostic Tool given an Instance.

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

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

Gets details of a single Instance.

Parameters
Name Description
request GetInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Instance>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

Lists instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest
responseObserver io.grpc.stub.StreamObserver<ListInstancesResponse>

resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)

public void resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)

Resets a notebook instance.

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

rollbackInstance(RollbackInstanceRequest request, StreamObserver<Operation> responseObserver)

public void rollbackInstance(RollbackInstanceRequest request, StreamObserver<Operation> responseObserver)

Rollbacks a notebook instance to the previous version.

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

startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)

public void startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)

Starts a notebook instance.

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

stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)

public void stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)

Stops a notebook instance.

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

updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)

public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)

UpdateInstance updates an Instance.

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

upgradeInstance(UpgradeInstanceRequest request, StreamObserver<Operation> responseObserver)

public void upgradeInstance(UpgradeInstanceRequest request, StreamObserver<Operation> responseObserver)

Upgrades a notebook instance to the latest version.

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