All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
FlowLabel

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

This class represents the following YANG schema fragment defined in module bgp-flowspec

 grouping flow-label-value {
   leaf op {
     type numeric-operand;
   }
   leaf value {
     type uint32;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return op, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return value, or null if it is not present.
     
    default @NonNull NumericOperand
    Return op, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return value, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends FlowLabelValue> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getOp

      Return op, or null if it is not present.
      Returns:
      NumericOperand op, or null if it is not present.
    • requireOp

      default @NonNull NumericOperand requireOp()
      Return op, guaranteed to be non-null.
      Returns:
      NumericOperand op, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if op is not present
    • getValue

      org.opendaylight.yangtools.yang.common.Uint32 getValue()
      Return value, or null if it is not present.
      Returns:
      Uint32 value, or null if it is not present.
    • requireValue

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireValue()
      Return value, guaranteed to be non-null.
      Returns:
      Uint32 value, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if value is not present