Send feedback
Class DataSubscriptionServiceStubSettings.Builder (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class DataSubscriptionServiceStubSettings . Builder extends StubSettings . Builder<DataSubscriptionServiceStubSettings , DataSubscriptionServiceStubSettings . Builder >
Builder for DataSubscriptionServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext 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.
Send feedback
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-06-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]