public static final class NotebookServiceGrpc.NotebookServiceStub extends AbstractAsyncStub<NotebookServiceGrpc.NotebookServiceStub>
API v1 service for Cloud AI Platform Notebooks.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
NotebookServiceGrpc.NotebookServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
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
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Creates a new Environment.
createExecution(CreateExecutionRequest request, StreamObserver<Operation> responseObserver)
public void createExecution(CreateExecutionRequest request, StreamObserver<Operation> responseObserver)
Creates a new Execution in a given project and location.
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
Creates a new Instance in a given project and location.
createSchedule(CreateScheduleRequest request, StreamObserver<Operation> responseObserver)
public void createSchedule(CreateScheduleRequest request, StreamObserver<Operation> responseObserver)
Creates a new Scheduled Notebook in a given project and location.
deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Environment.
deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)
public void deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Instance.
deleteSchedule(DeleteScheduleRequest request, StreamObserver<Operation> responseObserver)
public void deleteSchedule(DeleteScheduleRequest request, StreamObserver<Operation> responseObserver)
Deletes schedule and all underlying jobs
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.
getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
public void getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
Gets details of a single Environment.
getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)
public void getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)
Gets details of executions
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
getInstanceHealth(GetInstanceHealthRequest request, StreamObserver<GetInstanceHealthResponse> responseObserver)
public void getInstanceHealth(GetInstanceHealthRequest request, StreamObserver<GetInstanceHealthResponse> responseObserver)
Check if a notebook instance is healthy.
getSchedule(GetScheduleRequest request, StreamObserver<Schedule> responseObserver)
public void getSchedule(GetScheduleRequest request, StreamObserver<Schedule> responseObserver)
isInstanceUpgradeable(IsInstanceUpgradeableRequest request, StreamObserver<IsInstanceUpgradeableResponse> responseObserver)
public void isInstanceUpgradeable(IsInstanceUpgradeableRequest request, StreamObserver<IsInstanceUpgradeableResponse> responseObserver)
Check if a notebook instance is upgradable.
listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
public void listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
Lists environments in a project.
listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)
public void listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)
Lists executions in a given project and location
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists instances in a given project and location.
listSchedules(ListSchedulesRequest request, StreamObserver<ListSchedulesResponse> responseObserver)
public void listSchedules(ListSchedulesRequest request, StreamObserver<ListSchedulesResponse> responseObserver)
Lists schedules in a given project and location.
registerInstance(RegisterInstanceRequest request, StreamObserver<Operation> responseObserver)
public void registerInstance(RegisterInstanceRequest request, StreamObserver<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.
reportInstanceInfo(ReportInstanceInfoRequest request, StreamObserver<Operation> responseObserver)
public void reportInstanceInfo(ReportInstanceInfoRequest request, StreamObserver<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.
resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)
public void resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)
Resets a notebook instance.
rollbackInstance(RollbackInstanceRequest request, StreamObserver<Operation> responseObserver)
public void rollbackInstance(RollbackInstanceRequest request, StreamObserver<Operation> responseObserver)
Rollbacks a notebook instance to the previous version.
setInstanceAccelerator(SetInstanceAcceleratorRequest request, StreamObserver<Operation> responseObserver)
public void setInstanceAccelerator(SetInstanceAcceleratorRequest request, StreamObserver<Operation> responseObserver)
Updates the guest accelerators of a single Instance.
setInstanceLabels(SetInstanceLabelsRequest request, StreamObserver<Operation> responseObserver)
public void setInstanceLabels(SetInstanceLabelsRequest request, StreamObserver<Operation> responseObserver)
Replaces all the labels of an Instance.
setInstanceMachineType(SetInstanceMachineTypeRequest request, StreamObserver<Operation> responseObserver)
public void setInstanceMachineType(SetInstanceMachineTypeRequest request, StreamObserver<Operation> responseObserver)
Updates the machine type of a single Instance.
startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)
public void startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)
Starts a notebook instance.
stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)
public void stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)
Stops a notebook instance.
triggerSchedule(TriggerScheduleRequest request, StreamObserver<Operation> responseObserver)
public void triggerSchedule(TriggerScheduleRequest request, StreamObserver<Operation> responseObserver)
Triggers execution of an existing schedule.
updateInstanceConfig(UpdateInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
public void updateInstanceConfig(UpdateInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
Update Notebook Instance configurations.
public void updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request, StreamObserver<UpdateInstanceMetadataItemsResponse> responseObserver)
Add/update metadata items for an instance.
updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
public void updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
Updates the Shielded instance configuration of a single Instance.
upgradeInstance(UpgradeInstanceRequest request, StreamObserver<Operation> responseObserver)
public void upgradeInstance(UpgradeInstanceRequest request, StreamObserver<Operation> responseObserver)
Upgrades a notebook instance to the latest version.
upgradeInstanceInternal(UpgradeInstanceInternalRequest request, StreamObserver<Operation> responseObserver)
public void upgradeInstanceInternal(UpgradeInstanceInternalRequest request, StreamObserver<Operation> responseObserver)
Allows notebook instances to
call this endpoint to upgrade themselves. Do not use this method directly.