public final class InterconnectDiagnosticsLinkOpticalPower extends GeneratedMessage implements InterconnectDiagnosticsLinkOpticalPowerOrBuilder
Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InterconnectDiagnosticsLinkOpticalPower.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InterconnectDiagnosticsLinkOpticalPower.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public InterconnectDiagnosticsLinkOpticalPower.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides