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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonKeyTrackingServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(KeyTrackingServiceStubSettings settings)
public static final HttpJsonKeyTrackingServiceStub create(KeyTrackingServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
getProtectedResourcesSummaryCallable()
public UnaryCallable<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary> getProtectedResourcesSummaryCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
searchProtectedResourcesCallable()
public UnaryCallable<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse> searchProtectedResourcesCallable()
Returns
Overrides
searchProtectedResourcesPagedCallable()
public UnaryCallable<SearchProtectedResourcesRequest,KeyTrackingServiceClient.SearchProtectedResourcesPagedResponse> searchProtectedResourcesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()