Package com.google.cloud.compute.v1.stub
Class HttpJsonNodeGroupsStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.NodeGroupsStub
-
- com.google.cloud.compute.v1.stub.HttpJsonNodeGroupsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonNodeGroupsStub, using the given settings.protected
HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonNodeGroupsStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonNodeGroupsStub
protected HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonNodeGroupsStub
protected HttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonNodeGroupsStub create(NodeGroupsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonNodeGroupsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonNodeGroupsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
addNodesCallable
public com.google.api.gax.rpc.UnaryCallable<AddNodesNodeGroupRequest,Operation> addNodesCallable()
- Overrides:
addNodesCallable
in classNodeGroupsStub
-
addNodesOperationCallable
public com.google.api.gax.rpc.OperationCallable<AddNodesNodeGroupRequest,Operation,Operation> addNodesOperationCallable()
- Overrides:
addNodesOperationCallable
in classNodeGroupsStub
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallable
in classNodeGroupsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classNodeGroupsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNodeGroupRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classNodeGroupsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteNodeGroupRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classNodeGroupsStub
-
deleteNodesCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNodesNodeGroupRequest,Operation> deleteNodesCallable()
- Overrides:
deleteNodesCallable
in classNodeGroupsStub
-
deleteNodesOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteNodesNodeGroupRequest,Operation,Operation> deleteNodesOperationCallable()
- Overrides:
deleteNodesOperationCallable
in classNodeGroupsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetNodeGroupRequest,NodeGroup> getCallable()
- Overrides:
getCallable
in classNodeGroupsStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyNodeGroupRequest,Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classNodeGroupsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertNodeGroupRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classNodeGroupsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertNodeGroupRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classNodeGroupsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodeGroupsRequest,NodeGroupList> listCallable()
- Overrides:
listCallable
in classNodeGroupsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodeGroupsRequest,NodeGroupsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classNodeGroupsStub
-
listNodesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsListNodes> listNodesCallable()
- Overrides:
listNodesCallable
in classNodeGroupsStub
-
listNodesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsClient.ListNodesPagedResponse> listNodesPagedCallable()
- Overrides:
listNodesPagedCallable
in classNodeGroupsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchNodeGroupRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classNodeGroupsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchNodeGroupRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classNodeGroupsStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyNodeGroupRequest,Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classNodeGroupsStub
-
setNodeTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<SetNodeTemplateNodeGroupRequest,Operation> setNodeTemplateCallable()
- Overrides:
setNodeTemplateCallable
in classNodeGroupsStub
-
setNodeTemplateOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetNodeTemplateNodeGroupRequest,Operation,Operation> setNodeTemplateOperationCallable()
- Overrides:
setNodeTemplateOperationCallable
in classNodeGroupsStub
-
simulateMaintenanceEventCallable
public com.google.api.gax.rpc.UnaryCallable<SimulateMaintenanceEventNodeGroupRequest,Operation> simulateMaintenanceEventCallable()
- Overrides:
simulateMaintenanceEventCallable
in classNodeGroupsStub
-
simulateMaintenanceEventOperationCallable
public com.google.api.gax.rpc.OperationCallable<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
- Overrides:
simulateMaintenanceEventOperationCallable
in classNodeGroupsStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classNodeGroupsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classNodeGroupsStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-