Class HttpJsonNodeGroupsStub (1.68.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonNodeGroupsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonNodeGroupsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonNodeGroupsStub
Exceptions
Type Description
IOException

create(NodeGroupsStubSettings settings)

public static final HttpJsonNodeGroupsStub create(NodeGroupsStubSettings settings)
Parameter
Name Description
settings NodeGroupsStubSettings
Returns
Type Description
HttpJsonNodeGroupsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings NodeGroupsStubSettings
clientContext ClientContext

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
Name Description
settings NodeGroupsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteNodeGroupRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteNodeGroupRequest,Operation>
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()
Returns
Type Description
UnaryCallable<GetNodeGroupRequest,NodeGroup>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyNodeGroupRequest,Policy> getIamPolicyCallable()
Overrides

insertCallable()

public UnaryCallable<InsertNodeGroupRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertNodeGroupRequest,Operation>
Overrides

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
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()
Returns
Type Description
UnaryCallable<PatchNodeGroupRequest,Operation>
Overrides

patchOperationCallable()

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

performMaintenanceCallable()

public UnaryCallable<PerformMaintenanceNodeGroupRequest,Operation> performMaintenanceCallable()
Overrides

performMaintenanceOperationCallable()

public OperationCallable<PerformMaintenanceNodeGroupRequest,Operation,Operation> performMaintenanceOperationCallable()
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