Class NotificationChannelServiceSettings.Builder (3.49.0)

public static class NotificationChannelServiceSettings.Builder extends ClientSettings.Builder<NotificationChannelServiceSettings,NotificationChannelServiceSettings.Builder>

Builder for NotificationChannelServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NotificationChannelServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NotificationChannelServiceSettings settings)

protected Builder(NotificationChannelServiceSettings settings)
Parameter
Name Description
settings NotificationChannelServiceSettings

Builder(NotificationChannelServiceStubSettings.Builder stubSettings)

protected Builder(NotificationChannelServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings NotificationChannelServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public NotificationChannelServiceSettings.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
NotificationChannelServiceSettings.Builder

build()

public NotificationChannelServiceSettings build()
Returns
Type Description
NotificationChannelServiceSettings
Overrides
Exceptions
Type Description
IOException

createNotificationChannelSettings()

public UnaryCallSettings.Builder<CreateNotificationChannelRequest,NotificationChannel> createNotificationChannelSettings()

Returns the builder for the settings used for calls to createNotificationChannel.

Returns
Type Description
Builder<CreateNotificationChannelRequest,NotificationChannel>

deleteNotificationChannelSettings()

public UnaryCallSettings.Builder<DeleteNotificationChannelRequest,Empty> deleteNotificationChannelSettings()

Returns the builder for the settings used for calls to deleteNotificationChannel.

Returns
Type Description
Builder<DeleteNotificationChannelRequest,Empty>

getNotificationChannelDescriptorSettings()

public UnaryCallSettings.Builder<GetNotificationChannelDescriptorRequest,NotificationChannelDescriptor> getNotificationChannelDescriptorSettings()

Returns the builder for the settings used for calls to getNotificationChannelDescriptor.

Returns
Type Description
Builder<GetNotificationChannelDescriptorRequest,NotificationChannelDescriptor>

getNotificationChannelSettings()

public UnaryCallSettings.Builder<GetNotificationChannelRequest,NotificationChannel> getNotificationChannelSettings()

Returns the builder for the settings used for calls to getNotificationChannel.

Returns
Type Description
Builder<GetNotificationChannelRequest,NotificationChannel>

getNotificationChannelVerificationCodeSettings()

public UnaryCallSettings.Builder<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse> getNotificationChannelVerificationCodeSettings()

Returns the builder for the settings used for calls to getNotificationChannelVerificationCode.

Returns
Type Description
Builder<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse>

getStubSettingsBuilder()

public NotificationChannelServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
NotificationChannelServiceStubSettings.Builder

listNotificationChannelDescriptorsSettings()

public PagedCallSettings.Builder<ListNotificationChannelDescriptorsRequest,ListNotificationChannelDescriptorsResponse,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings()

Returns the builder for the settings used for calls to listNotificationChannelDescriptors.

Returns
Type Description
Builder<ListNotificationChannelDescriptorsRequest,ListNotificationChannelDescriptorsResponse,ListNotificationChannelDescriptorsPagedResponse>

listNotificationChannelsSettings()

public PagedCallSettings.Builder<ListNotificationChannelsRequest,ListNotificationChannelsResponse,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> listNotificationChannelsSettings()

Returns the builder for the settings used for calls to listNotificationChannels.

Returns
Type Description
Builder<ListNotificationChannelsRequest,ListNotificationChannelsResponse,ListNotificationChannelsPagedResponse>

sendNotificationChannelVerificationCodeSettings()

public UnaryCallSettings.Builder<SendNotificationChannelVerificationCodeRequest,Empty> sendNotificationChannelVerificationCodeSettings()

Returns the builder for the settings used for calls to sendNotificationChannelVerificationCode.

Returns
Type Description
Builder<SendNotificationChannelVerificationCodeRequest,Empty>

updateNotificationChannelSettings()

public UnaryCallSettings.Builder<UpdateNotificationChannelRequest,NotificationChannel> updateNotificationChannelSettings()

Returns the builder for the settings used for calls to updateNotificationChannel.

Returns
Type Description
Builder<UpdateNotificationChannelRequest,NotificationChannel>

verifyNotificationChannelSettings()

public UnaryCallSettings.Builder<VerifyNotificationChannelRequest,NotificationChannel> verifyNotificationChannelSettings()

Returns the builder for the settings used for calls to verifyNotificationChannel.

Returns
Type Description
Builder<VerifyNotificationChannelRequest,NotificationChannel>