Class EdgeContainerGrpc.EdgeContainerStub (0.50.0)

public static final class EdgeContainerGrpc.EdgeContainerStub extends AbstractAsyncStub<EdgeContainerGrpc.EdgeContainerStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > EdgeContainerGrpc.EdgeContainerStub

Methods

build(Channel channel, CallOptions callOptions)

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

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new Cluster in a given project and location.

Parameters
Name Description
request CreateClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a new NodePool in a given project and location.

Parameters
Name Description
request CreateNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createVpnConnection(CreateVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

public void createVpnConnection(CreateVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateVpnConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Cluster.

Parameters
Name Description
request DeleteClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a single NodePool.

Parameters
Name Description
request DeleteNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteVpnConnection(DeleteVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

public void deleteVpnConnection(DeleteVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

Deletes a single VPN connection.

Parameters
Name Description
request DeleteVpnConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)

public void generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)

Generates an access token for a Cluster.

Parameters
Name Description
request GenerateAccessTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAccessTokenResponse>

generateOfflineCredential(GenerateOfflineCredentialRequest request, StreamObserver<GenerateOfflineCredentialResponse> responseObserver)

public void generateOfflineCredential(GenerateOfflineCredentialRequest request, StreamObserver<GenerateOfflineCredentialResponse> responseObserver)

Generates an offline credential for a Cluster.

Parameters
Name Description
request GenerateOfflineCredentialRequest
responseObserver io.grpc.stub.StreamObserver<GenerateOfflineCredentialResponse>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Gets details of a single Cluster.

Parameters
Name Description
request GetClusterRequest
responseObserver io.grpc.stub.StreamObserver<Cluster>

getMachine(GetMachineRequest request, StreamObserver<Machine> responseObserver)

public void getMachine(GetMachineRequest request, StreamObserver<Machine> responseObserver)

Gets details of a single Machine.

Parameters
Name Description
request GetMachineRequest
responseObserver io.grpc.stub.StreamObserver<Machine>

getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

public void getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

Gets details of a single NodePool.

Parameters
Name Description
request GetNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<NodePool>

getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

public void getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

Gets the server config.

Parameters
Name Description
request GetServerConfigRequest
responseObserver io.grpc.stub.StreamObserver<ServerConfig>

getVpnConnection(GetVpnConnectionRequest request, StreamObserver<VpnConnection> responseObserver)

public void getVpnConnection(GetVpnConnectionRequest request, StreamObserver<VpnConnection> responseObserver)

Gets details of a single VPN connection.

Parameters
Name Description
request GetVpnConnectionRequest
responseObserver io.grpc.stub.StreamObserver<VpnConnection>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

Lists Clusters in a given project and location.

Parameters
Name Description
request ListClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListClustersResponse>

listMachines(ListMachinesRequest request, StreamObserver<ListMachinesResponse> responseObserver)

public void listMachines(ListMachinesRequest request, StreamObserver<ListMachinesResponse> responseObserver)

Lists Machines in a given project and location.

Parameters
Name Description
request ListMachinesRequest
responseObserver io.grpc.stub.StreamObserver<ListMachinesResponse>

listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

public void listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

Lists NodePools in a given project and location.

Parameters
Name Description
request ListNodePoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListNodePoolsResponse>

listVpnConnections(ListVpnConnectionsRequest request, StreamObserver<ListVpnConnectionsResponse> responseObserver)

public void listVpnConnections(ListVpnConnectionsRequest request, StreamObserver<ListVpnConnectionsResponse> responseObserver)

Lists VPN connections in a given project and location.

Parameters
Name Description
request ListVpnConnectionsRequest
responseObserver io.grpc.stub.StreamObserver<ListVpnConnectionsResponse>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Cluster.

Parameters
Name Description
request UpdateClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single NodePool.

Parameters
Name Description
request UpdateNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

upgradeCluster(UpgradeClusterRequest request, StreamObserver<Operation> responseObserver)

public void upgradeCluster(UpgradeClusterRequest request, StreamObserver<Operation> responseObserver)

Upgrades a single cluster.

Parameters
Name Description
request UpgradeClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>