Class HttpJsonNodeGroupsStub (1.56.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()
Returns
Type Description
UnaryCallable<AddNodesNodeGroupRequest,Operation>
Overrides

addNodesOperationCallable()

public OperationCallable<AddNodesNodeGroupRequest,Operation,Operation> addNodesOperationCallable()
Returns
Type Description
OperationCallable<AddNodesNodeGroupRequest,Operation,Operation>
Overrides

aggregatedListCallable()

public UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListNodeGroupsRequest,AggregatedListPagedResponse>
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()
Returns
Type Description
UnaryCallable<DeleteNodesNodeGroupRequest,Operation>
Overrides

deleteNodesOperationCallable()

public OperationCallable<DeleteNodesNodeGroupRequest,Operation,Operation> deleteNodesOperationCallable()
Returns
Type Description
OperationCallable<DeleteNodesNodeGroupRequest,Operation,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteNodeGroupRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteNodeGroupRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetNodeGroupRequest,NodeGroup> getCallable()
Returns
Type Description
UnaryCallable<GetNodeGroupRequest,NodeGroup>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyNodeGroupRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<GetIamPolicyNodeGroupRequest,Policy>
Overrides

insertCallable()

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

insertOperationCallable()

public OperationCallable<InsertNodeGroupRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertNodeGroupRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListNodeGroupsRequest,NodeGroupList> listCallable()
Returns
Type Description
UnaryCallable<ListNodeGroupsRequest,NodeGroupList>
Overrides

listNodesCallable()

public UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsListNodes> listNodesCallable()
Returns
Type Description
UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsListNodes>
Overrides

listNodesPagedCallable()

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

listPagedCallable()

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

patchCallable()

public UnaryCallable<PatchNodeGroupRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchNodeGroupRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchNodeGroupRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchNodeGroupRequest,Operation,Operation>
Overrides

performMaintenanceCallable()

public UnaryCallable<PerformMaintenanceNodeGroupRequest,Operation> performMaintenanceCallable()
Returns
Type Description
UnaryCallable<PerformMaintenanceNodeGroupRequest,Operation>
Overrides

performMaintenanceOperationCallable()

public OperationCallable<PerformMaintenanceNodeGroupRequest,Operation,Operation> performMaintenanceOperationCallable()
Returns
Type Description
OperationCallable<PerformMaintenanceNodeGroupRequest,Operation,Operation>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyNodeGroupRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<SetIamPolicyNodeGroupRequest,Policy>
Overrides

setNodeTemplateCallable()

public UnaryCallable<SetNodeTemplateNodeGroupRequest,Operation> setNodeTemplateCallable()
Returns
Type Description
UnaryCallable<SetNodeTemplateNodeGroupRequest,Operation>
Overrides

setNodeTemplateOperationCallable()

public OperationCallable<SetNodeTemplateNodeGroupRequest,Operation,Operation> setNodeTemplateOperationCallable()
Returns
Type Description
OperationCallable<SetNodeTemplateNodeGroupRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

simulateMaintenanceEventCallable()

public UnaryCallable<SimulateMaintenanceEventNodeGroupRequest,Operation> simulateMaintenanceEventCallable()
Returns
Type Description
UnaryCallable<SimulateMaintenanceEventNodeGroupRequest,Operation>
Overrides

simulateMaintenanceEventOperationCallable()

public OperationCallable<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
Returns
Type Description
OperationCallable<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse>
Overrides