Class ProjectServiceSettings.Builder (0.42.0)

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

Builder for ProjectServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProjectServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProjectServiceSettings settings)

protected Builder(ProjectServiceSettings settings)
Parameter
Name Description
settings ProjectServiceSettings

Builder(ProjectServiceStubSettings.Builder stubSettings)

protected Builder(ProjectServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ProjectServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ProjectServiceSettings.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
ProjectServiceSettings.Builder

build()

public ProjectServiceSettings build()
Returns
Type Description
ProjectServiceSettings
Overrides
Exceptions
Type Description
IOException

getStubSettingsBuilder()

public ProjectServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ProjectServiceStubSettings.Builder

provisionProjectOperationSettings()

public OperationCallSettings.Builder<ProvisionProjectRequest,Project,ProvisionProjectMetadata> provisionProjectOperationSettings()

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

Returns
Type Description
Builder<ProvisionProjectRequest,Project,ProvisionProjectMetadata>

provisionProjectSettings()

public UnaryCallSettings.Builder<ProvisionProjectRequest,Operation> provisionProjectSettings()

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

Returns
Type Description
Builder<ProvisionProjectRequest,Operation>