public static class AdvisoryNotificationsServiceStubSettings.Builder extends StubSettings.Builder<AdvisoryNotificationsServiceStubSettings,AdvisoryNotificationsServiceStubSettings.Builder>
Builder for AdvisoryNotificationsServiceStubSettings.
Inheritance
java.lang.Object > StubSettings.Builder > AdvisoryNotificationsServiceStubSettings.BuilderConstructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(AdvisoryNotificationsServiceStubSettings settings)
protected Builder(AdvisoryNotificationsServiceStubSettings settings)
Name | Description |
settings | AdvisoryNotificationsServiceStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AdvisoryNotificationsServiceStubSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
AdvisoryNotificationsServiceStubSettings.Builder |
build()
public AdvisoryNotificationsServiceStubSettings build()
Type | Description |
AdvisoryNotificationsServiceStubSettings |
Type | Description |
IOException |
getNotificationSettings()
public UnaryCallSettings.Builder<GetNotificationRequest,Notification> getNotificationSettings()
Returns the builder for the settings used for calls to getNotification.
Type | Description |
Builder<GetNotificationRequest,Notification> |
listNotificationsSettings()
public PagedCallSettings.Builder<ListNotificationsRequest,ListNotificationsResponse,AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse> listNotificationsSettings()
Returns the builder for the settings used for calls to listNotifications.
Type | Description |
Builder<ListNotificationsRequest,ListNotificationsResponse,ListNotificationsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |