- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.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.
Static Methods
create(ClientContext clientContext)
public static final GrpcEdgeContainerStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcEdgeContainerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcEdgeContainerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcEdgeContainerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(EdgeContainerStubSettings settings)
public static final GrpcEdgeContainerStub create(EdgeContainerStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
EdgeContainerStubSettings |
Returns | |
---|---|
Type | Description |
GrpcEdgeContainerStub |
Exceptions | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
settings |
EdgeContainerStubSettings |
clientContext |
ClientContext |
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 | |
---|---|
Name | Description |
settings |
EdgeContainerStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
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()
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateClusterRequest,Operation> |
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> |
createNodePoolCallable()
public UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateNodePoolRequest,Operation> |
createNodePoolOperationCallable()
public OperationCallable<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateNodePoolRequest,NodePool,OperationMetadata> |
createVpnConnectionCallable()
public UnaryCallable<CreateVpnConnectionRequest,Operation> createVpnConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateVpnConnectionRequest,Operation> |
createVpnConnectionOperationCallable()
public OperationCallable<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> |
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteClusterRequest,Operation> |
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> |
deleteNodePoolCallable()
public UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteNodePoolRequest,Operation> |
deleteNodePoolOperationCallable()
public OperationCallable<DeleteNodePoolRequest,Empty,OperationMetadata> deleteNodePoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteNodePoolRequest,Empty,OperationMetadata> |
deleteVpnConnectionCallable()
public UnaryCallable<DeleteVpnConnectionRequest,Operation> deleteVpnConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteVpnConnectionRequest,Operation> |
deleteVpnConnectionOperationCallable()
public OperationCallable<DeleteVpnConnectionRequest,Empty,OperationMetadata> deleteVpnConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteVpnConnectionRequest,Empty,OperationMetadata> |
generateAccessTokenCallable()
public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> |
generateOfflineCredentialCallable()
public UnaryCallable<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse> generateOfflineCredentialCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse> |
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetClusterRequest,Cluster> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getMachineCallable()
public UnaryCallable<GetMachineRequest,Machine> getMachineCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetMachineRequest,Machine> |
getNodePoolCallable()
public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetNodePoolRequest,NodePool> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getServerConfigCallable()
public UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServerConfigRequest,ServerConfig> |
getVpnConnectionCallable()
public UnaryCallable<GetVpnConnectionRequest,VpnConnection> getVpnConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVpnConnectionRequest,VpnConnection> |
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> |
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,EdgeContainerClient.ListClustersPagedResponse> listClustersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,EdgeContainerClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listMachinesCallable()
public UnaryCallable<ListMachinesRequest,ListMachinesResponse> listMachinesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListMachinesRequest,ListMachinesResponse> |
listMachinesPagedCallable()
public UnaryCallable<ListMachinesRequest,EdgeContainerClient.ListMachinesPagedResponse> listMachinesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListMachinesRequest,ListMachinesPagedResponse> |
listNodePoolsCallable()
public UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> |
listNodePoolsPagedCallable()
public UnaryCallable<ListNodePoolsRequest,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNodePoolsRequest,ListNodePoolsPagedResponse> |
listVpnConnectionsCallable()
public UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse> listVpnConnectionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse> |
listVpnConnectionsPagedCallable()
public UnaryCallable<ListVpnConnectionsRequest,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateClusterRequest,Operation> |
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> |
updateNodePoolCallable()
public UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateNodePoolRequest,Operation> |
updateNodePoolOperationCallable()
public OperationCallable<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateNodePoolRequest,NodePool,OperationMetadata> |
upgradeClusterCallable()
public UnaryCallable<UpgradeClusterRequest,Operation> upgradeClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpgradeClusterRequest,Operation> |
upgradeClusterOperationCallable()
public OperationCallable<UpgradeClusterRequest,Cluster,OperationMetadata> upgradeClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpgradeClusterRequest,Cluster,OperationMetadata> |