public class HttpJsonRegionInstanceTemplatesStub extends RegionInstanceTemplatesStub
REST stub implementation for the RegionInstanceTemplates service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionInstanceTemplatesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionInstanceTemplatesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RegionInstanceTemplatesStubSettings settings)
public static final HttpJsonRegionInstanceTemplatesStub create(RegionInstanceTemplatesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRegionInstanceTemplatesStub(RegionInstanceTemplatesStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionInstanceTemplatesStub(RegionInstanceTemplatesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionInstanceTemplatesStub, 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.
HttpJsonRegionInstanceTemplatesStub(RegionInstanceTemplatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionInstanceTemplatesStub(RegionInstanceTemplatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionInstanceTemplatesStub, 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
deleteCallable()
public UnaryCallable<DeleteRegionInstanceTemplateRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteRegionInstanceTemplateRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetRegionInstanceTemplateRequest,InstanceTemplate> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertRegionInstanceTemplateRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertRegionInstanceTemplateRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListRegionInstanceTemplatesRequest,InstanceTemplateList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListRegionInstanceTemplatesRequest,RegionInstanceTemplatesClient.ListPagedResponse> listPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()