Package com.google.cloud.monitoring.v3
Class AlertPolicyServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
-
- com.google.cloud.monitoring.v3.AlertPolicyServiceSettings.Builder
-
- Enclosing class:
- AlertPolicyServiceSettings
public static class AlertPolicyServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
Builder for AlertPolicyServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AlertPolicyServiceSettings settings)
protected
Builder(AlertPolicyServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertPolicyServiceSettings.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.AlertPolicyServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAlertPolicyRequest,AlertPolicy>
createAlertPolicySettings()
Returns the builder for the settings used for calls to createAlertPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAlertPolicyRequest,com.google.protobuf.Empty>
deleteAlertPolicySettings()
Returns the builder for the settings used for calls to deleteAlertPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAlertPolicyRequest,AlertPolicy>
getAlertPolicySettings()
Returns the builder for the settings used for calls to getAlertPolicy.AlertPolicyServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAlertPoliciesRequest,ListAlertPoliciesResponse,AlertPolicyServiceClient.ListAlertPoliciesPagedResponse>
listAlertPoliciesSettings()
Returns the builder for the settings used for calls to listAlertPolicies.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAlertPolicyRequest,AlertPolicy>
updateAlertPolicySettings()
Returns the builder for the settings used for calls to updateAlertPolicy.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(AlertPolicyServiceSettings settings)
-
Builder
protected Builder(AlertPolicyServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AlertPolicyServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AlertPolicyServiceSettings.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.
-
listAlertPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAlertPoliciesRequest,ListAlertPoliciesResponse,AlertPolicyServiceClient.ListAlertPoliciesPagedResponse> listAlertPoliciesSettings()
Returns the builder for the settings used for calls to listAlertPolicies.
-
getAlertPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAlertPolicyRequest,AlertPolicy> getAlertPolicySettings()
Returns the builder for the settings used for calls to getAlertPolicy.
-
createAlertPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAlertPolicyRequest,AlertPolicy> createAlertPolicySettings()
Returns the builder for the settings used for calls to createAlertPolicy.
-
deleteAlertPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAlertPolicyRequest,com.google.protobuf.Empty> deleteAlertPolicySettings()
Returns the builder for the settings used for calls to deleteAlertPolicy.
-
updateAlertPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAlertPolicyRequest,AlertPolicy> updateAlertPolicySettings()
Returns the builder for the settings used for calls to updateAlertPolicy.
-
build
public AlertPolicyServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
- Throws:
IOException
-
-