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