All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, CLabel, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
GeneralizedLabel

@Generated("mdsal-binding-generator") public interface GeneralizedLabel extends org.opendaylight.yangtools.binding.Grouping, CLabel

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

 grouping generalized-label {
   uses c-label;
   leaf generalized-label {
     type binary;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Return generalizedLabel, or null if it is not present.
    default byte @NonNull []
    Return generalizedLabel, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getGeneralizedLabel

      byte[] getGeneralizedLabel()
      Return generalizedLabel, or null if it is not present.
      Returns:
      byte[] generalizedLabel, or null if it is not present.
    • requireGeneralizedLabel

      default byte @NonNull [] requireGeneralizedLabel()
      Return generalizedLabel, guaranteed to be non-null.
      Returns:
      byte[] generalizedLabel, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if generalizedLabel is not present