Class EstimateBillingServiceStubSettings.Builder (0.51.0)

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

Builder for EstimateBillingServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EstimateBillingServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EstimateBillingServiceStubSettings settings)

protected Builder(EstimateBillingServiceStubSettings settings)
Parameter
Name Description
settings EstimateBillingServiceStubSettings

Methods

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

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

build()

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

estimateDataSizeOperationSettings()

public OperationCallSettings.Builder<EstimateDataSizeRequest,EstimateDataSizeResponse,EstimateDataSizeMetadata> estimateDataSizeOperationSettings()

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

Returns
Type Description
Builder<EstimateDataSizeRequest,EstimateDataSizeResponse,EstimateDataSizeMetadata>

estimateDataSizeSettings()

public UnaryCallSettings.Builder<EstimateDataSizeRequest,Operation> estimateDataSizeSettings()

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

Returns
Type Description
Builder<EstimateDataSizeRequest,Operation>

unaryMethodSettingsBuilders()

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