Class SiteSearchEngineServiceSettings.Builder (0.40.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
Name Description
clientContext ClientContext

Builder(SiteSearchEngineServiceSettings settings)

protected Builder(SiteSearchEngineServiceSettings settings)
Parameter
Name Description
settings SiteSearchEngineServiceSettings

Builder(SiteSearchEngineServiceStubSettings.Builder stubSettings)

protected Builder(SiteSearchEngineServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings SiteSearchEngineServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
SiteSearchEngineServiceSettings.Builder

batchCreateTargetSitesOperationSettings()

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

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

Returns
Type Description
Builder<BatchCreateTargetSitesRequest,BatchCreateTargetSitesResponse,BatchCreateTargetSiteMetadata>

batchCreateTargetSitesSettings()

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

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

Returns
Type Description
Builder<BatchCreateTargetSitesRequest,Operation>

batchVerifyTargetSitesOperationSettings()

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

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

Returns
Type Description
Builder<BatchVerifyTargetSitesRequest,BatchVerifyTargetSitesResponse,BatchVerifyTargetSitesMetadata>

batchVerifyTargetSitesSettings()

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

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

Returns
Type Description
Builder<BatchVerifyTargetSitesRequest,Operation>

build()

public SiteSearchEngineServiceSettings build()
Returns
Type Description
SiteSearchEngineServiceSettings
Overrides
Exceptions
Type Description
IOException

createTargetSiteOperationSettings()

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

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

Returns
Type Description
Builder<CreateTargetSiteRequest,TargetSite,CreateTargetSiteMetadata>

createTargetSiteSettings()

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

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

Returns
Type Description
Builder<CreateTargetSiteRequest,Operation>

deleteTargetSiteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteTargetSiteRequest,Empty,DeleteTargetSiteMetadata>

deleteTargetSiteSettings()

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

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

Returns
Type Description
Builder<DeleteTargetSiteRequest,Operation>

disableAdvancedSiteSearchOperationSettings()

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

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

Returns
Type Description
Builder<DisableAdvancedSiteSearchRequest,DisableAdvancedSiteSearchResponse,DisableAdvancedSiteSearchMetadata>

disableAdvancedSiteSearchSettings()

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

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

Returns
Type Description
Builder<DisableAdvancedSiteSearchRequest,Operation>

enableAdvancedSiteSearchOperationSettings()

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

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

Returns
Type Description
Builder<EnableAdvancedSiteSearchRequest,EnableAdvancedSiteSearchResponse,EnableAdvancedSiteSearchMetadata>

enableAdvancedSiteSearchSettings()

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

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

Returns
Type Description
Builder<EnableAdvancedSiteSearchRequest,Operation>

fetchDomainVerificationStatusSettings()

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

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

Returns
Type Description
Builder<FetchDomainVerificationStatusRequest,FetchDomainVerificationStatusResponse,FetchDomainVerificationStatusPagedResponse>

getSiteSearchEngineSettings()

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

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

Returns
Type Description
Builder<GetSiteSearchEngineRequest,SiteSearchEngine>

getStubSettingsBuilder()

public SiteSearchEngineServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
SiteSearchEngineServiceStubSettings.Builder

getTargetSiteSettings()

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

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

Returns
Type Description
Builder<GetTargetSiteRequest,TargetSite>

listTargetSitesSettings()

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

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

Returns
Type Description
Builder<ListTargetSitesRequest,ListTargetSitesResponse,ListTargetSitesPagedResponse>

recrawlUrisOperationSettings()

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

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

Returns
Type Description
Builder<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata>

recrawlUrisSettings()

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

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

Returns
Type Description
Builder<RecrawlUrisRequest,Operation>

updateTargetSiteOperationSettings()

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

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

Returns
Type Description
Builder<UpdateTargetSiteRequest,TargetSite,UpdateTargetSiteMetadata>

updateTargetSiteSettings()

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

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

Returns
Type Description
Builder<UpdateTargetSiteRequest,Operation>