Class GrpcSiteSearchEngineServiceStub (0.31.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcSiteSearchEngineServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSiteSearchEngineServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcSiteSearchEngineServiceStub
Exceptions
TypeDescription
IOException

create(SiteSearchEngineServiceStubSettings settings)

public static final GrpcSiteSearchEngineServiceStub create(SiteSearchEngineServiceStubSettings settings)
Parameter
NameDescription
settingsSiteSearchEngineServiceStubSettings
Returns
TypeDescription
GrpcSiteSearchEngineServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsSiteSearchEngineServiceStubSettings
clientContextClientContext

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
NameDescription
settingsSiteSearchEngineServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchCreateTargetSitesCallable()

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

batchCreateTargetSitesOperationCallable()

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

batchVerifyTargetSitesCallable()

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

batchVerifyTargetSitesOperationCallable()

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

close()

public final void close()
Overrides

createTargetSiteCallable()

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

createTargetSiteOperationCallable()

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

deleteTargetSiteCallable()

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

deleteTargetSiteOperationCallable()

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

disableAdvancedSiteSearchCallable()

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

disableAdvancedSiteSearchOperationCallable()

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

enableAdvancedSiteSearchCallable()

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

enableAdvancedSiteSearchOperationCallable()

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

fetchDomainVerificationStatusCallable()

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

fetchDomainVerificationStatusPagedCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getSiteSearchEngineCallable()

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

getTargetSiteCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listTargetSitesCallable()

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

listTargetSitesPagedCallable()

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

recrawlUrisCallable()

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

recrawlUrisOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateTargetSiteCallable()

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

updateTargetSiteOperationCallable()

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