target.apidocs.com.google.api.services.compute.model.InterconnectDiagnosticsLinkOpticalPower.html Maven / Gradle / Ivy
InterconnectDiagnosticsLinkOpticalPower (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute.model
Class InterconnectDiagnosticsLinkOpticalPower
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.InterconnectDiagnosticsLinkOpticalPower
-
public final class InterconnectDiagnosticsLinkOpticalPower
extends GenericJson
Model definition for InterconnectDiagnosticsLinkOpticalPower.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
InterconnectDiagnosticsLinkOpticalPower()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
InterconnectDiagnosticsLinkOpticalPower
clone()
String
getState()
The status of the current value when compared to the warning and alarm levels for the receiving
or transmitting transceiver.
Float
getValue()
Value of the current receiving or transmitting optical power, read in dBm.
InterconnectDiagnosticsLinkOpticalPower
set(String fieldName,
Object value)
InterconnectDiagnosticsLinkOpticalPower
setState(String state)
The status of the current value when compared to the warning and alarm levels for the receiving
or transmitting transceiver.
InterconnectDiagnosticsLinkOpticalPower
setValue(Float value)
Value of the current receiving or transmitting optical power, read in dBm.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
InterconnectDiagnosticsLinkOpticalPower
public InterconnectDiagnosticsLinkOpticalPower()
-
Method Detail
-
getState
public String 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.
- Returns:
- value or
null
for none
-
setState
public InterconnectDiagnosticsLinkOpticalPower setState(String state)
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.
- Parameters:
state
- state or null
for none
-
getValue
public Float 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.
- Returns:
- value or
null
for none
-
setValue
public InterconnectDiagnosticsLinkOpticalPower setValue(Float value)
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.
- Parameters:
value
- value or null
for none
-
set
public InterconnectDiagnosticsLinkOpticalPower set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public InterconnectDiagnosticsLinkOpticalPower clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy