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:
Icmpv4Match

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

This class represents the following YANG schema fragment defined in module opendaylight-match-types

 grouping icmpv4-match-fields {
   leaf icmpv4-type {
     type uint8;
   }
   leaf icmpv4-code {
     type uint8;
   }
 }
 
  • 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
    org.opendaylight.yangtools.yang.common.Uint8
    Return icmpv4Code, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return icmpv4Type, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return icmpv4Code, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return icmpv4Type, 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 Icmpv4MatchFields> 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
    • getIcmpv4Type

      org.opendaylight.yangtools.yang.common.Uint8 getIcmpv4Type()
      Return icmpv4Type, or null if it is not present.
           
               ICMP type.
           
       
      Returns:
      Uint8 icmpv4Type, or null if it is not present.
    • requireIcmpv4Type

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireIcmpv4Type()
      Return icmpv4Type, guaranteed to be non-null.
           
               ICMP type.
           
       
      Returns:
      Uint8 icmpv4Type, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if icmpv4Type is not present
    • getIcmpv4Code

      org.opendaylight.yangtools.yang.common.Uint8 getIcmpv4Code()
      Return icmpv4Code, or null if it is not present.
      Returns:
      Uint8 icmpv4Code, or null if it is not present.
    • requireIcmpv4Code

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