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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(AdvisoryNotificationsServiceStubSettings settings)
protected Builder(AdvisoryNotificationsServiceStubSettings settings)
Parameter | |
---|---|
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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
AdvisoryNotificationsServiceStubSettings.Builder |
build()
public AdvisoryNotificationsServiceStubSettings build()
Returns | |
---|---|
Type | Description |
AdvisoryNotificationsServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getNotificationSettings()
public UnaryCallSettings.Builder<GetNotificationRequest,Notification> getNotificationSettings()
Returns the builder for the settings used for calls to getNotification.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<ListNotificationsRequest,ListNotificationsResponse,ListNotificationsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |