Send feedback
Class SubscriptionAdminSettings.Builder (1.123.10)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.123.10 keyboard_arrow_down
public static class SubscriptionAdminSettings . Builder extends ClientSettings . Builder<SubscriptionAdminSettings , SubscriptionAdminSettings . Builder >
Builder for SubscriptionAdminSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(SubscriptionAdminSettings settings)
protected Builder ( SubscriptionAdminSettings settings )
Builder(SubscriberStubSettings.Builder stubSettings)
protected Builder ( SubscriberStubSettings . Builder stubSettings )
Methods
acknowledgeSettings()
public UnaryCallSettings . Builder<AcknowledgeRequest , Empty > acknowledgeSettings ()
Returns the builder for the settings used for calls to acknowledge.
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SubscriptionAdminSettings . 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 SubscriptionAdminSettings build ()
Overrides
createSnapshotSettings()
public UnaryCallSettings . Builder<CreateSnapshotRequest , Snapshot > createSnapshotSettings ()
Returns the builder for the settings used for calls to createSnapshot.
createSubscriptionSettings()
public UnaryCallSettings . Builder<Subscription , Subscription > createSubscriptionSettings ()
Returns the builder for the settings used for calls to createSubscription.
deleteSnapshotSettings()
public UnaryCallSettings . Builder<DeleteSnapshotRequest , Empty > deleteSnapshotSettings ()
Returns the builder for the settings used for calls to deleteSnapshot.
deleteSubscriptionSettings()
public UnaryCallSettings . Builder<DeleteSubscriptionRequest , Empty > deleteSubscriptionSettings ()
Returns the builder for the settings used for calls to deleteSubscription.
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns Type Description Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getSnapshotSettings()
public UnaryCallSettings . Builder<GetSnapshotRequest , Snapshot > getSnapshotSettings ()
Returns the builder for the settings used for calls to getSnapshot.
getStubSettingsBuilder()
public SubscriberStubSettings . Builder getStubSettingsBuilder ()
getSubscriptionSettings()
public UnaryCallSettings . Builder<GetSubscriptionRequest , Subscription > getSubscriptionSettings ()
Returns the builder for the settings used for calls to getSubscription.
listSnapshotsSettings()
public PagedCallSettings . Builder<ListSnapshotsRequest , ListSnapshotsResponse , SubscriptionAdminClient . ListSnapshotsPagedResponse > listSnapshotsSettings ()
Returns the builder for the settings used for calls to listSnapshots.
listSubscriptionsSettings()
public PagedCallSettings . Builder<ListSubscriptionsRequest , ListSubscriptionsResponse , SubscriptionAdminClient . ListSubscriptionsPagedResponse > listSubscriptionsSettings ()
Returns the builder for the settings used for calls to listSubscriptions.
modifyAckDeadlineSettings()
public UnaryCallSettings . Builder<ModifyAckDeadlineRequest , Empty > modifyAckDeadlineSettings ()
Returns the builder for the settings used for calls to modifyAckDeadline.
modifyPushConfigSettings()
public UnaryCallSettings . Builder<ModifyPushConfigRequest , Empty > modifyPushConfigSettings ()
Returns the builder for the settings used for calls to modifyPushConfig.
pullSettings()
public UnaryCallSettings . Builder<PullRequest , PullResponse > pullSettings ()
Returns the builder for the settings used for calls to pull.
seekSettings()
public UnaryCallSettings . Builder<SeekRequest , SeekResponse > seekSettings ()
Returns the builder for the settings used for calls to seek.
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns Type Description Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
streamingPullSettings()
public StreamingCallSettings . Builder<StreamingPullRequest , StreamingPullResponse > streamingPullSettings ()
Returns the builder for the settings used for calls to streamingPull.
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns Type Description Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
updateSnapshotSettings()
public UnaryCallSettings . Builder<UpdateSnapshotRequest , Snapshot > updateSnapshotSettings ()
Returns the builder for the settings used for calls to updateSnapshot.
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 2024-12-05 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 2024-12-05 UTC."],[],[]]