Class GrpcSiteSearchEngineServiceStub (0.45.0)

public class GrpcSiteSearchEngineServiceStub extends SiteSearchEngineServiceStub

gRPC stub implementation for the SiteSearchEngineService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > SiteSearchEngineServiceStub > GrpcSiteSearchEngineServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcSiteSearchEngineServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcSiteSearchEngineServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSiteSearchEngineServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcSiteSearchEngineServiceStub
Exceptions
Type Description
IOException

create(SiteSearchEngineServiceStubSettings settings)

public static final GrpcSiteSearchEngineServiceStub create(SiteSearchEngineServiceStubSettings settings)
Parameter
Name Description
settings SiteSearchEngineServiceStubSettings
Returns
Type Description
GrpcSiteSearchEngineServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext)

protected GrpcSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcSiteSearchEngineServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings SiteSearchEngineServiceStubSettings
clientContext ClientContext

GrpcSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcSiteSearchEngineServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings SiteSearchEngineServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchCreateTargetSitesCallable()

public UnaryCallable<BatchCreateTargetSitesRequest,Operation> batchCreateTargetSitesCallable()
Returns
Type Description
UnaryCallable<BatchCreateTargetSitesRequest,Operation>
Overrides

batchCreateTargetSitesOperationCallable()

public OperationCallable<BatchCreateTargetSitesRequest,BatchCreateTargetSitesResponse,BatchCreateTargetSiteMetadata> batchCreateTargetSitesOperationCallable()
Returns
Type Description
OperationCallable<BatchCreateTargetSitesRequest,BatchCreateTargetSitesResponse,BatchCreateTargetSiteMetadata>
Overrides

batchVerifyTargetSitesCallable()

public UnaryCallable<BatchVerifyTargetSitesRequest,Operation> batchVerifyTargetSitesCallable()
Returns
Type Description
UnaryCallable<BatchVerifyTargetSitesRequest,Operation>
Overrides

batchVerifyTargetSitesOperationCallable()

public OperationCallable<BatchVerifyTargetSitesRequest,BatchVerifyTargetSitesResponse,BatchVerifyTargetSitesMetadata> batchVerifyTargetSitesOperationCallable()
Returns
Type Description
OperationCallable<BatchVerifyTargetSitesRequest,BatchVerifyTargetSitesResponse,BatchVerifyTargetSitesMetadata>
Overrides

close()

public final void close()
Overrides

createTargetSiteCallable()

public UnaryCallable<CreateTargetSiteRequest,Operation> createTargetSiteCallable()
Returns
Type Description
UnaryCallable<CreateTargetSiteRequest,Operation>
Overrides

createTargetSiteOperationCallable()

public OperationCallable<CreateTargetSiteRequest,TargetSite,CreateTargetSiteMetadata> createTargetSiteOperationCallable()
Returns
Type Description
OperationCallable<CreateTargetSiteRequest,TargetSite,CreateTargetSiteMetadata>
Overrides

deleteTargetSiteCallable()

public UnaryCallable<DeleteTargetSiteRequest,Operation> deleteTargetSiteCallable()
Returns
Type Description
UnaryCallable<DeleteTargetSiteRequest,Operation>
Overrides

deleteTargetSiteOperationCallable()

public OperationCallable<DeleteTargetSiteRequest,Empty,DeleteTargetSiteMetadata> deleteTargetSiteOperationCallable()
Returns
Type Description
OperationCallable<DeleteTargetSiteRequest,Empty,DeleteTargetSiteMetadata>
Overrides

disableAdvancedSiteSearchCallable()

public UnaryCallable<DisableAdvancedSiteSearchRequest,Operation> disableAdvancedSiteSearchCallable()
Returns
Type Description
UnaryCallable<DisableAdvancedSiteSearchRequest,Operation>
Overrides

disableAdvancedSiteSearchOperationCallable()

