Class EdgeContainerGrpc.EdgeContainerStub (0.29.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateClusterRequest
responseObserverio.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
NameDescription
requestCreateNodePoolRequest
responseObserverio.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
NameDescription
requestCreateVpnConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Cluster.

Parameters
NameDescription
requestDeleteClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single NodePool.

Parameters
NameDescription
requestDeleteNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteVpnConnection(DeleteVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single VPN connection.

Parameters
NameDescription
requestDeleteVpnConnectionRequest
responseObserverio.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
NameDescription
requestGenerateAccessTokenRequest
responseObserverio.grpc.stub.StreamObserver<GenerateAccessTokenResponse>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

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

Gets details of a single Cluster.

Parameters
NameDescription
requestGetClusterRequest
responseObserverio.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
NameDescription
requestGetMachineRequest
responseObserverio.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
NameDescription
requestGetNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<NodePool>

getVpnConnection(GetVpnConnectionRequest request, StreamObserver<VpnConnection> responseObserver)

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

Gets details of a single VPN connection.

Parameters
NameDescription
requestGetVpnConnectionRequest
responseObserverio.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
NameDescription
requestListClustersRequest
responseObserverio.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
NameDescription
requestListMachinesRequest
responseObserverio.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
NameDescription
requestListNodePoolsRequest
responseObserverio.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
NameDescription
requestListVpnConnectionsRequest
responseObserverio.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
NameDescription
requestUpdateClusterRequest
responseObserverio.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
NameDescription
requestUpdateNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>