Class GrpcAwsClustersStub (0.53.0)

public class GrpcAwsClustersStub extends AwsClustersStub

gRPC stub implementation for the AwsClusters service API.

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

Inheritance

java.lang.Object > AwsClustersStub > GrpcAwsClustersStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAwsClustersStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAwsClustersStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAwsClustersStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcAwsClustersStub
Exceptions
Type Description
IOException

create(AwsClustersStubSettings settings)

public static final GrpcAwsClustersStub create(AwsClustersStubSettings settings)
Parameter
Name Description
settings AwsClustersStubSettings
Returns
Type Description
GrpcAwsClustersStub
Exceptions
Type Description
IOException

Constructors

GrpcAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext)

protected GrpcAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAwsClustersStub, 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
Name Description
settings AwsClustersStubSettings
clientContext ClientContext

GrpcAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAwsClustersStub, 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
Name Description
settings AwsClustersStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createAwsClusterCallable()

public UnaryCallable<CreateAwsClusterRequest,Operation> createAwsClusterCallable()
Returns
Type Description
UnaryCallable<CreateAwsClusterRequest,Operation>
Overrides

createAwsClusterOperationCallable()

public OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata> createAwsClusterOperationCallable()
Returns
Type Description
OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata>
Overrides

createAwsNodePoolCallable()

public UnaryCallable<CreateAwsNodePoolRequest,Operation> createAwsNodePoolCallable()
Returns
Type Description
UnaryCallable<CreateAwsNodePoolRequest,Operation>
Overrides

createAwsNodePoolOperationCallable()

public OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> createAwsNodePoolOperationCallable()
Returns
Type Description
OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata>
Overrides

deleteAwsClusterCallable()

public UnaryCallable<DeleteAwsClusterRequest,Operation> deleteAwsClusterCallable()
Returns
Type Description
UnaryCallable<DeleteAwsClusterRequest,Operation>
Overrides

deleteAwsClusterOperationCallable()

public OperationCallable<DeleteAwsClusterRequest,Empty,OperationMetadata> deleteAwsClusterOperationCallable()
Returns
Type Description
OperationCallable<DeleteAwsClusterRequest,Empty,OperationMetadata>
Overrides

deleteAwsNodePoolCallable()

public UnaryCallable<DeleteAwsNodePoolRequest,Operation> deleteAwsNodePoolCallable()
Returns
Type Description
UnaryCallable<DeleteAwsNodePoolRequest,Operation>
Overrides

deleteAwsNodePoolOperationCallable()

public OperationCallable<DeleteAwsNodePoolRequest,Empty,OperationMetadata> deleteAwsNodePoolOperationCallable()
Returns
Type Description
OperationCallable<DeleteAwsNodePoolRequest,Empty,OperationMetadata>
Overrides

generateAwsAccessTokenCallable()

public UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> generateAwsAccessTokenCallable()
Returns
Type Description
UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse>
Overrides

generateAwsClusterAgentTokenCallable()

public UnaryCallable<GenerateAwsClusterAgentTokenRequest,GenerateAwsClusterAgentTokenResponse> generateAwsClusterAgentTokenCallable()
Returns
Type Description
UnaryCallable<GenerateAwsClusterAgentTokenRequest,GenerateAwsClusterAgentTokenResponse>
Overrides

getAwsClusterCallable()

public UnaryCallable<GetAwsClusterRequest,AwsCluster> getAwsClusterCallable()
Returns
Type Description
UnaryCallable<GetAwsClusterRequest,AwsCluster>
Overrides

getAwsJsonWebKeysCallable()

public UnaryCallable<GetAwsJsonWebKeysRequest,AwsJsonWebKeys> getAwsJsonWebKeysCallable()
Returns
Type Description
UnaryCallable<GetAwsJsonWebKeysRequest,AwsJsonWebKeys>
Overrides

getAwsNodePoolCallable()

public UnaryCallable<GetAwsNodePoolRequest,AwsNodePool> getAwsNodePoolCallable()
Returns
Type Description
UnaryCallable<GetAwsNodePoolRequest,AwsNodePool>
Overrides

getAwsOpenIdConfigCallable()

public UnaryCallable<GetAwsOpenIdConfigRequest,AwsOpenIdConfig> getAwsOpenIdConfigCallable()
Returns
Type Description
UnaryCallable<GetAwsOpenIdConfigRequest,AwsOpenIdConfig>
Overrides

getAwsServerConfigCallable()

public UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig> getAwsServerConfigCallable()
Returns
Type Description
UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAwsClustersCallable()

public UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse> listAwsClustersCallable()
Returns
Type Description
UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse>
Overrides

listAwsClustersPagedCallable()

public UnaryCallable<ListAwsClustersRequest,AwsClustersClient.ListAwsClustersPagedResponse> listAwsClustersPagedCallable()
Returns
Type Description
UnaryCallable<ListAwsClustersRequest,ListAwsClustersPagedResponse>
Overrides

listAwsNodePoolsCallable()

public UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse> listAwsNodePoolsCallable()
Returns
Type Description
UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse>
Overrides

listAwsNodePoolsPagedCallable()

public UnaryCallable<ListAwsNodePoolsRequest,AwsClustersClient.ListAwsNodePoolsPagedResponse> listAwsNodePoolsPagedCallable()
Returns
Type Description
UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsPagedResponse>
Overrides

rollbackAwsNodePoolUpdateCallable()

public UnaryCallable<RollbackAwsNodePoolUpdateRequest,Operation> rollbackAwsNodePoolUpdateCallable()
Returns
Type Description
UnaryCallable<RollbackAwsNodePoolUpdateRequest,Operation>
Overrides

rollbackAwsNodePoolUpdateOperationCallable()

public OperationCallable<RollbackAwsNodePoolUpdateRequest,AwsNodePool,OperationMetadata> rollbackAwsNodePoolUpdateOperationCallable()
Returns
Type Description
OperationCallable<RollbackAwsNodePoolUpdateRequest,AwsNodePool,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAwsClusterCallable()

public UnaryCallable<UpdateAwsClusterRequest,Operation> updateAwsClusterCallable()
Returns
Type Description
UnaryCallable<UpdateAwsClusterRequest,Operation>
Overrides

updateAwsClusterOperationCallable()

public OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> updateAwsClusterOperationCallable()
Returns
Type Description
OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata>
Overrides

updateAwsNodePoolCallable()

public UnaryCallable<UpdateAwsNodePoolRequest,Operation> updateAwsNodePoolCallable()
Returns
Type Description
UnaryCallable<UpdateAwsNodePoolRequest,Operation>
Overrides

updateAwsNodePoolOperationCallable()

public OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> updateAwsNodePoolOperationCallable()
Returns
Type Description
OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata>
Overrides