Class GrpcAwsClustersStub
- java.lang.Object
-
- com.google.cloud.gkemulticloud.v1.stub.AwsClustersStub
-
- com.google.cloud.gkemulticloud.v1.stub.GrpcAwsClustersStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcAwsClustersStub(AwsClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAwsClustersStub, using the given settings.protected
GrpcAwsClustersStub(AwsClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAwsClustersStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.gkemulticloud.v1.stub.AwsClustersStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcAwsClustersStub
protected GrpcAwsClustersStub(AwsClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcAwsClustersStub
protected GrpcAwsClustersStub(AwsClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcAwsClustersStub create(AwsClustersStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcAwsClustersStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcAwsClustersStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
in classAwsClustersStub
-
createAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAwsClusterRequest,com.google.longrunning.Operation> createAwsClusterCallable()
- Overrides:
createAwsClusterCallable
in classAwsClustersStub
-
createAwsClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata> createAwsClusterOperationCallable()
- Overrides:
createAwsClusterOperationCallable
in classAwsClustersStub
-
updateAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAwsClusterRequest,com.google.longrunning.Operation> updateAwsClusterCallable()
- Overrides:
updateAwsClusterCallable
in classAwsClustersStub
-
updateAwsClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> updateAwsClusterOperationCallable()
- Overrides:
updateAwsClusterOperationCallable
in classAwsClustersStub
-
getAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<GetAwsClusterRequest,AwsCluster> getAwsClusterCallable()
- Overrides:
getAwsClusterCallable
in classAwsClustersStub
-
listAwsClustersCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse> listAwsClustersCallable()
- Overrides:
listAwsClustersCallable
in classAwsClustersStub
-
listAwsClustersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsClustersRequest,AwsClustersClient.ListAwsClustersPagedResponse> listAwsClustersPagedCallable()
- Overrides:
listAwsClustersPagedCallable
in classAwsClustersStub
-
deleteAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAwsClusterRequest,com.google.longrunning.Operation> deleteAwsClusterCallable()
- Overrides:
deleteAwsClusterCallable
in classAwsClustersStub
-
deleteAwsClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAwsClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAwsClusterOperationCallable()
- Overrides:
deleteAwsClusterOperationCallable
in classAwsClustersStub
-
generateAwsAccessTokenCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> generateAwsAccessTokenCallable()
- Overrides:
generateAwsAccessTokenCallable
in classAwsClustersStub
-
createAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAwsNodePoolRequest,com.google.longrunning.Operation> createAwsNodePoolCallable()
- Overrides:
createAwsNodePoolCallable
in classAwsClustersStub
-
createAwsNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> createAwsNodePoolOperationCallable()
- Overrides:
createAwsNodePoolOperationCallable
in classAwsClustersStub
-
updateAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAwsNodePoolRequest,com.google.longrunning.Operation> updateAwsNodePoolCallable()
- Overrides:
updateAwsNodePoolCallable
in classAwsClustersStub
-
updateAwsNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> updateAwsNodePoolOperationCallable()
- Overrides:
updateAwsNodePoolOperationCallable
in classAwsClustersStub
-
getAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<GetAwsNodePoolRequest,AwsNodePool> getAwsNodePoolCallable()
- Overrides:
getAwsNodePoolCallable
in classAwsClustersStub
-
listAwsNodePoolsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse> listAwsNodePoolsCallable()
- Overrides:
listAwsNodePoolsCallable
in classAwsClustersStub
-
listAwsNodePoolsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsNodePoolsRequest,AwsClustersClient.ListAwsNodePoolsPagedResponse> listAwsNodePoolsPagedCallable()
- Overrides:
listAwsNodePoolsPagedCallable
in classAwsClustersStub
-
deleteAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAwsNodePoolRequest,com.google.longrunning.Operation> deleteAwsNodePoolCallable()
- Overrides:
deleteAwsNodePoolCallable
in classAwsClustersStub
-
deleteAwsNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAwsNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteAwsNodePoolOperationCallable()
- Overrides:
deleteAwsNodePoolOperationCallable
in classAwsClustersStub
-
getAwsServerConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig> getAwsServerConfigCallable()
- Overrides:
getAwsServerConfigCallable
in classAwsClustersStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classAwsClustersStub
-
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
-
-