Class NotificationChannelServiceStubSettings.Builder (3.16.0)

public static class NotificationChannelServiceStubSettings.Builder extends StubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder>

Builder for NotificationChannelServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NotificationChannelServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NotificationChannelServiceStubSettings settings)

protected Builder(NotificationChannelServiceStubSettings settings)
Parameter
NameDescription
settingsNotificationChannelServiceStubSettings

Methods

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

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

build()

public NotificationChannelServiceStubSettings build()
Returns
TypeDescription
NotificationChannelServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

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>