Package com.google.cloud.compute.v1
Enum InterconnectAttachmentConfigurationConstraints.BgpMd5
- java.lang.Object
-
- java.lang.Enum<InterconnectAttachmentConfigurationConstraints.BgpMd5>
-
- com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints.BgpMd5
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<InterconnectAttachmentConfigurationConstraints.BgpMd5>
- Enclosing class:
- InterconnectAttachmentConfigurationConstraints
public static enum InterconnectAttachmentConfigurationConstraints.BgpMd5 extends Enum<InterconnectAttachmentConfigurationConstraints.BgpMd5> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested.
Protobuf enumgoogle.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints.BgpMd5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MD5_OPTIONAL
MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.MD5_REQUIRED
MD5_REQUIRED: BGP MD5 authentication must be configured.MD5_UNSUPPORTED
MD5_UNSUPPORTED: BGP MD5 authentication must not be configuredUNDEFINED_BGP_MD5
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
MD5_OPTIONAL_VALUE
MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.static int
MD5_REQUIRED_VALUE
MD5_REQUIRED: BGP MD5 authentication must be configured.static int
MD5_UNSUPPORTED_VALUE
MD5_UNSUPPORTED: BGP MD5 authentication must not be configuredstatic int
UNDEFINED_BGP_MD5_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 InterconnectAttachmentConfigurationConstraints.BgpMd5
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<InterconnectAttachmentConfigurationConstraints.BgpMd5>
internalGetValueMap()
static InterconnectAttachmentConfigurationConstraints.BgpMd5
valueOf(int value)
Deprecated.static InterconnectAttachmentConfigurationConstraints.BgpMd5
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static InterconnectAttachmentConfigurationConstraints.BgpMd5
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterconnectAttachmentConfigurationConstraints.BgpMd5[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_BGP_MD5
public static final InterconnectAttachmentConfigurationConstraints.BgpMd5 UNDEFINED_BGP_MD5
A value indicating that the enum field is not set.
UNDEFINED_BGP_MD5 = 0;
-
MD5_OPTIONAL
public static final InterconnectAttachmentConfigurationConstraints.BgpMd5 MD5_OPTIONAL
MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.
MD5_OPTIONAL = 532156673;
-
MD5_REQUIRED
public static final InterconnectAttachmentConfigurationConstraints.BgpMd5 MD5_REQUIRED
MD5_REQUIRED: BGP MD5 authentication must be configured.
MD5_REQUIRED = 218034496;
-
MD5_UNSUPPORTED
public static final InterconnectAttachmentConfigurationConstraints.BgpMd5 MD5_UNSUPPORTED
MD5_UNSUPPORTED: BGP MD5 authentication must not be configured
MD5_UNSUPPORTED = 86962388;
-
UNRECOGNIZED
public static final InterconnectAttachmentConfigurationConstraints.BgpMd5 UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_BGP_MD5_VALUE
public static final int UNDEFINED_BGP_MD5_VALUE
A value indicating that the enum field is not set.
UNDEFINED_BGP_MD5 = 0;
- See Also:
- Constant Field Values
-
MD5_OPTIONAL_VALUE
public static final int MD5_OPTIONAL_VALUE
MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.
MD5_OPTIONAL = 532156673;
- See Also:
- Constant Field Values
-
MD5_REQUIRED_VALUE
public static final int MD5_REQUIRED_VALUE
MD5_REQUIRED: BGP MD5 authentication must be configured.
MD5_REQUIRED = 218034496;
- See Also:
- Constant Field Values
-
MD5_UNSUPPORTED_VALUE
public static final int MD5_UNSUPPORTED_VALUE
MD5_UNSUPPORTED: BGP MD5 authentication must not be configured
MD5_UNSUPPORTED = 86962388;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InterconnectAttachmentConfigurationConstraints.BgpMd5[] 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 (InterconnectAttachmentConfigurationConstraints.BgpMd5 c : InterconnectAttachmentConfigurationConstraints.BgpMd5.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterconnectAttachmentConfigurationConstraints.BgpMd5 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 InterconnectAttachmentConfigurationConstraints.BgpMd5 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 InterconnectAttachmentConfigurationConstraints.BgpMd5 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<InterconnectAttachmentConfigurationConstraints.BgpMd5> 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 InterconnectAttachmentConfigurationConstraints.BgpMd5 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
-
-