Class NotebookServiceSettings.Builder (1.44.0)

public static class NotebookServiceSettings.Builder extends ClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder>

Builder for NotebookServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NotebookServiceSettings.Builder

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
Overrides
Exceptions
Type Description
IOException

checkInstanceUpgradabilitySettings()

public UnaryCallSettings.Builder<CheckInstanceUpgradabilityRequest,CheckInstanceUpgradabilityResponse> checkInstanceUpgradabilitySettings()

Returns the builder for the settings used for calls to checkInstanceUpgradability.

Returns
Type Description
Builder<CheckInstanceUpgradabilityRequest,CheckInstanceUpgradabilityResponse>

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>

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>

diagnoseInstanceOperationSettings()

public OperationCallSettings.Builder<DiagnoseInstanceRequest,Instance,OperationMetadata> diagnoseInstanceOperationSettings()

Returns the builder for the settings used for calls to diagnoseInstance.

Returns
Type Description
Builder<DiagnoseInstanceRequest,Instance,OperationMetadata>

diagnoseInstanceSettings()

public UnaryCallSettings.Builder<DiagnoseInstanceRequest,Operation> diagnoseInstanceSettings()

Returns the builder for the settings used for calls to diagnoseInstance.

Returns
Type Description
Builder<DiagnoseInstanceRequest,Operation>

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

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>

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>

rollbackInstanceOperationSettings()

public OperationCallSettings.Builder<RollbackInstanceRequest,Instance,OperationMetadata> rollbackInstanceOperationSettings()

Returns the builder for the settings used for calls to rollbackInstance.

Returns
Type Description
Builder<RollbackInstanceRequest,Instance,OperationMetadata>

rollbackInstanceSettings()

public UnaryCallSettings.Builder<RollbackInstanceRequest,Operation> rollbackInstanceSettings()

Returns the builder for the settings used for calls to rollbackInstance.

Returns
Type Description
Builder<RollbackInstanceRequest,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>

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>

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
Type Description
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
Type Description
Builder<UpdateInstanceRequest,Operation>

upgradeInstanceOperationSettings()

public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()

Returns the builder for the settings used for calls to upgradeInstance.

Returns
Type Description
Builder<UpgradeInstanceRequest,Instance,OperationMetadata>

upgradeInstanceSettings()

public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()

Returns the builder for the settings used for calls to upgradeInstance.

Returns
Type Description
Builder<UpgradeInstanceRequest,Operation>