Class GrpcNotebookServiceStub
java.lang.Object
com.google.cloud.notebooks.v1.stub.NotebookServiceStub
com.google.cloud.notebooks.v1.stub.GrpcNotebookServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@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<DeleteExecutionRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteScheduleRequest,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
-
updateInstanceConfigCallable
- Overrides:
updateInstanceConfigCallablein classNotebookServiceStub
-
updateInstanceConfigOperationCallable
public OperationCallable<UpdateInstanceConfigRequest,Instance, updateInstanceConfigOperationCallable()OperationMetadata> - Overrides:
updateInstanceConfigOperationCallablein classNotebookServiceStub
-
updateShieldedInstanceConfigCallable
public UnaryCallable<UpdateShieldedInstanceConfigRequest,Operation> updateShieldedInstanceConfigCallable()- Overrides:
updateShieldedInstanceConfigCallablein classNotebookServiceStub
-
updateShieldedInstanceConfigOperationCallable
public OperationCallable<UpdateShieldedInstanceConfigRequest,Instance, updateShieldedInstanceConfigOperationCallable()OperationMetadata> - Overrides:
updateShieldedInstanceConfigOperationCallablein classNotebookServiceStub
-
setInstanceLabelsCallable
- Overrides:
setInstanceLabelsCallablein classNotebookServiceStub
-
setInstanceLabelsOperationCallable
public OperationCallable<SetInstanceLabelsRequest,Instance, setInstanceLabelsOperationCallable()OperationMetadata> - Overrides:
setInstanceLabelsOperationCallablein classNotebookServiceStub
-
updateInstanceMetadataItemsCallable
public UnaryCallable<UpdateInstanceMetadataItemsRequest,UpdateInstanceMetadataItemsResponse> updateInstanceMetadataItemsCallable()- Overrides:
updateInstanceMetadataItemsCallablein 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
-
getInstanceHealthCallable
public UnaryCallable<GetInstanceHealthRequest,GetInstanceHealthResponse> getInstanceHealthCallable()- Overrides:
getInstanceHealthCallablein classNotebookServiceStub
-
upgradeInstanceCallable
- Overrides:
upgradeInstanceCallablein classNotebookServiceStub
-
upgradeInstanceOperationCallable
public OperationCallable<UpgradeInstanceRequest,Instance, upgradeInstanceOperationCallable()OperationMetadata> - Overrides:
upgradeInstanceOperationCallablein classNotebookServiceStub
-
rollbackInstanceCallable
- Overrides:
rollbackInstanceCallablein classNotebookServiceStub
-
rollbackInstanceOperationCallable
public OperationCallable<RollbackInstanceRequest,Instance, rollbackInstanceOperationCallable()OperationMetadata> - Overrides:
rollbackInstanceOperationCallablein classNotebookServiceStub
-
diagnoseInstanceCallable
- Overrides:
diagnoseInstanceCallablein classNotebookServiceStub
-
diagnoseInstanceOperationCallable
public OperationCallable<DiagnoseInstanceRequest,Instance, diagnoseInstanceOperationCallable()OperationMetadata> - Overrides:
diagnoseInstanceOperationCallablein 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
-
listSchedulesCallable
- Overrides:
listSchedulesCallablein classNotebookServiceStub
-
listSchedulesPagedCallable
public UnaryCallable<ListSchedulesRequest,NotebookServiceClient.ListSchedulesPagedResponse> listSchedulesPagedCallable()- Overrides:
listSchedulesPagedCallablein classNotebookServiceStub
-
getScheduleCallable
- Overrides:
getScheduleCallablein classNotebookServiceStub
-
deleteScheduleCallable
- Overrides:
deleteScheduleCallablein classNotebookServiceStub
-
deleteScheduleOperationCallable
public OperationCallable<DeleteScheduleRequest,com.google.protobuf.Empty, deleteScheduleOperationCallable()OperationMetadata> - Overrides:
deleteScheduleOperationCallablein classNotebookServiceStub
-
createScheduleCallable
- Overrides:
createScheduleCallablein classNotebookServiceStub
-
createScheduleOperationCallable
public OperationCallable<CreateScheduleRequest,Schedule, createScheduleOperationCallable()OperationMetadata> - Overrides:
createScheduleOperationCallablein classNotebookServiceStub
-
triggerScheduleCallable
- Overrides:
triggerScheduleCallablein classNotebookServiceStub
-
triggerScheduleOperationCallable
public OperationCallable<TriggerScheduleRequest,Schedule, triggerScheduleOperationCallable()OperationMetadata> - Overrides:
triggerScheduleOperationCallablein classNotebookServiceStub
-
listExecutionsCallable
- Overrides:
listExecutionsCallablein classNotebookServiceStub
-
listExecutionsPagedCallable
public UnaryCallable<ListExecutionsRequest,NotebookServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()- Overrides:
listExecutionsPagedCallablein classNotebookServiceStub
-
getExecutionCallable
- Overrides:
getExecutionCallablein classNotebookServiceStub
-
deleteExecutionCallable
- Overrides:
deleteExecutionCallablein classNotebookServiceStub
-
deleteExecutionOperationCallable
public OperationCallable<DeleteExecutionRequest,com.google.protobuf.Empty, deleteExecutionOperationCallable()OperationMetadata> - Overrides:
deleteExecutionOperationCallablein classNotebookServiceStub
-
createExecutionCallable
- Overrides:
createExecutionCallablein classNotebookServiceStub
-
createExecutionOperationCallable
public OperationCallable<CreateExecutionRequest,Execution, createExecutionOperationCallable()OperationMetadata> - Overrides:
createExecutionOperationCallablein 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
-