Package com.google.cloud.monitoring.v3
Class NotificationChannelServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<NotificationChannelServiceSettings,NotificationChannelServiceSettings.Builder>
com.google.cloud.monitoring.v3.NotificationChannelServiceSettings.Builder
- Enclosing class:
- NotificationChannelServiceSettings
public static class NotificationChannelServiceSettings.Builder
extends ClientSettings.Builder<NotificationChannelServiceSettings,NotificationChannelServiceSettings.Builder>
Builder for NotificationChannelServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(NotificationChannelServiceSettings settings) protectedBuilder(NotificationChannelServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createNotificationChannel.UnaryCallSettings.Builder<DeleteNotificationChannelRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteNotificationChannel.Returns the builder for the settings used for calls to getNotificationChannelDescriptor.Returns the builder for the settings used for calls to getNotificationChannel.UnaryCallSettings.Builder<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse> Returns the builder for the settings used for calls to getNotificationChannelVerificationCode.PagedCallSettings.Builder<ListNotificationChannelDescriptorsRequest,ListNotificationChannelDescriptorsResponse, NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> Returns the builder for the settings used for calls to listNotificationChannelDescriptors.PagedCallSettings.Builder<ListNotificationChannelsRequest,ListNotificationChannelsResponse, NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> Returns the builder for the settings used for calls to listNotificationChannels.UnaryCallSettings.Builder<SendNotificationChannelVerificationCodeRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to sendNotificationChannelVerificationCode.Returns the builder for the settings used for calls to updateNotificationChannel.Returns the builder for the settings used for calls to verifyNotificationChannel.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
listNotificationChannelDescriptorsSettings
public PagedCallSettings.Builder<ListNotificationChannelDescriptorsRequest,ListNotificationChannelDescriptorsResponse, listNotificationChannelDescriptorsSettings()NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> Returns the builder for the settings used for calls to listNotificationChannelDescriptors. -
getNotificationChannelDescriptorSettings
public UnaryCallSettings.Builder<GetNotificationChannelDescriptorRequest,NotificationChannelDescriptor> getNotificationChannelDescriptorSettings()Returns the builder for the settings used for calls to getNotificationChannelDescriptor. -
listNotificationChannelsSettings
public PagedCallSettings.Builder<ListNotificationChannelsRequest,ListNotificationChannelsResponse, listNotificationChannelsSettings()NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> Returns the builder for the settings used for calls to listNotificationChannels. -
getNotificationChannelSettings
public UnaryCallSettings.Builder<GetNotificationChannelRequest,NotificationChannel> getNotificationChannelSettings()Returns the builder for the settings used for calls to getNotificationChannel. -
createNotificationChannelSettings
public UnaryCallSettings.Builder<CreateNotificationChannelRequest,NotificationChannel> createNotificationChannelSettings()Returns the builder for the settings used for calls to createNotificationChannel. -
updateNotificationChannelSettings
public UnaryCallSettings.Builder<UpdateNotificationChannelRequest,NotificationChannel> updateNotificationChannelSettings()Returns the builder for the settings used for calls to updateNotificationChannel. -
deleteNotificationChannelSettings
public UnaryCallSettings.Builder<DeleteNotificationChannelRequest,com.google.protobuf.Empty> deleteNotificationChannelSettings()Returns the builder for the settings used for calls to deleteNotificationChannel. -
sendNotificationChannelVerificationCodeSettings
public UnaryCallSettings.Builder<SendNotificationChannelVerificationCodeRequest,com.google.protobuf.Empty> sendNotificationChannelVerificationCodeSettings()Returns the builder for the settings used for calls to sendNotificationChannelVerificationCode. -
getNotificationChannelVerificationCodeSettings
public UnaryCallSettings.Builder<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse> getNotificationChannelVerificationCodeSettings()Returns the builder for the settings used for calls to getNotificationChannelVerificationCode. -
verifyNotificationChannelSettings
public UnaryCallSettings.Builder<VerifyNotificationChannelRequest,NotificationChannel> verifyNotificationChannelSettings()Returns the builder for the settings used for calls to verifyNotificationChannel. -
build
- Specified by:
buildin classClientSettings.Builder<NotificationChannelServiceSettings,NotificationChannelServiceSettings.Builder> - Throws:
IOException
-