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

addNodesOperationCallable()

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

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

deleteNodesCallable()

public UnaryCallable<DeleteNodesNodeGroupRequest,Operation> deleteNodesCallable()
Returns
TypeDescription
UnaryCallable<DeleteNodesNodeGroupRequest,Operation>
Overrides

deleteNodesOperationCallable()

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

deleteOperationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listNodesCallable()

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

listNodesPagedCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setIamPolicyCallable()

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

setNodeTemplateCallable()

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

setNodeTemplateOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

simulateMaintenanceEventCallable()

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

simulateMaintenanceEventOperationCallable()

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

testIamPermissionsCallable()

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