Class NotificationChannelServiceSettings.Builder (3.23.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
NameDescription
clientContextClientContext

Builder(NotificationChannelServiceSettings settings)

protected Builder(NotificationChannelServiceSettings settings)
Parameter
NameDescription
settingsNotificationChannelServiceSettings

Builder(NotificationChannelServiceStubSettings.Builder stubSettings)

protected Builder(NotificationChannelServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNotificationChannelServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
NotificationChannelServiceSettings.Builder

build()

public NotificationChannelServiceSettings build()
Returns
TypeDescription
NotificationChannelServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createNotificationChannelSettings()

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

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

Returns
TypeDescription
Builder<CreateNotificationChannelRequest,NotificationChannel>

deleteNotificationChannelSettings()

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

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

Returns
TypeDescription
Builder<DeleteNotificationChannelRequest,Empty>

getNotificationChannelDescriptorSettings()

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

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

Returns
TypeDescription
Builder<GetNotificationChannelDescriptorRequest,NotificationChannelDescriptor>

getNotificationChannelSettings()

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

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

Returns
TypeDescription
Builder<GetNotificationChannelRequest,NotificationChannel>

getNotificationChannelVerificationCodeSettings()

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

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

Returns
TypeDescription
Builder<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse>

getStubSettingsBuilder()

public NotificationChannelServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
NotificationChannelServiceStubSettings.Builder

listNotificationChannelDescriptorsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListNotificationChannelsRequest,ListNotificationChannelsResponse,ListNotificationChannelsPagedResponse>

sendNotificationChannelVerificationCodeSettings()

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

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

Returns
TypeDescription
Builder<SendNotificationChannelVerificationCodeRequest,Empty>

updateNotificationChannelSettings()

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

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

Returns
TypeDescription
Builder<UpdateNotificationChannelRequest,NotificationChannel>

verifyNotificationChannelSettings()

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

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

Returns
TypeDescription
Builder<VerifyNotificationChannelRequest,NotificationChannel>