Class BuildsStubSettings.Builder (0.52.0)

public static class BuildsStubSettings.Builder extends StubSettings.Builder<BuildsStubSettings,BuildsStubSettings.Builder>

Builder for BuildsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BuildsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BuildsStubSettings settings)

protected Builder(BuildsStubSettings settings)
Parameter
Name Description
settings BuildsStubSettings

Methods

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

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

build()

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

submitBuildSettings()

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

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

Returns
Type Description
Builder<SubmitBuildRequest,SubmitBuildResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>