Class HttpJsonNodeTemplatesStub (1.24.0)

public class HttpJsonNodeTemplatesStub extends NodeTemplatesStub

REST stub implementation for the NodeTemplates service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > NodeTemplatesStub > HttpJsonNodeTemplatesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(NodeTemplatesStubSettings settings)

public static final HttpJsonNodeTemplatesStub create(NodeTemplatesStubSettings settings)
Parameter
NameDescription
settingsNodeTemplatesStubSettings
Returns
TypeDescription
HttpJsonNodeTemplatesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonNodeTemplatesStub(NodeTemplatesStubSettings settings, ClientContext clientContext)

protected HttpJsonNodeTemplatesStub(NodeTemplatesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNodeTemplatesStub, 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
settingsNodeTemplatesStubSettings
clientContextClientContext

HttpJsonNodeTemplatesStub(NodeTemplatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonNodeTemplatesStub(NodeTemplatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNodeTemplatesStub, 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
settingsNodeTemplatesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListNodeTemplatesRequest,NodeTemplateAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListNodeTemplatesRequest,NodeTemplateAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListNodeTemplatesRequest,NodeTemplatesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListNodeTemplatesRequest,AggregatedListPagedResponse>
Overrides

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<DeleteNodeTemplateRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteNodeTemplateRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetNodeTemplateRequest,NodeTemplate> getCallable()
Returns
TypeDescription
UnaryCallable<GetNodeTemplateRequest,NodeTemplate>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyNodeTemplateRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetIamPolicyNodeTemplateRequest,Policy>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListNodeTemplatesRequest,NodeTemplateList> listCallable()
Returns
TypeDescription
UnaryCallable<ListNodeTemplatesRequest,NodeTemplateList>
Overrides

listPagedCallable()

public UnaryCallable<ListNodeTemplatesRequest,NodeTemplatesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNodeTemplatesRequest,ListPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyNodeTemplateRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<SetIamPolicyNodeTemplateRequest,Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsNodeTemplateRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<TestIamPermissionsNodeTemplateRequest,TestPermissionsResponse>
Overrides