Class GrpcNotebookServiceStub
java.lang.Object
com.google.cloud.notebooks.v1beta1.stub.NotebookServiceStub
com.google.cloud.notebooks.v1beta1.stub.GrpcNotebookServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcNotebookServiceStub, using the given settings.protectedGrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcNotebookServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcNotebookServiceStubcreate(ClientContext clientContext) static final GrpcNotebookServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcNotebookServiceStubcreate(NotebookServiceStubSettings settings) OperationCallable<DeleteEnvironmentRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcNotebookServiceStub
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcNotebookServiceStub
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classNotebookServiceStub
-
listInstancesCallable
- Overrides:
listInstancesCallablein classNotebookServiceStub
-
listInstancesPagedCallable
public UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()- Overrides:
listInstancesPagedCallablein classNotebookServiceStub
-
getInstanceCallable
- Overrides:
getInstanceCallablein classNotebookServiceStub
-
createInstanceCallable
- Overrides:
createInstanceCallablein classNotebookServiceStub
-
createInstanceOperationCallable
public OperationCallable<CreateInstanceRequest,Instance, createInstanceOperationCallable()OperationMetadata> - Overrides:
createInstanceOperationCallablein classNotebookServiceStub
-
registerInstanceCallable
- Overrides:
registerInstanceCallablein classNotebookServiceStub
-
registerInstanceOperationCallable
public OperationCallable<RegisterInstanceRequest,Instance, registerInstanceOperationCallable()OperationMetadata> - Overrides:
registerInstanceOperationCallablein classNotebookServiceStub
-
setInstanceAcceleratorCallable
- Overrides:
setInstanceAcceleratorCallablein classNotebookServiceStub
-
setInstanceAcceleratorOperationCallable
public OperationCallable<SetInstanceAcceleratorRequest,Instance, setInstanceAcceleratorOperationCallable()OperationMetadata> - Overrides:
setInstanceAcceleratorOperationCallablein classNotebookServiceStub
-
setInstanceMachineTypeCallable
- Overrides:
setInstanceMachineTypeCallablein classNotebookServiceStub
-
setInstanceMachineTypeOperationCallable
public OperationCallable<SetInstanceMachineTypeRequest,Instance, setInstanceMachineTypeOperationCallable()OperationMetadata> - Overrides:
setInstanceMachineTypeOperationCallablein classNotebookServiceStub
-
setInstanceLabelsCallable
- Overrides:
setInstanceLabelsCallablein classNotebookServiceStub
-
setInstanceLabelsOperationCallable
public OperationCallable<SetInstanceLabelsRequest,Instance, setInstanceLabelsOperationCallable()OperationMetadata> - Overrides:
setInstanceLabelsOperationCallablein classNotebookServiceStub
-
deleteInstanceCallable
- Overrides:
deleteInstanceCallablein classNotebookServiceStub
-
deleteInstanceOperationCallable
public OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationCallable()OperationMetadata> - Overrides:
deleteInstanceOperationCallablein classNotebookServiceStub
-
startInstanceCallable
- Overrides:
startInstanceCallablein classNotebookServiceStub
-
startInstanceOperationCallable
public OperationCallable<StartInstanceRequest,Instance, startInstanceOperationCallable()OperationMetadata> - Overrides:
startInstanceOperationCallablein classNotebookServiceStub
-
stopInstanceCallable
- Overrides:
stopInstanceCallablein classNotebookServiceStub
-
stopInstanceOperationCallable
public OperationCallable<StopInstanceRequest,Instance, stopInstanceOperationCallable()OperationMetadata> - Overrides:
stopInstanceOperationCallablein classNotebookServiceStub
-
resetInstanceCallable
- Overrides:
resetInstanceCallablein classNotebookServiceStub
-
resetInstanceOperationCallable
public OperationCallable<ResetInstanceRequest,Instance, resetInstanceOperationCallable()OperationMetadata> - Overrides:
resetInstanceOperationCallablein classNotebookServiceStub
-
reportInstanceInfoCallable
- Overrides:
reportInstanceInfoCallablein classNotebookServiceStub
-
reportInstanceInfoOperationCallable
public OperationCallable<ReportInstanceInfoRequest,Instance, reportInstanceInfoOperationCallable()OperationMetadata> - Overrides:
reportInstanceInfoOperationCallablein classNotebookServiceStub
-
isInstanceUpgradeableCallable
public UnaryCallable<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableCallable()- Overrides:
isInstanceUpgradeableCallablein classNotebookServiceStub
-
upgradeInstanceCallable
- Overrides:
upgradeInstanceCallablein classNotebookServiceStub
-
upgradeInstanceOperationCallable
public OperationCallable<UpgradeInstanceRequest,Instance, upgradeInstanceOperationCallable()OperationMetadata> - Overrides:
upgradeInstanceOperationCallablein classNotebookServiceStub
-
upgradeInstanceInternalCallable
- Overrides:
upgradeInstanceInternalCallablein classNotebookServiceStub
-
upgradeInstanceInternalOperationCallable
public OperationCallable<UpgradeInstanceInternalRequest,Instance, upgradeInstanceInternalOperationCallable()OperationMetadata> - Overrides:
upgradeInstanceInternalOperationCallablein classNotebookServiceStub
-
listEnvironmentsCallable
- Overrides:
listEnvironmentsCallablein classNotebookServiceStub
-
listEnvironmentsPagedCallable
public UnaryCallable<ListEnvironmentsRequest,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()- Overrides:
listEnvironmentsPagedCallablein classNotebookServiceStub
-
getEnvironmentCallable
- Overrides:
getEnvironmentCallablein classNotebookServiceStub
-
createEnvironmentCallable
- Overrides:
createEnvironmentCallablein classNotebookServiceStub
-
createEnvironmentOperationCallable
public OperationCallable<CreateEnvironmentRequest,Environment, createEnvironmentOperationCallable()OperationMetadata> - Overrides:
createEnvironmentOperationCallablein classNotebookServiceStub
-
deleteEnvironmentCallable
- Overrides:
deleteEnvironmentCallablein classNotebookServiceStub
-
deleteEnvironmentOperationCallable
public OperationCallable<DeleteEnvironmentRequest,com.google.protobuf.Empty, deleteEnvironmentOperationCallable()OperationMetadata> - Overrides:
deleteEnvironmentOperationCallablein classNotebookServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classNotebookServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classNotebookServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classNotebookServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classNotebookServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classNotebookServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classNotebookServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classNotebookServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-