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 Detail

      • UNDEFINED_STATUS

        public static final VpnTunnel.Status UNDEFINED_STATUS
         A value indicating that the enum field is not set.
         
        UNDEFINED_STATUS = 0;
      • ALLOCATING_RESOURCES

        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;
      • AUTHORIZATION_ERROR

        public static final VpnTunnel.Status AUTHORIZATION_ERROR
         Auth error (e.g. bad shared secret).
         
        AUTHORIZATION_ERROR = 23580290;
      • DEPROVISIONING

        public static final VpnTunnel.Status DEPROVISIONING
         Resources is being deallocated for the VPN tunnel.
         
        DEPROVISIONING = 428935662;
      • ESTABLISHED

        public static final VpnTunnel.Status ESTABLISHED
         Secure session is successfully established with peer VPN.
         
        ESTABLISHED = 88852344;
      • FAILED

        public static final VpnTunnel.Status FAILED
         Tunnel creation has failed and the tunnel is not ready to be used.
         
        FAILED = 455706685;
      • FIRST_HANDSHAKE

        public static final VpnTunnel.Status FIRST_HANDSHAKE
         Successful first handshake with peer VPN.
         
        FIRST_HANDSHAKE = 191393000;
      • NEGOTIATION_FAILURE

        public static final VpnTunnel.Status NEGOTIATION_FAILURE
         Handshake failed.
         
        NEGOTIATION_FAILURE = 360325868;
      • NETWORK_ERROR

        public static final VpnTunnel.Status NETWORK_ERROR
         Deprecated, replaced by NO_INCOMING_PACKETS
         
        NETWORK_ERROR = 193912951;
      • NO_INCOMING_PACKETS

        public static final VpnTunnel.Status NO_INCOMING_PACKETS
         No incoming packets from peer
         
        NO_INCOMING_PACKETS = 119983216;
      • PROVISIONING

        public static final VpnTunnel.Status PROVISIONING
         Resource is being allocated for the VPN tunnel.
         
        PROVISIONING = 290896621;
      • REJECTED

        public static final VpnTunnel.Status REJECTED
         Tunnel configuration was rejected, can be result of being denylisted.
         
        REJECTED = 174130302;
      • STOPPED

        public static final VpnTunnel.Status STOPPED
         Tunnel is stopped due to its Forwarding Rules being deleted.
         
        STOPPED = 444276141;
      • WAITING_FOR_FULL_CONFIG

        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;
    • Field Detail

      • UNDEFINED_STATUS_VALUE

        public static final int UNDEFINED_STATUS_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_STATUS = 0;
        See Also:
        Constant Field Values
      • ALLOCATING_RESOURCES_VALUE

        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;
        See Also:
        Constant Field Values
      • AUTHORIZATION_ERROR_VALUE

        public static final int AUTHORIZATION_ERROR_VALUE
         Auth error (e.g. bad shared secret).
         
        AUTHORIZATION_ERROR = 23580290;
        See Also:
        Constant Field Values
      • DEPROVISIONING_VALUE

        public static final int DEPROVISIONING_VALUE
         Resources is being deallocated for the VPN tunnel.
         
        DEPROVISIONING = 428935662;
        See Also:
        Constant Field Values
      • ESTABLISHED_VALUE

        public static final int ESTABLISHED_VALUE
         Secure session is successfully established with peer VPN.
         
        ESTABLISHED = 88852344;
        See Also:
        Constant Field Values
      • FAILED_VALUE

        public static final int FAILED_VALUE
         Tunnel creation has failed and the tunnel is not ready to be used.
         
        FAILED = 455706685;
        See Also:
        Constant Field Values
      • FIRST_HANDSHAKE_VALUE

        public static final int FIRST_HANDSHAKE_VALUE
         Successful first handshake with peer VPN.
         
        FIRST_HANDSHAKE = 191393000;
        See Also:
        Constant Field Values
      • NEGOTIATION_FAILURE_VALUE

        public static final int NEGOTIATION_FAILURE_VALUE
         Handshake failed.
         
        NEGOTIATION_FAILURE = 360325868;
        See Also:
        Constant Field Values
      • NETWORK_ERROR_VALUE

        public static final int NETWORK_ERROR_VALUE
         Deprecated, replaced by NO_INCOMING_PACKETS
         
        NETWORK_ERROR = 193912951;
        See Also:
        Constant Field Values
      • NO_INCOMING_PACKETS_VALUE

        public static final int NO_INCOMING_PACKETS_VALUE
         No incoming packets from peer
         
        NO_INCOMING_PACKETS = 119983216;
        See Also:
        Constant Field Values
      • PROVISIONING_VALUE

        public static final int PROVISIONING_VALUE
         Resource is being allocated for the VPN tunnel.
         
        PROVISIONING = 290896621;
        See Also:
        Constant Field Values
      • REJECTED_VALUE

        public static final int REJECTED_VALUE
         Tunnel configuration was rejected, can be result of being denylisted.
         
        REJECTED = 174130302;
        See Also:
        Constant Field Values
      • STOPPED_VALUE

        public static final int STOPPED_VALUE
         Tunnel is stopped due to its Forwarding Rules being deleted.
         
        STOPPED = 444276141;
        See Also:
        Constant Field Values
      • WAITING_FOR_FULL_CONFIG_VALUE

        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;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static VpnTunnel.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VpnTunnel.Status c : VpnTunnel.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VpnTunnel.Status valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static VpnTunnel.Status valueOf​(int value)
        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 name
        NullPointerException - if the argument is null
      • forNumber

        public static VpnTunnel.Status forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<VpnTunnel.Status> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static VpnTunnel.Status valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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 name
        NullPointerException - if the argument is null