Class HttpJsonNodeGroupControllerStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.NodeGroupControllerStub
com.google.cloud.dataproc.v1.stub.HttpJsonNodeGroupControllerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonNodeGroupControllerStub
extends NodeGroupControllerStub
REST stub implementation for the NodeGroupController service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonNodeGroupControllerStub, using the given settings.protectedHttpJsonNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonNodeGroupControllerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonNodeGroupControllerStubcreate(ClientContext clientContext) static final HttpJsonNodeGroupControllerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonNodeGroupControllerStubcreate(NodeGroupControllerStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.dataproc.v1.stub.NodeGroupControllerStub
getOperationsStub
-
Constructor Details
-
HttpJsonNodeGroupControllerStub
protected HttpJsonNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonNodeGroupControllerStub, 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
-
HttpJsonNodeGroupControllerStub
protected HttpJsonNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonNodeGroupControllerStub, 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 Details
-
create
public static final HttpJsonNodeGroupControllerStub create(NodeGroupControllerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonNodeGroupControllerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonNodeGroupControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classNodeGroupControllerStub
-
createNodeGroupCallable
- Overrides:
createNodeGroupCallablein classNodeGroupControllerStub
-
createNodeGroupOperationCallable
public OperationCallable<CreateNodeGroupRequest,NodeGroup, createNodeGroupOperationCallable()NodeGroupOperationMetadata> - Overrides:
createNodeGroupOperationCallablein classNodeGroupControllerStub
-
resizeNodeGroupCallable
- Overrides:
resizeNodeGroupCallablein classNodeGroupControllerStub
-
resizeNodeGroupOperationCallable
public OperationCallable<ResizeNodeGroupRequest,NodeGroup, resizeNodeGroupOperationCallable()NodeGroupOperationMetadata> - Overrides:
resizeNodeGroupOperationCallablein classNodeGroupControllerStub
-
getNodeGroupCallable
- Overrides:
getNodeGroupCallablein classNodeGroupControllerStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classNodeGroupControllerStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classNodeGroupControllerStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classNodeGroupControllerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classNodeGroupControllerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-