Class MplsProtocolMask
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.linkstate.rev200120.MplsProtocolMask
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.BitsTypeObject,org.opendaylight.yangtools.binding.TypeObject
@Generated("mdsal-binding-generator")
public class MplsProtocolMask
extends Object
implements org.opendaylight.yangtools.binding.BitsTypeObject, Serializable
This class represents the following YANG schema fragment defined in module bgp-linkstate
typedef mpls-protocol-mask {
type bits {
bit ldp {
position 0;
}
bit rsvpte {
position 1;
}
}
}
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableSet<String> -
Constructor Summary
ConstructorsConstructorDescriptionMplsProtocolMask(boolean _ldp, boolean _rsvpte) MplsProtocolMask(MplsProtocolMask source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanstatic MplsProtocolMaskgetDefaultInstance(String defaultValue) booleangetLdp()booleaninthashCode()toString()com.google.common.collect.ImmutableSet<String> boolean[]values()
-
Field Details
-
VALID_NAMES
-
-
Constructor Details
-
MplsProtocolMask
public MplsProtocolMask(boolean _ldp, boolean _rsvpte) -
MplsProtocolMask
Creates a copy from Source Object.- Parameters:
source- Source object
-
-
Method Details
-
getDefaultInstance
-
getLdp
public boolean getLdp() -
getRsvpte
public boolean getRsvpte() -
validNames
- Specified by:
validNamesin interfaceorg.opendaylight.yangtools.binding.BitsTypeObject
-
values
public boolean[] values()- Specified by:
valuesin interfaceorg.opendaylight.yangtools.binding.BitsTypeObject
-
hashCode
public int hashCode() -
equals
-
toString
-