Class MetricsScopesStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<MetricsScopesStubSettings,MetricsScopesStubSettings.Builder>
-
- com.google.monitoring.metricsscope.v1.stub.MetricsScopesStubSettings.Builder
-
- Enclosing class:
- MetricsScopesStubSettings
public static class MetricsScopesStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<MetricsScopesStubSettings,MetricsScopesStubSettings.Builder>
Builder for MetricsScopesStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MetricsScopesStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsScopesStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.MetricsScopesStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata>
createMonitoredProjectOperationSettings()
Returns the builder for the settings used for calls to createMonitoredProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMonitoredProjectRequest,com.google.longrunning.Operation>
createMonitoredProjectSettings()
Returns the builder for the settings used for calls to createMonitoredProject.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteMonitoredProjectRequest,com.google.protobuf.Empty,OperationMetadata>
deleteMonitoredProjectOperationSettings()
Returns the builder for the settings used for calls to deleteMonitoredProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteMonitoredProjectRequest,com.google.longrunning.Operation>
deleteMonitoredProjectSettings()
Returns the builder for the settings used for calls to deleteMonitoredProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetricsScopeRequest,MetricsScope>
getMetricsScopeSettings()
Returns the builder for the settings used for calls to getMetricsScope.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse>
listMetricsScopesByMonitoredProjectSettings()
Returns the builder for the settings used for calls to listMetricsScopesByMonitoredProject.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(MetricsScopesStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public MetricsScopesStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
getMetricsScopeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetricsScopeRequest,MetricsScope> getMetricsScopeSettings()
Returns the builder for the settings used for calls to getMetricsScope.
-
listMetricsScopesByMonitoredProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse> listMetricsScopesByMonitoredProjectSettings()
Returns the builder for the settings used for calls to listMetricsScopesByMonitoredProject.
-
createMonitoredProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMonitoredProjectRequest,com.google.longrunning.Operation> createMonitoredProjectSettings()
Returns the builder for the settings used for calls to createMonitoredProject.
-
createMonitoredProjectOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata> createMonitoredProjectOperationSettings()
Returns the builder for the settings used for calls to createMonitoredProject.
-
deleteMonitoredProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteMonitoredProjectRequest,com.google.longrunning.Operation> deleteMonitoredProjectSettings()
Returns the builder for the settings used for calls to deleteMonitoredProject.
-
deleteMonitoredProjectOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteMonitoredProjectRequest,com.google.protobuf.Empty,OperationMetadata> deleteMonitoredProjectOperationSettings()
Returns the builder for the settings used for calls to deleteMonitoredProject.
-
build
public MetricsScopesStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<MetricsScopesStubSettings,MetricsScopesStubSettings.Builder>
- Throws:
IOException
-
-