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 protectedGrpcAwsClustersStub(AwsClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcAwsClustersStub, using the given settings.protectedGrpcAwsClustersStub(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:
getOperationsStubin classAwsClustersStub
-
createAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAwsClusterRequest,com.google.longrunning.Operation> createAwsClusterCallable()
- Overrides:
createAwsClusterCallablein classAwsClustersStub
-
createAwsClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata> createAwsClusterOperationCallable()
- Overrides:
createAwsClusterOperationCallablein classAwsClustersStub
-
updateAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAwsClusterRequest,com.google.longrunning.Operation> updateAwsClusterCallable()
- Overrides:
updateAwsClusterCallablein classAwsClustersStub
-
updateAwsClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> updateAwsClusterOperationCallable()
- Overrides:
updateAwsClusterOperationCallablein classAwsClustersStub
-
getAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<GetAwsClusterRequest,AwsCluster> getAwsClusterCallable()
- Overrides:
getAwsClusterCallablein classAwsClustersStub
-
listAwsClustersCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse> listAwsClustersCallable()
- Overrides:
listAwsClustersCallablein classAwsClustersStub
-
listAwsClustersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsClustersRequest,AwsClustersClient.ListAwsClustersPagedResponse> listAwsClustersPagedCallable()
- Overrides:
listAwsClustersPagedCallablein classAwsClustersStub
-
deleteAwsClusterCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAwsClusterRequest,com.google.longrunning.Operation> deleteAwsClusterCallable()
- Overrides:
deleteAwsClusterCallablein classAwsClustersStub
-
deleteAwsClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAwsClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAwsClusterOperationCallable()
- Overrides:
deleteAwsClusterOperationCallablein classAwsClustersStub
-
generateAwsAccessTokenCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> generateAwsAccessTokenCallable()
- Overrides:
generateAwsAccessTokenCallablein classAwsClustersStub
-
createAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAwsNodePoolRequest,com.google.longrunning.Operation> createAwsNodePoolCallable()
- Overrides:
createAwsNodePoolCallablein classAwsClustersStub
-
createAwsNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> createAwsNodePoolOperationCallable()
- Overrides:
createAwsNodePoolOperationCallablein classAwsClustersStub
-
updateAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAwsNodePoolRequest,com.google.longrunning.Operation> updateAwsNodePoolCallable()
- Overrides:
updateAwsNodePoolCallablein classAwsClustersStub
-
updateAwsNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> updateAwsNodePoolOperationCallable()
- Overrides:
updateAwsNodePoolOperationCallablein classAwsClustersStub
-
getAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<GetAwsNodePoolRequest,AwsNodePool> getAwsNodePoolCallable()
- Overrides:
getAwsNodePoolCallablein classAwsClustersStub
-
listAwsNodePoolsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse> listAwsNodePoolsCallable()
- Overrides:
listAwsNodePoolsCallablein classAwsClustersStub
-
listAwsNodePoolsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAwsNodePoolsRequest,AwsClustersClient.ListAwsNodePoolsPagedResponse> listAwsNodePoolsPagedCallable()
- Overrides:
listAwsNodePoolsPagedCallablein classAwsClustersStub
-
deleteAwsNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAwsNodePoolRequest,com.google.longrunning.Operation> deleteAwsNodePoolCallable()
- Overrides:
deleteAwsNodePoolCallablein classAwsClustersStub
-
deleteAwsNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAwsNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteAwsNodePoolOperationCallable()
- Overrides:
deleteAwsNodePoolOperationCallablein classAwsClustersStub
-
getAwsServerConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig> getAwsServerConfigCallable()
- Overrides:
getAwsServerConfigCallablein classAwsClustersStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-