Class GrpcAttachedClustersStub
- java.lang.Object
-
- com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStub
-
- com.google.cloud.gkemulticloud.v1.stub.GrpcAttachedClustersStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcAttachedClustersStub extends AttachedClustersStub
gRPC stub implementation for the AttachedClusters service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcAttachedClustersStub, using the given settings.protectedGrpcAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcAttachedClustersStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcAttachedClustersStub
protected GrpcAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcAttachedClustersStub, 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
-
GrpcAttachedClustersStub
protected GrpcAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcAttachedClustersStub, 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 GrpcAttachedClustersStub create(AttachedClustersStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcAttachedClustersStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcAttachedClustersStub 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 classAttachedClustersStub
-
createAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAttachedClusterRequest,com.google.longrunning.Operation> createAttachedClusterCallable()
- Overrides:
createAttachedClusterCallablein classAttachedClustersStub
-
createAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAttachedClusterRequest,AttachedCluster,OperationMetadata> createAttachedClusterOperationCallable()
- Overrides:
createAttachedClusterOperationCallablein classAttachedClustersStub
-
updateAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAttachedClusterRequest,com.google.longrunning.Operation> updateAttachedClusterCallable()
- Overrides:
updateAttachedClusterCallablein classAttachedClustersStub
-
updateAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAttachedClusterRequest,AttachedCluster,OperationMetadata> updateAttachedClusterOperationCallable()
- Overrides:
updateAttachedClusterOperationCallablein classAttachedClustersStub
-
importAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<ImportAttachedClusterRequest,com.google.longrunning.Operation> importAttachedClusterCallable()
- Overrides:
importAttachedClusterCallablein classAttachedClustersStub
-
importAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportAttachedClusterRequest,AttachedCluster,OperationMetadata> importAttachedClusterOperationCallable()
- Overrides:
importAttachedClusterOperationCallablein classAttachedClustersStub
-
getAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<GetAttachedClusterRequest,AttachedCluster> getAttachedClusterCallable()
- Overrides:
getAttachedClusterCallablein classAttachedClustersStub
-
listAttachedClustersCallable
public com.google.api.gax.rpc.UnaryCallable<ListAttachedClustersRequest,ListAttachedClustersResponse> listAttachedClustersCallable()
- Overrides:
listAttachedClustersCallablein classAttachedClustersStub
-
listAttachedClustersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAttachedClustersRequest,AttachedClustersClient.ListAttachedClustersPagedResponse> listAttachedClustersPagedCallable()
- Overrides:
listAttachedClustersPagedCallablein classAttachedClustersStub
-
deleteAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAttachedClusterRequest,com.google.longrunning.Operation> deleteAttachedClusterCallable()
- Overrides:
deleteAttachedClusterCallablein classAttachedClustersStub
-
deleteAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAttachedClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAttachedClusterOperationCallable()
- Overrides:
deleteAttachedClusterOperationCallablein classAttachedClustersStub
-
getAttachedServerConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetAttachedServerConfigRequest,AttachedServerConfig> getAttachedServerConfigCallable()
- Overrides:
getAttachedServerConfigCallablein classAttachedClustersStub
-
generateAttachedClusterInstallManifestCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateAttachedClusterInstallManifestRequest,GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifestCallable()
- Overrides:
generateAttachedClusterInstallManifestCallablein classAttachedClustersStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAttachedClustersStub
-
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
-
-