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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(NotebookServiceStubSettings settings)
public static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createEnvironmentCallable()
public UnaryCallable<CreateEnvironmentRequest,Operation> createEnvironmentCallable()
Overrides
createEnvironmentOperationCallable()
public OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationCallable()
Overrides
createExecutionCallable()
public UnaryCallable<CreateExecutionRequest,Operation> createExecutionCallable()
Overrides
createExecutionOperationCallable()
public OperationCallable<CreateExecutionRequest,Execution,OperationMetadata> createExecutionOperationCallable()
Overrides
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Overrides
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Overrides
createScheduleCallable()
public UnaryCallable<CreateScheduleRequest,Operation> createScheduleCallable()
Overrides
createScheduleOperationCallable()
public OperationCallable<CreateScheduleRequest,Schedule,OperationMetadata> createScheduleOperationCallable()
Overrides
deleteEnvironmentCallable()
public UnaryCallable<DeleteEnvironmentRequest,Operation> deleteEnvironmentCallable()
Overrides
deleteEnvironmentOperationCallable()
public OperationCallable<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationCallable()
Overrides
deleteExecutionCallable()
public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Overrides
deleteExecutionOperationCallable()
public OperationCallable<DeleteExecutionRequest,Empty,OperationMetadata> deleteExecutionOperationCallable()
Overrides
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Overrides
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Overrides
deleteScheduleCallable()
public UnaryCallable<DeleteScheduleRequest,Operation> deleteScheduleCallable()
Overrides
deleteScheduleOperationCallable()
public OperationCallable<DeleteScheduleRequest,Empty,OperationMetadata> deleteScheduleOperationCallable()
Overrides
diagnoseInstanceCallable()
public UnaryCallable<DiagnoseInstanceRequest,Operation> diagnoseInstanceCallable()
Overrides
diagnoseInstanceOperationCallable()
public OperationCallable<DiagnoseInstanceRequest,Instance,OperationMetadata> diagnoseInstanceOperationCallable()
Overrides
getEnvironmentCallable()
public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Overrides
getExecutionCallable()
public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Overrides
getInstanceHealthCallable()
public UnaryCallable<GetInstanceHealthRequest,GetInstanceHealthResponse> getInstanceHealthCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getScheduleCallable()
public UnaryCallable<GetScheduleRequest,Schedule> getScheduleCallable()
Overrides
isInstanceUpgradeableCallable()
public UnaryCallable<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listEnvironmentsCallable()
public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
Overrides
listEnvironmentsPagedCallable()
public UnaryCallable<ListEnvironmentsRequest,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
Overrides
listExecutionsCallable()
public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Overrides
listExecutionsPagedCallable()
public UnaryCallable<ListExecutionsRequest,NotebookServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listSchedulesCallable()
public UnaryCallable<ListSchedulesRequest,ListSchedulesResponse> listSchedulesCallable()
Overrides
listSchedulesPagedCallable()
public UnaryCallable<ListSchedulesRequest,NotebookServiceClient.ListSchedulesPagedResponse> listSchedulesPagedCallable()
Overrides
registerInstanceCallable()
public UnaryCallable<RegisterInstanceRequest,Operation> registerInstanceCallable()
Overrides
registerInstanceOperationCallable()
public OperationCallable<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationCallable()
Overrides
reportInstanceInfoCallable()
public UnaryCallable<ReportInstanceInfoRequest,Operation> reportInstanceInfoCallable()
Overrides
reportInstanceInfoOperationCallable()
public OperationCallable<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationCallable()
Overrides
resetInstanceCallable()
public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Overrides
resetInstanceOperationCallable()
public OperationCallable<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationCallable()
Overrides
rollbackInstanceCallable()
public UnaryCallable<RollbackInstanceRequest,Operation> rollbackInstanceCallable()
Overrides
rollbackInstanceOperationCallable()
public OperationCallable<RollbackInstanceRequest,Instance,OperationMetadata> rollbackInstanceOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
setInstanceAcceleratorCallable()
public UnaryCallable<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorCallable()
Overrides
setInstanceAcceleratorOperationCallable()
public OperationCallable<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationCallable()
Overrides
setInstanceLabelsCallable()
public UnaryCallable<SetInstanceLabelsRequest,Operation> setInstanceLabelsCallable()
Overrides
setInstanceLabelsOperationCallable()
public OperationCallable<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationCallable()
Overrides
setInstanceMachineTypeCallable()
public UnaryCallable<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeCallable()
Overrides
setInstanceMachineTypeOperationCallable()
public OperationCallable<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startInstanceCallable()
public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()
Overrides
startInstanceOperationCallable()
public OperationCallable<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationCallable()
Overrides
stopInstanceCallable()
public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Overrides
stopInstanceOperationCallable()
public OperationCallable<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
triggerScheduleCallable()
public UnaryCallable<TriggerScheduleRequest,Operation> triggerScheduleCallable()
Overrides
triggerScheduleOperationCallable()
public OperationCallable<TriggerScheduleRequest,Schedule,OperationMetadata> triggerScheduleOperationCallable()
Overrides
updateInstanceConfigCallable()
public UnaryCallable<UpdateInstanceConfigRequest,Operation> updateInstanceConfigCallable()
Overrides
updateInstanceConfigOperationCallable()
public OperationCallable<UpdateInstanceConfigRequest,Instance,OperationMetadata> updateInstanceConfigOperationCallable()
Overrides
public UnaryCallable<UpdateInstanceMetadataItemsRequest,UpdateInstanceMetadataItemsResponse> updateInstanceMetadataItemsCallable()
Overrides
updateShieldedInstanceConfigCallable()
public UnaryCallable<UpdateShieldedInstanceConfigRequest,Operation> updateShieldedInstanceConfigCallable()
Overrides
updateShieldedInstanceConfigOperationCallable()
public OperationCallable<UpdateShieldedInstanceConfigRequest,Instance,OperationMetadata> updateShieldedInstanceConfigOperationCallable()
Overrides
upgradeInstanceCallable()
public UnaryCallable<UpgradeInstanceRequest,Operation> upgradeInstanceCallable()
Overrides
upgradeInstanceInternalCallable()
public UnaryCallable<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalCallable()
Overrides
upgradeInstanceInternalOperationCallable()
public OperationCallable<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationCallable()
Overrides
upgradeInstanceOperationCallable()
public OperationCallable<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationCallable()
Overrides