Enum ExternalVpnGateway.RedundancyType

java.lang.Object
java.lang.Enum<ExternalVpnGateway.RedundancyType>
com.google.cloud.compute.v1.ExternalVpnGateway.RedundancyType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ExternalVpnGateway.RedundancyType>
Enclosing class:
ExternalVpnGateway

public static enum ExternalVpnGateway.RedundancyType extends Enum<ExternalVpnGateway.RedundancyType> implements com.google.protobuf.ProtocolMessageEnum
 Indicates the user-supplied redundancy type of this external VPN gateway.
 
Protobuf enum google.cloud.compute.v1.ExternalVpnGateway.RedundancyType
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The external VPN gateway has four public IP addresses; at the time of writing this API, the AWS virtual private gateway is an example which has four public IP addresses for high availability connections; there should be two VPN connections in the AWS virtual private gateway , each AWS VPN connection has two public IP addresses; please make sure to put two public IP addresses from one AWS VPN connection into interfaces 0 and 1 of this external VPN gateway, and put the other two public IP addresses from another AWS VPN connection into interfaces 2 and 3 of this external VPN gateway.
    The external VPN gateway has only one public IP address which internally provide redundancy or failover.
    The external VPN gateway has two public IP addresses which are redundant with each other, the following two types of setup on your on-premises side would have this type of redundancy: (1) Two separate on-premises gateways, each with one public IP address, the two on-premises gateways are redundant with each other
    A value indicating that the enum field is not set.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The external VPN gateway has four public IP addresses; at the time of writing this API, the AWS virtual private gateway is an example which has four public IP addresses for high availability connections; there should be two VPN connections in the AWS virtual private gateway , each AWS VPN connection has two public IP addresses; please make sure to put two public IP addresses from one AWS VPN connection into interfaces 0 and 1 of this external VPN gateway, and put the other two public IP addresses from another AWS VPN connection into interfaces 2 and 3 of this external VPN gateway.
    static final int
    The external VPN gateway has only one public IP address which internally provide redundancy or failover.
    static final int
    The external VPN gateway has two public IP addresses which are redundant with each other, the following two types of setup on your on-premises side would have this type of redundancy: (1) Two separate on-premises gateways, each with one public IP address, the two on-premises gateways are redundant with each other
    static final int
    A value indicating that the enum field is not set.
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<ExternalVpnGateway.RedundancyType>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNDEFINED_REDUNDANCY_TYPE

      public static final ExternalVpnGateway.RedundancyType UNDEFINED_REDUNDANCY_TYPE
       A value indicating that the enum field is not set.
       
      UNDEFINED_REDUNDANCY_TYPE = 0;
    • FOUR_IPS_REDUNDANCY

      public static final ExternalVpnGateway.RedundancyType FOUR_IPS_REDUNDANCY
       The external VPN gateway has four public IP addresses; at the time of
       writing this API, the AWS virtual private gateway is an example which has
       four public IP addresses for high availability connections; there should
       be two VPN connections in the AWS virtual private gateway , each AWS VPN
       connection has two public IP addresses;  please make sure to put two
       public IP addresses from one AWS VPN connection into interfaces 0 and 1
       of this external VPN gateway, and put the other two public IP addresses
       from another AWS VPN connection into interfaces 2 and 3 of this external
       VPN gateway. When displaying highly available configuration status
       for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN
       gateway, Google will always detect whether interfaces 0 and 1 are
       connected on one interface of HA Cloud VPN gateway, and detect whether
       interfaces 2 and 3 are connected to another interface of the HA Cloud VPN
       gateway.
       
      FOUR_IPS_REDUNDANCY = 520087913;
    • SINGLE_IP_INTERNALLY_REDUNDANT

      public static final ExternalVpnGateway.RedundancyType SINGLE_IP_INTERNALLY_REDUNDANT
       The external VPN gateway has only one public IP address which internally
       provide redundancy or failover.
       
      SINGLE_IP_INTERNALLY_REDUNDANT = 133914873;
    • TWO_IPS_REDUNDANCY

      public static final ExternalVpnGateway.RedundancyType TWO_IPS_REDUNDANCY
       The external VPN gateway has two public IP addresses which are redundant
       with each other, the following two types of setup on your on-premises
       side would have this type of redundancy:
       (1) Two separate on-premises gateways, each with one public IP address,
       the two on-premises gateways are redundant with each other.
       (2) A single on-premise gateway with two public IP addresses that are
       redundant with eatch other.
       
      TWO_IPS_REDUNDANCY = 367049635;
    • UNRECOGNIZED

      public static final ExternalVpnGateway.RedundancyType UNRECOGNIZED
  • Field Details

    • UNDEFINED_REDUNDANCY_TYPE_VALUE

      public static final int UNDEFINED_REDUNDANCY_TYPE_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_REDUNDANCY_TYPE = 0;
      See Also:
    • FOUR_IPS_REDUNDANCY_VALUE

      public static final int FOUR_IPS_REDUNDANCY_VALUE
       The external VPN gateway has four public IP addresses; at the time of
       writing this API, the AWS virtual private gateway is an example which has
       four public IP addresses for high availability connections; there should
       be two VPN connections in the AWS virtual private gateway , each AWS VPN
       connection has two public IP addresses;  please make sure to put two
       public IP addresses from one AWS VPN connection into interfaces 0 and 1
       of this external VPN gateway, and put the other two public IP addresses
       from another AWS VPN connection into interfaces 2 and 3 of this external
       VPN gateway. When displaying highly available configuration status
       for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN
       gateway, Google will always detect whether interfaces 0 and 1 are
       connected on one interface of HA Cloud VPN gateway, and detect whether
       interfaces 2 and 3 are connected to another interface of the HA Cloud VPN
       gateway.
       
      FOUR_IPS_REDUNDANCY = 520087913;
      See Also:
    • SINGLE_IP_INTERNALLY_REDUNDANT_VALUE

      public static final int SINGLE_IP_INTERNALLY_REDUNDANT_VALUE
       The external VPN gateway has only one public IP address which internally
       provide redundancy or failover.
       
      SINGLE_IP_INTERNALLY_REDUNDANT = 133914873;
      See Also:
    • TWO_IPS_REDUNDANCY_VALUE

      public static final int TWO_IPS_REDUNDANCY_VALUE
       The external VPN gateway has two public IP addresses which are redundant
       with each other, the following two types of setup on your on-premises
       side would have this type of redundancy:
       (1) Two separate on-premises gateways, each with one public IP address,
       the two on-premises gateways are redundant with each other.
       (2) A single on-premise gateway with two public IP addresses that are
       redundant with eatch other.
       
      TWO_IPS_REDUNDANCY = 367049635;
      See Also:
  • Method Details

    • values

      public static ExternalVpnGateway.RedundancyType[] 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

      public static ExternalVpnGateway.RedundancyType 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 ExternalVpnGateway.RedundancyType 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 ExternalVpnGateway.RedundancyType 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<ExternalVpnGateway.RedundancyType> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ExternalVpnGateway.RedundancyType 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