Class NotificationChannelServiceStubSettings.Builder (3.35.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>

build()

public NotificationChannelServiceStubSettings build()
Overrides
Exceptions
TypeDescription
IOException

createNotificationChannelSettings()

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

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

deleteNotificationChannelSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getNotificationChannelDescriptorSettings()

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

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

getNotificationChannelSettings()

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

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

getNotificationChannelVerificationCodeSettings()

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

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

listNotificationChannelDescriptorsSettings()

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

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

listNotificationChannelsSettings()

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

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

sendNotificationChannelVerificationCodeSettings()

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

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

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.

verifyNotificationChannelSettings()

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

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