Class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub (0.40.0)

public static final class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub extends AbstractFutureStub<SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SiteSearchEngineService.

Service for managing site search related resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub

Methods

batchCreateTargetSites(BatchCreateTargetSitesRequest request)

public ListenableFuture<Operation> batchCreateTargetSites(BatchCreateTargetSitesRequest request)

Creates TargetSite in a batch.

Parameter
Name Description
request BatchCreateTargetSitesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

batchVerifyTargetSites(BatchVerifyTargetSitesRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createTargetSite(CreateTargetSiteRequest request)

public ListenableFuture<Operation> createTargetSite(CreateTargetSiteRequest request)

Creates a TargetSite.

Parameter
Name Description
request CreateTargetSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTargetSite(DeleteTargetSiteRequest request)

public ListenableFuture<Operation> deleteTargetSite(DeleteTargetSiteRequest request)

Deletes a TargetSite.

Parameter
Name Description
request DeleteTargetSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request)

public ListenableFuture<Operation> disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request)

Downgrade from advanced site search to basic site search.

Parameter
Name Description
request DisableAdvancedSiteSearchRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request)

public ListenableFuture<Operation> enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request)

Upgrade from basic site search to advanced site search.

Parameter
Name Description
request EnableAdvancedSiteSearchRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<FetchDomainVerificationStatusResponse>

getSiteSearchEngine(GetSiteSearchEngineRequest request)

public ListenableFuture<SiteSearchEngine> getSiteSearchEngine(GetSiteSearchEngineRequest request)

Gets the SiteSearchEngine.

Parameter
Name Description
request GetSiteSearchEngineRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SiteSearchEngine>

getTargetSite(GetTargetSiteRequest request)

public ListenableFuture<TargetSite> getTargetSite(GetTargetSiteRequest request)

Gets a TargetSite.

Parameter
Name Description
request GetTargetSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TargetSite>

listTargetSites(ListTargetSitesRequest request)

public ListenableFuture<ListTargetSitesResponse> listTargetSites(ListTargetSitesRequest request)

Gets a list of TargetSites.

Parameter
Name Description
request ListTargetSitesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTargetSitesResponse>

recrawlUris(RecrawlUrisRequest request)

public ListenableFuture<Operation> recrawlUris(RecrawlUrisRequest request)

Request on-demand recrawl for a list of URIs.

Parameter
Name Description
request RecrawlUrisRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTargetSite(UpdateTargetSiteRequest request)

public ListenableFuture<Operation> updateTargetSite(UpdateTargetSiteRequest request)

Updates a TargetSite.

Parameter
Name Description
request UpdateTargetSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>