Class HttpJsonAttachedClustersStub
- java.lang.Object
-
- com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStub
-
- com.google.cloud.gkemulticloud.v1.stub.HttpJsonAttachedClustersStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonAttachedClustersStub extends AttachedClustersStub
REST 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 protected
HttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAttachedClustersStub, using the given settings.protected
HttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAttachedClustersStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonAttachedClustersStub
protected HttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonAttachedClustersStub, 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
-
HttpJsonAttachedClustersStub
protected HttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonAttachedClustersStub, 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 HttpJsonAttachedClustersStub create(AttachedClustersStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAttachedClustersStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAttachedClustersStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStub
in classAttachedClustersStub
-
createAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAttachedClusterRequest,com.google.longrunning.Operation> createAttachedClusterCallable()
- Overrides:
createAttachedClusterCallable
in classAttachedClustersStub
-
createAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAttachedClusterRequest,AttachedCluster,OperationMetadata> createAttachedClusterOperationCallable()
- Overrides:
createAttachedClusterOperationCallable
in classAttachedClustersStub
-
updateAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAttachedClusterRequest,com.google.longrunning.Operation> updateAttachedClusterCallable()
- Overrides:
updateAttachedClusterCallable
in classAttachedClustersStub
-
updateAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAttachedClusterRequest,AttachedCluster,OperationMetadata> updateAttachedClusterOperationCallable()
- Overrides:
updateAttachedClusterOperationCallable
in classAttachedClustersStub
-
importAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<ImportAttachedClusterRequest,com.google.longrunning.Operation> importAttachedClusterCallable()
- Overrides:
importAttachedClusterCallable
in classAttachedClustersStub
-
importAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportAttachedClusterRequest,AttachedCluster,OperationMetadata> importAttachedClusterOperationCallable()
- Overrides:
importAttachedClusterOperationCallable
in classAttachedClustersStub
-
getAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<GetAttachedClusterRequest,AttachedCluster> getAttachedClusterCallable()
- Overrides:
getAttachedClusterCallable
in classAttachedClustersStub
-
listAttachedClustersCallable
public com.google.api.gax.rpc.UnaryCallable<ListAttachedClustersRequest,ListAttachedClustersResponse> listAttachedClustersCallable()
- Overrides:
listAttachedClustersCallable
in classAttachedClustersStub
-
listAttachedClustersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAttachedClustersRequest,AttachedClustersClient.ListAttachedClustersPagedResponse> listAttachedClustersPagedCallable()
- Overrides:
listAttachedClustersPagedCallable
in classAttachedClustersStub
-
deleteAttachedClusterCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAttachedClusterRequest,com.google.longrunning.Operation> deleteAttachedClusterCallable()
- Overrides:
deleteAttachedClusterCallable
in classAttachedClustersStub
-
deleteAttachedClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAttachedClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAttachedClusterOperationCallable()
- Overrides:
deleteAttachedClusterOperationCallable
in classAttachedClustersStub
-
getAttachedServerConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetAttachedServerConfigRequest,AttachedServerConfig> getAttachedServerConfigCallable()
- Overrides:
getAttachedServerConfigCallable
in classAttachedClustersStub
-
generateAttachedClusterInstallManifestCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateAttachedClusterInstallManifestRequest,GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifestCallable()
- Overrides:
generateAttachedClusterInstallManifestCallable
in classAttachedClustersStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-