public class HttpJsonCustomTargetingValueServiceStub extends CustomTargetingValueServiceStub
REST stub implementation for the CustomTargetingValueService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(CustomTargetingValueServiceStubSettings settings)
public static final HttpJsonCustomTargetingValueServiceStub create(CustomTargetingValueServiceStubSettings settings)
create(ClientContext clientContext)
public static final HttpJsonCustomTargetingValueServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCustomTargetingValueServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonCustomTargetingValueServiceStub(CustomTargetingValueServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonCustomTargetingValueServiceStub(CustomTargetingValueServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonCustomTargetingValueServiceStub, 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.
HttpJsonCustomTargetingValueServiceStub(CustomTargetingValueServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonCustomTargetingValueServiceStub(CustomTargetingValueServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCustomTargetingValueServiceStub, 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
getCustomTargetingValueCallable()
public UnaryCallable<GetCustomTargetingValueRequest,CustomTargetingValue> getCustomTargetingValueCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCustomTargetingValuesCallable()
public UnaryCallable<ListCustomTargetingValuesRequest,ListCustomTargetingValuesResponse> listCustomTargetingValuesCallable()
Overrides
listCustomTargetingValuesPagedCallable()
public UnaryCallable<ListCustomTargetingValuesRequest,CustomTargetingValueServiceClient.ListCustomTargetingValuesPagedResponse> listCustomTargetingValuesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()