Class HttpJsonEdgeContainerStub (0.43.0)

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.

Inheritance

java.lang.Object > EdgeContainerStub > HttpJsonEdgeContainerStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonEdgeContainerStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonEdgeContainerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEdgeContainerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonEdgeContainerStub
Exceptions
Type Description
IOException

create(EdgeContainerStubSettings settings)

public static final HttpJsonEdgeContainerStub create(EdgeContainerStubSettings settings)
Parameter
Name Description
settings EdgeContainerStubSettings
Returns
Type Description
HttpJsonEdgeContainerStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings EdgeContainerStubSettings
clientContext ClientContext

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
Name Description
settings EdgeContainerStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createClusterCallable()

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

createClusterOperationCallable()

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

createNodePoolCallable()

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

createNodePoolOperationCallable()

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

createVpnConnectionCallable()

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

createVpnConnectionOperationCallable()

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

deleteClusterCallable()

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

deleteClusterOperationCallable()

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

deleteNodePoolCallable()

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

deleteNodePoolOperationCallable()

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

deleteVpnConnectionCallable()

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

deleteVpnConnectionOperationCallable()

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

generateAccessTokenCallable()

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

generateOfflineCredentialCallable()

public UnaryCallable<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse> generateOfflineCredentialCallable()
Returns
Type Description
UnaryCallable<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse>
Overrides

getClusterCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getMachineCallable()

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

getNodePoolCallable()

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

getServerConfigCallable()

public UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
Returns
Type Description
UnaryCallable<GetServerConfigRequest,ServerConfig>
Overrides

getVpnConnectionCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listClustersCallable()

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

listClustersPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,EdgeContainerClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMachinesCallable()

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

listMachinesPagedCallable()

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

listNodePoolsCallable()

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

listNodePoolsPagedCallable()

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

listVpnConnectionsCallable()

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

listVpnConnectionsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateClusterCallable()

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

updateClusterOperationCallable()

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

updateNodePoolCallable()

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

updateNodePoolOperationCallable()

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

upgradeClusterCallable()

public UnaryCallable<UpgradeClusterRequest,Operation> upgradeClusterCallable()
Returns
Type Description
UnaryCallable<UpgradeClusterRequest,Operation>
Overrides

upgradeClusterOperationCallable()

public OperationCallable<UpgradeClusterRequest,Cluster,OperationMetadata> upgradeClusterOperationCallable()
Returns
Type Description
OperationCallable<UpgradeClusterRequest,Cluster,OperationMetadata>
Overrides