All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<StartTestInput>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.RpcInput

@Generated("mdsal-binding-generator") public interface StartTestInput extends org.opendaylight.yangtools.binding.RpcInput, org.opendaylight.yangtools.binding.Augmentable<StartTestInput>

This class represents the following YANG schema fragment defined in module ntfbenchmark

 input input {
   leaf producer-type {
     type enumeration {
       enum BLOCKING {
         value 1;
       }
       enum DROPPING {
         value 2;
       }
     }
   }
   leaf producers {
     type uint32;
     default 1;
   }
   leaf listeners {
     type uint32;
     default 1;
   }
   leaf payload-size {
     type uint32;
     default 1;
   }
   leaf iterations {
     type uint32;
     default 1;
   }
 }
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    This class represents the following YANG schema fragment defined in module ntfbenchmark
  • 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
    static boolean
    bindingEquals(@NonNull StartTestInput thisObj, Object obj)
    Default implementation of Object.equals(Object) contract for this interface.
    static int
    Default implementation of Object.hashCode() contract for this interface.
    static String
    Default implementation of Object.toString() contract for this interface.
    org.opendaylight.yangtools.yang.common.Uint32
    Return iterations, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return listeners, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return payloadSize, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return producers, or null if it is not present.
    Return producerType, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return iterations, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return listeners, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return payloadSize, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return producers, guaranteed to be non-null.
    Return producerType, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable

    augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
  • 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

      default Class<StartTestInput> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.RpcInput
    • bindingHashCode

      static int bindingHashCode(@NonNull StartTestInput obj)
      Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
      Parameters:
      obj - Object for which to generate hashCode() result.
      Returns:
      Hash code value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • bindingEquals

      static boolean bindingEquals(@NonNull StartTestInput thisObj, Object obj)
      Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
      Parameters:
      thisObj - Object acting as the receiver of equals invocation
      obj - Object acting as argument to equals invocation
      Returns:
      True if thisObj and obj are considered equal
      Throws:
      NullPointerException - if thisObj is null
    • bindingToString

      static String bindingToString(@NonNull StartTestInput obj)
      Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
      Parameters:
      obj - Object for which to generate toString() result.
      Returns:
      String value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • getProducerType

      StartTestInput.ProducerType getProducerType()
      Return producerType, or null if it is not present.
           
               RPC type and client type to use in the test
           
       
      Returns:
      ProducerType producerType, or null if it is not present.
    • requireProducerType

      default @NonNull StartTestInput.ProducerType requireProducerType()
      Return producerType, guaranteed to be non-null.
           
               RPC type and client type to use in the test
           
       
      Returns:
      ProducerType producerType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if producerType is not present
    • getProducers

      org.opendaylight.yangtools.yang.common.Uint32 getProducers()
      Return producers, or null if it is not present.
           
               Number of notification producers (test client threads) to start
           
       
      Returns:
      Uint32 producers, or null if it is not present.
    • requireProducers

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireProducers()
      Return producers, guaranteed to be non-null.
           
               Number of notification producers (test client threads) to start
           
       
      Returns:
      Uint32 producers, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if producers is not present
    • getListeners

      org.opendaylight.yangtools.yang.common.Uint32 getListeners()
      Return listeners, or null if it is not present.
           
               Number of notification listener instances
           
       
      Returns:
      Uint32 listeners, or null if it is not present.
    • requireListeners

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireListeners()
      Return listeners, guaranteed to be non-null.
           
               Number of notification listener instances
           
       
      Returns:
      Uint32 listeners, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if listeners is not present
    • getPayloadSize

      org.opendaylight.yangtools.yang.common.Uint32 getPayloadSize()
      Return payloadSize, or null if it is not present.
           
               Notification payload size: number of elements in the list of integers that is
               the notification payload
           
       
      Returns:
      Uint32 payloadSize, or null if it is not present.
    • requirePayloadSize

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requirePayloadSize()
      Return payloadSize, guaranteed to be non-null.
           
               Notification payload size: number of elements in the list of integers that is
               the notification payload
           
       
      Returns:
      Uint32 payloadSize, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if payloadSize is not present
    • getIterations

      org.opendaylight.yangtools.yang.common.Uint32 getIterations()
      Return iterations, or null if it is not present.
           
               Number of notifications to generate in each client thread
           
       
      Returns:
      Uint32 iterations, or null if it is not present.
    • requireIterations

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireIterations()
      Return iterations, guaranteed to be non-null.
           
               Number of notifications to generate in each client thread
           
       
      Returns:
      Uint32 iterations, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if iterations is not present