Package com.google.cloud.compute.v1
Enum VpnTunnel.Status
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<VpnTunnel.Status>
- Enclosing class:
- VpnTunnel
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 Summary
Enum ConstantsEnum ConstantDescriptionCloud VPN is in the process of allocating all required resources (specifically, a borg task).Auth error (e.g. bad shared secret).Resources is being deallocated for the VPN tunnel.Secure session is successfully established with peer VPN.Tunnel creation has failed and the tunnel is not ready to be used.Successful first handshake with peer VPN.Handshake failed.Deprecated, replaced by NO_INCOMING_PACKETSNo incoming packets from peerResource is being allocated for the VPN tunnel.Tunnel configuration was rejected, can be result of being denylisted.Tunnel is stopped due to its Forwarding Rules being deleted.A value indicating that the enum field is not set.Waiting to receive all VPN-related configs from user. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCloud VPN is in the process of allocating all required resources (specifically, a borg task).static final intAuth error (e.g. bad shared secret).static final intResources is being deallocated for the VPN tunnel.static final intSecure session is successfully established with peer VPN.static final intTunnel creation has failed and the tunnel is not ready to be used.static final intSuccessful first handshake with peer VPN.static final intHandshake failed.static final intDeprecated, replaced by NO_INCOMING_PACKETSstatic final intNo incoming packets from peerstatic final intResource is being allocated for the VPN tunnel.static final intTunnel configuration was rejected, can be result of being denylisted.static final intTunnel is stopped due to its Forwarding Rules being deleted.static final intA value indicating that the enum field is not set.static final intWaiting to receive all VPN-related configs from user. -
Method Summary
Modifier and TypeMethodDescriptionstatic VpnTunnel.StatusforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<VpnTunnel.Status>static VpnTunnel.StatusvalueOf(int value) Deprecated.static VpnTunnel.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static VpnTunnel.StatusReturns 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.
-
Enum Constant Details
-
UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0; -
ALLOCATING_RESOURCES
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
ALLOCATING_RESOURCES = 320922816; -
AUTHORIZATION_ERROR
Auth error (e.g. bad shared secret).
AUTHORIZATION_ERROR = 23580290; -
DEPROVISIONING
Resources is being deallocated for the VPN tunnel.
DEPROVISIONING = 428935662; -
ESTABLISHED
Secure session is successfully established with peer VPN.
ESTABLISHED = 88852344; -
FAILED
Tunnel creation has failed and the tunnel is not ready to be used.
FAILED = 455706685; -
FIRST_HANDSHAKE
Successful first handshake with peer VPN.
FIRST_HANDSHAKE = 191393000; -
NEGOTIATION_FAILURE
Handshake failed.
NEGOTIATION_FAILURE = 360325868; -
NETWORK_ERROR
Deprecated, replaced by NO_INCOMING_PACKETS
NETWORK_ERROR = 193912951; -
NO_INCOMING_PACKETS
No incoming packets from peer
NO_INCOMING_PACKETS = 119983216; -
PROVISIONING
Resource is being allocated for the VPN tunnel.
PROVISIONING = 290896621; -
REJECTED
Tunnel configuration was rejected, can be result of being denylisted.
REJECTED = 174130302; -
STOPPED
Tunnel is stopped due to its Forwarding Rules being deleted.
STOPPED = 444276141; -
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; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_STATUS_VALUE
public static final int UNDEFINED_STATUS_VALUEA value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;- See Also:
-
ALLOCATING_RESOURCES_VALUE
public static final int ALLOCATING_RESOURCES_VALUECloud VPN is in the process of allocating all required resources (specifically, a borg task).
ALLOCATING_RESOURCES = 320922816;- See Also:
-
AUTHORIZATION_ERROR_VALUE
public static final int AUTHORIZATION_ERROR_VALUEAuth error (e.g. bad shared secret).
AUTHORIZATION_ERROR = 23580290;- See Also:
-
DEPROVISIONING_VALUE
public static final int DEPROVISIONING_VALUEResources is being deallocated for the VPN tunnel.
DEPROVISIONING = 428935662;- See Also:
-
ESTABLISHED_VALUE
public static final int ESTABLISHED_VALUESecure session is successfully established with peer VPN.
ESTABLISHED = 88852344;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUETunnel creation has failed and the tunnel is not ready to be used.
FAILED = 455706685;- See Also:
-
FIRST_HANDSHAKE_VALUE
public static final int FIRST_HANDSHAKE_VALUESuccessful first handshake with peer VPN.
FIRST_HANDSHAKE = 191393000;- See Also:
-
NEGOTIATION_FAILURE_VALUE
public static final int NEGOTIATION_FAILURE_VALUEHandshake failed.
NEGOTIATION_FAILURE = 360325868;- See Also:
-
NETWORK_ERROR_VALUE
public static final int NETWORK_ERROR_VALUEDeprecated, replaced by NO_INCOMING_PACKETS
NETWORK_ERROR = 193912951;- See Also:
-
NO_INCOMING_PACKETS_VALUE
public static final int NO_INCOMING_PACKETS_VALUENo incoming packets from peer
NO_INCOMING_PACKETS = 119983216;- See Also:
-
PROVISIONING_VALUE
public static final int PROVISIONING_VALUEResource is being allocated for the VPN tunnel.
PROVISIONING = 290896621;- See Also:
-
REJECTED_VALUE
public static final int REJECTED_VALUETunnel configuration was rejected, can be result of being denylisted.
REJECTED = 174130302;- See Also:
-
STOPPED_VALUE
public static final int STOPPED_VALUETunnel is stopped due to its Forwarding Rules being deleted.
STOPPED = 444276141;- See Also:
-
WAITING_FOR_FULL_CONFIG_VALUE
public static final int WAITING_FOR_FULL_CONFIG_VALUEWaiting 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;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-