Class GrpcAzureClustersStub (0.40.0)

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.

Inheritance

java.lang.Object > AzureClustersStub > GrpcAzureClustersStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAzureClustersStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcAzureClustersStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAzureClustersStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcAzureClustersStub
Exceptions
TypeDescription
IOException

create(AzureClustersStubSettings settings)

public static final GrpcAzureClustersStub create(AzureClustersStubSettings settings)
Parameter
NameDescription
settingsAzureClustersStubSettings
Returns
TypeDescription
GrpcAzureClustersStub
Exceptions
TypeDescription
IOException

Constructors

GrpcAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext)

protected GrpcAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsAzureClustersStubSettings
clientContextClientContext

GrpcAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsAzureClustersStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createAzureClientCallable()

public UnaryCallable<CreateAzureClientRequest,Operation> createAzureClientCallable()
Returns
TypeDescription
UnaryCallable<CreateAzureClientRequest,Operation>
Overrides

createAzureClientOperationCallable()

public OperationCallable<CreateAzureClientRequest,AzureClient,OperationMetadata> createAzureClientOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAzureClientRequest,AzureClient,OperationMetadata>
Overrides

createAzureClusterCallable()

public UnaryCallable<CreateAzureClusterRequest,Operation> createAzureClusterCallable()
Returns
TypeDescription
UnaryCallable<CreateAzureClusterRequest,Operation>
Overrides

createAzureClusterOperationCallable()

public OperationCallable<CreateAzureClusterRequest,AzureCluster,OperationMetadata> createAzureClusterOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAzureClusterRequest,AzureCluster,OperationMetadata>
Overrides

createAzureNodePoolCallable()

public UnaryCallable<CreateAzureNodePoolRequest,Operation> createAzureNodePoolCallable()
Returns
TypeDescription
UnaryCallable<CreateAzureNodePoolRequest,Operation>
Overrides

createAzureNodePoolOperationCallable()

public OperationCallable<CreateAzureNodePoolRequest,AzureNodePool,OperationMetadata> createAzureNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAzureNodePoolRequest,AzureNodePool,OperationMetadata>
Overrides

deleteAzureClientCallable()

public UnaryCallable<DeleteAzureClientRequest,Operation> deleteAzureClientCallable()
Returns
TypeDescription
UnaryCallable<DeleteAzureClientRequest,Operation>
Overrides

deleteAzureClientOperationCallable()

public OperationCallable<DeleteAzureClientRequest,Empty,OperationMetadata> deleteAzureClientOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAzureClientRequest,Empty,OperationMetadata>
Overrides

deleteAzureClusterCallable()

public UnaryCallable<DeleteAzureClusterRequest,Operation> deleteAzureClusterCallable()
Returns
TypeDescription
UnaryCallable<DeleteAzureClusterRequest,Operation>
Overrides

deleteAzureClusterOperationCallable()

public OperationCallable<DeleteAzureClusterRequest,Empty,OperationMetadata> deleteAzureClusterOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAzureClusterRequest,Empty,OperationMetadata>
Overrides

deleteAzureNodePoolCallable()

public UnaryCallable<DeleteAzureNodePoolRequest,Operation> deleteAzureNodePoolCallable()
Returns
TypeDescription
UnaryCallable<DeleteAzureNodePoolRequest,Operation>
Overrides

deleteAzureNodePoolOperationCallable()

public OperationCallable<DeleteAzureNodePoolRequest,Empty,OperationMetadata> deleteAzureNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAzureNodePoolRequest,Empty,OperationMetadata>
Overrides

generateAzureAccessTokenCallable()

public UnaryCallable<GenerateAzureAccessTokenRequest,GenerateAzureAccessTokenResponse> generateAzureAccessTokenCallable()
Returns
TypeDescription
UnaryCallable<GenerateAzureAccessTokenRequest,GenerateAzureAccessTokenResponse>
Overrides

generateAzureClusterAgentTokenCallable()

public UnaryCallable<GenerateAzureClusterAgentTokenRequest,GenerateAzureClusterAgentTokenResponse> generateAzureClusterAgentTokenCallable()
Returns
TypeDescription
UnaryCallable<GenerateAzureClusterAgentTokenRequest,GenerateAzureClusterAgentTokenResponse>
Overrides

