Package com.google.cloud.compute.v1
Enum InterconnectDiagnostics.BundleOperationalStatus
- java.lang.Object
-
- java.lang.Enum<InterconnectDiagnostics.BundleOperationalStatus>
-
- com.google.cloud.compute.v1.InterconnectDiagnostics.BundleOperationalStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<InterconnectDiagnostics.BundleOperationalStatus>
- Enclosing class:
- InterconnectDiagnostics
public static enum InterconnectDiagnostics.BundleOperationalStatus extends Enum<InterconnectDiagnostics.BundleOperationalStatus> implements com.google.protobuf.ProtocolMessageEnum
The operational status of the bundle interface.
Protobuf enumgoogle.cloud.compute.v1.InterconnectDiagnostics.BundleOperationalStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUNDLE_OPERATIONAL_STATUS_DOWN
If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status.BUNDLE_OPERATIONAL_STATUS_UP
If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status.UNDEFINED_BUNDLE_OPERATIONAL_STATUS
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BUNDLE_OPERATIONAL_STATUS_DOWN_VALUE
If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status.static int
BUNDLE_OPERATIONAL_STATUS_UP_VALUE
If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status.static int
UNDEFINED_BUNDLE_OPERATIONAL_STATUS_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 InterconnectDiagnostics.BundleOperationalStatus
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<InterconnectDiagnostics.BundleOperationalStatus>
internalGetValueMap()
static InterconnectDiagnostics.BundleOperationalStatus
valueOf(int value)
Deprecated.static InterconnectDiagnostics.BundleOperationalStatus
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static InterconnectDiagnostics.BundleOperationalStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterconnectDiagnostics.BundleOperationalStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_BUNDLE_OPERATIONAL_STATUS
public static final InterconnectDiagnostics.BundleOperationalStatus UNDEFINED_BUNDLE_OPERATIONAL_STATUS
A value indicating that the enum field is not set.
UNDEFINED_BUNDLE_OPERATIONAL_STATUS = 0;
-
BUNDLE_OPERATIONAL_STATUS_DOWN
public static final InterconnectDiagnostics.BundleOperationalStatus BUNDLE_OPERATIONAL_STATUS_DOWN
If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status. If bundleAggregationType is STATIC: one or more links in the bundle has DOWN operational status.
BUNDLE_OPERATIONAL_STATUS_DOWN = 453842693;
-
BUNDLE_OPERATIONAL_STATUS_UP
public static final InterconnectDiagnostics.BundleOperationalStatus BUNDLE_OPERATIONAL_STATUS_UP
If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status. If bundleAggregationType is STATIC: all links in the bundle (typically just one) have UP operational status.
BUNDLE_OPERATIONAL_STATUS_UP = 161366462;
-
UNRECOGNIZED
public static final InterconnectDiagnostics.BundleOperationalStatus UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_BUNDLE_OPERATIONAL_STATUS_VALUE
public static final int UNDEFINED_BUNDLE_OPERATIONAL_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_BUNDLE_OPERATIONAL_STATUS = 0;
- See Also:
- Constant Field Values
-
BUNDLE_OPERATIONAL_STATUS_DOWN_VALUE
public static final int BUNDLE_OPERATIONAL_STATUS_DOWN_VALUE
If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status. If bundleAggregationType is STATIC: one or more links in the bundle has DOWN operational status.
BUNDLE_OPERATIONAL_STATUS_DOWN = 453842693;
- See Also:
- Constant Field Values
-
BUNDLE_OPERATIONAL_STATUS_UP_VALUE
public static final int BUNDLE_OPERATIONAL_STATUS_UP_VALUE
If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status. If bundleAggregationType is STATIC: all links in the bundle (typically just one) have UP operational status.
BUNDLE_OPERATIONAL_STATUS_UP = 161366462;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InterconnectDiagnostics.BundleOperationalStatus[] 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 (InterconnectDiagnostics.BundleOperationalStatus c : InterconnectDiagnostics.BundleOperationalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterconnectDiagnostics.BundleOperationalStatus 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 InterconnectDiagnostics.BundleOperationalStatus 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 InterconnectDiagnostics.BundleOperationalStatus 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<InterconnectDiagnostics.BundleOperationalStatus> 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 InterconnectDiagnostics.BundleOperationalStatus 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
-
-