public static class AlertPolicyServiceSettings.Builder extends ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AlertPolicyServiceSettings settings) |
protected |
Builder(AlertPolicyServiceStubSettings.Builder stubSettings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AlertPolicyServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AlertPolicyServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.monitoring.v3.CreateAlertPolicyRequest,com.google.monitoring.v3.AlertPolicy> |
createAlertPolicySettings()
Returns the builder for the settings used for calls to createAlertPolicy.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteAlertPolicyRequest,Empty> |
deleteAlertPolicySettings()
Returns the builder for the settings used for calls to deleteAlertPolicy.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.GetAlertPolicyRequest,com.google.monitoring.v3.AlertPolicy> |
getAlertPolicySettings()
Returns the builder for the settings used for calls to getAlertPolicy.
|
AlertPolicyServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.monitoring.v3.ListAlertPoliciesRequest,com.google.monitoring.v3.ListAlertPoliciesResponse,AlertPolicyServiceClient.ListAlertPoliciesPagedResponse> |
listAlertPoliciesSettings()
Returns the builder for the settings used for calls to listAlertPolicies.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateAlertPolicyRequest,com.google.monitoring.v3.AlertPolicy> |
updateAlertPolicySettings()
Returns the builder for the settings used for calls to updateAlertPolicy.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(AlertPolicyServiceSettings settings)
protected Builder(AlertPolicyServiceStubSettings.Builder stubSettings)
public AlertPolicyServiceStubSettings.Builder getStubSettingsBuilder()
public AlertPolicyServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.monitoring.v3.ListAlertPoliciesRequest,com.google.monitoring.v3.ListAlertPoliciesResponse,AlertPolicyServiceClient.ListAlertPoliciesPagedResponse> listAlertPoliciesSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetAlertPolicyRequest,com.google.monitoring.v3.AlertPolicy> getAlertPolicySettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.CreateAlertPolicyRequest,com.google.monitoring.v3.AlertPolicy> createAlertPolicySettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteAlertPolicyRequest,Empty> deleteAlertPolicySettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateAlertPolicyRequest,com.google.monitoring.v3.AlertPolicy> updateAlertPolicySettings()
public AlertPolicyServiceSettings build() throws IOException
build
in class ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.