Interface Bytes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Bytes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<NodeConnectorStatistics>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Bytes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<NodeConnectorStatistics>, org.opendaylight.yangtools.yang.binding.Augmentable<Bytes>

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

     container bytes {
       leaf received {
         type uint64;
       }
       leaf transmitted {
         type uint64;
       }
     }
     
    The schema path to identify an instance is opendaylight-statistics-types/node-connector-statistics/bytes

    To create instances of this class use BytesBuilder.

    See Also:
    BytesBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<Bytes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getReceived

        org.opendaylight.yangtools.yang.common.Uint64 getReceived()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 received, or null if not present
      • getTransmitted

        org.opendaylight.yangtools.yang.common.Uint64 getTransmitted()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 transmitted, or null if not present