Class AdvisoryNotificationsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder>
com.google.cloud.advisorynotifications.v1.AdvisoryNotificationsServiceSettings.Builder
- Enclosing class:
- AdvisoryNotificationsServiceSettings
public static class AdvisoryNotificationsServiceSettings.Builder
extends ClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder>
Builder for AdvisoryNotificationsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AdvisoryNotificationsServiceSettings settings) protectedBuilder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to getNotification.Returns the builder for the settings used for calls to getSettings.PagedCallSettings.Builder<ListNotificationsRequest,ListNotificationsResponse, AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse> Returns the builder for the settings used for calls to listNotifications.Returns the builder for the settings used for calls to updateSettings.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public AdvisoryNotificationsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
-
listNotificationsSettings
public PagedCallSettings.Builder<ListNotificationsRequest,ListNotificationsResponse, listNotificationsSettings()AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse> Returns the builder for the settings used for calls to listNotifications. -
getNotificationSettings
Returns the builder for the settings used for calls to getNotification. -
getSettingsSettings
Returns the builder for the settings used for calls to getSettings. -
updateSettingsSettings
Returns the builder for the settings used for calls to updateSettings. -
build
- Specified by:
buildin classClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder> - Throws:
IOException
-