Send feedback
Class GrpcNotebookServiceStub (0.6.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.2 keyboard_arrow_down
public class GrpcNotebookServiceStub extends NotebookServiceStub
gRPC stub implementation for the NotebookService service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)
protected GrpcNotebookServiceStub ( NotebookServiceStubSettings settings , ClientContext clientContext )
Constructs an instance of GrpcNotebookServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcNotebookServiceStub ( NotebookServiceStubSettings settings , ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Constructs an instance of GrpcNotebookServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
Parameters
Returns
Exceptions
close()
public final void close ()
Overrides
create(ClientContext clientContext)
public static final GrpcNotebookServiceStub create ( ClientContext clientContext )
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcNotebookServiceStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Parameters
Returns
Exceptions
create(NotebookServiceStubSettings settings)
public static final GrpcNotebookServiceStub create ( NotebookServiceStubSettings settings )
Parameter
Returns
Exceptions
createEnvironmentCallable()
public UnaryCallable<CreateEnvironmentRequest , Operation > createEnvironmentCallable ()
Returns
Overrides
createEnvironmentOperationCallable()
public OperationCallable<CreateEnvironmentRequest , Environment , OperationMetadata > createEnvironmentOperationCallable ()
Returns
Overrides
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest , Operation > createInstanceCallable ()
Returns
Overrides
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest , Instance , OperationMetadata > createInstanceOperationCallable ()
Returns
Overrides
deleteEnvironmentCallable()
public UnaryCallable<DeleteEnvironmentRequest , Operation > deleteEnvironmentCallable ()
Returns
Overrides
deleteEnvironmentOperationCallable()
public OperationCallable<DeleteEnvironmentRequest , Empty , OperationMetadata > deleteEnvironmentOperationCallable ()
Returns
Overrides
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest , Operation > deleteInstanceCallable ()
Returns
Overrides
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest , Empty , OperationMetadata > deleteInstanceOperationCallable ()
Returns
Overrides
getEnvironmentCallable()
public UnaryCallable<GetEnvironmentRequest , Environment > getEnvironmentCallable ()
Returns
Overrides
getInstanceCallable()
public UnaryCallable<GetInstanceRequest , Instance > getInstanceCallable ()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub ()
Returns
Overrides
isInstanceUpgradeableCallable()
public UnaryCallable<IsInstanceUpgradeableRequest , IsInstanceUpgradeableResponse > isInstanceUpgradeableCallable ()
Returns
Overrides
isShutdown()
public boolean isShutdown ()
Returns
isTerminated()
public boolean isTerminated ()
Returns
listEnvironmentsCallable()
public UnaryCallable<ListEnvironmentsRequest , ListEnvironmentsResponse > listEnvironmentsCallable ()
Returns
Overrides
listEnvironmentsPagedCallable()
public UnaryCallable<ListEnvironmentsRequest , NotebookServiceClient . ListEnvironmentsPagedResponse > listEnvironmentsPagedCallable ()
Returns
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesRequest , ListInstancesResponse > listInstancesCallable ()
Returns
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest , NotebookServiceClient . ListInstancesPagedResponse > listInstancesPagedCallable ()
Returns
Overrides
registerInstanceCallable()
public UnaryCallable<RegisterInstanceRequest , Operation > registerInstanceCallable ()
Returns
Overrides
registerInstanceOperationCallable()
public OperationCallable<RegisterInstanceRequest , Instance , OperationMetadata > registerInstanceOperationCallable ()
Returns
Overrides
reportInstanceInfoCallable()
public UnaryCallable<ReportInstanceInfoRequest , Operation > reportInstanceInfoCallable ()
Returns
Overrides
reportInstanceInfoOperationCallable()
public OperationCallable<ReportInstanceInfoRequest , Instance , OperationMetadata > reportInstanceInfoOperationCallable ()
Returns
Overrides
resetInstanceCallable()
public UnaryCallable<ResetInstanceRequest , Operation > resetInstanceCallable ()
Returns
Overrides
resetInstanceOperationCallable()
public OperationCallable<ResetInstanceRequest , Instance , OperationMetadata > resetInstanceOperationCallable ()
Returns
Overrides
setInstanceAcceleratorCallable()
public UnaryCallable<SetInstanceAcceleratorRequest , Operation > setInstanceAcceleratorCallable ()
Returns
Overrides
setInstanceAcceleratorOperationCallable()
public OperationCallable<SetInstanceAcceleratorRequest , Instance , OperationMetadata > setInstanceAcceleratorOperationCallable ()
Returns
Overrides
setInstanceLabelsCallable()
public UnaryCallable<SetInstanceLabelsRequest , Operation > setInstanceLabelsCallable ()
Returns
Overrides
setInstanceLabelsOperationCallable()
public OperationCallable<SetInstanceLabelsRequest , Instance , OperationMetadata > setInstanceLabelsOperationCallable ()
Returns
Overrides
setInstanceMachineTypeCallable()
public UnaryCallable<SetInstanceMachineTypeRequest , Operation > setInstanceMachineTypeCallable ()
Returns
Overrides
setInstanceMachineTypeOperationCallable()
public OperationCallable<SetInstanceMachineTypeRequest , Instance , OperationMetadata > setInstanceMachineTypeOperationCallable ()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
startInstanceCallable()
public UnaryCallable<StartInstanceRequest , Operation > startInstanceCallable ()
Returns
Overrides
startInstanceOperationCallable()
public OperationCallable<StartInstanceRequest , Instance , OperationMetadata > startInstanceOperationCallable ()
Returns
Overrides
stopInstanceCallable()
public UnaryCallable<StopInstanceRequest , Operation > stopInstanceCallable ()
Returns
Overrides
stopInstanceOperationCallable()
public OperationCallable<StopInstanceRequest , Instance , OperationMetadata > stopInstanceOperationCallable ()
Returns
Overrides
upgradeInstanceCallable()
public UnaryCallable<UpgradeInstanceRequest , Operation > upgradeInstanceCallable ()
Returns
Overrides
upgradeInstanceInternalCallable()
public UnaryCallable<UpgradeInstanceInternalRequest , Operation > upgradeInstanceInternalCallable ()
Returns
Overrides
upgradeInstanceInternalOperationCallable()
public OperationCallable<UpgradeInstanceInternalRequest , Instance , OperationMetadata > upgradeInstanceInternalOperationCallable ()
Returns
Overrides
upgradeInstanceOperationCallable()
public OperationCallable<UpgradeInstanceRequest , Instance , OperationMetadata > upgradeInstanceOperationCallable ()
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]