public static class NotificationChannelServiceStubSettings.Builder extends StubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder>
Builder for NotificationChannelServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(NotificationChannelServiceStubSettings settings)
protected Builder(NotificationChannelServiceStubSettings settings)
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.
build()
public NotificationChannelServiceStubSettings build()
Overrides
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.
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.
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 |
---|
Type | Description |
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.