public static class NotificationChannelServiceStubSettings.Builder extends StubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(NotificationChannelServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
NotificationChannelServiceStubSettings.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.
|
NotificationChannelServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(NotificationChannelServiceStubSettings settings)
public NotificationChannelServiceStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 NotificationChannelServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.