public final class InterconnectDiagnosticsLinkOpticalPower extends GeneratedMessageV3 implements InterconnectDiagnosticsLinkOpticalPowerOrBuilder
Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower
Static Fields
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InterconnectDiagnosticsLinkOpticalPower getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InterconnectDiagnosticsLinkOpticalPower.Builder newBuilder()
Returns
newBuilder(InterconnectDiagnosticsLinkOpticalPower prototype)
public static InterconnectDiagnosticsLinkOpticalPower.Builder newBuilder(InterconnectDiagnosticsLinkOpticalPower prototype)
Parameter
Returns
public static InterconnectDiagnosticsLinkOpticalPower parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InterconnectDiagnosticsLinkOpticalPower parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InterconnectDiagnosticsLinkOpticalPower> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public InterconnectDiagnosticsLinkOpticalPower getDefaultInstanceForType()
Returns
getParserForType()
public Parser<InterconnectDiagnosticsLinkOpticalPower> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
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.
Check the State enum for the list of possible values.
optional string state = 109757585;
Returns
Type | Description |
String | The state.
|
getStateBytes()
public ByteString getStateBytes()
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.
Check the State enum for the list of possible values.
optional string state = 109757585;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue()
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
optional float value = 111972721;
Returns
Type | Description |
float | The value.
|
hasState()
public boolean hasState()
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.
Check the State enum for the list of possible values.
optional string state = 109757585;
Returns
Type | Description |
boolean | Whether the state field is set.
|
hasValue()
public boolean hasValue()
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
optional float value = 111972721;
Returns
Type | Description |
boolean | Whether the value field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InterconnectDiagnosticsLinkOpticalPower.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectDiagnosticsLinkOpticalPower.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InterconnectDiagnosticsLinkOpticalPower.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions