Package com.google.cloud.compute.v1
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 enumgoogle.cloud.compute.v1.ExternalVpnGateway.RedundancyType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.SINGLE_IP_INTERNALLY_REDUNDANT
The external VPN gateway has only one public IP address which internally provide redundancy or failover.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.UNDEFINED_REDUNDANCY_TYPE
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static 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.static int
SINGLE_IP_INTERNALLY_REDUNDANT_VALUE
The external VPN gateway has only one public IP address which internally provide redundancy or failover.static 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.static int
UNDEFINED_REDUNDANCY_TYPE_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExternalVpnGateway.RedundancyType
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<ExternalVpnGateway.RedundancyType>
internalGetValueMap()
static ExternalVpnGateway.RedundancyType
valueOf(int value)
Deprecated.static ExternalVpnGateway.RedundancyType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ExternalVpnGateway.RedundancyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalVpnGateway.RedundancyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static ExternalVpnGateway.RedundancyType[] 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 (ExternalVpnGateway.RedundancyType c : ExternalVpnGateway.RedundancyType.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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 nameNullPointerException
- if the argument is null
-
-