public static class MetricsScopesStubSettings.Builder extends StubSettings.Builder<MetricsScopesStubSettings,MetricsScopesStubSettings.Builder>
Builder for MetricsScopesStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(MetricsScopesStubSettings settings)
protected Builder(MetricsScopesStubSettings settings)
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.
build()
public MetricsScopesStubSettings build()
Overrides
createMonitoredProjectOperationSettings()
public OperationCallSettings.Builder<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata> createMonitoredProjectOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createMonitoredProject.
createMonitoredProjectSettings()
public UnaryCallSettings.Builder<CreateMonitoredProjectRequest,Operation> createMonitoredProjectSettings()
Returns the builder for the settings used for calls to createMonitoredProject.
deleteMonitoredProjectOperationSettings()
public OperationCallSettings.Builder<DeleteMonitoredProjectRequest,Empty,OperationMetadata> deleteMonitoredProjectOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteMonitoredProject.
deleteMonitoredProjectSettings()
public UnaryCallSettings.Builder<DeleteMonitoredProjectRequest,Operation> deleteMonitoredProjectSettings()
Returns the builder for the settings used for calls to deleteMonitoredProject.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getMetricsScopeSettings()
public UnaryCallSettings.Builder<GetMetricsScopeRequest,MetricsScope> 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.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>