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. [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 enum
google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints.BgpMd5-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.MD5_REQUIRED: BGP MD5 authentication must be configured.MD5_UNSUPPORTED: BGP MD5 authentication must not be configuredA value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.static final intMD5_REQUIRED: BGP MD5 authentication must be configured.static final intMD5_UNSUPPORTED: BGP MD5 authentication must not be configuredstatic final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachmentConfigurationConstraints.BgpMd5>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_BGP_MD5
A value indicating that the enum field is not set.
UNDEFINED_BGP_MD5 = 0; -
MD5_OPTIONAL
MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.
MD5_OPTIONAL = 532156673; -
MD5_REQUIRED
MD5_REQUIRED: BGP MD5 authentication must be configured.
MD5_REQUIRED = 218034496; -
MD5_UNSUPPORTED
MD5_UNSUPPORTED: BGP MD5 authentication must not be configured
MD5_UNSUPPORTED = 86962388; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_BGP_MD5_VALUE
public static final int UNDEFINED_BGP_MD5_VALUEA value indicating that the enum field is not set.
UNDEFINED_BGP_MD5 = 0;- See Also:
-
MD5_OPTIONAL_VALUE
public static final int MD5_OPTIONAL_VALUEMD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.
MD5_OPTIONAL = 532156673;- See Also:
-
MD5_REQUIRED_VALUE
public static final int MD5_REQUIRED_VALUEMD5_REQUIRED: BGP MD5 authentication must be configured.
MD5_REQUIRED = 218034496;- See Also:
-
MD5_UNSUPPORTED_VALUE
public static final int MD5_UNSUPPORTED_VALUEMD5_UNSUPPORTED: BGP MD5 authentication must not be configured
MD5_UNSUPPORTED = 86962388;- See Also:
-
-
Method Details
-
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
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static 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
-