Class HttpJsonEdgeContainerStub (0.61.0)

publicclass HttpJsonEdgeContainerStubextendsEdgeContainerStub

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

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalHttpJsonEdgeContainerStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonEdgeContainerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonEdgeContainerStubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonEdgeContainerStub
Exceptions
Type Description
IOException

create(EdgeContainerStubSettings settings)

publicstaticfinalHttpJsonEdgeContainerStubcreate(EdgeContainerStubSettingssettings)
Parameter
Name Description
settings EdgeContainerStubSettings
Returns
Type Description
HttpJsonEdgeContainerStub
Exceptions
Type Description
IOException

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext)

protectedHttpJsonEdgeContainerStub(EdgeContainerStubSettingssettings,ClientContextclientContext)

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)

protectedHttpJsonEdgeContainerStub(EdgeContainerStubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

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)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

createClusterCallable()

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

createClusterOperationCallable()

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

createNodePoolCallable()

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

createNodePoolOperationCallable()

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

createVpnConnectionCallable()

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

createVpnConnectionOperationCallable()

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

deleteClusterCallable()

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

deleteClusterOperationCallable()

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

deleteNodePoolCallable()

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

deleteNodePoolOperationCallable()

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

deleteVpnConnectionCallable()

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

deleteVpnConnectionOperationCallable()

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

generateAccessTokenCallable()

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

generateOfflineCredentialCallable()

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

getClusterCallable()

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

getHttpJsonOperationsStub()

publicHttpJsonOperationsStubgetHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

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

getMachineCallable()

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

getNodePoolCallable()

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

getServerConfigCallable()

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

getVpnConnectionCallable()

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

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listClustersCallable()

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

listClustersPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listMachinesCallable()

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

listMachinesPagedCallable()

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

listNodePoolsCallable()

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

listNodePoolsPagedCallable()

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

listVpnConnectionsCallable()

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

listVpnConnectionsPagedCallable()

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

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

updateClusterCallable()

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

updateClusterOperationCallable()

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

updateNodePoolCallable()

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

updateNodePoolOperationCallable()

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

upgradeClusterCallable()

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

upgradeClusterOperationCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.