Class HttpJsonSiteSearchEngineServiceStub (0.43.0)

public class HttpJsonSiteSearchEngineServiceStub extends SiteSearchEngineServiceStub

REST stub implementation for the SiteSearchEngineService service API.

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

Inheritance

java.lang.Object > SiteSearchEngineServiceStub > HttpJsonSiteSearchEngineServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(SiteSearchEngineServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonSiteSearchEngineServiceStub, 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

HttpJsonSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonSiteSearchEngineServiceStub(SiteSearchEngineServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonSiteSearchEngineServiceStub, 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 HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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