Class HttpJsonAttachedClustersStub
java.lang.Object
com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStub
com.google.cloud.gkemulticloud.v1.stub.HttpJsonAttachedClustersStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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
ConstructorsModifierConstructorDescriptionprotectedHttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonAttachedClustersStub, using the given settings.protectedHttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonAttachedClustersStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonAttachedClustersStubcreate(ClientContext clientContext) static final HttpJsonAttachedClustersStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonAttachedClustersStubcreate(AttachedClustersStubSettings settings) OperationCallable<DeleteAttachedClusterRequest,com.google.protobuf.Empty, OperationMetadata> UnaryCallable<GenerateAttachedClusterInstallManifestRequest,GenerateAttachedClusterInstallManifestResponse> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStub
getOperationsStub
-
Constructor Details
-
HttpJsonAttachedClustersStub
protected HttpJsonAttachedClustersStub(AttachedClustersStubSettings settings, 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, ClientContext clientContext, 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 Details
-
create
public static final HttpJsonAttachedClustersStub create(AttachedClustersStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonAttachedClustersStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonAttachedClustersStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classAttachedClustersStub
-
createAttachedClusterCallable
- Overrides:
createAttachedClusterCallablein classAttachedClustersStub
-
createAttachedClusterOperationCallable
public OperationCallable<CreateAttachedClusterRequest,AttachedCluster, createAttachedClusterOperationCallable()OperationMetadata> - Overrides:
createAttachedClusterOperationCallablein classAttachedClustersStub
-
updateAttachedClusterCallable
- Overrides:
updateAttachedClusterCallablein classAttachedClustersStub
-
updateAttachedClusterOperationCallable
public OperationCallable<UpdateAttachedClusterRequest,AttachedCluster, updateAttachedClusterOperationCallable()OperationMetadata> - Overrides:
updateAttachedClusterOperationCallablein classAttachedClustersStub
-
importAttachedClusterCallable
- Overrides:
importAttachedClusterCallablein classAttachedClustersStub
-
importAttachedClusterOperationCallable
public OperationCallable<ImportAttachedClusterRequest,AttachedCluster, importAttachedClusterOperationCallable()OperationMetadata> - Overrides:
importAttachedClusterOperationCallablein classAttachedClustersStub
-
getAttachedClusterCallable
- Overrides:
getAttachedClusterCallablein classAttachedClustersStub
-
listAttachedClustersCallable
public UnaryCallable<ListAttachedClustersRequest,ListAttachedClustersResponse> listAttachedClustersCallable()- Overrides:
listAttachedClustersCallablein classAttachedClustersStub
-
listAttachedClustersPagedCallable
public UnaryCallable<ListAttachedClustersRequest,AttachedClustersClient.ListAttachedClustersPagedResponse> listAttachedClustersPagedCallable()- Overrides:
listAttachedClustersPagedCallablein classAttachedClustersStub
-
deleteAttachedClusterCallable
- Overrides:
deleteAttachedClusterCallablein classAttachedClustersStub
-
deleteAttachedClusterOperationCallable
public OperationCallable<DeleteAttachedClusterRequest,com.google.protobuf.Empty, deleteAttachedClusterOperationCallable()OperationMetadata> - Overrides:
deleteAttachedClusterOperationCallablein classAttachedClustersStub
-
getAttachedServerConfigCallable
public UnaryCallable<GetAttachedServerConfigRequest,AttachedServerConfig> getAttachedServerConfigCallable()- Overrides:
getAttachedServerConfigCallablein classAttachedClustersStub
-
generateAttachedClusterInstallManifestCallable
public UnaryCallable<GenerateAttachedClusterInstallManifestRequest,GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifestCallable()- Overrides:
generateAttachedClusterInstallManifestCallablein classAttachedClustersStub
-
generateAttachedClusterAgentTokenCallable
public UnaryCallable<GenerateAttachedClusterAgentTokenRequest,GenerateAttachedClusterAgentTokenResponse> generateAttachedClusterAgentTokenCallable()- Overrides:
generateAttachedClusterAgentTokenCallablein 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
- Throws:
InterruptedException
-