Class InterconnectDiagnosticsLinkOpticalPower.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
      • getDefaultInstanceForType

        public InterconnectDiagnosticsLinkOpticalPower getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public InterconnectDiagnosticsLinkOpticalPower build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public InterconnectDiagnosticsLinkOpticalPower buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
      • 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;
        Specified by:
        hasState in interface InterconnectDiagnosticsLinkOpticalPowerOrBuilder
        Returns:
        Whether the state field is set.
      • 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.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        getState in interface InterconnectDiagnosticsLinkOpticalPowerOrBuilder
        Returns:
        The state.
      • getStateBytes

        public com.google.protobuf.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;
        Specified by:
        getStateBytes in interface InterconnectDiagnosticsLinkOpticalPowerOrBuilder
        Returns:
        The bytes for state.
      • setState

        public InterconnectDiagnosticsLinkOpticalPower.Builder setState​(String value)
         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;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public InterconnectDiagnosticsLinkOpticalPower.Builder clearState()
         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:
        This builder for chaining.
      • setStateBytes

        public InterconnectDiagnosticsLinkOpticalPower.Builder setStateBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for state to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        hasValue in interface InterconnectDiagnosticsLinkOpticalPowerOrBuilder
        Returns:
        Whether the value field is set.
      • 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.
         
        optional float value = 111972721;
        Specified by:
        getValue in interface InterconnectDiagnosticsLinkOpticalPowerOrBuilder
        Returns:
        The value.
      • setValue

        public InterconnectDiagnosticsLinkOpticalPower.Builder 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.
         
        optional float value = 111972721;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public InterconnectDiagnosticsLinkOpticalPower.Builder clearValue()
         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:
        This builder for chaining.