Class ProductInputsServiceStubSettings.Builder (0.2.0)

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

Builder for ProductInputsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProductInputsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProductInputsServiceStubSettings settings)

protected Builder(ProductInputsServiceStubSettings settings)
Parameter
Name Description
settings ProductInputsServiceStubSettings

Methods

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

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

build()

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

deleteProductInputSettings()

public UnaryCallSettings.Builder<DeleteProductInputRequest,Empty> deleteProductInputSettings()

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

Returns
Type Description
Builder<DeleteProductInputRequest,Empty>

insertProductInputSettings()

public UnaryCallSettings.Builder<InsertProductInputRequest,ProductInput> insertProductInputSettings()

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

Returns
Type Description
Builder<InsertProductInputRequest,ProductInput>

unaryMethodSettingsBuilders()

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