Class EdgeContainerGrpc.EdgeContainerFutureStub (0.15.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateClusterRequest
Returns
TypeDescription
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
NameDescription
requestCreateNodePoolRequest
Returns
TypeDescription
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
NameDescription
requestCreateVpnConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCluster(DeleteClusterRequest request)

public ListenableFuture<Operation> deleteCluster(DeleteClusterRequest request)

Deletes a single Cluster.

Parameter
NameDescription
requestDeleteClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteNodePool(DeleteNodePoolRequest request)

public ListenableFuture<Operation> deleteNodePool(DeleteNodePoolRequest request)

Deletes a single NodePool.

Parameter
NameDescription
requestDeleteNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteVpnConnection(DeleteVpnConnectionRequest request)

public ListenableFuture<Operation> deleteVpnConnection(DeleteVpnConnectionRequest request)

Deletes a single VPN connection.

Parameter
NameDescription
requestDeleteVpnConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

generateAccessToken(GenerateAccessTokenRequest request)

public ListenableFuture<GenerateAccessTokenResponse> generateAccessToken(GenerateAccessTokenRequest request)

Generates an access token for a Cluster.

Parameter
NameDescription
requestGenerateAccessTokenRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GenerateAccessTokenResponse>

getCluster(GetClusterRequest request)

public ListenableFuture<Cluster> getCluster(GetClusterRequest request)

Gets details of a single Cluster.

Parameter
NameDescription
requestGetClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Cluster>

getMachine(GetMachineRequest request)

public ListenableFuture<Machine> getMachine(GetMachineRequest request)

Gets details of a single Machine.

Parameter
NameDescription
requestGetMachineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Machine>

getNodePool(GetNodePoolRequest request)

public ListenableFuture<NodePool> getNodePool(GetNodePoolRequest request)

Gets details of a single NodePool.

Parameter
NameDescription
requestGetNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<NodePool>

getVpnConnection(GetVpnConnectionRequest request)

public ListenableFuture<VpnConnection> getVpnConnection(GetVpnConnectionRequest request)

Gets details of a single VPN connection.

Parameter
NameDescription
requestGetVpnConnectionRequest
Returns
TypeDescription
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
NameDescription
requestListClustersRequest
Returns
TypeDescription
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
NameDescription
requestListMachinesRequest
Returns
TypeDescription
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
NameDescription
requestListNodePoolsRequest
Returns
TypeDescription
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
NameDescription
requestListVpnConnectionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVpnConnectionsResponse>

updateCluster(UpdateClusterRequest request)

public ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)

Updates the parameters of a single Cluster.

Parameter
NameDescription
requestUpdateClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateNodePool(UpdateNodePoolRequest request)

public ListenableFuture<Operation> updateNodePool(UpdateNodePoolRequest request)

Updates the parameters of a single NodePool.

Parameter
NameDescription
requestUpdateNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>