public static enum VpnTunnel.Status extends Enum<VpnTunnel.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel.Protobuf enum
google.cloud.compute.v1.VpnTunnel.Status| Enum Constant and Description |
|---|
ALLOCATING_RESOURCES
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
|
AUTHORIZATION_ERROR
Auth error (e.g.
|
DEPROVISIONING
Resources is being deallocated for the VPN tunnel.
|
ESTABLISHED
Secure session is successfully established with peer VPN.
|
FAILED
Tunnel creation has failed and the tunnel is not ready to be used.
|
FIRST_HANDSHAKE
Successful first handshake with peer VPN.
|
NEGOTIATION_FAILURE
Handshake failed.
|
NETWORK_ERROR
Deprecated, replaced by NO_INCOMING_PACKETS
|
NO_INCOMING_PACKETS
No incoming packets from peer
|
PROVISIONING
Resource is being allocated for the VPN tunnel.
|
REJECTED
Tunnel configuration was rejected, can be result of being denylisted.
|
STOPPED
Tunnel is stopped due to its Forwarding Rules being deleted.
|
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
WAITING_FOR_FULL_CONFIG
Waiting to receive all VPN-related configs from user.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOCATING_RESOURCES_VALUE
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
|
static int |
AUTHORIZATION_ERROR_VALUE
Auth error (e.g.
|
static int |
DEPROVISIONING_VALUE
Resources is being deallocated for the VPN tunnel.
|
static int |
ESTABLISHED_VALUE
Secure session is successfully established with peer VPN.
|
static int |
FAILED_VALUE
Tunnel creation has failed and the tunnel is not ready to be used.
|
static int |
FIRST_HANDSHAKE_VALUE
Successful first handshake with peer VPN.
|
static int |
NEGOTIATION_FAILURE_VALUE
Handshake failed.
|
static int |
NETWORK_ERROR_VALUE
Deprecated, replaced by NO_INCOMING_PACKETS
|
static int |
NO_INCOMING_PACKETS_VALUE
No incoming packets from peer
|
static int |
PROVISIONING_VALUE
Resource is being allocated for the VPN tunnel.
|
static int |
REJECTED_VALUE
Tunnel configuration was rejected, can be result of being denylisted.
|
static int |
STOPPED_VALUE
Tunnel is stopped due to its Forwarding Rules being deleted.
|
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
static int |
WAITING_FOR_FULL_CONFIG_VALUE
Waiting to receive all VPN-related configs from user.
|
| Modifier and Type | Method and Description |
|---|---|
static VpnTunnel.Status |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<VpnTunnel.Status> |
internalGetValueMap() |
static VpnTunnel.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VpnTunnel.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VpnTunnel.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VpnTunnel.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VpnTunnel.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final VpnTunnel.Status ALLOCATING_RESOURCES
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
ALLOCATING_RESOURCES = 320922816;public static final VpnTunnel.Status AUTHORIZATION_ERROR
Auth error (e.g. bad shared secret).
AUTHORIZATION_ERROR = 23580290;public static final VpnTunnel.Status DEPROVISIONING
Resources is being deallocated for the VPN tunnel.
DEPROVISIONING = 428935662;public static final VpnTunnel.Status ESTABLISHED
Secure session is successfully established with peer VPN.
ESTABLISHED = 88852344;public static final VpnTunnel.Status FAILED
Tunnel creation has failed and the tunnel is not ready to be used.
FAILED = 455706685;public static final VpnTunnel.Status FIRST_HANDSHAKE
Successful first handshake with peer VPN.
FIRST_HANDSHAKE = 191393000;public static final VpnTunnel.Status NEGOTIATION_FAILURE
Handshake failed.
NEGOTIATION_FAILURE = 360325868;public static final VpnTunnel.Status NETWORK_ERROR
Deprecated, replaced by NO_INCOMING_PACKETS
NETWORK_ERROR = 193912951;public static final VpnTunnel.Status NO_INCOMING_PACKETS
No incoming packets from peer
NO_INCOMING_PACKETS = 119983216;public static final VpnTunnel.Status PROVISIONING
Resource is being allocated for the VPN tunnel.
PROVISIONING = 290896621;public static final VpnTunnel.Status REJECTED
Tunnel configuration was rejected, can be result of being denylisted.
REJECTED = 174130302;public static final VpnTunnel.Status STOPPED
Tunnel is stopped due to its Forwarding Rules being deleted.
STOPPED = 444276141;public static final VpnTunnel.Status WAITING_FOR_FULL_CONFIG
Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel.
WAITING_FOR_FULL_CONFIG = 41640522;public static final VpnTunnel.Status UNRECOGNIZED
public static final int UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final int ALLOCATING_RESOURCES_VALUE
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
ALLOCATING_RESOURCES = 320922816;public static final int AUTHORIZATION_ERROR_VALUE
Auth error (e.g. bad shared secret).
AUTHORIZATION_ERROR = 23580290;public static final int DEPROVISIONING_VALUE
Resources is being deallocated for the VPN tunnel.
DEPROVISIONING = 428935662;public static final int ESTABLISHED_VALUE
Secure session is successfully established with peer VPN.
ESTABLISHED = 88852344;public static final int FAILED_VALUE
Tunnel creation has failed and the tunnel is not ready to be used.
FAILED = 455706685;public static final int FIRST_HANDSHAKE_VALUE
Successful first handshake with peer VPN.
FIRST_HANDSHAKE = 191393000;public static final int NEGOTIATION_FAILURE_VALUE
Handshake failed.
NEGOTIATION_FAILURE = 360325868;public static final int NETWORK_ERROR_VALUE
Deprecated, replaced by NO_INCOMING_PACKETS
NETWORK_ERROR = 193912951;public static final int NO_INCOMING_PACKETS_VALUE
No incoming packets from peer
NO_INCOMING_PACKETS = 119983216;public static final int PROVISIONING_VALUE
Resource is being allocated for the VPN tunnel.
PROVISIONING = 290896621;public static final int REJECTED_VALUE
Tunnel configuration was rejected, can be result of being denylisted.
REJECTED = 174130302;public static final int STOPPED_VALUE
Tunnel is stopped due to its Forwarding Rules being deleted.
STOPPED = 444276141;public static final int WAITING_FOR_FULL_CONFIG_VALUE
Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel.
WAITING_FOR_FULL_CONFIG = 41640522;public static VpnTunnel.Status[] values()
for (VpnTunnel.Status c : VpnTunnel.Status.values()) System.out.println(c);
public static VpnTunnel.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static VpnTunnel.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VpnTunnel.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VpnTunnel.Status> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static VpnTunnel.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.