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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcEdgeContainerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(EdgeContainerStubSettings settings)
public static final GrpcEdgeContainerStub create(EdgeContainerStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Overrides
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Overrides
createNodePoolCallable()
public UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
Overrides
createNodePoolOperationCallable()
public OperationCallable<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationCallable()
Overrides
createVpnConnectionCallable()
public UnaryCallable<CreateVpnConnectionRequest,Operation> createVpnConnectionCallable()
Overrides
createVpnConnectionOperationCallable()
public OperationCallable<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationCallable()
Overrides
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Overrides
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Overrides
deleteNodePoolCallable()
public UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
Overrides
deleteNodePoolOperationCallable()
public OperationCallable<DeleteNodePoolRequest,Empty,OperationMetadata> deleteNodePoolOperationCallable()
Overrides
deleteVpnConnectionCallable()
public UnaryCallable<DeleteVpnConnectionRequest,Operation> deleteVpnConnectionCallable()
Overrides
deleteVpnConnectionOperationCallable()
public OperationCallable<DeleteVpnConnectionRequest,Empty,OperationMetadata> deleteVpnConnectionOperationCallable()
Overrides
generateAccessTokenCallable()
public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Overrides
generateOfflineCredentialCallable()
public UnaryCallable<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse> generateOfflineCredentialCallable()
Overrides
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
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()
Overrides
getNodePoolCallable()
public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getServerConfigCallable()
public UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
Overrides
getVpnConnectionCallable()
public UnaryCallable<GetVpnConnectionRequest,VpnConnection> getVpnConnectionCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Overrides
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,EdgeContainerClient.ListClustersPagedResponse> listClustersPagedCallable()
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()
Overrides
listMachinesCallable()
public UnaryCallable<ListMachinesRequest,ListMachinesResponse> listMachinesCallable()
Overrides
listMachinesPagedCallable()
public UnaryCallable<ListMachinesRequest,EdgeContainerClient.ListMachinesPagedResponse> listMachinesPagedCallable()
Overrides
listNodePoolsCallable()
public UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
Overrides
listNodePoolsPagedCallable()
public UnaryCallable<ListNodePoolsRequest,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsPagedCallable()
Overrides
listVpnConnectionsCallable()
public UnaryCallable<ListVpnConnectionsRequest,ListVpnConnectionsResponse> listVpnConnectionsCallable()
Overrides
listVpnConnectionsPagedCallable()
public UnaryCallable<ListVpnConnectionsRequest,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Overrides
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Overrides
updateNodePoolCallable()
public UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
Overrides
updateNodePoolOperationCallable()
public OperationCallable<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationCallable()
Overrides
upgradeClusterCallable()
public UnaryCallable<UpgradeClusterRequest,Operation> upgradeClusterCallable()
Overrides
upgradeClusterOperationCallable()
public OperationCallable<UpgradeClusterRequest,Cluster,OperationMetadata> upgradeClusterOperationCallable()
Overrides