Interface NameTlv
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
InitiationTlvs
,Tlvs
@Generated("mdsal-binding-generator")
public interface NameTlv
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bmp-message
grouping name-tlv { container name-tlv { uses tlv; leaf name { type string; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn nameTlv, ornull
if it is not present.@NonNull NameTlv
Return nameTlv, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getNameTlv
NameTlv getNameTlv()Return nameTlv, ornull
if it is not present.Type = 2: sysName. The Information field contains a ASCII string whose value MUST be set to be equal to the value of the sysName MIB-II [RFC1213] object. Inclusion of this TLV is mandatory.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.name.tlv.NameTlv
nameTlv, ornull
if it is not present.
-
nonnullNameTlv
@NonNull NameTlv nonnullNameTlv()Return nameTlv, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.name.tlv.NameTlv
nameTlv, or an empty instance if it is not present.
-