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 Details

  • Field Details

    • 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:
    • 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:
    • MD5_REQUIRED_VALUE

      public static final int MD5_REQUIRED_VALUE
       MD5_REQUIRED: BGP MD5 authentication must be configured.
       
      MD5_REQUIRED = 218034496;
      See Also:
    • MD5_UNSUPPORTED_VALUE

      public static final int MD5_UNSUPPORTED_VALUE
       MD5_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 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.
      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 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 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 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 name
      NullPointerException - if the argument is null