Class HttpJsonNodeGroupsStub (1.30.0)

public class HttpJsonNodeGroupsStub extends NodeGroupsStub

REST stub implementation for the NodeGroups service API.

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

Inheritance

java.lang.Object > NodeGroupsStub > HttpJsonNodeGroupsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(NodeGroupsStubSettings settings)

public static final HttpJsonNodeGroupsStub create(NodeGroupsStubSettings settings)
Parameter
NameDescription
settingsNodeGroupsStubSettings
Returns
TypeDescription
HttpJsonNodeGroupsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, ClientContext clientContext)

protected HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNodeGroupsStub, 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
settingsNodeGroupsStubSettings
clientContextClientContext

HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNodeGroupsStub, 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
settingsNodeGroupsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addNodesCallable()

public UnaryCallable<AddNodesNodeGroupRequest,Operation> addNodesCallable()
Overrides

addNodesOperationCallable()

public OperationCallable<AddNodesNodeGroupRequest,Operation,Operation> addNodesOperationCallable()
Overrides

aggregatedListCallable()

public UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList> aggregatedListCallable()
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
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<DeleteNodeGroupRequest,Operation> deleteCallable()
Overrides

deleteNodesCallable()

public UnaryCallable<DeleteNodesNodeGroupRequest,Operation> deleteNodesCallable()
Overrides

deleteNodesOperationCallable()

public OperationCallable<DeleteNodesNodeGroupRequest,Operation,Operation> deleteNodesOperationCallable()
Overrides

deleteOperationCallable()

public OperationCallable<DeleteNodeGroupRequest,Operation,Operation> deleteOperationCallable()
Overrides

getCallable()

public UnaryCallable<GetNodeGroupRequest,NodeGroup> getCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyNodeGroupRequest,Policy> getIamPolicyCallable()
Overrides

insertCallable()

public UnaryCallable<InsertNodeGroupRequest,Operation> insertCallable()
Overrides

insertOperationCallable()

public OperationCallable<InsertNodeGroupRequest,Operation,Operation> insertOperationCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListNodeGroupsRequest,NodeGroupList> listCallable()
Overrides

listNodesCallable()

public UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsListNodes> listNodesCallable()
Overrides

listNodesPagedCallable()

public UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsClient.ListNodesPagedResponse> listNodesPagedCallable()
Overrides

listPagedCallable()

public UnaryCallable<ListNodeGroupsRequest,NodeGroupsClient.ListPagedResponse> listPagedCallable()
Overrides

patchCallable()

public UnaryCallable<PatchNodeGroupRequest,Operation> patchCallable()
Overrides

patchOperationCallable()

public OperationCallable<PatchNodeGroupRequest,Operation,Operation> patchOperationCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyNodeGroupRequest,Policy> setIamPolicyCallable()
Overrides

setNodeTemplateCallable()

public UnaryCallable<SetNodeTemplateNodeGroupRequest,Operation> setNodeTemplateCallable()
Overrides

setNodeTemplateOperationCallable()

public OperationCallable<SetNodeTemplateNodeGroupRequest,Operation,Operation> setNodeTemplateOperationCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

simulateMaintenanceEventCallable()

public UnaryCallable<SimulateMaintenanceEventNodeGroupRequest,Operation> simulateMaintenanceEventCallable()
Overrides

simulateMaintenanceEventOperationCallable()

public OperationCallable<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides