Class MetricsScopesSettings.Builder (0.35.0)

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

Builder for MetricsScopesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MetricsScopesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MetricsScopesSettings settings)

protected Builder(MetricsScopesSettings settings)
Parameter
NameDescription
settingsMetricsScopesSettings

Builder(MetricsScopesStubSettings.Builder stubSettings)

protected Builder(MetricsScopesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsMetricsScopesStubSettings.Builder

Methods

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

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

build()

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

createMonitoredProjectOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata>

createMonitoredProjectSettings()

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

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

Returns
TypeDescription
Builder<CreateMonitoredProjectRequest,Operation>

deleteMonitoredProjectOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteMonitoredProjectRequest,Empty,OperationMetadata>

deleteMonitoredProjectSettings()

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

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

Returns
TypeDescription
Builder<DeleteMonitoredProjectRequest,Operation>

getMetricsScopeSettings()

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

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

Returns
TypeDescription
Builder<GetMetricsScopeRequest,MetricsScope>

getStubSettingsBuilder()

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

listMetricsScopesByMonitoredProjectSettings()

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

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

Returns
TypeDescription
Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse>