public class HttpJsonEdgeContainerStub extends EdgeContainerStub
REST 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 HttpJsonEdgeContainerStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonEdgeContainerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(EdgeContainerStubSettings settings)
public static final HttpJsonEdgeContainerStub create(EdgeContainerStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext)
protected HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonEdgeContainerStub, 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
HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonEdgeContainerStub, 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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
getMachineCallable()
public UnaryCallable<GetMachineRequest,Machine> getMachineCallable()
Returns
Overrides
getNodePoolCallable()
public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
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