Class BuildsSettings.Builder (0.55.0)

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

Builder for BuildsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BuildsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BuildsSettings settings)

protected Builder(BuildsSettings settings)
Parameter
Name Description
settings BuildsSettings

Builder(BuildsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

submitBuildSettings()

public UnaryCallSettings.Builder<SubmitBuildRequest,SubmitBuildResponse> submitBuildSettings()

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

Returns
Type Description
Builder<SubmitBuildRequest,SubmitBuildResponse>