- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public static class NotebookServiceSettings.Builder extends ClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder>
Builder for NotebookServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(NotebookServiceSettings settings)
protected Builder(NotebookServiceSettings settings)
Parameter | |
---|---|
Name | Description |
settings | NotebookServiceSettings |
Builder(NotebookServiceStubSettings.Builder stubSettings)
protected Builder(NotebookServiceStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings | NotebookServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
NotebookServiceSettings.Builder |
build()
public NotebookServiceSettings build()
Returns | |
---|---|
Type | Description |
NotebookServiceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createEnvironmentOperationSettings()
public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
Returns | |
---|---|
Type | Description |
Builder<CreateEnvironmentRequest,Environment,OperationMetadata> |
createEnvironmentSettings()
public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
Returns | |
---|---|
Type | Description |
Builder<CreateEnvironmentRequest,Operation> |
createInstanceOperationSettings()
public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
Returns | |
---|---|
Type | Description |
Builder<CreateInstanceRequest,Instance,OperationMetadata> |
createInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
Returns | |
---|---|
Type | Description |
Builder<CreateInstanceRequest,Operation> |
deleteEnvironmentOperationSettings()
public OperationCallSettings.Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
Returns | |
---|---|
Type | Description |
Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> |
deleteEnvironmentSettings()
public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
Returns | |
---|---|
Type | Description |
Builder<DeleteEnvironmentRequest,Operation> |
deleteInstanceOperationSettings()
public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
Returns | |
---|---|
Type | Description |
Builder<DeleteInstanceRequest,Empty,OperationMetadata> |
deleteInstanceSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
Returns | |
---|---|
Type | Description |
Builder<DeleteInstanceRequest,Operation> |
getEnvironmentSettings()
public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
Returns | |
---|---|
Type | Description |
Builder<GetEnvironmentRequest,Environment> |
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getInstanceSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
Returns | |
---|---|
Type | Description |
Builder<GetInstanceRequest,Instance> |
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns | |
---|---|
Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getStubSettingsBuilder()
public NotebookServiceStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
NotebookServiceStubSettings.Builder |
isInstanceUpgradeableSettings() (deprecated)
public UnaryCallSettings.Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableSettings()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to isInstanceUpgradeable.
Returns | |
---|---|
Type | Description |
Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> |
listEnvironmentsSettings()
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
Returns | |
---|---|
Type | Description |
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse> |
listInstancesSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,NotebookServiceClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
Returns | |
---|---|
Type | Description |
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse> |
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Returns | |
---|---|
Type | Description |
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |
registerInstanceOperationSettings()
public OperationCallSettings.Builder<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationSettings()
Returns the builder for the settings used for calls to registerInstance.
Returns | |
---|---|
Type | Description |
Builder<RegisterInstanceRequest,Instance,OperationMetadata> |
registerInstanceSettings()
public UnaryCallSettings.Builder<RegisterInstanceRequest,Operation> registerInstanceSettings()
Returns the builder for the settings used for calls to registerInstance.
Returns | |
---|---|
Type | Description |
Builder<RegisterInstanceRequest,Operation> |
reportInstanceInfoOperationSettings()
public OperationCallSettings.Builder<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.
Returns | |
---|---|
Type | Description |
Builder<ReportInstanceInfoRequest,Instance,OperationMetadata> |
reportInstanceInfoSettings()
public UnaryCallSettings.Builder<ReportInstanceInfoRequest,Operation> reportInstanceInfoSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.
Returns | |
---|---|
Type | Description |
Builder<ReportInstanceInfoRequest,Operation> |
resetInstanceOperationSettings()
public OperationCallSettings.Builder<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationSettings()
Returns the builder for the settings used for calls to resetInstance.
Returns | |
---|---|
Type | Description |
Builder<ResetInstanceRequest,Instance,OperationMetadata> |
resetInstanceSettings()
public UnaryCallSettings.Builder<ResetInstanceRequest,Operation> resetInstanceSettings()
Returns the builder for the settings used for calls to resetInstance.
Returns | |
---|---|
Type | Description |
Builder<ResetInstanceRequest,Operation> |
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setInstanceAcceleratorOperationSettings()
public OperationCallSettings.Builder<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.
Returns | |
---|---|
Type | Description |
Builder<SetInstanceAcceleratorRequest,Instance,OperationMetadata> |
setInstanceAcceleratorSettings()
public UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.
Returns | |
---|---|
Type | Description |
Builder<SetInstanceAcceleratorRequest,Operation> |
setInstanceLabelsOperationSettings()
public OperationCallSettings.Builder<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationSettings()
Returns the builder for the settings used for calls to setInstanceLabels.
Returns | |
---|---|
Type | Description |
Builder<SetInstanceLabelsRequest,Instance,OperationMetadata> |
setInstanceLabelsSettings()
public UnaryCallSettings.Builder<SetInstanceLabelsRequest,Operation> setInstanceLabelsSettings()
Returns the builder for the settings used for calls to setInstanceLabels.
Returns | |
---|---|
Type | Description |
Builder<SetInstanceLabelsRequest,Operation> |
setInstanceMachineTypeOperationSettings()
public OperationCallSettings.Builder<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.
Returns | |
---|---|
Type | Description |
Builder<SetInstanceMachineTypeRequest,Instance,OperationMetadata> |
setInstanceMachineTypeSettings()
public UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.
Returns | |
---|---|
Type | Description |
Builder<SetInstanceMachineTypeRequest,Operation> |
startInstanceOperationSettings()
public OperationCallSettings.Builder<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationSettings()
Returns the builder for the settings used for calls to startInstance.
Returns | |
---|---|
Type | Description |
Builder<StartInstanceRequest,Instance,OperationMetadata> |
startInstanceSettings()
public UnaryCallSettings.Builder<StartInstanceRequest,Operation> startInstanceSettings()
Returns the builder for the settings used for calls to startInstance.
Returns | |
---|---|
Type | Description |
Builder<StartInstanceRequest,Operation> |
stopInstanceOperationSettings()
public OperationCallSettings.Builder<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationSettings()
Returns the builder for the settings used for calls to stopInstance.
Returns | |
---|---|
Type | Description |
Builder<StopInstanceRequest,Instance,OperationMetadata> |
stopInstanceSettings()
public UnaryCallSettings.Builder<StopInstanceRequest,Operation> stopInstanceSettings()
Returns the builder for the settings used for calls to stopInstance.
Returns | |
---|---|
Type | Description |
Builder<StopInstanceRequest,Operation> |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
upgradeInstanceInternalOperationSettings() (deprecated)
public OperationCallSettings.Builder<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationSettings()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to upgradeInstanceInternal.
Returns | |
---|---|
Type | Description |
Builder<UpgradeInstanceInternalRequest,Instance,OperationMetadata> |
upgradeInstanceInternalSettings() (deprecated)
public UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalSettings()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to upgradeInstanceInternal.
Returns | |
---|---|
Type | Description |
Builder<UpgradeInstanceInternalRequest,Operation> |
upgradeInstanceOperationSettings() (deprecated)
public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to upgradeInstance.
Returns | |
---|---|
Type | Description |
Builder<UpgradeInstanceRequest,Instance,OperationMetadata> |
upgradeInstanceSettings() (deprecated)
public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to upgradeInstance.
Returns | |
---|---|
Type | Description |
Builder<UpgradeInstanceRequest,Operation> |