Enum InterconnectAttachment.Bandwidth

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<InterconnectAttachment.Bandwidth>
    Enclosing class:
    InterconnectAttachment

    public static enum InterconnectAttachment.Bandwidth
    extends Enum<InterconnectAttachment.Bandwidth>
    implements com.google.protobuf.ProtocolMessageEnum
     Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s
     
    Protobuf enum google.cloud.compute.v1.InterconnectAttachment.Bandwidth
    • Field Detail

      • UNDEFINED_BANDWIDTH_VALUE

        public static final int UNDEFINED_BANDWIDTH_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_BANDWIDTH = 0;
        See Also:
        Constant Field Values
      • BPS_100M_VALUE

        public static final int BPS_100M_VALUE
         100 Mbit/s
         
        BPS_100M = 49547958;
        See Also:
        Constant Field Values
      • BPS_10G_VALUE

        public static final int BPS_10G_VALUE
         10 Gbit/s
         
        BPS_10G = 278693006;
        See Also:
        Constant Field Values
      • BPS_1G_VALUE

        public static final int BPS_1G_VALUE
         1 Gbit/s
         
        BPS_1G = 355358448;
        See Also:
        Constant Field Values
      • BPS_200M_VALUE

        public static final int BPS_200M_VALUE
         200 Mbit/s
         
        BPS_200M = 49577749;
        See Also:
        Constant Field Values
      • BPS_20G_VALUE

        public static final int BPS_20G_VALUE
         20 Gbit/s
         
        BPS_20G = 278693967;
        See Also:
        Constant Field Values
      • BPS_2G_VALUE

        public static final int BPS_2G_VALUE
         2 Gbit/s
         
        BPS_2G = 355358479;
        See Also:
        Constant Field Values
      • BPS_300M_VALUE

        public static final int BPS_300M_VALUE
         300 Mbit/s
         
        BPS_300M = 49607540;
        See Also:
        Constant Field Values
      • BPS_400M_VALUE

        public static final int BPS_400M_VALUE
         400 Mbit/s
         
        BPS_400M = 49637331;
        See Also:
        Constant Field Values
      • BPS_500M_VALUE

        public static final int BPS_500M_VALUE
         500 Mbit/s
         
        BPS_500M = 49667122;
        See Also:
        Constant Field Values
      • BPS_50G_VALUE

        public static final int BPS_50G_VALUE
         50 Gbit/s
         
        BPS_50G = 278696850;
        See Also:
        Constant Field Values
      • BPS_50M_VALUE

        public static final int BPS_50M_VALUE
         50 Mbit/s
         
        BPS_50M = 278696856;
        See Also:
        Constant Field Values
      • BPS_5G_VALUE

        public static final int BPS_5G_VALUE
         5 Gbit/s
         
        BPS_5G = 355358572;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static InterconnectAttachment.Bandwidth[] 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 (InterconnectAttachment.Bandwidth c : InterconnectAttachment.Bandwidth.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InterconnectAttachment.Bandwidth 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 InterconnectAttachment.Bandwidth 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
      • forNumber

        public static InterconnectAttachment.Bandwidth forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 InterconnectAttachment.Bandwidth 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