Class HttpJsonAdReviewCenterAdServiceStub (0.39.0)

public class HttpJsonAdReviewCenterAdServiceStub extends AdReviewCenterAdServiceStub

REST stub implementation for the AdReviewCenterAdService service API.

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

Inheritance

java.lang.Object > AdReviewCenterAdServiceStub > HttpJsonAdReviewCenterAdServiceStub

Static Methods

create(AdReviewCenterAdServiceStubSettings settings)

public static final HttpJsonAdReviewCenterAdServiceStub create(AdReviewCenterAdServiceStubSettings settings)
Parameter
Name Description
settings AdReviewCenterAdServiceStubSettings
Returns
Type Description
HttpJsonAdReviewCenterAdServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

getMethodDescriptors()

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

Constructors

HttpJsonAdReviewCenterAdServiceStub(AdReviewCenterAdServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonAdReviewCenterAdServiceStub(AdReviewCenterAdServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonAdReviewCenterAdServiceStub, 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 AdReviewCenterAdServiceStubSettings
clientContext ClientContext

HttpJsonAdReviewCenterAdServiceStub(AdReviewCenterAdServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAdReviewCenterAdServiceStub(AdReviewCenterAdServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

batchAllowAdReviewCenterAdsCallable()

public UnaryCallable<BatchAllowAdReviewCenterAdsRequest,Operation> batchAllowAdReviewCenterAdsCallable()
Returns
Type Description
UnaryCallable<BatchAllowAdReviewCenterAdsRequest,Operation>
Overrides

batchAllowAdReviewCenterAdsOperationCallable()

public OperationCallable<BatchAllowAdReviewCenterAdsRequest,BatchAllowAdReviewCenterAdsResponse,BatchAdReviewCenterAdsOperationMetadata> batchAllowAdReviewCenterAdsOperationCallable()
Returns
Type Description
OperationCallable<BatchAllowAdReviewCenterAdsRequest,BatchAllowAdReviewCenterAdsResponse,BatchAdReviewCenterAdsOperationMetadata>
Overrides

batchBlockAdReviewCenterAdsCallable()

public UnaryCallable<BatchBlockAdReviewCenterAdsRequest,Operation> batchBlockAdReviewCenterAdsCallable()
Returns
Type Description
UnaryCallable<BatchBlockAdReviewCenterAdsRequest,Operation>
Overrides

batchBlockAdReviewCenterAdsOperationCallable()

public OperationCallable<BatchBlockAdReviewCenterAdsRequest,BatchBlockAdReviewCenterAdsResponse,BatchAdReviewCenterAdsOperationMetadata> batchBlockAdReviewCenterAdsOperationCallable()
Returns
Type Description
OperationCallable<BatchBlockAdReviewCenterAdsRequest,BatchBlockAdReviewCenterAdsResponse,BatchAdReviewCenterAdsOperationMetadata>
Overrides

close()

public final void close()
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

searchAdReviewCenterAdsCallable()

public UnaryCallable<SearchAdReviewCenterAdsRequest,SearchAdReviewCenterAdsResponse> searchAdReviewCenterAdsCallable()
Returns
Type Description
UnaryCallable<SearchAdReviewCenterAdsRequest,SearchAdReviewCenterAdsResponse>
Overrides

searchAdReviewCenterAdsPagedCallable()

public UnaryCallable<SearchAdReviewCenterAdsRequest,AdReviewCenterAdServiceClient.SearchAdReviewCenterAdsPagedResponse> searchAdReviewCenterAdsPagedCallable()
Returns
Type Description
UnaryCallable<SearchAdReviewCenterAdsRequest,SearchAdReviewCenterAdsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()