Class GrpcAzureClustersStub
- java.lang.Object
-
- com.google.cloud.gkemulticloud.v1.stub.AzureClustersStub
-
- com.google.cloud.gkemulticloud.v1.stub.GrpcAzureClustersStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcAzureClustersStub extends AzureClustersStub
gRPC 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
GrpcAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAzureClustersStub, using the given settings.protected
GrpcAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAzureClustersStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.gkemulticloud.v1.stub.AzureClustersStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcAzureClustersStub
protected GrpcAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcAzureClustersStub, 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
-
GrpcAzureClustersStub
protected GrpcAzureClustersStub(AzureClustersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcAzureClustersStub, 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 GrpcAzureClustersStub create(AzureClustersStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcAzureClustersStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcAzureClustersStub 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:
getOperationsStub
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
-
-