Class HttpJsonAzureClustersStub
- java.lang.Object
-
- com.google.cloud.gkemulticloud.v1.stub.AzureClustersStub
-
- com.google.cloud.gkemulticloud.v1.stub.HttpJsonAzureClustersStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonAzureClustersStub extends AzureClustersStub
REST stub implementation for the AzureClusters service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAzureClustersStub, using the given settings.protected
HttpJsonAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAzureClustersStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.gkemulticloud.v1.stub.AzureClustersStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonAzureClustersStub
protected HttpJsonAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonAzureClustersStub, 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
-
HttpJsonAzureClustersStub
protected HttpJsonAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonAzureClustersStub, 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 HttpJsonAzureClustersStub create(AzureClustersStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAzureClustersStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAzureClustersStub 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 classAzureClustersStub
-
createAzureClientCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAzureClientRequest,com.google.longrunning.Operation> createAzureClientCallable()
- Overrides:
createAzureClientCallable
in classAzureClustersStub
-
createAzureClientOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAzureClientRequest,AzureClient,OperationMetadata> createAzureClientOperationCallable()
- Overrides:
createAzureClientOperationCallable
in classAzureClustersStub
-
getAzureClientCallable
public com.google.api.gax.rpc.UnaryCallable<GetAzureClientRequest,AzureClient> getAzureClientCallable()
- Overrides:
getAzureClientCallable
in classAzureClustersStub
-
listAzureClientsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAzureClientsRequest,ListAzureClientsResponse> listAzureClientsCallable()
- Overrides:
listAzureClientsCallable
in classAzureClustersStub
-
listAzureClientsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAzureClientsRequest,AzureClustersClient.ListAzureClientsPagedResponse> listAzureClientsPagedCallable()
- Overrides:
listAzureClientsPagedCallable
in classAzureClustersStub
-
deleteAzureClientCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAzureClientRequest,com.google.longrunning.Operation> deleteAzureClientCallable()
- Overrides:
deleteAzureClientCallable
in classAzureClustersStub
-
deleteAzureClientOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAzureClientRequest,com.google.protobuf.Empty,OperationMetadata> deleteAzureClientOperationCallable()
- Overrides:
deleteAzureClientOperationCallable
in classAzureClustersStub
-
createAzureClusterCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAzureClusterRequest,com.google.longrunning.Operation> createAzureClusterCallable()
- Overrides:
createAzureClusterCallable
in classAzureClustersStub
-
createAzureClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAzureClusterRequest,AzureCluster,OperationMetadata> createAzureClusterOperationCallable()
- Overrides:
createAzureClusterOperationCallable
in classAzureClustersStub
-
updateAzureClusterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAzureClusterRequest,com.google.longrunning.Operation> updateAzureClusterCallable()
- Overrides:
updateAzureClusterCallable
in classAzureClustersStub
-
updateAzureClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAzureClusterRequest,AzureCluster,OperationMetadata> updateAzureClusterOperationCallable()
- Overrides:
updateAzureClusterOperationCallable
in classAzureClustersStub
-
getAzureClusterCallable
public com.google.api.gax.rpc.UnaryCallable<GetAzureClusterRequest,AzureCluster> getAzureClusterCallable()
- Overrides:
getAzureClusterCallable
in classAzureClustersStub
-
listAzureClustersCallable
public com.google.api.gax.rpc.UnaryCallable<ListAzureClustersRequest,ListAzureClustersResponse> listAzureClustersCallable()
- Overrides:
listAzureClustersCallable
in classAzureClustersStub
-
listAzureClustersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAzureClustersRequest,AzureClustersClient.ListAzureClustersPagedResponse> listAzureClustersPagedCallable()
- Overrides:
listAzureClustersPagedCallable
in classAzureClustersStub
-
deleteAzureClusterCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAzureClusterRequest,com.google.longrunning.Operation> deleteAzureClusterCallable()
- Overrides:
deleteAzureClusterCallable
in classAzureClustersStub
-
deleteAzureClusterOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAzureClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAzureClusterOperationCallable()
- Overrides:
deleteAzureClusterOperationCallable
in classAzureClustersStub
-
generateAzureAccessTokenCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateAzureAccessTokenRequest,GenerateAzureAccessTokenResponse> generateAzureAccessTokenCallable()
- Overrides:
generateAzureAccessTokenCallable
in classAzureClustersStub
-
createAzureNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAzureNodePoolRequest,com.google.longrunning.Operation> createAzureNodePoolCallable()
- Overrides:
createAzureNodePoolCallable
in classAzureClustersStub
-
createAzureNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAzureNodePoolRequest,AzureNodePool,OperationMetadata> createAzureNodePoolOperationCallable()
- Overrides:
createAzureNodePoolOperationCallable
in classAzureClustersStub
-
updateAzureNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAzureNodePoolRequest,com.google.longrunning.Operation> updateAzureNodePoolCallable()
- Overrides:
updateAzureNodePoolCallable
in classAzureClustersStub
-
updateAzureNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAzureNodePoolRequest,AzureNodePool,OperationMetadata> updateAzureNodePoolOperationCallable()
- Overrides:
updateAzureNodePoolOperationCallable
in classAzureClustersStub
-
getAzureNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<GetAzureNodePoolRequest,AzureNodePool> getAzureNodePoolCallable()
- Overrides:
getAzureNodePoolCallable
in classAzureClustersStub
-
listAzureNodePoolsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse> listAzureNodePoolsCallable()
- Overrides:
listAzureNodePoolsCallable
in classAzureClustersStub
-
listAzureNodePoolsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAzureNodePoolsRequest,AzureClustersClient.ListAzureNodePoolsPagedResponse> listAzureNodePoolsPagedCallable()
- Overrides:
listAzureNodePoolsPagedCallable
in classAzureClustersStub
-
deleteAzureNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAzureNodePoolRequest,com.google.longrunning.Operation> deleteAzureNodePoolCallable()
- Overrides:
deleteAzureNodePoolCallable
in classAzureClustersStub
-
deleteAzureNodePoolOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAzureNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteAzureNodePoolOperationCallable()
- Overrides:
deleteAzureNodePoolOperationCallable
in classAzureClustersStub
-
getAzureServerConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetAzureServerConfigRequest,AzureServerConfig> getAzureServerConfigCallable()
- Overrides:
getAzureServerConfigCallable
in classAzureClustersStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classAzureClustersStub
-
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
-
-