public static final class NotebookServiceGrpc.NotebookServiceStub extends io.grpc.stub.AbstractAsyncStub<NotebookServiceGrpc.NotebookServiceStub>
API v1 service for Cloud AI Platform Notebooks.
| Modifier and Type | Method and Description |
|---|---|
protected NotebookServiceGrpc.NotebookServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createEnvironment(CreateEnvironmentRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Environment.
|
void |
createExecution(CreateExecutionRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Execution in a given project and location.
|
void |
createInstance(CreateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Instance in a given project and location.
|
void |
createSchedule(CreateScheduleRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Scheduled Notebook in a given project and location.
|
void |
deleteEnvironment(DeleteEnvironmentRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Environment.
|
void |
deleteExecution(DeleteExecutionRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes execution
|
void |
deleteInstance(DeleteInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Instance.
|
void |
deleteSchedule(DeleteScheduleRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes schedule and all underlying jobs
|
void |
diagnoseInstance(DiagnoseInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
|
void |
getEnvironment(GetEnvironmentRequest request,
io.grpc.stub.StreamObserver<Environment> responseObserver)
Gets details of a single Environment.
|
void |
getExecution(GetExecutionRequest request,
io.grpc.stub.StreamObserver<Execution> responseObserver)
Gets details of executions
|
void |
getInstance(GetInstanceRequest request,
io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
|
void |
getInstanceHealth(GetInstanceHealthRequest request,
io.grpc.stub.StreamObserver<GetInstanceHealthResponse> responseObserver)
Check if a notebook instance is healthy.
|
void |
getSchedule(GetScheduleRequest request,
io.grpc.stub.StreamObserver<Schedule> responseObserver)
Gets details of schedule
|
void |
isInstanceUpgradeable(IsInstanceUpgradeableRequest request,
io.grpc.stub.StreamObserver<IsInstanceUpgradeableResponse> responseObserver)
Check if a notebook instance is upgradable.
|
void |
listEnvironments(ListEnvironmentsRequest request,
io.grpc.stub.StreamObserver<ListEnvironmentsResponse> responseObserver)
Lists environments in a project.
|
void |
listExecutions(ListExecutionsRequest request,
io.grpc.stub.StreamObserver<ListExecutionsResponse> responseObserver)
Lists executions in a given project and location
|
void |
listInstances(ListInstancesRequest request,
io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists instances in a given project and location.
|
void |
listSchedules(ListSchedulesRequest request,
io.grpc.stub.StreamObserver<ListSchedulesResponse> responseObserver)
Lists schedules in a given project and location.
|
void |
registerInstance(RegisterInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Registers an existing legacy notebook instance to the Notebooks API server.
|
void |
reportInstanceInfo(ReportInstanceInfoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Allows notebook instances to
report their latest instance information to the Notebooks
API server.
|
void |
resetInstance(ResetInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a notebook instance.
|
void |
rollbackInstance(RollbackInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Rollbacks a notebook instance to the previous version.
|
void |
setInstanceAccelerator(SetInstanceAcceleratorRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the guest accelerators of a single Instance.
|
void |
setInstanceLabels(SetInstanceLabelsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Replaces all the labels of an Instance.
|
void |
setInstanceMachineType(SetInstanceMachineTypeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the machine type of a single Instance.
|
void |
startInstance(StartInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Starts a notebook instance.
|
void |
stopInstance(StopInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops a notebook instance.
|
void |
triggerSchedule(TriggerScheduleRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Triggers execution of an existing schedule.
|
void |
updateInstanceConfig(UpdateInstanceConfigRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Instance configurations.
|
void |
updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request,
io.grpc.stub.StreamObserver<UpdateInstanceMetadataItemsResponse> responseObserver)
Add/update metadata items for an instance.
|
void |
updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the Shielded instance configuration of a single Instance.
|
void |
upgradeInstance(UpgradeInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a notebook instance to the latest version.
|
void |
upgradeInstanceInternal(UpgradeInstanceInternalRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Allows notebook instances to
call this endpoint to upgrade themselves.
|
protected NotebookServiceGrpc.NotebookServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<NotebookServiceGrpc.NotebookServiceStub>public void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists instances in a given project and location.
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
public void createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Instance in a given project and location.
public void registerInstance(RegisterInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.
public void setInstanceAccelerator(SetInstanceAcceleratorRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the guest accelerators of a single Instance.
public void setInstanceMachineType(SetInstanceMachineTypeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the machine type of a single Instance.
public void updateInstanceConfig(UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Instance configurations.
public void updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the Shielded instance configuration of a single Instance.
public void setInstanceLabels(SetInstanceLabelsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Replaces all the labels of an Instance.
public void updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request, io.grpc.stub.StreamObserver<UpdateInstanceMetadataItemsResponse> responseObserver)
Add/update metadata items for an instance.
public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Instance.
public void startInstance(StartInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Starts a notebook instance.
public void stopInstance(StopInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops a notebook instance.
public void resetInstance(ResetInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a notebook instance.
public void reportInstanceInfo(ReportInstanceInfoRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Allows notebook instances to report their latest instance information to the Notebooks API server. The server will merge the reported information to the instance metadata store. Do not use this method directly.
public void isInstanceUpgradeable(IsInstanceUpgradeableRequest request, io.grpc.stub.StreamObserver<IsInstanceUpgradeableResponse> responseObserver)
Check if a notebook instance is upgradable.
public void getInstanceHealth(GetInstanceHealthRequest request, io.grpc.stub.StreamObserver<GetInstanceHealthResponse> responseObserver)
Check if a notebook instance is healthy.
public void upgradeInstance(UpgradeInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a notebook instance to the latest version.
public void rollbackInstance(RollbackInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Rollbacks a notebook instance to the previous version.
public void diagnoseInstance(DiagnoseInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
public void upgradeInstanceInternal(UpgradeInstanceInternalRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Allows notebook instances to call this endpoint to upgrade themselves. Do not use this method directly.
public void listEnvironments(ListEnvironmentsRequest request, io.grpc.stub.StreamObserver<ListEnvironmentsResponse> responseObserver)
Lists environments in a project.
public void getEnvironment(GetEnvironmentRequest request, io.grpc.stub.StreamObserver<Environment> responseObserver)
Gets details of a single Environment.
public void createEnvironment(CreateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Environment.
public void deleteEnvironment(DeleteEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Environment.
public void listSchedules(ListSchedulesRequest request, io.grpc.stub.StreamObserver<ListSchedulesResponse> responseObserver)
Lists schedules in a given project and location.
public void getSchedule(GetScheduleRequest request, io.grpc.stub.StreamObserver<Schedule> responseObserver)
Gets details of schedule
public void deleteSchedule(DeleteScheduleRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes schedule and all underlying jobs
public void createSchedule(CreateScheduleRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Scheduled Notebook in a given project and location.
public void triggerSchedule(TriggerScheduleRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Triggers execution of an existing schedule.
public void listExecutions(ListExecutionsRequest request, io.grpc.stub.StreamObserver<ListExecutionsResponse> responseObserver)
Lists executions in a given project and location
public void getExecution(GetExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver)
Gets details of executions
public void deleteExecution(DeleteExecutionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes execution
public void createExecution(CreateExecutionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Execution in a given project and location.
Copyright © 2023 Google LLC. All rights reserved.