Send feedback
Class AdminServiceSettings.Builder (1.14.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.14.4 keyboard_arrow_down
public static class AdminServiceSettings . Builder extends ClientSettings . Builder<AdminServiceSettings , AdminServiceSettings . Builder >
Builder for AdminServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(AdminServiceSettings settings)
protected Builder ( AdminServiceSettings settings )
Builder(AdminServiceStubSettings.Builder stubSettings)
protected Builder ( AdminServiceStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AdminServiceSettings . 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 AdminServiceSettings build ()
Overrides
createReservationSettings()
public UnaryCallSettings . Builder<CreateReservationRequest , Reservation > createReservationSettings ()
Returns the builder for the settings used for calls to createReservation.
createSubscriptionSettings()
public UnaryCallSettings . Builder<CreateSubscriptionRequest , Subscription > createSubscriptionSettings ()
Returns the builder for the settings used for calls to createSubscription.
createTopicSettings()
public UnaryCallSettings . Builder<CreateTopicRequest , Topic > createTopicSettings ()
Returns the builder for the settings used for calls to createTopic.
deleteReservationSettings()
public UnaryCallSettings . Builder<DeleteReservationRequest , Empty > deleteReservationSettings ()
Returns the builder for the settings used for calls to deleteReservation.
deleteSubscriptionSettings()
public UnaryCallSettings . Builder<DeleteSubscriptionRequest , Empty > deleteSubscriptionSettings ()
Returns the builder for the settings used for calls to deleteSubscription.
deleteTopicSettings()
public UnaryCallSettings . Builder<DeleteTopicRequest , Empty > deleteTopicSettings ()
Returns the builder for the settings used for calls to deleteTopic.
getReservationSettings()
public UnaryCallSettings . Builder<GetReservationRequest , Reservation > getReservationSettings ()
Returns the builder for the settings used for calls to getReservation.
getStubSettingsBuilder()
public AdminServiceStubSettings . Builder getStubSettingsBuilder ()
getSubscriptionSettings()
public UnaryCallSettings . Builder<GetSubscriptionRequest , Subscription > getSubscriptionSettings ()
Returns the builder for the settings used for calls to getSubscription.
getTopicPartitionsSettings()
public UnaryCallSettings . Builder<GetTopicPartitionsRequest , TopicPartitions > getTopicPartitionsSettings ()
Returns the builder for the settings used for calls to getTopicPartitions.
getTopicSettings()
public UnaryCallSettings . Builder<GetTopicRequest , Topic > getTopicSettings ()
Returns the builder for the settings used for calls to getTopic.
listReservationTopicsSettings()
public PagedCallSettings . Builder<ListReservationTopicsRequest , ListReservationTopicsResponse , AdminServiceClient . ListReservationTopicsPagedResponse > listReservationTopicsSettings ()
Returns the builder for the settings used for calls to listReservationTopics.
listReservationsSettings()
public PagedCallSettings . Builder<ListReservationsRequest , ListReservationsResponse , AdminServiceClient . ListReservationsPagedResponse > listReservationsSettings ()
Returns the builder for the settings used for calls to listReservations.
listSubscriptionsSettings()
public PagedCallSettings . Builder<ListSubscriptionsRequest , ListSubscriptionsResponse , AdminServiceClient . ListSubscriptionsPagedResponse > listSubscriptionsSettings ()
Returns the builder for the settings used for calls to listSubscriptions.
listTopicSubscriptionsSettings()
public PagedCallSettings . Builder<ListTopicSubscriptionsRequest , ListTopicSubscriptionsResponse , AdminServiceClient . ListTopicSubscriptionsPagedResponse > listTopicSubscriptionsSettings ()
Returns the builder for the settings used for calls to listTopicSubscriptions.
listTopicsSettings()
public PagedCallSettings . Builder<ListTopicsRequest , ListTopicsResponse , AdminServiceClient . ListTopicsPagedResponse > listTopicsSettings ()
Returns the builder for the settings used for calls to listTopics.
seekSubscriptionOperationSettings()
public OperationCallSettings . Builder<SeekSubscriptionRequest , SeekSubscriptionResponse , OperationMetadata > seekSubscriptionOperationSettings ()
Returns the builder for the settings used for calls to seekSubscription.
seekSubscriptionSettings()
public UnaryCallSettings . Builder<SeekSubscriptionRequest , Operation > seekSubscriptionSettings ()
Returns the builder for the settings used for calls to seekSubscription.
updateReservationSettings()
public UnaryCallSettings . Builder<UpdateReservationRequest , Reservation > updateReservationSettings ()
Returns the builder for the settings used for calls to updateReservation.
updateSubscriptionSettings()
public UnaryCallSettings . Builder<UpdateSubscriptionRequest , Subscription > updateSubscriptionSettings ()
Returns the builder for the settings used for calls to updateSubscription.
updateTopicSettings()
public UnaryCallSettings . Builder<UpdateTopicRequest , Topic > updateTopicSettings ()
Returns the builder for the settings used for calls to updateTopic.
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-19 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-19 UTC."],[],[]]