Class EdgeContainerGrpc.EdgeContainerFutureStub (0.41.0)

public static final class EdgeContainerGrpc.EdgeContainerFutureStub extends AbstractFutureStub<EdgeContainerGrpc.EdgeContainerFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service EdgeContainer.

EdgeContainer API provides management of Kubernetes Clusters on Google Edge Cloud deployments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EdgeContainerGrpc.EdgeContainerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected EdgeContainerGrpc.EdgeContainerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
EdgeContainerGrpc.EdgeContainerFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createCluster(CreateClusterRequest request)

public ListenableFuture<Operation> createCluster(CreateClusterRequest request)

Creates a new Cluster in a given project and location.

Parameter
Name Description
request CreateClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createNodePool(CreateNodePoolRequest request)

public ListenableFuture<Operation> createNodePool(CreateNodePoolRequest request)

Creates a new NodePool in a given project and location.

Parameter
Name Description
request CreateNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createVpnConnection(CreateVpnConnectionRequest request)

public ListenableFuture<Operation> createVpnConnection(CreateVpnConnectionRequest request)

Creates a new VPN connection in a given project and location.

Parameter
Name Description
request CreateVpnConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCluster(DeleteClusterRequest request)

public ListenableFuture<Operation> deleteCluster(DeleteClusterRequest request)

Deletes a single Cluster.

Parameter
Name Description
request DeleteClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteNodePool(DeleteNodePoolRequest request)

public ListenableFuture<Operation> deleteNodePool(DeleteNodePoolRequest request)

Deletes a single NodePool.

Parameter
Name Description
request DeleteNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteVpnConnection(DeleteVpnConnectionRequest request)

public ListenableFuture<Operation> deleteVpnConnection(DeleteVpnConnectionRequest request)

Deletes a single VPN connection.

Parameter
Name Description
request DeleteVpnConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

generateAccessToken(GenerateAccessTokenRequest request)

public ListenableFuture<GenerateAccessTokenResponse> generateAccessToken(GenerateAccessTokenRequest request)

Generates an access token for a Cluster.

Parameter
Name Description
request GenerateAccessTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateAccessTokenResponse>

generateOfflineCredential(GenerateOfflineCredentialRequest request)

public ListenableFuture<GenerateOfflineCredentialResponse> generateOfflineCredential(GenerateOfflineCredentialRequest request)

Generates an offline credential for a Cluster.

Parameter
Name Description
request GenerateOfflineCredentialRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateOfflineCredentialResponse>

getCluster(GetClusterRequest request)

public ListenableFuture<Cluster> getCluster(GetClusterRequest request)

Gets details of a single Cluster.

Parameter
Name Description
request GetClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Cluster>

getMachine(GetMachineRequest request)

public ListenableFuture<Machine> getMachine(GetMachineRequest request)

Gets details of a single Machine.

Parameter
Name Description
request GetMachineRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Machine>

getNodePool(GetNodePoolRequest request)

public ListenableFuture<NodePool> getNodePool(GetNodePoolRequest request)

Gets details of a single NodePool.

Parameter
Name Description
request GetNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<NodePool>

getServerConfig(GetServerConfigRequest request)

public ListenableFuture<ServerConfig> getServerConfig(GetServerConfigRequest request)

Gets the server config.

Parameter
Name Description
request GetServerConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServerConfig>

getVpnConnection(GetVpnConnectionRequest request)

public ListenableFuture<VpnConnection> getVpnConnection(GetVpnConnectionRequest request)

Gets details of a single VPN connection.

Parameter
Name Description
request GetVpnConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<VpnConnection>

listClusters(ListClustersRequest request)

public ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)

Lists Clusters in a given project and location.

Parameter
Name Description
request ListClustersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListClustersResponse>

listMachines(ListMachinesRequest request)

public ListenableFuture<ListMachinesResponse> listMachines(ListMachinesRequest request)

Lists Machines in a given project and location.

Parameter
Name Description
request ListMachinesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMachinesResponse>

listNodePools(ListNodePoolsRequest request)

public ListenableFuture<ListNodePoolsResponse> listNodePools(ListNodePoolsRequest request)

Lists NodePools in a given project and location.

Parameter
Name Description
request ListNodePoolsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListNodePoolsResponse>

listVpnConnections(ListVpnConnectionsRequest request)

public ListenableFuture<ListVpnConnectionsResponse> listVpnConnections(ListVpnConnectionsRequest request)

Lists VPN connections in a given project and location.

Parameter
Name Description
request ListVpnConnectionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListVpnConnectionsResponse>

updateCluster(UpdateClusterRequest request)

public ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)

Updates the parameters of a single Cluster.

Parameter
Name Description
request UpdateClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateNodePool(UpdateNodePoolRequest request)

public ListenableFuture<Operation> updateNodePool(UpdateNodePoolRequest request)

Updates the parameters of a single NodePool.

Parameter
Name Description
request UpdateNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

upgradeCluster(UpgradeClusterRequest request)

public ListenableFuture<Operation> upgradeCluster(UpgradeClusterRequest request)

Upgrades a single cluster.

Parameter
Name Description
request UpgradeClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>