Class NotificationChannelServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder>
com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings.Builder
- Enclosing class:
- NotificationChannelServiceStubSettings
public static class NotificationChannelServiceStubSettings.Builder
extends StubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder>
Builder for NotificationChannelServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protected -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<NotificationChannelServiceStubSettings,NotificationChannelServiceStubSettings.Builder> - Throws:
IOException
-