Send feedback
Class UsageServiceSettings.Builder (0.1.0)
public static class UsageServiceSettings . Builder extends ClientSettings . Builder<UsageServiceSettings , UsageServiceSettings . Builder >
Builder for UsageServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(UsageServiceSettings settings)
protected Builder ( UsageServiceSettings settings )
Builder(UsageServiceStubSettings.Builder stubSettings)
protected Builder ( UsageServiceStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public UsageServiceSettings . 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.
build()
public UsageServiceSettings build ()
Overrides
exportForecastsOperationSettings()
public OperationCallSettings . Builder<ExportForecastsRequest , ExportForecastsResponse , OperationMetadata > exportForecastsOperationSettings ()
Returns the builder for the settings used for calls to exportForecasts.
exportForecastsSettings()
public UnaryCallSettings . Builder<ExportForecastsRequest , Operation > exportForecastsSettings ()
Returns the builder for the settings used for calls to exportForecasts.
exportReservationsUsageOperationSettings()
public OperationCallSettings . Builder<ExportReservationsUsageRequest , ExportReservationsUsageResponse , OperationMetadata > exportReservationsUsageOperationSettings ()
Returns the builder for the settings used for calls to exportReservationsUsage.
exportReservationsUsageSettings()
public UnaryCallSettings . Builder<ExportReservationsUsageRequest , Operation > exportReservationsUsageSettings ()
Returns the builder for the settings used for calls to exportReservationsUsage.
exportUsageHistoriesOperationSettings()
public OperationCallSettings . Builder<ExportUsageHistoriesRequest , ExportUsageHistoriesResponse , OperationMetadata > exportUsageHistoriesOperationSettings ()
Returns the builder for the settings used for calls to exportUsageHistories.
exportUsageHistoriesSettings()
public UnaryCallSettings . Builder<ExportUsageHistoriesRequest , Operation > exportUsageHistoriesSettings ()
Returns the builder for the settings used for calls to exportUsageHistories.
getStubSettingsBuilder()
public UsageServiceStubSettings . Builder getStubSettingsBuilder ()
queryForecastsSettings()
public UnaryCallSettings . Builder<QueryForecastsRequest , QueryForecastsResponse > queryForecastsSettings ()
Returns the builder for the settings used for calls to queryForecasts.
queryReservationsSettings()
public UnaryCallSettings . Builder<QueryReservationsRequest , QueryReservationsResponse > queryReservationsSettings ()
Returns the builder for the settings used for calls to queryReservations.
queryUsageHistoriesSettings()
public UnaryCallSettings . Builder<QueryUsageHistoriesRequest , QueryUsageHistoriesResponse > queryUsageHistoriesSettings ()
Returns the builder for the settings used for calls to queryUsageHistories.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]