Class SiteSearchEngineServiceStubSettings.Builder (0.32.0)

public static class SiteSearchEngineServiceStubSettings.Builder extends StubSettings.Builder<SiteSearchEngineServiceStubSettings,SiteSearchEngineServiceStubSettings.Builder>

Builder for SiteSearchEngineServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SiteSearchEngineServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SiteSearchEngineServiceStubSettings settings)

protected Builder(SiteSearchEngineServiceStubSettings settings)
Parameter
NameDescription
settingsSiteSearchEngineServiceStubSettings

Methods

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

public SiteSearchEngineServiceStubSettings.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
SiteSearchEngineServiceStubSettings.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 SiteSearchEngineServiceStubSettings build()
Returns
TypeDescription
SiteSearchEngineServiceStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSiteSearchEngineSettings()

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

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

Returns
TypeDescription
Builder<GetSiteSearchEngineRequest,SiteSearchEngine>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

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>