public static enum InterconnectDiagnosticsLinkOpticalPower.State extends Enum<InterconnectDiagnosticsLinkOpticalPower.State> implements com.google.protobuf.ProtocolMessageEnum
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold.Protobuf enum
google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower.State| Enum Constant and Description |
|---|
HIGH_ALARM
The value has crossed above the high alarm threshold.
|
HIGH_WARNING
The value of the current optical power has crossed above the high warning threshold.
|
LOW_ALARM
The value of the current optical power has crossed below the low alarm threshold.
|
LOW_WARNING
The value of the current optical power has crossed below the low warning threshold.
|
OK
The value of the current optical power has not crossed a warning threshold.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGH_ALARM_VALUE
The value has crossed above the high alarm threshold.
|
static int |
HIGH_WARNING_VALUE
The value of the current optical power has crossed above the high warning threshold.
|
static int |
LOW_ALARM_VALUE
The value of the current optical power has crossed below the low alarm threshold.
|
static int |
LOW_WARNING_VALUE
The value of the current optical power has crossed below the low warning threshold.
|
static int |
OK_VALUE
The value of the current optical power has not crossed a warning threshold.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InterconnectDiagnosticsLinkOpticalPower.State |
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<InterconnectDiagnosticsLinkOpticalPower.State> |
internalGetValueMap() |
static InterconnectDiagnosticsLinkOpticalPower.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InterconnectDiagnosticsLinkOpticalPower.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InterconnectDiagnosticsLinkOpticalPower.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterconnectDiagnosticsLinkOpticalPower.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterconnectDiagnosticsLinkOpticalPower.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final InterconnectDiagnosticsLinkOpticalPower.State HIGH_ALARM
The value has crossed above the high alarm threshold.
HIGH_ALARM = 305363284;public static final InterconnectDiagnosticsLinkOpticalPower.State HIGH_WARNING
The value of the current optical power has crossed above the high warning threshold.
HIGH_WARNING = 220984799;public static final InterconnectDiagnosticsLinkOpticalPower.State LOW_ALARM
The value of the current optical power has crossed below the low alarm threshold.
LOW_ALARM = 316659046;public static final InterconnectDiagnosticsLinkOpticalPower.State LOW_WARNING
The value of the current optical power has crossed below the low warning threshold.
LOW_WARNING = 338793841;public static final InterconnectDiagnosticsLinkOpticalPower.State OK
The value of the current optical power has not crossed a warning threshold.
OK = 2524;public static final InterconnectDiagnosticsLinkOpticalPower.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int HIGH_ALARM_VALUE
The value has crossed above the high alarm threshold.
HIGH_ALARM = 305363284;public static final int HIGH_WARNING_VALUE
The value of the current optical power has crossed above the high warning threshold.
HIGH_WARNING = 220984799;public static final int LOW_ALARM_VALUE
The value of the current optical power has crossed below the low alarm threshold.
LOW_ALARM = 316659046;public static final int LOW_WARNING_VALUE
The value of the current optical power has crossed below the low warning threshold.
LOW_WARNING = 338793841;public static final int OK_VALUE
The value of the current optical power has not crossed a warning threshold.
OK = 2524;public static InterconnectDiagnosticsLinkOpticalPower.State[] values()
for (InterconnectDiagnosticsLinkOpticalPower.State c : InterconnectDiagnosticsLinkOpticalPower.State.values()) System.out.println(c);
public static InterconnectDiagnosticsLinkOpticalPower.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InterconnectDiagnosticsLinkOpticalPower.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InterconnectDiagnosticsLinkOpticalPower.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InterconnectDiagnosticsLinkOpticalPower.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InterconnectDiagnosticsLinkOpticalPower.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.