public class HttpJsonTaxonomyCategoryServiceStub extends TaxonomyCategoryServiceStub
REST stub implementation for the TaxonomyCategoryService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(TaxonomyCategoryServiceStubSettings settings)
public static final HttpJsonTaxonomyCategoryServiceStub create(TaxonomyCategoryServiceStubSettings settings)
create(ClientContext clientContext)
public static final HttpJsonTaxonomyCategoryServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTaxonomyCategoryServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonTaxonomyCategoryServiceStub(TaxonomyCategoryServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonTaxonomyCategoryServiceStub(TaxonomyCategoryServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTaxonomyCategoryServiceStub, 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.
HttpJsonTaxonomyCategoryServiceStub(TaxonomyCategoryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTaxonomyCategoryServiceStub(TaxonomyCategoryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTaxonomyCategoryServiceStub, 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
getTaxonomyCategoryCallable()
public UnaryCallable<GetTaxonomyCategoryRequest,TaxonomyCategory> getTaxonomyCategoryCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listTaxonomyCategoriesCallable()
public UnaryCallable<ListTaxonomyCategoriesRequest,ListTaxonomyCategoriesResponse> listTaxonomyCategoriesCallable()
Overrides
listTaxonomyCategoriesPagedCallable()
public UnaryCallable<ListTaxonomyCategoriesRequest,TaxonomyCategoryServiceClient.ListTaxonomyCategoriesPagedResponse> listTaxonomyCategoriesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()