public class HttpJsonKeyTrackingServiceStub extends KeyTrackingServiceStub
REST stub implementation for the KeyTrackingService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonKeyTrackingServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonKeyTrackingServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(KeyTrackingServiceStubSettings settings)
public static final HttpJsonKeyTrackingServiceStub create(KeyTrackingServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonKeyTrackingServiceStub, 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.
HttpJsonKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonKeyTrackingServiceStub, 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
getProtectedResourcesSummaryCallable()
public UnaryCallable<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary> getProtectedResourcesSummaryCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
searchProtectedResourcesCallable()
public UnaryCallable<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse> searchProtectedResourcesCallable()
Overrides
searchProtectedResourcesPagedCallable()
public UnaryCallable<SearchProtectedResourcesRequest,KeyTrackingServiceClient.SearchProtectedResourcesPagedResponse> searchProtectedResourcesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()