getAzureClientCallable()

public UnaryCallable<GetAzureClientRequest,AzureClient> getAzureClientCallable()
Returns
TypeDescription
UnaryCallable<GetAzureClientRequest,AzureClient>
Overrides

getAzureClusterCallable()

public UnaryCallable<GetAzureClusterRequest,AzureCluster> getAzureClusterCallable()
Returns
TypeDescription
UnaryCallable<GetAzureClusterRequest,AzureCluster>
Overrides

getAzureJsonWebKeysCallable()

public UnaryCallable<GetAzureJsonWebKeysRequest,AzureJsonWebKeys> getAzureJsonWebKeysCallable()
Returns
TypeDescription
UnaryCallable<GetAzureJsonWebKeysRequest,AzureJsonWebKeys>
Overrides

getAzureNodePoolCallable()

public UnaryCallable<GetAzureNodePoolRequest,AzureNodePool> getAzureNodePoolCallable()
Returns
TypeDescription
UnaryCallable<GetAzureNodePoolRequest,AzureNodePool>
Overrides

getAzureOpenIdConfigCallable()

public UnaryCallable<GetAzureOpenIdConfigRequest,AzureOpenIdConfig> getAzureOpenIdConfigCallable()
Returns
TypeDescription
UnaryCallable<GetAzureOpenIdConfigRequest,AzureOpenIdConfig>
Overrides

getAzureServerConfigCallable()

public UnaryCallable<GetAzureServerConfigRequest,AzureServerConfig> getAzureServerConfigCallable()
Returns
TypeDescription
UnaryCallable<GetAzureServerConfigRequest,AzureServerConfig>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAzureClientsCallable()

public UnaryCallable<ListAzureClientsRequest,ListAzureClientsResponse> listAzureClientsCallable()
Returns
TypeDescription
UnaryCallable<ListAzureClientsRequest,ListAzureClientsResponse>
Overrides

listAzureClientsPagedCallable()

public UnaryCallable<ListAzureClientsRequest,AzureClustersClient.ListAzureClientsPagedResponse> listAzureClientsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAzureClientsRequest,ListAzureClientsPagedResponse>
Overrides

listAzureClustersCallable()

public UnaryCallable<ListAzureClustersRequest,ListAzureClustersResponse> listAzureClustersCallable()
Returns
TypeDescription
UnaryCallable<ListAzureClustersRequest,ListAzureClustersResponse>
Overrides

listAzureClustersPagedCallable()

public UnaryCallable<ListAzureClustersRequest,AzureClustersClient.ListAzureClustersPagedResponse> listAzureClustersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAzureClustersRequest,ListAzureClustersPagedResponse>
Overrides

listAzureNodePoolsCallable()

public UnaryCallable<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse> listAzureNodePoolsCallable()
Returns
TypeDescription
UnaryCallable<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse>
Overrides

listAzureNodePoolsPagedCallable()

public UnaryCallable<ListAzureNodePoolsRequest,AzureClustersClient.ListAzureNodePoolsPagedResponse> listAzureNodePoolsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAzureNodePoolsRequest,ListAzureNodePoolsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAzureClusterCallable()

public UnaryCallable<UpdateAzureClusterRequest,Operation> updateAzureClusterCallable()
Returns
TypeDescription
UnaryCallable<UpdateAzureClusterRequest,Operation>
Overrides

updateAzureClusterOperationCallable()

public OperationCallable<UpdateAzureClusterRequest,AzureCluster,OperationMetadata> updateAzureClusterOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateAzureClusterRequest,AzureCluster,OperationMetadata>
Overrides

updateAzureNodePoolCallable()

public UnaryCallable<UpdateAzureNodePoolRequest,Operation> updateAzureNodePoolCallable()
Returns
TypeDescription
UnaryCallable<UpdateAzureNodePoolRequest,Operation>
Overrides

updateAzureNodePoolOperationCallable()

public OperationCallable<UpdateAzureNodePoolRequest,AzureNodePool,OperationMetadata> updateAzureNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateAzureNodePoolRequest,AzureNodePool,OperationMetadata>
Overrides