Class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub (0.33.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
NameDescription
requestBatchCreateTargetSitesRequest
Returns
TypeDescription
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
NameDescription
requestBatchVerifyTargetSitesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected SiteSearchEngineServiceGrpc.SiteSearchEngineServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateTargetSiteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTargetSite(DeleteTargetSiteRequest request)

public ListenableFuture<Operation> deleteTargetSite(DeleteTargetSiteRequest request)

Deletes a TargetSite.

Parameter
NameDescription
requestDeleteTargetSiteRequest
Returns
TypeDescription
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
NameDescription
requestDisableAdvancedSiteSearchRequest
Returns
TypeDescription
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
NameDescription
requestEnableAdvancedSiteSearchRequest
Returns
TypeDescription
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
NameDescription
requestFetchDomainVerificationStatusRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<FetchDomainVerificationStatusResponse>

getSiteSearchEngine(GetSiteSearchEngineRequest request)

public ListenableFuture<SiteSearchEngine> getSiteSearchEngine(GetSiteSearchEngineRequest request)

Gets the SiteSearchEngine.

Parameter
NameDescription
requestGetSiteSearchEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SiteSearchEngine>

getTargetSite(GetTargetSiteRequest request)

public ListenableFuture<TargetSite> getTargetSite(GetTargetSiteRequest request)

Gets a TargetSite.

Parameter
NameDescription
requestGetTargetSiteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<TargetSite>

listTargetSites(ListTargetSitesRequest request)

public ListenableFuture<ListTargetSitesResponse> listTargetSites(ListTargetSitesRequest request)

Gets a list of TargetSites.

Parameter
NameDescription
requestListTargetSitesRequest
Returns
TypeDescription
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
NameDescription
requestRecrawlUrisRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTargetSite(UpdateTargetSiteRequest request)

public ListenableFuture<Operation> updateTargetSite(UpdateTargetSiteRequest request)

Updates a TargetSite.

Parameter
NameDescription
requestUpdateTargetSiteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>