Class EstimateBillingServiceSettings.Builder (0.50.0)

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

Builder for EstimateBillingServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EstimateBillingServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EstimateBillingServiceSettings settings)

protected Builder(EstimateBillingServiceSettings settings)
Parameter
Name Description
settings EstimateBillingServiceSettings

Builder(EstimateBillingServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public EstimateBillingServiceSettings build()
Returns
Type Description
EstimateBillingServiceSettings
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>

getStubSettingsBuilder()

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