Class DataSubscriptionServiceStubSettings.Builder (0.4.0)
0.4.0 (latest)
0.3.0
0.2.0
public static class DataSubscriptionServiceStubSettings . Builder extends StubSettings . Builder<DataSubscriptionServiceStubSettings , DataSubscriptionServiceStubSettings . Builder >
Builder for DataSubscriptionServiceStubSettings.
Inherited Members
com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder ( @Nullable ClientContext clientContext )
Parameter
Name
Description
clientContext
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
Builder(DataSubscriptionServiceStubSettings settings)
protected Builder ( DataSubscriptionServiceStubSettings settings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DataSubscriptionServiceStubSettings . 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.
build()
public DataSubscriptionServiceStubSettings build ()
Overrides
createSubscriberOperationSettings()
public OperationCallSettings . Builder<CreateSubscriberRequest , Subscriber , CreateSubscriberMetadata > createSubscriberOperationSettings ()
Returns the builder for the settings used for calls to createSubscriber.
createSubscriberSettings()
public UnaryCallSettings . Builder<CreateSubscriberRequest , Operation > createSubscriberSettings ()
Returns the builder for the settings used for calls to createSubscriber.
createSubscriptionSettings()
public UnaryCallSettings . Builder<CreateSubscriptionRequest , Subscription > createSubscriptionSettings ()
Returns the builder for the settings used for calls to createSubscription.
deleteSubscriberOperationSettings()
public OperationCallSettings . Builder<DeleteSubscriberRequest , Empty , DeleteSubscriberMetadata > deleteSubscriberOperationSettings ()
Returns the builder for the settings used for calls to deleteSubscriber.
deleteSubscriberSettings()
public UnaryCallSettings . Builder<DeleteSubscriberRequest , Operation > deleteSubscriberSettings ()
Returns the builder for the settings used for calls to deleteSubscriber.
deleteSubscriptionSettings()
public UnaryCallSettings . Builder<DeleteSubscriptionRequest , Empty > deleteSubscriptionSettings ()
Returns the builder for the settings used for calls to deleteSubscription.
listSubscribersSettings()
public PagedCallSettings . Builder<ListSubscribersRequest , ListSubscribersResponse , DataSubscriptionServiceClient . ListSubscribersPagedResponse > listSubscribersSettings ()
Returns the builder for the settings used for calls to listSubscribers.
listSubscriptionsSettings()
public PagedCallSettings . Builder<ListSubscriptionsRequest , ListSubscriptionsResponse , DataSubscriptionServiceClient . ListSubscriptionsPagedResponse > listSubscriptionsSettings ()
Returns the builder for the settings used for calls to listSubscriptions.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type
Description
com.google.common.collect.ImmutableList <Builder <? ,? >>
updateSubscriberOperationSettings()
public OperationCallSettings . Builder<UpdateSubscriberRequest , Subscriber , UpdateSubscriberMetadata > updateSubscriberOperationSettings ()
Returns the builder for the settings used for calls to updateSubscriber.
updateSubscriberSettings()
public UnaryCallSettings . Builder<UpdateSubscriberRequest , Operation > updateSubscriberSettings ()
Returns the builder for the settings used for calls to updateSubscriber.
updateSubscriptionSettings()
public UnaryCallSettings . Builder<UpdateSubscriptionRequest , Subscription > updateSubscriptionSettings ()
Returns the builder for the settings used for calls to updateSubscription.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-04 UTC."],[],[]]