public static class AlertPolicyServiceStubSettings.Builder extends StubSettings.Builder<AlertPolicyServiceStubSettings,AlertPolicyServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AlertPolicyServiceStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AlertPolicyServiceStubSettings.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.
|
AlertPolicyServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(AlertPolicyServiceStubSettings settings)
public AlertPolicyServiceStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 AlertPolicyServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<AlertPolicyServiceStubSettings,AlertPolicyServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.