Class MetricsScopesSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<MetricsScopesSettings,MetricsScopesSettings.Builder>
com.google.monitoring.metricsscope.v1.MetricsScopesSettings.Builder
- Enclosing class:
- MetricsScopesSettings
public static class MetricsScopesSettings.Builder
extends ClientSettings.Builder<MetricsScopesSettings,MetricsScopesSettings.Builder>
Builder for MetricsScopesSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MetricsScopesSettings settings) protectedBuilder(MetricsScopesStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createMonitoredProject.Returns the builder for the settings used for calls to createMonitoredProject.OperationCallSettings.Builder<DeleteMonitoredProjectRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteMonitoredProject.Returns the builder for the settings used for calls to deleteMonitoredProject.Returns the builder for the settings used for calls to getMetricsScope.UnaryCallSettings.Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse> Returns the builder for the settings used for calls to listMetricsScopesByMonitoredProject.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
getMetricsScopeSettings
Returns the builder for the settings used for calls to getMetricsScope. -
listMetricsScopesByMonitoredProjectSettings
public UnaryCallSettings.Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse> listMetricsScopesByMonitoredProjectSettings()Returns the builder for the settings used for calls to listMetricsScopesByMonitoredProject. -
createMonitoredProjectSettings
public UnaryCallSettings.Builder<CreateMonitoredProjectRequest,Operation> createMonitoredProjectSettings()Returns the builder for the settings used for calls to createMonitoredProject. -
createMonitoredProjectOperationSettings
public OperationCallSettings.Builder<CreateMonitoredProjectRequest,MonitoredProject, createMonitoredProjectOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createMonitoredProject. -
deleteMonitoredProjectSettings
public UnaryCallSettings.Builder<DeleteMonitoredProjectRequest,Operation> deleteMonitoredProjectSettings()Returns the builder for the settings used for calls to deleteMonitoredProject. -
deleteMonitoredProjectOperationSettings
public OperationCallSettings.Builder<DeleteMonitoredProjectRequest,com.google.protobuf.Empty, deleteMonitoredProjectOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteMonitoredProject. -
build
- Specified by:
buildin classClientSettings.Builder<MetricsScopesSettings,MetricsScopesSettings.Builder> - Throws:
IOException
-