public static enum InterconnectAttachment.Encryption extends Enum<InterconnectAttachment.Encryption> implements com.google.protobuf.ProtocolMessageEnum
Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option.Protobuf enum
google.cloud.compute.v1.InterconnectAttachment.Encryption| Enum Constant and Description |
|---|
IPSEC
The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment.
|
NONE
This is the default value, which means the Interconnect Attachment will carry unencrypted traffic.
|
UNDEFINED_ENCRYPTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IPSEC_VALUE
The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment.
|
static int |
NONE_VALUE
This is the default value, which means the Interconnect Attachment will carry unencrypted traffic.
|
static int |
UNDEFINED_ENCRYPTION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InterconnectAttachment.Encryption |
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<InterconnectAttachment.Encryption> |
internalGetValueMap() |
static InterconnectAttachment.Encryption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InterconnectAttachment.Encryption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InterconnectAttachment.Encryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterconnectAttachment.Encryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterconnectAttachment.Encryption UNDEFINED_ENCRYPTION
A value indicating that the enum field is not set.
UNDEFINED_ENCRYPTION = 0;public static final InterconnectAttachment.Encryption IPSEC
The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option.
IPSEC = 69882282;public static final InterconnectAttachment.Encryption NONE
This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment.
NONE = 2402104;public static final InterconnectAttachment.Encryption UNRECOGNIZED
public static final int UNDEFINED_ENCRYPTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ENCRYPTION = 0;public static final int IPSEC_VALUE
The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option.
IPSEC = 69882282;public static final int NONE_VALUE
This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment.
NONE = 2402104;public static InterconnectAttachment.Encryption[] values()
for (InterconnectAttachment.Encryption c : InterconnectAttachment.Encryption.values()) System.out.println(c);
public static InterconnectAttachment.Encryption 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 InterconnectAttachment.Encryption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InterconnectAttachment.Encryption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.Encryption> 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 InterconnectAttachment.Encryption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.