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 com.google.api.gax.rpc.ClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder>
Builder for AdvisoryNotificationsServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(AdvisoryNotificationsServiceSettings settings)protectedBuilder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvisoryNotificationsServiceSettings.BuilderapplyToAllUnaryMethods(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.AdvisoryNotificationsServiceSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNotificationRequest,Notification>getNotificationSettings()Returns the builder for the settings used for calls to getNotification.AdvisoryNotificationsServiceStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationsRequest,ListNotificationsResponse,AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse>listNotificationsSettings()Returns the builder for the settings used for calls to listNotifications.-
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(AdvisoryNotificationsServiceSettings settings)
-
Builder
protected Builder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AdvisoryNotificationsServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AdvisoryNotificationsServiceSettings.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.
-
listNotificationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationsRequest,ListNotificationsResponse,AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse> listNotificationsSettings()
Returns the builder for the settings used for calls to listNotifications.
-
getNotificationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNotificationRequest,Notification> getNotificationSettings()
Returns the builder for the settings used for calls to getNotification.
-
build
public AdvisoryNotificationsServiceSettings build() throws IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder>- Throws:
IOException
-
-