Class SiteServiceStubSettings.Builder (0.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class SiteServiceStubSettings.Builder extends StubSettings.Builder<SiteServiceStubSettings,SiteServiceStubSettings.Builder>
Builder for SiteServiceStubSettings.
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)
| Parameter |
| Name |
Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
|
Builder(SiteServiceStubSettings settings)
protected Builder(SiteServiceStubSettings settings)
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.
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-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]