public OperationCallable<DisableAdvancedSiteSearchRequest,DisableAdvancedSiteSearchResponse,DisableAdvancedSiteSearchMetadata> disableAdvancedSiteSearchOperationCallable()
Returns
Type Description
OperationCallable<DisableAdvancedSiteSearchRequest,DisableAdvancedSiteSearchResponse,DisableAdvancedSiteSearchMetadata>
Overrides

enableAdvancedSiteSearchCallable()

public UnaryCallable<EnableAdvancedSiteSearchRequest,Operation> enableAdvancedSiteSearchCallable()
Returns
Type Description
UnaryCallable<EnableAdvancedSiteSearchRequest,Operation>
Overrides

enableAdvancedSiteSearchOperationCallable()

public OperationCallable<EnableAdvancedSiteSearchRequest,EnableAdvancedSiteSearchResponse,EnableAdvancedSiteSearchMetadata> enableAdvancedSiteSearchOperationCallable()
Returns
Type Description
OperationCallable<EnableAdvancedSiteSearchRequest,EnableAdvancedSiteSearchResponse,EnableAdvancedSiteSearchMetadata>
Overrides

fetchDomainVerificationStatusCallable()

public UnaryCallable<FetchDomainVerificationStatusRequest,FetchDomainVerificationStatusResponse> fetchDomainVerificationStatusCallable()
Returns
Type Description
UnaryCallable<FetchDomainVerificationStatusRequest,FetchDomainVerificationStatusResponse>
Overrides

fetchDomainVerificationStatusPagedCallable()

public UnaryCallable<FetchDomainVerificationStatusRequest,SiteSearchEngineServiceClient.FetchDomainVerificationStatusPagedResponse> fetchDomainVerificationStatusPagedCallable()
Returns
Type Description
UnaryCallable<FetchDomainVerificationStatusRequest,FetchDomainVerificationStatusPagedResponse>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getSiteSearchEngineCallable()

public UnaryCallable<GetSiteSearchEngineRequest,SiteSearchEngine> getSiteSearchEngineCallable()
Returns
Type Description
UnaryCallable<GetSiteSearchEngineRequest,SiteSearchEngine>
Overrides

getTargetSiteCallable()

public UnaryCallable<GetTargetSiteRequest,TargetSite> getTargetSiteCallable()
Returns
Type Description
UnaryCallable<GetTargetSiteRequest,TargetSite>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listTargetSitesCallable()

public UnaryCallable<ListTargetSitesRequest,ListTargetSitesResponse> listTargetSitesCallable()
Returns
Type Description
UnaryCallable<ListTargetSitesRequest,ListTargetSitesResponse>
Overrides

listTargetSitesPagedCallable()

public UnaryCallable<ListTargetSitesRequest,SiteSearchEngineServiceClient.ListTargetSitesPagedResponse> listTargetSitesPagedCallable()
Returns
Type Description
UnaryCallable<ListTargetSitesRequest,ListTargetSitesPagedResponse>
Overrides

recrawlUrisCallable()

public UnaryCallable<RecrawlUrisRequest,Operation> recrawlUrisCallable()
Returns
Type Description
UnaryCallable<RecrawlUrisRequest,Operation>
Overrides

recrawlUrisOperationCallable()

public OperationCallable<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata> recrawlUrisOperationCallable()
Returns
Type Description
OperationCallable<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateTargetSiteCallable()

public UnaryCallable<UpdateTargetSiteRequest,Operation> updateTargetSiteCallable()
Returns
Type Description
UnaryCallable<UpdateTargetSiteRequest,Operation>
Overrides

updateTargetSiteOperationCallable()

public OperationCallable<UpdateTargetSiteRequest,TargetSite,UpdateTargetSiteMetadata> updateTargetSiteOperationCallable()
Returns
Type Description
OperationCallable<UpdateTargetSiteRequest,TargetSite,UpdateTargetSiteMetadata>
Overrides