Class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub (0.51.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
Name Description
request BatchCreateTargetSitesRequest
Returns
Type Description
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
Name Description
request BatchVerifyTargetSitesRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected SiteSearchEngineServiceGrpc.SiteSearchEngineServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateTargetSiteRequest
Returns
Type Description
Operation

deleteTargetSite(DeleteTargetSiteRequest request)

public Operation deleteTargetSite(DeleteTargetSiteRequest request)

Deletes a TargetSite.

Parameter
Name Description
request DeleteTargetSiteRequest
Returns
Type Description
Operation

disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request)

public Operation disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request)

Downgrade from advanced site search to basic site search.

Parameter
Name Description
request DisableAdvancedSiteSearchRequest
Returns
Type Description
Operation

enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request)

public Operation enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request)

Upgrade from basic site search to advanced site search.

Parameter
Name Description
request EnableAdvancedSiteSearchRequest
Returns
Type Description
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
Name Description
request FetchDomainVerificationStatusRequest
Returns
Type Description
FetchDomainVerificationStatusResponse

getSiteSearchEngine(GetSiteSearchEngineRequest request)

public SiteSearchEngine getSiteSearchEngine(GetSiteSearchEngineRequest request)

Gets the SiteSearchEngine.

Parameter
Name Description
request GetSiteSearchEngineRequest
Returns
Type Description
SiteSearchEngine

getTargetSite(GetTargetSiteRequest request)

public TargetSite getTargetSite(GetTargetSiteRequest request)

Gets a TargetSite.

Parameter
Name Description
request GetTargetSiteRequest
Returns
Type Description
TargetSite

listTargetSites(ListTargetSitesRequest request)

public ListTargetSitesResponse listTargetSites(ListTargetSitesRequest request)

Gets a list of TargetSites.

Parameter
Name Description
request ListTargetSitesRequest
Returns
Type Description
ListTargetSitesResponse

recrawlUris(RecrawlUrisRequest request)

public Operation recrawlUris(RecrawlUrisRequest request)

Request on-demand recrawl for a list of URIs.

Parameter
Name Description
request RecrawlUrisRequest
Returns
Type Description
Operation

updateTargetSite(UpdateTargetSiteRequest request)

public Operation updateTargetSite(UpdateTargetSiteRequest request)

Updates a TargetSite.

Parameter
Name Description
request UpdateTargetSiteRequest
Returns
Type Description
Operation