Interface CtrlMsgStats

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    ControlMessageStats

    @Generated("mdsal-binding-generator")
    public interface CtrlMsgStats
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module odl-lisp-sb

     grouping ctrl-msg-stats {
       leaf rx-unknown {
         type int64;
       }
       leaf tx-errors {
         type int64;
       }
       list control-message {
         ordered-by user;
         leaf msg-type {
           type lisp-proto:message-type;
         }
         leaf rx-count {
           type int64;
         }
         leaf tx-count {
           type int64;
         }
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        java.lang.Class<? extends CtrlMsgStats> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRxUnknown

        java.lang.Long getRxUnknown()
        Return rxUnknown, or null if it is not present.
        Returns:
        Long rxUnknown, or null if it is not present.
      • requireRxUnknown

        default @NonNull java.lang.Long requireRxUnknown()
        Return rxUnknown, guaranteed to be non-null.
        Returns:
        Long rxUnknown, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if rxUnknown is not present
      • getTxErrors

        java.lang.Long getTxErrors()
        Return txErrors, or null if it is not present.
        Returns:
        Long txErrors, or null if it is not present.
      • requireTxErrors

        default @NonNull java.lang.Long requireTxErrors()
        Return txErrors, guaranteed to be non-null.
        Returns:
        Long txErrors, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if txErrors is not present
      • getControlMessage

        @Nullable java.util.List<ControlMessage> getControlMessage()
        Return controlMessage, or null if it is not present.
        Returns:
        List<ControlMessage> controlMessage, or null if it is not present.
      • nonnullControlMessage

        default @NonNull java.util.List<ControlMessage> nonnullControlMessage()
        Return controlMessage, or an empty list if it is not present.
        Returns:
        List<ControlMessage> controlMessage, or an empty list if it is not present.