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