Interface TableMod$G

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

    @Generated("mdsal-binding-generator")
    public interface TableMod$G
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader

    This class represents the following YANG schema fragment defined in module openflow-protocol

     grouping table-mod {
       uses ofHeader;
       leaf table-id {
         type oft:table-id;
       }
       leaf config {
         type oft:table-config;
       }
     }
     
    • 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

        Class<? extends TableMod$G> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OfHeader
      • getTableId

        TableId getTableId()
        Return tableId, or null if it is not present.
        Returns:
        TableId tableId, or null if it is not present.
      • requireTableId

        default @NonNull TableId requireTableId()
        Return tableId, guaranteed to be non-null.
        Returns:
        TableId tableId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if tableId is not present
      • getConfig

        TableConfig getConfig()
        Return config, or null if it is not present.
        Returns:
        TableConfig config, or null if it is not present.
      • requireConfig

        default @NonNull TableConfig requireConfig()
        Return config, guaranteed to be non-null.
        Returns:
        TableConfig config, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if config is not present