Class HttpJsonCreativeWrapperServiceStub (0.58.0)

public class HttpJsonCreativeWrapperServiceStub extends CreativeWrapperServiceStub

REST stub implementation for the CreativeWrapperService service API.

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

Inheritance

java.lang.Object > CreativeWrapperServiceStub > HttpJsonCreativeWrapperServiceStub

Static Methods

create(CreativeWrapperServiceStubSettings settings)

public static final HttpJsonCreativeWrapperServiceStub create(CreativeWrapperServiceStubSettings settings)
Parameter
Name Description
settings CreativeWrapperServiceStubSettings
Returns
Type Description
HttpJsonCreativeWrapperServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

getMethodDescriptors()

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

Constructors

HttpJsonCreativeWrapperServiceStub(CreativeWrapperServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCreativeWrapperServiceStub(CreativeWrapperServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCreativeWrapperServiceStub, 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 CreativeWrapperServiceStubSettings
clientContext ClientContext

HttpJsonCreativeWrapperServiceStub(CreativeWrapperServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCreativeWrapperServiceStub(CreativeWrapperServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

batchActivateCreativeWrappersCallable()

public UnaryCallable<BatchActivateCreativeWrappersRequest,BatchActivateCreativeWrappersResponse> batchActivateCreativeWrappersCallable()
Returns
Type Description
UnaryCallable<BatchActivateCreativeWrappersRequest,BatchActivateCreativeWrappersResponse>
Overrides

batchCreateCreativeWrappersCallable()

public UnaryCallable<BatchCreateCreativeWrappersRequest,BatchCreateCreativeWrappersResponse> batchCreateCreativeWrappersCallable()
Returns
Type Description
UnaryCallable<BatchCreateCreativeWrappersRequest,BatchCreateCreativeWrappersResponse>
Overrides

batchDeactivateCreativeWrappersCallable()

public UnaryCallable<BatchDeactivateCreativeWrappersRequest,BatchDeactivateCreativeWrappersResponse> batchDeactivateCreativeWrappersCallable()
Returns
Type Description
UnaryCallable<BatchDeactivateCreativeWrappersRequest,BatchDeactivateCreativeWrappersResponse>
Overrides

batchUpdateCreativeWrappersCallable()

public UnaryCallable<BatchUpdateCreativeWrappersRequest,BatchUpdateCreativeWrappersResponse> batchUpdateCreativeWrappersCallable()
Returns
Type Description
UnaryCallable<BatchUpdateCreativeWrappersRequest,BatchUpdateCreativeWrappersResponse>
Overrides

close()

public final void close()
Overrides

createCreativeWrapperCallable()

public UnaryCallable<CreateCreativeWrapperRequest,CreativeWrapper> createCreativeWrapperCallable()
Returns
Type Description
UnaryCallable<CreateCreativeWrapperRequest,CreativeWrapper>
Overrides

getCreativeWrapperCallable()

public UnaryCallable<GetCreativeWrapperRequest,CreativeWrapper> getCreativeWrapperCallable()
Returns
Type Description
UnaryCallable<GetCreativeWrapperRequest,CreativeWrapper>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCreativeWrappersCallable()

public UnaryCallable<ListCreativeWrappersRequest,ListCreativeWrappersResponse> listCreativeWrappersCallable()
Returns
Type Description
UnaryCallable<ListCreativeWrappersRequest,ListCreativeWrappersResponse>
Overrides

listCreativeWrappersPagedCallable()

public UnaryCallable<ListCreativeWrappersRequest,CreativeWrapperServiceClient.ListCreativeWrappersPagedResponse> listCreativeWrappersPagedCallable()
Returns
Type Description
UnaryCallable<ListCreativeWrappersRequest,ListCreativeWrappersPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCreativeWrapperCallable()

public UnaryCallable<UpdateCreativeWrapperRequest,CreativeWrapper> updateCreativeWrapperCallable()
Returns
Type Description
UnaryCallable<UpdateCreativeWrapperRequest,CreativeWrapper>
Overrides