Class EstimateBillingServiceSettings.Builder (0.35.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
NameDescription
clientContextClientContext

Builder(EstimateBillingServiceSettings settings)

protected Builder(EstimateBillingServiceSettings settings)
Parameter
NameDescription
settingsEstimateBillingServiceSettings

Builder(EstimateBillingServiceStubSettings.Builder stubSettings)

protected Builder(EstimateBillingServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEstimateBillingServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EstimateBillingServiceSettings.Builder

build()

public EstimateBillingServiceSettings build()
Returns
TypeDescription
EstimateBillingServiceSettings
Overrides
Exceptions
TypeDescription
IOException

estimateDataSizeOperationSettings()

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

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

Returns
TypeDescription
Builder<EstimateDataSizeRequest,EstimateDataSizeResponse,EstimateDataSizeMetadata>

estimateDataSizeSettings()

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

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

Returns
TypeDescription
Builder<EstimateDataSizeRequest,Operation>

getStubSettingsBuilder()

public EstimateBillingServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EstimateBillingServiceStubSettings.Builder