Interface MeterBandCommons
- 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:
MeterBandDrop
,MeterBandDscpRemark
,MeterBandExperimenter
@Generated("mdsal-binding-generator")
public interface MeterBandCommons
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping meter-band-commons { leaf type { type oft:meter-band-type; } leaf rate { type uint32; } leaf burst-size { type uint32; } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
Return burstSize, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getRate()
Return rate, ornull
if it is not present.getType()
Return type, ornull
if it is not present.Class<? extends MeterBandCommons>
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return burstSize, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return rate, guaranteed to be non-null.default @NonNull MeterBandType
Return type, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends MeterBandCommons> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
MeterBandType getType()Return type, ornull
if it is not present.- Returns:
MeterBandType
type, ornull
if it is not present.
-
requireType
Return type, guaranteed to be non-null.- Returns:
MeterBandType
type, guaranteed to be non-null.- Throws:
NoSuchElementException
- if type is not present
-
getRate
org.opendaylight.yangtools.yang.common.Uint32 getRate()Return rate, ornull
if it is not present.- Returns:
Uint32
rate, ornull
if it is not present.
-
requireRate
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRate()Return rate, guaranteed to be non-null.- Returns:
Uint32
rate, guaranteed to be non-null.- Throws:
NoSuchElementException
- if rate is not present
-
getBurstSize
org.opendaylight.yangtools.yang.common.Uint32 getBurstSize()Return burstSize, ornull
if it is not present.- Returns:
Uint32
burstSize, ornull
if it is not present.
-
requireBurstSize
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBurstSize()Return burstSize, guaranteed to be non-null.- Returns:
Uint32
burstSize, guaranteed to be non-null.- Throws:
NoSuchElementException
- if burstSize is not present
-