Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonInstanceTemplatesStub extends InstanceTemplatesStub
REST stub implementation for the InstanceTemplates service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInstanceTemplatesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstanceTemplatesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(InstanceTemplatesStubSettings settings)
public static final HttpJsonInstanceTemplatesStub create(InstanceTemplatesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonInstanceTemplatesStub(InstanceTemplatesStubSettings settings, ClientContext clientContext)
protected HttpJsonInstanceTemplatesStub(InstanceTemplatesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInstanceTemplatesStub, 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.
HttpJsonInstanceTemplatesStub(InstanceTemplatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInstanceTemplatesStub(InstanceTemplatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInstanceTemplatesStub, 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
aggregatedListCallable()
public UnaryCallable<AggregatedListInstanceTemplatesRequest,InstanceTemplateAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListInstanceTemplatesRequest,InstanceTemplatesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteInstanceTemplateRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteInstanceTemplateRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetInstanceTemplateRequest,InstanceTemplate> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyInstanceTemplateRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertInstanceTemplateRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertInstanceTemplateRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListInstanceTemplatesRequest,InstanceTemplateList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListInstanceTemplatesRequest,InstanceTemplatesClient.ListPagedResponse> listPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyInstanceTemplateRequest,Policy> setIamPolicyCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsInstanceTemplateRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides