Package com.google.cloud.compute.v1
Enum InterconnectAttachment.Bandwidth
java.lang.Object
java.lang.Enum<InterconnectAttachment.Bandwidth>
com.google.cloud.compute.v1.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 - BPS_100G: 100 Gbit/s - BPS_400G: 400 Gbit/sProtobuf enum
google.cloud.compute.v1.InterconnectAttachment.Bandwidth-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription100 Gbit/s100 Mbit/s10 Gbit/s1 Gbit/s200 Mbit/s20 Gbit/s2 Gbit/s300 Mbit/s400 Gbit/s400 Mbit/s500 Mbit/s50 Gbit/s50 Mbit/s5 Gbit/sA value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int100 Gbit/sstatic final int100 Mbit/sstatic final int10 Gbit/sstatic final int1 Gbit/sstatic final int200 Mbit/sstatic final int20 Gbit/sstatic final int2 Gbit/sstatic final int300 Mbit/sstatic final int400 Gbit/sstatic final int400 Mbit/sstatic final int500 Mbit/sstatic final int50 Gbit/sstatic final int50 Mbit/sstatic final int5 Gbit/sstatic 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<InterconnectAttachment.Bandwidth>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.static InterconnectAttachment.Bandwidth[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_BANDWIDTH
A value indicating that the enum field is not set.
UNDEFINED_BANDWIDTH = 0; -
BPS_100G
100 Gbit/s
BPS_100G = 49547952; -
BPS_100M
100 Mbit/s
BPS_100M = 49547958; -
BPS_10G
10 Gbit/s
BPS_10G = 278693006; -
BPS_1G
1 Gbit/s
BPS_1G = 355358448; -
BPS_200M
200 Mbit/s
BPS_200M = 49577749; -
BPS_20G
20 Gbit/s
BPS_20G = 278693967; -
BPS_2G
2 Gbit/s
BPS_2G = 355358479; -
BPS_300M
300 Mbit/s
BPS_300M = 49607540; -
BPS_400G
400 Gbit/s
BPS_400G = 49637325; -
BPS_400M
400 Mbit/s
BPS_400M = 49637331; -
BPS_500M
500 Mbit/s
BPS_500M = 49667122; -
BPS_50G
50 Gbit/s
BPS_50G = 278696850; -
BPS_50M
50 Mbit/s
BPS_50M = 278696856; -
BPS_5G
5 Gbit/s
BPS_5G = 355358572; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_BANDWIDTH_VALUE
public static final int UNDEFINED_BANDWIDTH_VALUEA value indicating that the enum field is not set.
UNDEFINED_BANDWIDTH = 0;- See Also:
-
BPS_100G_VALUE
public static final int BPS_100G_VALUE100 Gbit/s
BPS_100G = 49547952;- See Also:
-
BPS_100M_VALUE
public static final int BPS_100M_VALUE100 Mbit/s
BPS_100M = 49547958;- See Also:
-
BPS_10G_VALUE
public static final int BPS_10G_VALUE10 Gbit/s
BPS_10G = 278693006;- See Also:
-
BPS_1G_VALUE
public static final int BPS_1G_VALUE1 Gbit/s
BPS_1G = 355358448;- See Also:
-
BPS_200M_VALUE
public static final int BPS_200M_VALUE200 Mbit/s
BPS_200M = 49577749;- See Also:
-
BPS_20G_VALUE
public static final int BPS_20G_VALUE20 Gbit/s
BPS_20G = 278693967;- See Also:
-
BPS_2G_VALUE
public static final int BPS_2G_VALUE2 Gbit/s
BPS_2G = 355358479;- See Also:
-
BPS_300M_VALUE
public static final int BPS_300M_VALUE300 Mbit/s
BPS_300M = 49607540;- See Also:
-
BPS_400G_VALUE
public static final int BPS_400G_VALUE400 Gbit/s
BPS_400G = 49637325;- See Also:
-
BPS_400M_VALUE
public static final int BPS_400M_VALUE400 Mbit/s
BPS_400M = 49637331;- See Also:
-
BPS_500M_VALUE
public static final int BPS_500M_VALUE500 Mbit/s
BPS_500M = 49667122;- See Also:
-
BPS_50G_VALUE
public static final int BPS_50G_VALUE50 Gbit/s
BPS_50G = 278696850;- See Also:
-
BPS_50M_VALUE
public static final int BPS_50M_VALUE50 Mbit/s
BPS_50M = 278696856;- See Also:
-
BPS_5G_VALUE
public static final int BPS_5G_VALUE5 Gbit/s
BPS_5G = 355358572;- 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<InterconnectAttachment.Bandwidth> 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 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 nameNullPointerException- if the argument is null
-