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:
AddPrefixInput, DeletePrefixInput

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

This class represents the following YANG schema fragment defined in module odl-bgp-app-peer-benchmark

 grouping input {
   leaf prefix {
     type inet:ipv4-prefix;
   }
   leaf count {
     type uint32;
   }
   leaf batchsize {
     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
    org.opendaylight.yangtools.yang.common.Uint32
    Return batchsize, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return count, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
    Return prefix, or null if it is not present.
    Class<? extends Input>
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return batchsize, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return count, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
    Return prefix, 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 Input> 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
    • getPrefix

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getPrefix()
      Return prefix, or null if it is not present.
           
               IPv4 prefix
           
       
      Returns:
      Ipv4Prefix prefix, or null if it is not present.
    • requirePrefix

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix requirePrefix()
      Return prefix, guaranteed to be non-null.
           
               IPv4 prefix
           
       
      Returns:
      Ipv4Prefix prefix, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if prefix is not present
    • getCount

      org.opendaylight.yangtools.yang.common.Uint32 getCount()
      Return count, or null if it is not present.
           
               loop count
           
       
      Returns:
      Uint32 count, or null if it is not present.
    • requireCount

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

      org.opendaylight.yangtools.yang.common.Uint32 getBatchsize()
      Return batchsize, or null if it is not present.
           
               batchsize
           
       
      Returns:
      Uint32 batchsize, or null if it is not present.
    • requireBatchsize

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