Class GrpcNodeGroupControllerStub (4.27.0)

public class GrpcNodeGroupControllerStub extends NodeGroupControllerStub

gRPC stub implementation for the NodeGroupController service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > NodeGroupControllerStub > GrpcNodeGroupControllerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcNodeGroupControllerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcNodeGroupControllerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcNodeGroupControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcNodeGroupControllerStub
Exceptions
TypeDescription
IOException

create(NodeGroupControllerStubSettings settings)

public static final GrpcNodeGroupControllerStub create(NodeGroupControllerStubSettings settings)
Parameter
NameDescription
settingsNodeGroupControllerStubSettings
Returns
TypeDescription
GrpcNodeGroupControllerStub
Exceptions
TypeDescription
IOException

Constructors

GrpcNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext)

protected GrpcNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcNodeGroupControllerStub, 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
settingsNodeGroupControllerStubSettings
clientContextClientContext

GrpcNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcNodeGroupControllerStub(NodeGroupControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcNodeGroupControllerStub, 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
settingsNodeGroupControllerStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

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

createNodeGroupCallable()

public UnaryCallable<CreateNodeGroupRequest,Operation> createNodeGroupCallable()
Returns
TypeDescription
UnaryCallable<CreateNodeGroupRequest,Operation>
Overrides

createNodeGroupOperationCallable()

public OperationCallable<CreateNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata> createNodeGroupOperationCallable()
Returns
TypeDescription
OperationCallable<CreateNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getNodeGroupCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

resizeNodeGroupCallable()

public UnaryCallable<ResizeNodeGroupRequest,Operation> resizeNodeGroupCallable()
Returns
TypeDescription
UnaryCallable<ResizeNodeGroupRequest,Operation>
Overrides

resizeNodeGroupOperationCallable()

public OperationCallable<ResizeNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata> resizeNodeGroupOperationCallable()
Returns
TypeDescription
OperationCallable<ResizeNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides