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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonSiteSearchEngineServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonSiteSearchEngineServiceStub
Exceptions
TypeDescription
IOException

create(SiteSearchEngineServiceStubSettings settings)

public static final HttpJsonSiteSearchEngineServiceStub create(SiteSearchEngineServiceStubSettings settings)
Parameter
NameDescription
settingsSiteSearchEngineServiceStubSettings
Returns
TypeDescription
HttpJsonSiteSearchEngineServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsSiteSearchEngineServiceStubSettings
clientContextClientContext

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

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

getHttpJsonOperationsStub()

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