Send feedback
Class MetricsSettings.Builder (3.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
3.44.0 (latest)
3.40.0
3.36.0
3.35.0
3.34.0
3.32.0
3.29.0
3.28.0
3.26.0
3.24.0
3.23.10
3.22.6
3.21.4
3.20.7
3.19.0
3.18.0
3.17.2
3.16.2
3.15.17
3.14.9
3.13.7
3.12.1
3.11.10
3.10.7
3.9.0
3.8.0
3.7.6
3.6.4
3.5.3
public static class MetricsSettings . Builder extends ClientSettings . Builder<MetricsSettings , MetricsSettings . Builder >
Builder for MetricsSettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder ( @Nullable ClientContext clientContext )
Parameter
Name
Description
clientContext
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
Builder(MetricsSettings settings)
protected Builder ( MetricsSettings settings )
Builder(MetricsServiceV2StubSettings.Builder stubSettings)
protected Builder ( MetricsServiceV2StubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public MetricsSettings . 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 MetricsSettings build ()
Overrides
createLogMetricSettings()
public UnaryCallSettings . Builder<CreateLogMetricRequest , LogMetric > createLogMetricSettings ()
Returns the builder for the settings used for calls to createLogMetric.
deleteLogMetricSettings()
public UnaryCallSettings . Builder<DeleteLogMetricRequest , Empty > deleteLogMetricSettings ()
Returns the builder for the settings used for calls to deleteLogMetric.
getLogMetricSettings()
public UnaryCallSettings . Builder<GetLogMetricRequest , LogMetric > getLogMetricSettings ()
Returns the builder for the settings used for calls to getLogMetric.
getStubSettingsBuilder()
public MetricsServiceV2StubSettings . Builder getStubSettingsBuilder ()
listLogMetricsSettings()
public PagedCallSettings . Builder<ListLogMetricsRequest , ListLogMetricsResponse , MetricsClient . ListLogMetricsPagedResponse > listLogMetricsSettings ()
Returns the builder for the settings used for calls to listLogMetrics.
updateLogMetricSettings()
public UnaryCallSettings . Builder<UpdateLogMetricRequest , LogMetric > updateLogMetricSettings ()
Returns the builder for the settings used for calls to updateLogMetric.
Send feedback
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 2026-11-19 UTC."],[],[]]