Interface ProtectionSubobject
- 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:
BasicProtection
,BasicProtection
,BasicProtectionObject
,DynamicControlProtection
,DynamicControlProtection
,DynamicControlProtectionObject
@Generated("mdsal-binding-generator")
public interface ProtectionSubobject
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module rsvp
grouping protection-subobject { container protection-subobject { leaf secondary { type boolean; default false; } leaf protecting { type boolean; default false; } leaf notification { type boolean; default false; } leaf operational { type boolean; default false; } leaf lsp-flag { type lsp-flag; } leaf link-flags { type link-flags; } leaf in-place { type boolean; default false; } leaf required { type boolean; default false; } leaf seg-flag { type lsp-flag; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn protectionSubobject, ornull
if it is not present.@NonNull ProtectionSubobject
Return protectionSubobject, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getProtectionSubobject
ProtectionSubobject getProtectionSubobject()Return protectionSubobject, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.subobject.ProtectionSubobject
protectionSubobject, ornull
if it is not present.
-
nonnullProtectionSubobject
@NonNull ProtectionSubobject nonnullProtectionSubobject()Return protectionSubobject, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.subobject.ProtectionSubobject
protectionSubobject, or an empty instance if it is not present.
-