Class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub (0.33.0)

public static final class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub extends AbstractBlockingStub<SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service SiteSearchEngineService.

Service for managing site search related resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub

Methods

batchCreateTargetSites(BatchCreateTargetSitesRequest request)

public Operation batchCreateTargetSites(BatchCreateTargetSitesRequest request)

Creates TargetSite in a batch.

Parameter
NameDescription
requestBatchCreateTargetSitesRequest
Returns
TypeDescription
Operation

batchVerifyTargetSites(BatchVerifyTargetSitesRequest request)

public Operation batchVerifyTargetSites(BatchVerifyTargetSitesRequest request)

Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.

Parameter
NameDescription
requestBatchVerifyTargetSitesRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

protected SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createTargetSite(CreateTargetSiteRequest request)

public Operation createTargetSite(CreateTargetSiteRequest request)

Creates a TargetSite.

Parameter
NameDescription
requestCreateTargetSiteRequest
Returns
TypeDescription
Operation

deleteTargetSite(DeleteTargetSiteRequest request)

public Operation deleteTargetSite(DeleteTargetSiteRequest request)

Deletes a TargetSite.

Parameter
NameDescription
requestDeleteTargetSiteRequest
Returns
TypeDescription
Operation

disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request)

public Operation disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request)

Downgrade from advanced site search to basic site search.

Parameter
NameDescription
requestDisableAdvancedSiteSearchRequest
Returns
TypeDescription
Operation

enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request)

public Operation enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request)

Upgrade from basic site search to advanced site search.

Parameter
NameDescription
requestEnableAdvancedSiteSearchRequest
Returns
TypeDescription
Operation

fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request)

public FetchDomainVerificationStatusResponse fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request)

Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.

Parameter
NameDescription
requestFetchDomainVerificationStatusRequest
Returns
TypeDescription
FetchDomainVerificationStatusResponse

getSiteSearchEngine(GetSiteSearchEngineRequest request)

public SiteSearchEngine getSiteSearchEngine(GetSiteSearchEngineRequest request)

Gets the SiteSearchEngine.

Parameter
NameDescription
requestGetSiteSearchEngineRequest
Returns
TypeDescription
SiteSearchEngine

getTargetSite(GetTargetSiteRequest request)

public TargetSite getTargetSite(GetTargetSiteRequest request)

Gets a TargetSite.

Parameter
NameDescription
requestGetTargetSiteRequest
Returns
TypeDescription
TargetSite

listTargetSites(ListTargetSitesRequest request)

public ListTargetSitesResponse listTargetSites(ListTargetSitesRequest request)

Gets a list of TargetSites.

Parameter
NameDescription
requestListTargetSitesRequest
Returns
TypeDescription
ListTargetSitesResponse

recrawlUris(RecrawlUrisRequest request)

public Operation recrawlUris(RecrawlUrisRequest request)

Request on-demand recrawl for a list of URIs.

Parameter
NameDescription
requestRecrawlUrisRequest
Returns
TypeDescription
Operation

updateTargetSite(UpdateTargetSiteRequest request)

public Operation updateTargetSite(UpdateTargetSiteRequest request)

Updates a TargetSite.

Parameter
NameDescription
requestUpdateTargetSiteRequest
Returns
TypeDescription
Operation