Class SiteSearchEngineServiceGrpc.SiteSearchEngineServiceStub (0.47.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
Name Description
request BatchCreateTargetSitesRequest
responseObserver io.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
Name Description
request BatchVerifyTargetSitesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

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

deleteTargetSite(DeleteTargetSiteRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a TargetSite.

Parameters
Name Description
request DeleteTargetSiteRequest
responseObserver io.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
Name Description
request DisableAdvancedSiteSearchRequest
responseObserver io.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
Name Description
request EnableAdvancedSiteSearchRequest
responseObserver io.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
Name Description
request FetchDomainVerificationStatusRequest
responseObserver io.grpc.stub.StreamObserver<FetchDomainVerificationStatusResponse>

getSiteSearchEngine(GetSiteSearchEngineRequest request, StreamObserver<SiteSearchEngine> responseObserver)

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

Gets the SiteSearchEngine.

Parameters
Name Description
request GetSiteSearchEngineRequest
responseObserver io.grpc.stub.StreamObserver<SiteSearchEngine>

getTargetSite(GetTargetSiteRequest request, StreamObserver<TargetSite> responseObserver)

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

Gets a TargetSite.

Parameters
Name Description
request GetTargetSiteRequest
responseObserver io.grpc.stub.StreamObserver<TargetSite>

getUriPatternDocumentData(GetUriPatternDocumentDataRequest request, StreamObserver<GetUriPatternDocumentDataResponse> responseObserver)

public void getUriPatternDocumentData(GetUriPatternDocumentDataRequest request, StreamObserver<GetUriPatternDocumentDataResponse> responseObserver)

Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.

Parameters
Name Description
request GetUriPatternDocumentDataRequest
responseObserver io.grpc.stub.StreamObserver<GetUriPatternDocumentDataResponse>

listTargetSites(ListTargetSitesRequest request, StreamObserver<ListTargetSitesResponse> responseObserver)

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

Gets a list of TargetSites.

Parameters
Name Description
request ListTargetSitesRequest
responseObserver io.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
Name Description
request RecrawlUrisRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

setUriPatternDocumentData(SetUriPatternDocumentDataRequest request, StreamObserver<Operation> responseObserver)

public void setUriPatternDocumentData(SetUriPatternDocumentDataRequest request, StreamObserver<Operation> responseObserver)

Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.

Parameters
Name Description
request SetUriPatternDocumentDataRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateTargetSite(UpdateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

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

Updates a TargetSite.

Parameters
Name Description
request UpdateTargetSiteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>