Package com.google.cloud.compute.v1
Enum InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass
java.lang.Object
java.lang.Enum<InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass>
com.google.cloud.compute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass>
- Enclosing class:
- InterconnectApplicationAwareInterconnectBandwidthPercentage
public static enum InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass
extends Enum<InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass>
implements com.google.protobuf.ProtocolMessageEnum
TrafficClass whose bandwidth percentage is being specified.Protobuf enum
google.cloud.compute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTraffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTraffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.static final intTraffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.static final intTraffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.static final intTraffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.static final intTraffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.static final intTraffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx.static 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<InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_TRAFFIC_CLASS
public static final InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass UNDEFINED_TRAFFIC_CLASSA value indicating that the enum field is not set.
UNDEFINED_TRAFFIC_CLASS = 0; -
TC1
Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.
TC1 = 82850; -
TC2
Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.
TC2 = 82851; -
TC3
Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.
TC3 = 82852; -
TC4
Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.
TC4 = 82853; -
TC5
Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.
TC5 = 82854; -
TC6
Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx.
TC6 = 82855; -
UNRECOGNIZED
public static final InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_TRAFFIC_CLASS_VALUE
public static final int UNDEFINED_TRAFFIC_CLASS_VALUEA value indicating that the enum field is not set.
UNDEFINED_TRAFFIC_CLASS = 0;- See Also:
-
TC1_VALUE
public static final int TC1_VALUETraffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.
TC1 = 82850;- See Also:
-
TC2_VALUE
public static final int TC2_VALUETraffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.
TC2 = 82851;- See Also:
-
TC3_VALUE
public static final int TC3_VALUETraffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.
TC3 = 82852;- See Also:
-
TC4_VALUE
public static final int TC4_VALUETraffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.
TC4 = 82853;- See Also:
-
TC5_VALUE
public static final int TC5_VALUETraffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.
TC5 = 82854;- See Also:
-
TC6_VALUE
public static final int TC6_VALUETraffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx.
TC6 = 82855;- 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
public static InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass 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 InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass 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<InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass> 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 InterconnectApplicationAwareInterconnectBandwidthPercentage.TrafficClass 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
-