Class GrpcAwsClustersStub (0.10.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcAwsClustersStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(AwsClustersStubSettings settings)

public static final GrpcAwsClustersStub create(AwsClustersStubSettings settings)
Parameter
NameDescription
settingsAwsClustersStubSettings
Returns
TypeDescription
GrpcAwsClustersStub
Exceptions
TypeDescription
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
NameDescription
settingsAwsClustersStubSettings
clientContextClientContext

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
NameDescription
settingsAwsClustersStubSettings
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

createAwsClusterCallable()

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

createAwsClusterOperationCallable()

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

createAwsNodePoolCallable()

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

createAwsNodePoolOperationCallable()

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

deleteAwsClusterCallable()

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

deleteAwsClusterOperationCallable()

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

deleteAwsNodePoolCallable()

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

deleteAwsNodePoolOperationCallable()

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

generateAwsAccessTokenCallable()

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

getAwsClusterCallable()

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

getAwsNodePoolCallable()

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

getAwsServerConfigCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAwsClustersCallable()

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

listAwsClustersPagedCallable()

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

listAwsNodePoolsCallable()

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

listAwsNodePoolsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAwsClusterCallable()

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

updateAwsClusterOperationCallable()

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

updateAwsNodePoolCallable()

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

updateAwsNodePoolOperationCallable()

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