Interface Icmpv4MatchFields
- 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:
Icmpv4Match
@Generated("mdsal-binding-generator")
public interface Icmpv4MatchFields
extends org.opendaylight.yangtools.yang.binding.DataObject
ICMP code.
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping icmpv4-match-fields { leaf icmpv4-type { type uint8; } leaf icmpv4-code { type uint8; } }
-
Field Summary
Modifier 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.Uint8
Return icmpv4Code, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return icmpv4Type, ornull
if it is not present.Class<? extends Icmpv4MatchFields>
default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return icmpv4Code, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return icmpv4Type, 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 Icmpv4MatchFields> 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
-
getIcmpv4Type
org.opendaylight.yangtools.yang.common.Uint8 getIcmpv4Type()Return icmpv4Type, ornull
if it is not present.ICMP type.
- Returns:
Uint8
icmpv4Type, ornull
if it is not present.
-
requireIcmpv4Type
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireIcmpv4Type()Return icmpv4Type, guaranteed to be non-null.ICMP type.
- Returns:
Uint8
icmpv4Type, guaranteed to be non-null.- Throws:
NoSuchElementException
- if icmpv4Type is not present
-
getIcmpv4Code
org.opendaylight.yangtools.yang.common.Uint8 getIcmpv4Code()Return icmpv4Code, ornull
if it is not present.- Returns:
Uint8
icmpv4Code, ornull
if it is not present.
-
requireIcmpv4Code
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireIcmpv4Code()Return icmpv4Code, guaranteed to be non-null.- Returns:
Uint8
icmpv4Code, guaranteed to be non-null.- Throws:
NoSuchElementException
- if icmpv4Code is not present
-