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
Protobuf enumgoogle.cloud.compute.v1.InterconnectAttachment.Bandwidth
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BPS_100M
100 Mbit/sBPS_10G
10 Gbit/sBPS_1G
1 Gbit/sBPS_200M
200 Mbit/sBPS_20G
20 Gbit/sBPS_2G
2 Gbit/sBPS_300M
300 Mbit/sBPS_400M
400 Mbit/sBPS_500M
500 Mbit/sBPS_50G
50 Gbit/sBPS_50M
50 Mbit/sBPS_5G
5 Gbit/sUNDEFINED_BANDWIDTH
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BPS_100M_VALUE
100 Mbit/sstatic int
BPS_10G_VALUE
10 Gbit/sstatic int
BPS_1G_VALUE
1 Gbit/sstatic int
BPS_200M_VALUE
200 Mbit/sstatic int
BPS_20G_VALUE
20 Gbit/sstatic int
BPS_2G_VALUE
2 Gbit/sstatic int
BPS_300M_VALUE
300 Mbit/sstatic int
BPS_400M_VALUE
400 Mbit/sstatic int
BPS_500M_VALUE
500 Mbit/sstatic int
BPS_50G_VALUE
50 Gbit/sstatic int
BPS_50M_VALUE
50 Mbit/sstatic int
BPS_5G_VALUE
5 Gbit/sstatic int
UNDEFINED_BANDWIDTH_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InterconnectAttachment.Bandwidth
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.Bandwidth>
internalGetValueMap()
static InterconnectAttachment.Bandwidth
valueOf(int value)
Deprecated.static InterconnectAttachment.Bandwidth
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static InterconnectAttachment.Bandwidth
valueOf(String 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 Detail
-
UNDEFINED_BANDWIDTH
public static final InterconnectAttachment.Bandwidth UNDEFINED_BANDWIDTH
A value indicating that the enum field is not set.
UNDEFINED_BANDWIDTH = 0;
-
BPS_100M
public static final InterconnectAttachment.Bandwidth BPS_100M
100 Mbit/s
BPS_100M = 49547958;
-
BPS_10G
public static final InterconnectAttachment.Bandwidth BPS_10G
10 Gbit/s
BPS_10G = 278693006;
-
BPS_1G
public static final InterconnectAttachment.Bandwidth BPS_1G
1 Gbit/s
BPS_1G = 355358448;
-
BPS_200M
public static final InterconnectAttachment.Bandwidth BPS_200M
200 Mbit/s
BPS_200M = 49577749;
-
BPS_20G
public static final InterconnectAttachment.Bandwidth BPS_20G
20 Gbit/s
BPS_20G = 278693967;
-
BPS_2G
public static final InterconnectAttachment.Bandwidth BPS_2G
2 Gbit/s
BPS_2G = 355358479;
-
BPS_300M
public static final InterconnectAttachment.Bandwidth BPS_300M
300 Mbit/s
BPS_300M = 49607540;
-
BPS_400M
public static final InterconnectAttachment.Bandwidth BPS_400M
400 Mbit/s
BPS_400M = 49637331;
-
BPS_500M
public static final InterconnectAttachment.Bandwidth BPS_500M
500 Mbit/s
BPS_500M = 49667122;
-
BPS_50G
public static final InterconnectAttachment.Bandwidth BPS_50G
50 Gbit/s
BPS_50G = 278696850;
-
BPS_50M
public static final InterconnectAttachment.Bandwidth BPS_50M
50 Mbit/s
BPS_50M = 278696856;
-
BPS_5G
public static final InterconnectAttachment.Bandwidth BPS_5G
5 Gbit/s
BPS_5G = 355358572;
-
UNRECOGNIZED
public static final InterconnectAttachment.Bandwidth UNRECOGNIZED
-
-
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.Bandwidth> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-
-