public class HttpJsonCustomTargetingKeyServiceStub extends CustomTargetingKeyServiceStub
REST stub implementation for the CustomTargetingKeyService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(CustomTargetingKeyServiceStubSettings settings)
public static final HttpJsonCustomTargetingKeyServiceStub create(CustomTargetingKeyServiceStubSettings settings)
create(ClientContext clientContext)
public static final HttpJsonCustomTargetingKeyServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCustomTargetingKeyServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonCustomTargetingKeyServiceStub(CustomTargetingKeyServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonCustomTargetingKeyServiceStub(CustomTargetingKeyServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonCustomTargetingKeyServiceStub, 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.
HttpJsonCustomTargetingKeyServiceStub(CustomTargetingKeyServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonCustomTargetingKeyServiceStub(CustomTargetingKeyServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCustomTargetingKeyServiceStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCustomTargetingKeyCallable()
public UnaryCallable<GetCustomTargetingKeyRequest,CustomTargetingKey> getCustomTargetingKeyCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCustomTargetingKeysCallable()
public UnaryCallable<ListCustomTargetingKeysRequest,ListCustomTargetingKeysResponse> listCustomTargetingKeysCallable()
Overrides
listCustomTargetingKeysPagedCallable()
public UnaryCallable<ListCustomTargetingKeysRequest,CustomTargetingKeyServiceClient.ListCustomTargetingKeysPagedResponse> listCustomTargetingKeysPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()