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 protectedHttpJsonNodeGroupsStub(NodeGroupsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonNodeGroupsStub, using the given settings.protectedHttpJsonNodeGroupsStub(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:
addNodesCallablein classNodeGroupsStub
-
addNodesOperationCallable
public com.google.api.gax.rpc.OperationCallable<AddNodesNodeGroupRequest,Operation,Operation> addNodesOperationCallable()
- Overrides:
addNodesOperationCallablein classNodeGroupsStub
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallablein classNodeGroupsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListNodeGroupsRequest,NodeGroupsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classNodeGroupsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNodeGroupRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classNodeGroupsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteNodeGroupRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classNodeGroupsStub
-
deleteNodesCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNodesNodeGroupRequest,Operation> deleteNodesCallable()
- Overrides:
deleteNodesCallablein classNodeGroupsStub
-
deleteNodesOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteNodesNodeGroupRequest,Operation,Operation> deleteNodesOperationCallable()
- Overrides:
deleteNodesOperationCallablein classNodeGroupsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetNodeGroupRequest,NodeGroup> getCallable()
- Overrides:
getCallablein classNodeGroupsStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyNodeGroupRequest,Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classNodeGroupsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertNodeGroupRequest,Operation> insertCallable()
- Overrides:
insertCallablein classNodeGroupsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertNodeGroupRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classNodeGroupsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodeGroupsRequest,NodeGroupList> listCallable()
- Overrides:
listCallablein classNodeGroupsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodeGroupsRequest,NodeGroupsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classNodeGroupsStub
-
listNodesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsListNodes> listNodesCallable()
- Overrides:
listNodesCallablein classNodeGroupsStub
-
listNodesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodesNodeGroupsRequest,NodeGroupsClient.ListNodesPagedResponse> listNodesPagedCallable()
- Overrides:
listNodesPagedCallablein classNodeGroupsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchNodeGroupRequest,Operation> patchCallable()
- Overrides:
patchCallablein classNodeGroupsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchNodeGroupRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classNodeGroupsStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyNodeGroupRequest,Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classNodeGroupsStub
-
setNodeTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<SetNodeTemplateNodeGroupRequest,Operation> setNodeTemplateCallable()
- Overrides:
setNodeTemplateCallablein classNodeGroupsStub
-
setNodeTemplateOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetNodeTemplateNodeGroupRequest,Operation,Operation> setNodeTemplateOperationCallable()
- Overrides:
setNodeTemplateOperationCallablein classNodeGroupsStub
-
simulateMaintenanceEventCallable
public com.google.api.gax.rpc.UnaryCallable<SimulateMaintenanceEventNodeGroupRequest,Operation> simulateMaintenanceEventCallable()
- Overrides:
simulateMaintenanceEventCallablein classNodeGroupsStub
-
simulateMaintenanceEventOperationCallable
public com.google.api.gax.rpc.OperationCallable<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
- Overrides:
simulateMaintenanceEventOperationCallablein classNodeGroupsStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classNodeGroupsStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-