Class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceStub (0.35.0)

public static final class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceStub extends AbstractAsyncStub<SiteSearchEngineServiceGrpc.SiteSearchEngineServiceStub>

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

Service for managing site search related resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SiteSearchEngineServiceGrpc.SiteSearchEngineServiceStub

Methods

batchCreateTargetSites(BatchCreateTargetSitesRequest request, StreamObserver<Operation> responseObserver)

public void batchCreateTargetSites(BatchCreateTargetSitesRequest request, StreamObserver<Operation> responseObserver)

Creates TargetSite in a batch.

Parameters
NameDescription
requestBatchCreateTargetSitesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

batchVerifyTargetSites(BatchVerifyTargetSitesRequest request, StreamObserver<Operation> responseObserver)

public void batchVerifyTargetSites(BatchVerifyTargetSitesRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestBatchVerifyTargetSitesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

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

createTargetSite(CreateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

public void createTargetSite(CreateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

Creates a TargetSite.

Parameters
NameDescription
requestCreateTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteTargetSite(DeleteTargetSiteRequest request, StreamObserver<Operation> responseObserver)

public void deleteTargetSite(DeleteTargetSiteRequest request, StreamObserver<Operation> responseObserver)

Deletes a TargetSite.

Parameters
NameDescription
requestDeleteTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

public void disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

Downgrade from advanced site search to basic site search.

Parameters
NameDescription
requestDisableAdvancedSiteSearchRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

public void enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

Upgrade from basic site search to advanced site search.

Parameters
NameDescription
requestEnableAdvancedSiteSearchRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request, StreamObserver<FetchDomainVerificationStatusResponse> responseObserver)

public void fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request, StreamObserver<FetchDomainVerificationStatusResponse> responseObserver)

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.

Parameters
NameDescription
requestFetchDomainVerificationStatusRequest
responseObserverio.grpc.stub.StreamObserver<FetchDomainVerificationStatusResponse>

getSiteSearchEngine(GetSiteSearchEngineRequest request, StreamObserver<SiteSearchEngine> responseObserver)

public void getSiteSearchEngine(GetSiteSearchEngineRequest request, StreamObserver<SiteSearchEngine> responseObserver)

Gets the SiteSearchEngine.

Parameters
NameDescription
requestGetSiteSearchEngineRequest
responseObserverio.grpc.stub.StreamObserver<SiteSearchEngine>

getTargetSite(GetTargetSiteRequest request, StreamObserver<TargetSite> responseObserver)

public void getTargetSite(GetTargetSiteRequest request, StreamObserver<TargetSite> responseObserver)

Gets a TargetSite.

Parameters
NameDescription
requestGetTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<TargetSite>

listTargetSites(ListTargetSitesRequest request, StreamObserver<ListTargetSitesResponse> responseObserver)

public void listTargetSites(ListTargetSitesRequest request, StreamObserver<ListTargetSitesResponse> responseObserver)

Gets a list of TargetSites.

Parameters
NameDescription
requestListTargetSitesRequest
responseObserverio.grpc.stub.StreamObserver<ListTargetSitesResponse>

recrawlUris(RecrawlUrisRequest request, StreamObserver<Operation> responseObserver)

public void recrawlUris(RecrawlUrisRequest request, StreamObserver<Operation> responseObserver)

Request on-demand recrawl for a list of URIs.

Parameters
NameDescription
requestRecrawlUrisRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateTargetSite(UpdateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

public void updateTargetSite(UpdateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

Updates a TargetSite.

Parameters
NameDescription
requestUpdateTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>