Class HttpJsonAzureClustersStub (0.30.0)

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.

Inheritance

java.lang.Object > AzureClustersStub > HttpJsonAzureClustersStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAzureClustersStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonAzureClustersStub
Exceptions
TypeDescription
IOException

create(AzureClustersStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext)

protected HttpJsonAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsAzureClustersStubSettings
clientContextClientContext

HttpJsonAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAzureClustersStub(AzureClustersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsAzureClustersStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

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

getAzureClientCallable()

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

getAzureClusterCallable()

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

getAzureNodePoolCallable()

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

getAzureServerConfigCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
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