Class HttpJsonEdgeContainerStub
java.lang.Object
com.google.cloud.edgecontainer.v1.stub.EdgeContainerStub
com.google.cloud.edgecontainer.v1.stub.HttpJsonEdgeContainerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonEdgeContainerStub, using the given settings.protectedHttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonEdgeContainerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonEdgeContainerStubcreate(ClientContext clientContext) static final HttpJsonEdgeContainerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonEdgeContainerStubcreate(EdgeContainerStubSettings settings) OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteNodePoolRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteVpnConnectionRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.edgecontainer.v1.stub.EdgeContainerStub
getOperationsStub
-
Constructor Details
-
HttpJsonEdgeContainerStub
protected HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonEdgeContainerStub
protected HttpJsonEdgeContainerStub(EdgeContainerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonEdgeContainerStub create(EdgeContainerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonEdgeContainerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonEdgeContainerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classEdgeContainerStub
-
listClustersCallable
- Overrides:
listClustersCallablein classEdgeContainerStub
-
listClustersPagedCallable
public UnaryCallable<ListClustersRequest,EdgeContainerClient.ListClustersPagedResponse> listClustersPagedCallable()- Overrides:
listClustersPagedCallablein classEdgeContainerStub
-
getClusterCallable
- Overrides:
getClusterCallablein classEdgeContainerStub
-
createClusterCallable
- Overrides:
createClusterCallablein classEdgeContainerStub
-
createClusterOperationCallable
public OperationCallable<CreateClusterRequest,Cluster, createClusterOperationCallable()OperationMetadata> - Overrides:
createClusterOperationCallablein classEdgeContainerStub
-
updateClusterCallable
- Overrides:
updateClusterCallablein classEdgeContainerStub
-
updateClusterOperationCallable
public OperationCallable<UpdateClusterRequest,Cluster, updateClusterOperationCallable()OperationMetadata> - Overrides:
updateClusterOperationCallablein classEdgeContainerStub
-
upgradeClusterCallable
- Overrides:
upgradeClusterCallablein classEdgeContainerStub
-
upgradeClusterOperationCallable
public OperationCallable<UpgradeClusterRequest,Cluster, upgradeClusterOperationCallable()OperationMetadata> - Overrides:
upgradeClusterOperationCallablein classEdgeContainerStub
-
deleteClusterCallable
- Overrides:
deleteClusterCallablein classEdgeContainerStub
-
deleteClusterOperationCallable
public OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationCallable()OperationMetadata> - Overrides:
deleteClusterOperationCallablein classEdgeContainerStub
-
generateAccessTokenCallable
public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()- Overrides:
generateAccessTokenCallablein classEdgeContainerStub
-
generateOfflineCredentialCallable
public UnaryCallable<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse> generateOfflineCredentialCallable()- Overrides:
generateOfflineCredentialCallablein classEdgeContainerStub
-
listNodePoolsCallable
- Overrides:
listNodePoolsCallablein classEdgeContainerStub
-
listNodePoolsPagedCallable
public UnaryCallable<ListNodePoolsRequest,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsPagedCallable()- Overrides:
listNodePoolsPagedCallablein classEdgeContainerStub
-
getNodePoolCallable
- Overrides:
getNodePoolCallablein classEdgeContainerStub
-
createNodePoolCallable
- Overrides:
createNodePoolCallablein classEdgeContainerStub
-
createNodePoolOperationCallable
public OperationCallable<CreateNodePoolRequest,NodePool, createNodePoolOperationCallable()OperationMetadata> - Overrides:
createNodePoolOperationCallablein classEdgeContainerStub
-
updateNodePoolCallable
- Overrides:
updateNodePoolCallablein classEdgeContainerStub
-
updateNodePoolOperationCallable
public OperationCallable<UpdateNodePoolRequest,NodePool, updateNodePoolOperationCallable()OperationMetadata> - Overrides:
updateNodePoolOperationCallablein classEdgeContainerStub
-
deleteNodePoolCallable
- Overrides:
deleteNodePoolCallablein classEdgeContainerStub
-
deleteNodePoolOperationCallable
public OperationCallable<DeleteNodePoolRequest,com.google.protobuf.Empty, deleteNodePoolOperationCallable()OperationMetadata> - Overrides:
deleteNodePoolOperationCallablein classEdgeContainerStub
-
listMachinesCallable
- Overrides:
listMachinesCallablein classEdgeContainerStub
-
listMachinesPagedCallable
public UnaryCallable<ListMachinesRequest,EdgeContainerClient.ListMachinesPagedResponse> listMachinesPagedCallable()- Overrides:
listMachinesPagedCallablein classEdgeContainerStub
-
getMachineCallable
- Overrides:
getMachineCallablein classEdgeContainerStub
-
listVpnConnectionsCallable
public UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse> listVpnConnectionsCallable()- Overrides:
listVpnConnectionsCallablein classEdgeContainerStub
-
listVpnConnectionsPagedCallable
public UnaryCallable<ListVpnConnectionsRequest,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsPagedCallable()- Overrides:
listVpnConnectionsPagedCallablein classEdgeContainerStub
-
getVpnConnectionCallable
- Overrides:
getVpnConnectionCallablein classEdgeContainerStub
-
createVpnConnectionCallable
- Overrides:
createVpnConnectionCallablein classEdgeContainerStub
-
createVpnConnectionOperationCallable
public OperationCallable<CreateVpnConnectionRequest,VpnConnection, createVpnConnectionOperationCallable()OperationMetadata> - Overrides:
createVpnConnectionOperationCallablein classEdgeContainerStub
-
deleteVpnConnectionCallable
- Overrides:
deleteVpnConnectionCallablein classEdgeContainerStub
-
deleteVpnConnectionOperationCallable
public OperationCallable<DeleteVpnConnectionRequest,com.google.protobuf.Empty, deleteVpnConnectionOperationCallable()OperationMetadata> - Overrides:
deleteVpnConnectionOperationCallablein classEdgeContainerStub
-
getServerConfigCallable
- Overrides:
getServerConfigCallablein classEdgeContainerStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classEdgeContainerStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,EdgeContainerClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classEdgeContainerStub
-
getLocationCallable
- Overrides:
getLocationCallablein classEdgeContainerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEdgeContainerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-