public final class InterconnectDiagnosticsLinkOpticalPower extends GeneratedMessageV3 implements InterconnectDiagnosticsLinkOpticalPowerOrBuilder
Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static InterconnectDiagnosticsLinkOpticalPower getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InterconnectDiagnosticsLinkOpticalPower.Builder newBuilder()
newBuilder(InterconnectDiagnosticsLinkOpticalPower prototype)
public static InterconnectDiagnosticsLinkOpticalPower.Builder newBuilder(InterconnectDiagnosticsLinkOpticalPower prototype)
public static InterconnectDiagnosticsLinkOpticalPower parseDelimitedFrom(InputStream input)
public static InterconnectDiagnosticsLinkOpticalPower parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(CodedInputStream input)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(InputStream input)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectDiagnosticsLinkOpticalPower parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InterconnectDiagnosticsLinkOpticalPower> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public InterconnectDiagnosticsLinkOpticalPower getDefaultInstanceForType()
getParserForType()
public Parser<InterconnectDiagnosticsLinkOpticalPower> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for state.
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InterconnectDiagnosticsLinkOpticalPower.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectDiagnosticsLinkOpticalPower.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InterconnectDiagnosticsLinkOpticalPower.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides