public static class NotificationChannelServiceSettings.Builder extends ClientSettings.Builder<NotificationChannelServiceSettings,NotificationChannelServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(NotificationChannelServiceSettings settings) |
protected |
Builder(NotificationChannelServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
NotificationChannelServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
NotificationChannelServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.monitoring.v3.CreateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
createNotificationChannelSettings()
Returns the builder for the settings used for calls to createNotificationChannel.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteNotificationChannelRequest,Empty> |
deleteNotificationChannelSettings()
Returns the builder for the settings used for calls to deleteNotificationChannel.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.GetNotificationChannelDescriptorRequest,com.google.monitoring.v3.NotificationChannelDescriptor> |
getNotificationChannelDescriptorSettings()
Returns the builder for the settings used for calls to getNotificationChannelDescriptor.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.GetNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
getNotificationChannelSettings()
Returns the builder for the settings used for calls to getNotificationChannel.
|
NotificationChannelServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> |
listNotificationChannelDescriptorsSettings()
Returns the builder for the settings used for calls to listNotificationChannelDescriptors.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListNotificationChannelsRequest,com.google.monitoring.v3.ListNotificationChannelsResponse,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> |
listNotificationChannelsSettings()
Returns the builder for the settings used for calls to listNotificationChannels.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
updateNotificationChannelSettings()
Returns the builder for the settings used for calls to updateNotificationChannel.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(NotificationChannelServiceSettings settings)
protected Builder(NotificationChannelServiceStubSettings.Builder stubSettings)
public NotificationChannelServiceStubSettings.Builder getStubSettingsBuilder()
public NotificationChannelServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetNotificationChannelDescriptorRequest,com.google.monitoring.v3.NotificationChannelDescriptor> getNotificationChannelDescriptorSettings()
public PagedCallSettings.Builder<com.google.monitoring.v3.ListNotificationChannelsRequest,com.google.monitoring.v3.ListNotificationChannelsResponse,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> listNotificationChannelsSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> getNotificationChannelSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.CreateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> createNotificationChannelSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> updateNotificationChannelSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteNotificationChannelRequest,Empty> deleteNotificationChannelSettings()
public NotificationChannelServiceSettings build() throws IOException
build
in class ClientSettings.Builder<NotificationChannelServiceSettings,NotificationChannelServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.