Class MetricsScopesStubSettings.Builder (0.40.0)

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

Builder for MetricsScopesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MetricsScopesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MetricsScopesStubSettings settings)

protected Builder(MetricsScopesStubSettings settings)
Parameter
Name Description
settings MetricsScopesStubSettings

Methods

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

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

build()

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

createMonitoredProjectOperationSettings()

public OperationCallSettings.Builder<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata> createMonitoredProjectOperationSettings()

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

Returns
Type Description
Builder<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata>

createMonitoredProjectSettings()

public UnaryCallSettings.Builder<CreateMonitoredProjectRequest,Operation> createMonitoredProjectSettings()

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

Returns
Type Description
Builder<CreateMonitoredProjectRequest,Operation>

deleteMonitoredProjectOperationSettings()

public OperationCallSettings.Builder<DeleteMonitoredProjectRequest,Empty,OperationMetadata> deleteMonitoredProjectOperationSettings()

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

Returns
Type Description
Builder<DeleteMonitoredProjectRequest,Empty,OperationMetadata>

deleteMonitoredProjectSettings()

public UnaryCallSettings.Builder<DeleteMonitoredProjectRequest,Operation> deleteMonitoredProjectSettings()

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

Returns
Type Description
Builder<DeleteMonitoredProjectRequest,Operation>

getMetricsScopeSettings()

public UnaryCallSettings.Builder<GetMetricsScopeRequest,MetricsScope> getMetricsScopeSettings()

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

Returns
Type Description
Builder<GetMetricsScopeRequest,MetricsScope>

listMetricsScopesByMonitoredProjectSettings()

public UnaryCallSettings.Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse> listMetricsScopesByMonitoredProjectSettings()

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

Returns
Type Description
Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse>

unaryMethodSettingsBuilders()

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