public static final class NotebookServiceGrpc.NotebookServiceBlockingStub extends AbstractBlockingStub<NotebookServiceGrpc.NotebookServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service NotebookService.
API v1beta1 service for Cloud AI Platform Notebooks.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
NotebookServiceGrpc.NotebookServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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(java.time.Duration)
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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected NotebookServiceGrpc.NotebookServiceBlockingStub 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)
public Operation createEnvironment(CreateEnvironmentRequest request)
Creates a new Environment.
createInstance(CreateInstanceRequest request)
public Operation createInstance(CreateInstanceRequest request)
Creates a new Instance in a given project and location.
deleteEnvironment(DeleteEnvironmentRequest request)
public Operation deleteEnvironment(DeleteEnvironmentRequest request)
Deletes a single Environment.
deleteInstance(DeleteInstanceRequest request)
public Operation deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.
getEnvironment(GetEnvironmentRequest request)
public Environment getEnvironment(GetEnvironmentRequest request)
Gets details of a single Environment.
getInstance(GetInstanceRequest request)
public Instance getInstance(GetInstanceRequest request)
Gets details of a single Instance.
isInstanceUpgradeable(IsInstanceUpgradeableRequest request) (deprecated)
public IsInstanceUpgradeableResponse isInstanceUpgradeable(IsInstanceUpgradeableRequest request)
Check if a notebook instance is upgradable.
Deprecated. Please consider using v1.
listEnvironments(ListEnvironmentsRequest request)
public ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest request)
Lists environments in a project.
listInstances(ListInstancesRequest request)
public ListInstancesResponse listInstances(ListInstancesRequest request)
Lists instances in a given project and location.
registerInstance(RegisterInstanceRequest request)
public Operation registerInstance(RegisterInstanceRequest request)
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)
public Operation reportInstanceInfo(ReportInstanceInfoRequest request)
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)
public Operation resetInstance(ResetInstanceRequest request)
Resets a notebook instance.
setInstanceAccelerator(SetInstanceAcceleratorRequest request)
public Operation setInstanceAccelerator(SetInstanceAcceleratorRequest request)
Updates the guest accelerators of a single Instance.
setInstanceLabels(SetInstanceLabelsRequest request)
public Operation setInstanceLabels(SetInstanceLabelsRequest request)
Updates the labels of an Instance.
setInstanceMachineType(SetInstanceMachineTypeRequest request)
public Operation setInstanceMachineType(SetInstanceMachineTypeRequest request)
Updates the machine type of a single Instance.
startInstance(StartInstanceRequest request)
public Operation startInstance(StartInstanceRequest request)
Starts a notebook instance.
stopInstance(StopInstanceRequest request)
public Operation stopInstance(StopInstanceRequest request)
Stops a notebook instance.
upgradeInstance(UpgradeInstanceRequest request) (deprecated)
public Operation upgradeInstance(UpgradeInstanceRequest request)
Upgrades a notebook instance to the latest version.
Deprecated. Please consider using v1.
upgradeInstanceInternal(UpgradeInstanceInternalRequest request) (deprecated)
public Operation upgradeInstanceInternal(UpgradeInstanceInternalRequest request)
Allows notebook instances to
call this endpoint to upgrade themselves. Do not use this method directly.
Deprecated. Please consider using v1.