Send feedback
Class SiteServiceStubSettings.Builder (0.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static class SiteServiceStubSettings . Builder extends StubSettings . Builder<SiteServiceStubSettings , SiteServiceStubSettings . Builder >
Builder for SiteServiceStubSettings.
Constructors
Builder()
Builder(SiteServiceStubSettings settings)
protected Builder ( SiteServiceStubSettings settings )
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SiteServiceStubSettings . 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.
batchCreateSitesSettings()
public UnaryCallSettings . Builder<BatchCreateSitesRequest , BatchCreateSitesResponse > batchCreateSitesSettings ()
Returns the builder for the settings used for calls to batchCreateSites.
batchDeactivateSitesSettings()
public UnaryCallSettings . Builder<BatchDeactivateSitesRequest , BatchDeactivateSitesResponse > batchDeactivateSitesSettings ()
Returns the builder for the settings used for calls to batchDeactivateSites.
batchSubmitSitesForApprovalSettings()
public UnaryCallSettings . Builder<BatchSubmitSitesForApprovalRequest , BatchSubmitSitesForApprovalResponse > batchSubmitSitesForApprovalSettings ()
Returns the builder for the settings used for calls to batchSubmitSitesForApproval.
batchUpdateSitesSettings()
public UnaryCallSettings . Builder<BatchUpdateSitesRequest , BatchUpdateSitesResponse > batchUpdateSitesSettings ()
Returns the builder for the settings used for calls to batchUpdateSites.
build()
public SiteServiceStubSettings build ()
Overrides
createSiteSettings()
public UnaryCallSettings . Builder<CreateSiteRequest , Site > createSiteSettings ()
Returns the builder for the settings used for calls to createSite.
getSiteSettings()
public UnaryCallSettings . Builder<GetSiteRequest , Site > getSiteSettings ()
Returns the builder for the settings used for calls to getSite.
listSitesSettings()
public PagedCallSettings . Builder<ListSitesRequest , ListSitesResponse , SiteServiceClient . ListSitesPagedResponse > listSitesSettings ()
Returns the builder for the settings used for calls to listSites.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type
Description
com.google.common.collect.ImmutableList <Builder <? ,? >>
updateSiteSettings()
public UnaryCallSettings . Builder<UpdateSiteRequest , Site > updateSiteSettings ()
Returns the builder for the settings used for calls to updateSite.
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 2025-11-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 2025-11-19 UTC."],[],[]]