Class GrpcEdgeContainerStub (0.24.0)

public class GrpcEdgeContainerStub extends EdgeContainerStub

gRPC stub implementation for the EdgeContainer service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > EdgeContainerStub > GrpcEdgeContainerStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcEdgeContainerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcEdgeContainerStub
Exceptions
TypeDescription
IOException

create(EdgeContainerStubSettings settings)

public static final GrpcEdgeContainerStub create(EdgeContainerStubSettings settings)
Parameter
NameDescription
settingsEdgeContainerStubSettings
Returns
TypeDescription
GrpcEdgeContainerStub
Exceptions
TypeDescription
IOException

Constructors

GrpcEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext)

protected GrpcEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcEdgeContainerStub, 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
settingsEdgeContainerStubSettings
clientContextClientContext

GrpcEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcEdgeContainerStub, 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
settingsEdgeContainerStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

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

createClusterCallable()

public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Returns
TypeDescription
UnaryCallable<CreateClusterRequest,Operation>
Overrides

createClusterOperationCallable()

public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Returns
TypeDescription
OperationCallable<CreateClusterRequest,Cluster,OperationMetadata>
Overrides

createNodePoolCallable()

public UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
Returns
TypeDescription
UnaryCallable<CreateNodePoolRequest,Operation>
Overrides

createNodePoolOperationCallable()

public OperationCallable<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<CreateNodePoolRequest,NodePool,OperationMetadata>
Overrides

createVpnConnectionCallable()

public UnaryCallable<CreateVpnConnectionRequest,Operation> createVpnConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreateVpnConnectionRequest,Operation>
Overrides

createVpnConnectionOperationCallable()

public OperationCallable<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<CreateVpnConnectionRequest,VpnConnection,OperationMetadata>
Overrides

deleteClusterCallable()

public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Returns
TypeDescription
UnaryCallable<DeleteClusterRequest,Operation>
Overrides

deleteClusterOperationCallable()

public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteClusterRequest,Empty,OperationMetadata>
Overrides

deleteNodePoolCallable()

public UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
Returns
TypeDescription
UnaryCallable<DeleteNodePoolRequest,Operation>
Overrides

deleteNodePoolOperationCallable()

public OperationCallable<DeleteNodePoolRequest,Empty,OperationMetadata> deleteNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteNodePoolRequest,Empty,OperationMetadata>
Overrides

deleteVpnConnectionCallable()

public UnaryCallable<DeleteVpnConnectionRequest,Operation> deleteVpnConnectionCallable()
Returns
TypeDescription
UnaryCallable<DeleteVpnConnectionRequest,Operation>
Overrides

deleteVpnConnectionOperationCallable()

public OperationCallable<DeleteVpnConnectionRequest,Empty,OperationMetadata> deleteVpnConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteVpnConnectionRequest,Empty,OperationMetadata>
Overrides

generateAccessTokenCallable()

public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Returns
TypeDescription
UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse>
Overrides

getClusterCallable()

public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Returns
TypeDescription
UnaryCallable<GetClusterRequest,Cluster>
Overrides

getMachineCallable()

public UnaryCallable<GetMachineRequest,Machine> getMachineCallable()
Returns
TypeDescription
UnaryCallable<GetMachineRequest,Machine>
Overrides

getNodePoolCallable()

public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
Returns
TypeDescription
UnaryCallable<GetNodePoolRequest,NodePool>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getVpnConnectionCallable()

public UnaryCallable<GetVpnConnectionRequest,VpnConnection> getVpnConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetVpnConnectionRequest,VpnConnection>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listClustersCallable()

public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Returns
TypeDescription
UnaryCallable<ListClustersRequest,ListClustersResponse>
Overrides

listClustersPagedCallable()

public UnaryCallable<ListClustersRequest,EdgeContainerClient.ListClustersPagedResponse> listClustersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListClustersRequest,ListClustersPagedResponse>
Overrides

listMachinesCallable()

public UnaryCallable<ListMachinesRequest,ListMachinesResponse> listMachinesCallable()
Returns
TypeDescription
UnaryCallable<ListMachinesRequest,ListMachinesResponse>
Overrides

listMachinesPagedCallable()

public UnaryCallable<ListMachinesRequest,EdgeContainerClient.ListMachinesPagedResponse> listMachinesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListMachinesRequest,ListMachinesPagedResponse>
Overrides

listNodePoolsCallable()

public UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
Returns
TypeDescription
UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse>
Overrides

listNodePoolsPagedCallable()

public UnaryCallable<ListNodePoolsRequest,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNodePoolsRequest,ListNodePoolsPagedResponse>
Overrides

listVpnConnectionsCallable()

public UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse> listVpnConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse>
Overrides

listVpnConnectionsPagedCallable()

public UnaryCallable<ListVpnConnectionsRequest,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateClusterCallable()

public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Returns
TypeDescription
UnaryCallable<UpdateClusterRequest,Operation>
Overrides

updateClusterOperationCallable()

public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata>
Overrides

updateNodePoolCallable()

public UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
Returns
TypeDescription
UnaryCallable<UpdateNodePoolRequest,Operation>
Overrides

updateNodePoolOperationCallable()

public OperationCallable<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateNodePoolRequest,NodePool,OperationMetadata>
Overrides