Package com.google.cloud.notebooks.v1
Class NotebookServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder>
com.google.cloud.notebooks.v1.NotebookServiceSettings.Builder
- Enclosing class:
- NotebookServiceSettings
public static class NotebookServiceSettings.Builder
extends ClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder>
Builder for NotebookServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(NotebookServiceSettings settings) protectedBuilder(NotebookServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createEnvironment.Returns the builder for the settings used for calls to createEnvironment.Returns the builder for the settings used for calls to createExecution.Returns the builder for the settings used for calls to createExecution.Returns the builder for the settings used for calls to createInstance.Returns the builder for the settings used for calls to createInstance.Returns the builder for the settings used for calls to createSchedule.Returns the builder for the settings used for calls to createSchedule.OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteEnvironment.Returns the builder for the settings used for calls to deleteEnvironment.OperationCallSettings.Builder<DeleteExecutionRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteExecution.Returns the builder for the settings used for calls to deleteExecution.OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to deleteInstance.OperationCallSettings.Builder<DeleteScheduleRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteSchedule.Returns the builder for the settings used for calls to deleteSchedule.Returns the builder for the settings used for calls to diagnoseInstance.Returns the builder for the settings used for calls to diagnoseInstance.Returns the builder for the settings used for calls to getEnvironment.Returns the builder for the settings used for calls to getExecution.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getInstanceHealth.Returns the builder for the settings used for calls to getInstance.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getSchedule.Returns the builder for the settings used for calls to isInstanceUpgradeable.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse, NotebookServiceClient.ListEnvironmentsPagedResponse> Returns the builder for the settings used for calls to listEnvironments.PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse, NotebookServiceClient.ListExecutionsPagedResponse> Returns the builder for the settings used for calls to listExecutions.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, NotebookServiceClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, NotebookServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListSchedulesRequest,ListSchedulesResponse, NotebookServiceClient.ListSchedulesPagedResponse> Returns the builder for the settings used for calls to listSchedules.Returns the builder for the settings used for calls to registerInstance.Returns the builder for the settings used for calls to registerInstance.Returns the builder for the settings used for calls to reportInstanceInfo.Returns the builder for the settings used for calls to reportInstanceInfo.Returns the builder for the settings used for calls to resetInstance.Returns the builder for the settings used for calls to resetInstance.Returns the builder for the settings used for calls to rollbackInstance.Returns the builder for the settings used for calls to rollbackInstance.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to setInstanceAccelerator.Returns the builder for the settings used for calls to setInstanceAccelerator.Returns the builder for the settings used for calls to setInstanceLabels.Returns the builder for the settings used for calls to setInstanceLabels.Returns the builder for the settings used for calls to setInstanceMachineType.Returns the builder for the settings used for calls to setInstanceMachineType.Returns the builder for the settings used for calls to startInstance.Returns the builder for the settings used for calls to startInstance.Returns the builder for the settings used for calls to stopInstance.Returns the builder for the settings used for calls to stopInstance.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to triggerSchedule.Returns the builder for the settings used for calls to triggerSchedule.Returns the builder for the settings used for calls to updateInstanceConfig.Returns the builder for the settings used for calls to updateInstanceConfig.Returns the builder for the settings used for calls to updateInstanceMetadataItems.Returns the builder for the settings used for calls to updateShieldedInstanceConfig.Returns the builder for the settings used for calls to updateShieldedInstanceConfig.Returns the builder for the settings used for calls to upgradeInstanceInternal.Returns the builder for the settings used for calls to upgradeInstanceInternal.Returns the builder for the settings used for calls to upgradeInstance.Returns the builder for the settings used for calls to upgradeInstance.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public NotebookServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
listInstancesSettings
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, listInstancesSettings()NotebookServiceClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances. -
getInstanceSettings
Returns the builder for the settings used for calls to getInstance. -
createInstanceSettings
Returns the builder for the settings used for calls to createInstance. -
createInstanceOperationSettings
public OperationCallSettings.Builder<CreateInstanceRequest,Instance, createInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createInstance. -
registerInstanceSettings
Returns the builder for the settings used for calls to registerInstance. -
registerInstanceOperationSettings
public OperationCallSettings.Builder<RegisterInstanceRequest,Instance, registerInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to registerInstance. -
setInstanceAcceleratorSettings
public UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorSettings()Returns the builder for the settings used for calls to setInstanceAccelerator. -
setInstanceAcceleratorOperationSettings
public OperationCallSettings.Builder<SetInstanceAcceleratorRequest,Instance, setInstanceAcceleratorOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to setInstanceAccelerator. -
setInstanceMachineTypeSettings
public UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeSettings()Returns the builder for the settings used for calls to setInstanceMachineType. -
setInstanceMachineTypeOperationSettings
public OperationCallSettings.Builder<SetInstanceMachineTypeRequest,Instance, setInstanceMachineTypeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to setInstanceMachineType. -
updateInstanceConfigSettings
public UnaryCallSettings.Builder<UpdateInstanceConfigRequest,Operation> updateInstanceConfigSettings()Returns the builder for the settings used for calls to updateInstanceConfig. -
updateInstanceConfigOperationSettings
public OperationCallSettings.Builder<UpdateInstanceConfigRequest,Instance, updateInstanceConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateInstanceConfig. -
updateShieldedInstanceConfigSettings
public UnaryCallSettings.Builder<UpdateShieldedInstanceConfigRequest,Operation> updateShieldedInstanceConfigSettings()Returns the builder for the settings used for calls to updateShieldedInstanceConfig. -
updateShieldedInstanceConfigOperationSettings
public OperationCallSettings.Builder<UpdateShieldedInstanceConfigRequest,Instance, updateShieldedInstanceConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateShieldedInstanceConfig. -
setInstanceLabelsSettings
Returns the builder for the settings used for calls to setInstanceLabels. -
setInstanceLabelsOperationSettings
public OperationCallSettings.Builder<SetInstanceLabelsRequest,Instance, setInstanceLabelsOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to setInstanceLabels. -
updateInstanceMetadataItemsSettings
public UnaryCallSettings.Builder<UpdateInstanceMetadataItemsRequest,UpdateInstanceMetadataItemsResponse> updateInstanceMetadataItemsSettings()Returns the builder for the settings used for calls to updateInstanceMetadataItems. -
deleteInstanceSettings
Returns the builder for the settings used for calls to deleteInstance. -
deleteInstanceOperationSettings
public OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteInstance. -
startInstanceSettings
Returns the builder for the settings used for calls to startInstance. -
startInstanceOperationSettings
public OperationCallSettings.Builder<StartInstanceRequest,Instance, startInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to startInstance. -
stopInstanceSettings
Returns the builder for the settings used for calls to stopInstance. -
stopInstanceOperationSettings
public OperationCallSettings.Builder<StopInstanceRequest,Instance, stopInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to stopInstance. -
resetInstanceSettings
Returns the builder for the settings used for calls to resetInstance. -
resetInstanceOperationSettings
public OperationCallSettings.Builder<ResetInstanceRequest,Instance, resetInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to resetInstance. -
reportInstanceInfoSettings
Returns the builder for the settings used for calls to reportInstanceInfo. -
reportInstanceInfoOperationSettings
public OperationCallSettings.Builder<ReportInstanceInfoRequest,Instance, reportInstanceInfoOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to reportInstanceInfo. -
isInstanceUpgradeableSettings
public UnaryCallSettings.Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableSettings()Returns the builder for the settings used for calls to isInstanceUpgradeable. -
getInstanceHealthSettings
public UnaryCallSettings.Builder<GetInstanceHealthRequest,GetInstanceHealthResponse> getInstanceHealthSettings()Returns the builder for the settings used for calls to getInstanceHealth. -
upgradeInstanceSettings
Returns the builder for the settings used for calls to upgradeInstance. -
upgradeInstanceOperationSettings
public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance, upgradeInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to upgradeInstance. -
rollbackInstanceSettings
Returns the builder for the settings used for calls to rollbackInstance. -
rollbackInstanceOperationSettings
public OperationCallSettings.Builder<RollbackInstanceRequest,Instance, rollbackInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to rollbackInstance. -
diagnoseInstanceSettings
Returns the builder for the settings used for calls to diagnoseInstance. -
diagnoseInstanceOperationSettings
public OperationCallSettings.Builder<DiagnoseInstanceRequest,Instance, diagnoseInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to diagnoseInstance. -
upgradeInstanceInternalSettings
public UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalSettings()Returns the builder for the settings used for calls to upgradeInstanceInternal. -
upgradeInstanceInternalOperationSettings
public OperationCallSettings.Builder<UpgradeInstanceInternalRequest,Instance, upgradeInstanceInternalOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to upgradeInstanceInternal. -
listEnvironmentsSettings
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse, listEnvironmentsSettings()NotebookServiceClient.ListEnvironmentsPagedResponse> Returns the builder for the settings used for calls to listEnvironments. -
getEnvironmentSettings
Returns the builder for the settings used for calls to getEnvironment. -
createEnvironmentSettings
Returns the builder for the settings used for calls to createEnvironment. -
createEnvironmentOperationSettings
public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment, createEnvironmentOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createEnvironment. -
deleteEnvironmentSettings
Returns the builder for the settings used for calls to deleteEnvironment. -
deleteEnvironmentOperationSettings
public OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty, deleteEnvironmentOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteEnvironment. -
listSchedulesSettings
public PagedCallSettings.Builder<ListSchedulesRequest,ListSchedulesResponse, listSchedulesSettings()NotebookServiceClient.ListSchedulesPagedResponse> Returns the builder for the settings used for calls to listSchedules. -
getScheduleSettings
Returns the builder for the settings used for calls to getSchedule. -
deleteScheduleSettings
Returns the builder for the settings used for calls to deleteSchedule. -
deleteScheduleOperationSettings
public OperationCallSettings.Builder<DeleteScheduleRequest,com.google.protobuf.Empty, deleteScheduleOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteSchedule. -
createScheduleSettings
Returns the builder for the settings used for calls to createSchedule. -
createScheduleOperationSettings
public OperationCallSettings.Builder<CreateScheduleRequest,Schedule, createScheduleOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createSchedule. -
triggerScheduleSettings
Returns the builder for the settings used for calls to triggerSchedule. -
triggerScheduleOperationSettings
public OperationCallSettings.Builder<TriggerScheduleRequest,Schedule, triggerScheduleOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to triggerSchedule. -
listExecutionsSettings
public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse, listExecutionsSettings()NotebookServiceClient.ListExecutionsPagedResponse> Returns the builder for the settings used for calls to listExecutions. -
getExecutionSettings
Returns the builder for the settings used for calls to getExecution. -
deleteExecutionSettings
Returns the builder for the settings used for calls to deleteExecution. -
deleteExecutionOperationSettings
public OperationCallSettings.Builder<DeleteExecutionRequest,com.google.protobuf.Empty, deleteExecutionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteExecution. -
createExecutionSettings
Returns the builder for the settings used for calls to createExecution. -
createExecutionOperationSettings
public OperationCallSettings.Builder<CreateExecutionRequest,Execution, createExecutionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createExecution. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()NotebookServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder> - Throws:
IOException
-