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.
Static Methods
create(ClientContext clientContext)
public static final GrpcEdgeContainerStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcEdgeContainerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(EdgeContainerStubSettings settings)
public static final GrpcEdgeContainerStub create(EdgeContainerStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Returns
Overrides
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Returns
Overrides
createNodePoolCallable()
public UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
Returns
Overrides
createNodePoolOperationCallable()
public OperationCallable<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationCallable()
Returns
Overrides
createVpnConnectionCallable()
public UnaryCallable<CreateVpnConnectionRequest,Operation> createVpnConnectionCallable()
Returns
Overrides
createVpnConnectionOperationCallable()
public OperationCallable<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationCallable()
Returns
Overrides
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Returns
Overrides
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Returns
Overrides
deleteNodePoolCallable()
public UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
Returns
Overrides
deleteNodePoolOperationCallable()
public OperationCallable<DeleteNodePoolRequest,Empty,OperationMetadata> deleteNodePoolOperationCallable()
Returns
Overrides
deleteVpnConnectionCallable()
public UnaryCallable<DeleteVpnConnectionRequest,Operation> deleteVpnConnectionCallable()
Returns
Overrides
deleteVpnConnectionOperationCallable()
public OperationCallable<DeleteVpnConnectionRequest,Empty,OperationMetadata> deleteVpnConnectionOperationCallable()
Returns
Overrides
generateAccessTokenCallable()
public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Returns
Overrides
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Returns
Overrides
getMachineCallable()
public UnaryCallable<GetMachineRequest,Machine> getMachineCallable()
Returns
Overrides
getNodePoolCallable()
public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getVpnConnectionCallable()
public UnaryCallable<GetVpnConnectionRequest,VpnConnection> getVpnConnectionCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Returns
Overrides
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,EdgeContainerClient.ListClustersPagedResponse> listClustersPagedCallable()
Returns
Overrides
listMachinesCallable()
public UnaryCallable<ListMachinesRequest,ListMachinesResponse> listMachinesCallable()
Returns
Overrides
listMachinesPagedCallable()
public UnaryCallable<ListMachinesRequest,EdgeContainerClient.ListMachinesPagedResponse> listMachinesPagedCallable()
Returns
Overrides
listNodePoolsCallable()
public UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
Returns
Overrides
listNodePoolsPagedCallable()
public UnaryCallable<ListNodePoolsRequest,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsPagedCallable()
Returns
Overrides
listVpnConnectionsCallable()
public UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse> listVpnConnectionsCallable()
Returns
Overrides
listVpnConnectionsPagedCallable()
public UnaryCallable<ListVpnConnectionsRequest,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Returns
Overrides
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Returns
Overrides
updateNodePoolCallable()
public UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
Returns
Overrides
updateNodePoolOperationCallable()
public OperationCallable<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationCallable()
Returns
Overrides