Class SiteSearchEngineServiceSettings.Builder (0.32.0)

public static class SiteSearchEngineServiceSettings.Builder extends ClientSettings.Builder<SiteSearchEngineServiceSettings,SiteSearchEngineServiceSettings.Builder>

Builder for SiteSearchEngineServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SiteSearchEngineServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SiteSearchEngineServiceSettings settings)

protected Builder(SiteSearchEngineServiceSettings settings)
Parameter
NameDescription
settingsSiteSearchEngineServiceSettings

Builder(SiteSearchEngineServiceStubSettings.Builder stubSettings)

protected Builder(SiteSearchEngineServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSiteSearchEngineServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public SiteSearchEngineServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SiteSearchEngineServiceSettings.Builder

batchCreateTargetSitesOperationSettings()

public OperationCallSettings.Builder<BatchCreateTargetSitesRequest,BatchCreateTargetSitesResponse,BatchCreateTargetSiteMetadata> batchCreateTargetSitesOperationSettings()

Returns the builder for the settings used for calls to batchCreateTargetSites.

Returns
TypeDescription
Builder<BatchCreateTargetSitesRequest,BatchCreateTargetSitesResponse,BatchCreateTargetSiteMetadata>

batchCreateTargetSitesSettings()

public UnaryCallSettings.Builder<BatchCreateTargetSitesRequest,Operation> batchCreateTargetSitesSettings()

Returns the builder for the settings used for calls to batchCreateTargetSites.

Returns
TypeDescription
Builder<BatchCreateTargetSitesRequest,Operation>

batchVerifyTargetSitesOperationSettings()

public OperationCallSettings.Builder<BatchVerifyTargetSitesRequest,BatchVerifyTargetSitesResponse,BatchVerifyTargetSitesMetadata> batchVerifyTargetSitesOperationSettings()

Returns the builder for the settings used for calls to batchVerifyTargetSites.

Returns
TypeDescription
Builder<BatchVerifyTargetSitesRequest,BatchVerifyTargetSitesResponse,BatchVerifyTargetSitesMetadata>

batchVerifyTargetSitesSettings()

public UnaryCallSettings.Builder<BatchVerifyTargetSitesRequest,Operation> batchVerifyTargetSitesSettings()

Returns the builder for the settings used for calls to batchVerifyTargetSites.

Returns
TypeDescription
Builder<BatchVerifyTargetSitesRequest,Operation>

build()

public SiteSearchEngineServiceSettings build()
Returns
TypeDescription
SiteSearchEngineServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createTargetSiteOperationSettings()

public OperationCallSettings.Builder<CreateTargetSiteRequest,TargetSite,CreateTargetSiteMetadata> createTargetSiteOperationSettings()

Returns the builder for the settings used for calls to createTargetSite.

Returns
TypeDescription
Builder<CreateTargetSiteRequest,TargetSite,CreateTargetSiteMetadata>

createTargetSiteSettings()

public UnaryCallSettings.Builder<CreateTargetSiteRequest,Operation> createTargetSiteSettings()

Returns the builder for the settings used for calls to createTargetSite.

Returns
TypeDescription
Builder<CreateTargetSiteRequest,Operation>

deleteTargetSiteOperationSettings()

public OperationCallSettings.Builder<DeleteTargetSiteRequest,Empty,DeleteTargetSiteMetadata> deleteTargetSiteOperationSettings()

Returns the builder for the settings used for calls to deleteTargetSite.

Returns
TypeDescription
Builder<DeleteTargetSiteRequest,Empty,DeleteTargetSiteMetadata>

deleteTargetSiteSettings()

public UnaryCallSettings.Builder<DeleteTargetSiteRequest,Operation> deleteTargetSiteSettings()

Returns the builder for the settings used for calls to deleteTargetSite.

Returns
TypeDescription
Builder<DeleteTargetSiteRequest,Operation>

disableAdvancedSiteSearchOperationSettings()

public OperationCallSettings.Builder<DisableAdvancedSiteSearchRequest,DisableAdvancedSiteSearchResponse,DisableAdvancedSiteSearchMetadata> disableAdvancedSiteSearchOperationSettings()

Returns the builder for the settings used for calls to disableAdvancedSiteSearch.

Returns
TypeDescription
Builder<DisableAdvancedSiteSearchRequest,DisableAdvancedSiteSearchResponse,DisableAdvancedSiteSearchMetadata>

disableAdvancedSiteSearchSettings()

public UnaryCallSettings.Builder<DisableAdvancedSiteSearchRequest,Operation> disableAdvancedSiteSearchSettings()

Returns the builder for the settings used for calls to disableAdvancedSiteSearch.

Returns
TypeDescription
Builder<DisableAdvancedSiteSearchRequest,Operation>

enableAdvancedSiteSearchOperationSettings()

public OperationCallSettings.Builder<EnableAdvancedSiteSearchRequest,EnableAdvancedSiteSearchResponse,EnableAdvancedSiteSearchMetadata> enableAdvancedSiteSearchOperationSettings()

Returns the builder for the settings used for calls to enableAdvancedSiteSearch.

Returns
TypeDescription
Builder<EnableAdvancedSiteSearchRequest,EnableAdvancedSiteSearchResponse,EnableAdvancedSiteSearchMetadata>

enableAdvancedSiteSearchSettings()

public UnaryCallSettings.Builder<EnableAdvancedSiteSearchRequest,Operation> enableAdvancedSiteSearchSettings()

Returns the builder for the settings used for calls to enableAdvancedSiteSearch.

Returns
TypeDescription
Builder<EnableAdvancedSiteSearchRequest,Operation>

fetchDomainVerificationStatusSettings()

public PagedCallSettings.Builder<FetchDomainVerificationStatusRequest,FetchDomainVerificationStatusResponse,SiteSearchEngineServiceClient.FetchDomainVerificationStatusPagedResponse> fetchDomainVerificationStatusSettings()

Returns the builder for the settings used for calls to fetchDomainVerificationStatus.

Returns
TypeDescription
Builder<FetchDomainVerificationStatusRequest,FetchDomainVerificationStatusResponse,FetchDomainVerificationStatusPagedResponse>

getSiteSearchEngineSettings()

public UnaryCallSettings.Builder<GetSiteSearchEngineRequest,SiteSearchEngine> getSiteSearchEngineSettings()

Returns the builder for the settings used for calls to getSiteSearchEngine.

Returns
TypeDescription
Builder<GetSiteSearchEngineRequest,SiteSearchEngine>

getStubSettingsBuilder()

public SiteSearchEngineServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SiteSearchEngineServiceStubSettings.Builder

getTargetSiteSettings()

public UnaryCallSettings.Builder<GetTargetSiteRequest,TargetSite> getTargetSiteSettings()

Returns the builder for the settings used for calls to getTargetSite.

Returns
TypeDescription
Builder<GetTargetSiteRequest,TargetSite>

listTargetSitesSettings()

public PagedCallSettings.Builder<ListTargetSitesRequest,ListTargetSitesResponse,SiteSearchEngineServiceClient.ListTargetSitesPagedResponse> listTargetSitesSettings()

Returns the builder for the settings used for calls to listTargetSites.

Returns
TypeDescription
Builder<ListTargetSitesRequest,ListTargetSitesResponse,ListTargetSitesPagedResponse>

recrawlUrisOperationSettings()

public OperationCallSettings.Builder<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata> recrawlUrisOperationSettings()

Returns the builder for the settings used for calls to recrawlUris.

Returns
TypeDescription
Builder<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata>

recrawlUrisSettings()

public UnaryCallSettings.Builder<RecrawlUrisRequest,Operation> recrawlUrisSettings()

Returns the builder for the settings used for calls to recrawlUris.

Returns
TypeDescription
Builder<RecrawlUrisRequest,Operation>

updateTargetSiteOperationSettings()

public OperationCallSettings.Builder<UpdateTargetSiteRequest,TargetSite,UpdateTargetSiteMetadata> updateTargetSiteOperationSettings()

Returns the builder for the settings used for calls to updateTargetSite.

Returns
TypeDescription
Builder<UpdateTargetSiteRequest,TargetSite,UpdateTargetSiteMetadata>

updateTargetSiteSettings()

public UnaryCallSettings.Builder<UpdateTargetSiteRequest,Operation> updateTargetSiteSettings()

Returns the builder for the settings used for calls to updateTargetSite.

Returns
TypeDescription
Builder<UpdateTargetSiteRequest,Operation>