Interface Input
- 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:
AddPrefixInput
,DeletePrefixInput
@Generated("mdsal-binding-generator")
public interface Input
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-bgp-app-peer-benchmark
grouping input { leaf prefix { type inet:ipv4-prefix; } leaf count { type uint32; } leaf batchsize { type uint32; } }
-
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.Uint32
Return batchsize, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getCount()
Return count, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return prefix, ornull
if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return batchsize, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return count, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return prefix, 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
- 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
-
getPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getPrefix()Return prefix, ornull
if it is not present.IPv4 prefix
- Returns:
Ipv4Prefix
prefix, ornull
if it is not present.
-
requirePrefix
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix requirePrefix()Return prefix, guaranteed to be non-null.IPv4 prefix
- Returns:
Ipv4Prefix
prefix, guaranteed to be non-null.- Throws:
NoSuchElementException
- if prefix is not present
-
getCount
org.opendaylight.yangtools.yang.common.Uint32 getCount()Return count, ornull
if it is not present.loop count
- Returns:
Uint32
count, ornull
if it is not present.
-
requireCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireCount()Return count, guaranteed to be non-null.loop count
- Returns:
Uint32
count, guaranteed to be non-null.- Throws:
NoSuchElementException
- if count is not present
-
getBatchsize
org.opendaylight.yangtools.yang.common.Uint32 getBatchsize()Return batchsize, ornull
if it is not present.batchsize
- Returns:
Uint32
batchsize, ornull
if it is not present.
-
requireBatchsize
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBatchsize()Return batchsize, guaranteed to be non-null.batchsize
- Returns:
Uint32
batchsize, guaranteed to be non-null.- Throws:
NoSuchElementException
- if batchsize is not present
-