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.
Static Methods
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
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
createEnvironmentCallable()
public UnaryCallable<CreateEnvironmentRequest,Operation> createEnvironmentCallable()
Returns
Overrides
createEnvironmentOperationCallable()
public OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationCallable()
Returns
Overrides
createExecutionCallable()
public UnaryCallable<CreateExecutionRequest,Operation> createExecutionCallable()
Returns
Overrides
createExecutionOperationCallable()
public OperationCallable<CreateExecutionRequest,Execution,OperationMetadata> createExecutionOperationCallable()
Returns
Overrides
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Returns
Overrides
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Returns
Overrides
createScheduleCallable()
public UnaryCallable<CreateScheduleRequest,Operation> createScheduleCallable()
Returns
Overrides
createScheduleOperationCallable()
public OperationCallable<CreateScheduleRequest,Schedule,OperationMetadata> createScheduleOperationCallable()
Returns
Overrides
deleteEnvironmentCallable()
public UnaryCallable<DeleteEnvironmentRequest,Operation> deleteEnvironmentCallable()
Returns
Overrides
deleteEnvironmentOperationCallable()
public OperationCallable<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationCallable()
Returns
Overrides
deleteExecutionCallable()
public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Returns
Overrides
deleteExecutionOperationCallable()
public OperationCallable<DeleteExecutionRequest,Empty,OperationMetadata> deleteExecutionOperationCallable()
Returns
Overrides
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Returns
Overrides
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Returns
Overrides
deleteScheduleCallable()
public UnaryCallable<DeleteScheduleRequest,Operation> deleteScheduleCallable()
Returns
Overrides
deleteScheduleOperationCallable()
public OperationCallable<DeleteScheduleRequest,Empty,OperationMetadata> deleteScheduleOperationCallable()
Returns
Overrides
getEnvironmentCallable()
public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Returns
Overrides
getExecutionCallable()
public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Returns
Overrides
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
Overrides
getInstanceHealthCallable()
public UnaryCallable<GetInstanceHealthRequest,GetInstanceHealthResponse> getInstanceHealthCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getScheduleCallable()
public UnaryCallable<GetScheduleRequest,Schedule> getScheduleCallable()
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
listExecutionsCallable()
public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Returns
Overrides
listExecutionsPagedCallable()
public UnaryCallable<ListExecutionsRequest,NotebookServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Returns
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Overrides
listSchedulesCallable()
public UnaryCallable<ListSchedulesRequest,ListSchedulesResponse> listSchedulesCallable()
Returns
Overrides
listSchedulesPagedCallable()
public UnaryCallable<ListSchedulesRequest,NotebookServiceClient.ListSchedulesPagedResponse> listSchedulesPagedCallable()
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
rollbackInstanceCallable()
public UnaryCallable<RollbackInstanceRequest,Operation> rollbackInstanceCallable()
Returns
Overrides
rollbackInstanceOperationCallable()
public OperationCallable<RollbackInstanceRequest,Instance,OperationMetadata> rollbackInstanceOperationCallable()
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
triggerScheduleCallable()
public UnaryCallable<TriggerScheduleRequest,Operation> triggerScheduleCallable()
Returns
Overrides
triggerScheduleOperationCallable()
public OperationCallable<TriggerScheduleRequest,Schedule,OperationMetadata> triggerScheduleOperationCallable()
Returns
Overrides
updateInstanceConfigCallable()
public UnaryCallable<UpdateInstanceConfigRequest,Operation> updateInstanceConfigCallable()
Returns
Overrides
updateInstanceConfigOperationCallable()
public OperationCallable<UpdateInstanceConfigRequest,Instance,OperationMetadata> updateInstanceConfigOperationCallable()
Returns
Overrides
updateShieldedInstanceConfigCallable()
public UnaryCallable<UpdateShieldedInstanceConfigRequest,Operation> updateShieldedInstanceConfigCallable()
Returns
Overrides
updateShieldedInstanceConfigOperationCallable()
public OperationCallable<UpdateShieldedInstanceConfigRequest,Instance,OperationMetadata> updateShieldedInstanceConfigOperationCallable()
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