public static class AlertPolicyServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AlertPolicyServiceSettings settings) |
protected |
Builder(AlertPolicyServiceStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and 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,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.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AlertPolicyServiceSettings settings)
protected Builder(AlertPolicyServiceStubSettings.Builder stubSettings)
public AlertPolicyServiceStubSettings.Builder getStubSettingsBuilder()
public AlertPolicyServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAlertPoliciesRequest,ListAlertPoliciesResponse,AlertPolicyServiceClient.ListAlertPoliciesPagedResponse> listAlertPoliciesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAlertPolicyRequest,AlertPolicy> getAlertPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAlertPolicyRequest,AlertPolicy> createAlertPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAlertPolicyRequest,Empty> deleteAlertPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAlertPolicyRequest,AlertPolicy> updateAlertPolicySettings()
public AlertPolicyServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<AlertPolicyServiceSettings,AlertPolicyServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.