Class HttpJsonRegionInstanceTemplatesStub (1.31.0)

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.

Inheritance

java.lang.Object > RegionInstanceTemplatesStub > HttpJsonRegionInstanceTemplatesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionInstanceTemplatesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRegionInstanceTemplatesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRegionInstanceTemplatesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonRegionInstanceTemplatesStub
Exceptions
TypeDescription
IOException

create(RegionInstanceTemplatesStubSettings settings)

public static final HttpJsonRegionInstanceTemplatesStub create(RegionInstanceTemplatesStubSettings settings)
Parameter
NameDescription
settingsRegionInstanceTemplatesStubSettings
Returns
TypeDescription
HttpJsonRegionInstanceTemplatesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

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.

Parameters
NameDescription
settingsRegionInstanceTemplatesStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsRegionInstanceTemplatesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteRegionInstanceTemplateRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionInstanceTemplateRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionInstanceTemplateRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteRegionInstanceTemplateRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetRegionInstanceTemplateRequest,InstanceTemplate> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionInstanceTemplateRequest,InstanceTemplate>
Overrides

insertCallable()

public UnaryCallable<InsertRegionInstanceTemplateRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertRegionInstanceTemplateRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionInstanceTemplateRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertRegionInstanceTemplateRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionInstanceTemplatesRequest,InstanceTemplateList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionInstanceTemplatesRequest,InstanceTemplateList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionInstanceTemplatesRequest,RegionInstanceTemplatesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionInstanceTemplatesRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()