Enum 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 enum google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints.BgpMd5
    • 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 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
        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 name
        NullPointerException - if the argument is null
      • 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 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 name
        NullPointerException - if the argument is null