Remove legacy NormalizedNode serialization classes 39/47639/3
authorTom Pantelis <tpanteli@brocade.com>
Wed, 26 Oct 2016 18:55:01 +0000 (14:55 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 27 Oct 2016 01:28:12 +0000 (21:28 -0400)
Removed the pre-Lithium protobuff-based NormalizedNode classes and
related classes as they are no longer used.

Change-Id: I6ae34c9f3778f31bfa26cb4b6d30f3f3eb1f6fc8
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
38 files changed:
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/NormalizedNodeToNodeCodec.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/AugmentationIdentifierGenerator.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactory.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierGenerator.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierWithPredicatesGenerator.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierWithValueGenerator.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NormalizedNodeGetter.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtils.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeDeSerializationContext.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializationContext.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializer.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeType.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentSerializer.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentType.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameDeSerializationContext.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameDeSerializationContextImpl.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameSerializationContext.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameSerializationContextImpl.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueSerializer.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueType.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/util/InstanceIdentifierUtils.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/resources/Cohort.proto [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/resources/Common.proto [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/resources/Persistent.proto [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/resources/ShardTransaction.proto [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/main/resources/ShardTransactionChain.proto [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/NormalizedNodeToNodeCodecTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializerTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentSerializerTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueSerializerTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueTypeTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/util/InstanceIdentifierUtilsTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/AbstractMessagesTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessagesTest.java [deleted file]
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/xml/codec/XmlUtilsTest.java [deleted file]

diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/NormalizedNodeToNodeCodec.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/NormalizedNodeToNodeCodec.java
deleted file mode 100644 (file)
index 8ca0e76..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node;
-
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeSerializer;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeSerializer.DeSerializer;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeSerializer.Serializer;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-
-public class NormalizedNodeToNodeCodec {
-    public interface Encoded {
-        NormalizedNodeMessages.Container getEncodedNode();
-
-        NormalizedNodeMessages.InstanceIdentifier getEncodedPath();
-    }
-
-    public interface Decoded {
-        NormalizedNode<?,?> getDecodedNode();
-
-        YangInstanceIdentifier getDecodedPath();
-    }
-
-    public NormalizedNodeToNodeCodec() {
-    }
-
-    public NormalizedNodeMessages.Container encode(NormalizedNode<?,?> node) {
-        return encode(null, node).getEncodedNode();
-    }
-
-    public Encoded encode(YangInstanceIdentifier path, NormalizedNode<?,?> node) {
-
-        NormalizedNodeMessages.InstanceIdentifier serializedPath = null;
-
-        NormalizedNodeMessages.Container.Builder builder = NormalizedNodeMessages.Container.newBuilder();
-
-        // Note: parent path is no longer used
-        builder.setParentPath("");
-
-        if (node != null) {
-            if (path == null) {
-                builder.setNormalizedNode(NormalizedNodeSerializer.serialize(node));
-            } else {
-                Serializer serializer = NormalizedNodeSerializer.newSerializer(node);
-                builder.setNormalizedNode(serializer.serialize(path));
-                serializedPath = serializer.getSerializedPath();
-            }
-        }
-
-        return new EncodedImpl(builder.build(), serializedPath);
-    }
-
-
-    public NormalizedNode<?,?> decode(NormalizedNodeMessages.Node node) {
-        return decode(null, node).getDecodedNode();
-    }
-
-    public Decoded decode(NormalizedNodeMessages.InstanceIdentifier path,
-            NormalizedNodeMessages.Node node) {
-        if (node.getIntType() < 0 || node.getSerializedSize() == 0) {
-            return new DecodedImpl(null, null);
-        }
-
-        DeSerializer deSerializer = NormalizedNodeSerializer.newDeSerializer(path, node);
-        NormalizedNode<?,?> decodedNode = deSerializer.deSerialize();
-        return new DecodedImpl(decodedNode, deSerializer.getDeserializedPath());
-    }
-
-    private static class DecodedImpl implements Decoded {
-
-        private final NormalizedNode<?, ?> decodedNode;
-        private final YangInstanceIdentifier decodedPath;
-
-        DecodedImpl(NormalizedNode<?, ?> decodedNode, YangInstanceIdentifier decodedPath) {
-            this.decodedNode = decodedNode;
-            this.decodedPath = decodedPath;
-        }
-
-        @Override
-        public NormalizedNode<?, ?> getDecodedNode() {
-            return decodedNode;
-        }
-
-        @Override
-        public YangInstanceIdentifier getDecodedPath() {
-            return decodedPath;
-        }
-    }
-
-    private static class EncodedImpl implements Encoded {
-
-        private final Container encodedNode;
-        private final InstanceIdentifier encodedPath;
-
-        EncodedImpl(Container encodedNode, InstanceIdentifier encodedPath) {
-            this.encodedNode = encodedNode;
-            this.encodedPath = encodedPath;
-        }
-
-        @Override
-        public Container getEncodedNode() {
-            return encodedNode;
-        }
-
-        @Override
-        public InstanceIdentifier getEncodedPath() {
-            return encodedPath;
-        }
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/AugmentationIdentifierGenerator.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/AugmentationIdentifierGenerator.java
deleted file mode 100644 (file)
index a0a2d04..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import com.google.common.base.Splitter;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class AugmentationIdentifierGenerator {
-    private static final Pattern PATTERN =
-            Pattern.compile("AugmentationIdentifier\\Q{\\EchildNames=\\Q[\\E(.*)\\Q]}\\E");
-    private static final Splitter COMMA_SPLITTER = Splitter.on(',').trimResults();
-
-    private final String id;
-    private final Matcher matcher;
-    private final boolean doesMatch;
-
-    public AugmentationIdentifierGenerator(String id) {
-        this.id = id;
-        matcher = PATTERN.matcher(this.id);
-        doesMatch = matcher.matches();
-    }
-
-    public boolean matches() {
-        return doesMatch;
-    }
-
-    public YangInstanceIdentifier.AugmentationIdentifier getPathArgument() {
-        final String childQNames = matcher.group(1);
-
-        final Set<QName> childNames = new HashSet<>();
-        for (String name : COMMA_SPLITTER.split(childQNames)) {
-            childNames.add(QNameFactory.create(name));
-        }
-
-        return new YangInstanceIdentifier.AugmentationIdentifier(childNames);
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactory.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactory.java
deleted file mode 100644 (file)
index acfb05f..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
-
-public class NodeIdentifierFactory {
-    private static final Map<String, YangInstanceIdentifier.PathArgument> CACHE = new HashMap<>();
-
-    public static YangInstanceIdentifier.PathArgument getArgument(String id) {
-        YangInstanceIdentifier.PathArgument value = CACHE.get(id);
-        if (value == null) {
-            synchronized (CACHE) {
-                value = CACHE.get(id);
-                if (value == null) {
-                    value = createPathArgument(id, null);
-                    CACHE.put(id, value);
-                }
-            }
-        }
-        return value;
-    }
-
-    public static YangInstanceIdentifier.PathArgument createPathArgument(String id, DataSchemaNode schemaNode) {
-        final NodeIdentifierWithPredicatesGenerator
-            nodeIdentifierWithPredicatesGenerator = new NodeIdentifierWithPredicatesGenerator(id, schemaNode);
-        if (nodeIdentifierWithPredicatesGenerator.matches()) {
-            return nodeIdentifierWithPredicatesGenerator.getPathArgument();
-        }
-
-        final NodeIdentifierWithValueGenerator
-            nodeWithValueGenerator = new NodeIdentifierWithValueGenerator(id, schemaNode);
-        if (nodeWithValueGenerator.matches()) {
-            return nodeWithValueGenerator.getPathArgument();
-        }
-
-        final AugmentationIdentifierGenerator augmentationIdentifierGenerator = new AugmentationIdentifierGenerator(id);
-        if (augmentationIdentifierGenerator.matches()) {
-            return augmentationIdentifierGenerator.getPathArgument();
-        }
-
-        return new NodeIdentifierGenerator(id).getArgument();
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierGenerator.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierGenerator.java
deleted file mode 100644 (file)
index b10d834..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class NodeIdentifierGenerator {
-    private final QName qname;
-
-    public NodeIdentifierGenerator(String id) {
-        this.qname = QNameFactory.create(id);
-    }
-
-    public YangInstanceIdentifier.PathArgument getArgument() {
-        return new YangInstanceIdentifier.NodeIdentifier(qname);
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierWithPredicatesGenerator.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierWithPredicatesGenerator.java
deleted file mode 100644 (file)
index fa9783b..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec;
-import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
-import org.opendaylight.yangtools.yang.model.api.LeafSchemaNode;
-import org.opendaylight.yangtools.yang.model.api.ListSchemaNode;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class NodeIdentifierWithPredicatesGenerator {
-    private static final Logger LOG = LoggerFactory.getLogger(NodeIdentifierWithPredicatesGenerator.class);
-    private static final Pattern PATTERN = Pattern.compile("(.*)\\Q[{\\E(.*)\\Q}]\\E");
-
-    private final String id;
-    private final Matcher matcher;
-    private final boolean doesMatch;
-    private final ListSchemaNode listSchemaNode;
-
-    public NodeIdentifierWithPredicatesGenerator(String id, DataSchemaNode schemaNode) {
-        this.id = id;
-        matcher = PATTERN.matcher(this.id);
-        doesMatch = matcher.matches();
-
-        if (schemaNode instanceof  ListSchemaNode) {
-            this.listSchemaNode = (ListSchemaNode) schemaNode;
-        } else {
-            this.listSchemaNode = null;
-        }
-    }
-
-
-    public boolean matches() {
-        return doesMatch;
-    }
-
-    public YangInstanceIdentifier.NodeIdentifierWithPredicates getPathArgument() {
-        final String group = matcher.group(2);
-        final String[] keyValues = group.split(",");
-        Map<QName, Object> nameValues = new HashMap<>();
-
-        for (String keyValue : keyValues) {
-            int eqIndex = keyValue.lastIndexOf('=');
-            try {
-                final QName key = QNameFactory
-                    .create(keyValue.substring(0, eqIndex));
-                nameValues.put(key, getValue(key, keyValue.substring(eqIndex + 1)));
-            } catch (IllegalArgumentException e) {
-                LOG.error("Error processing identifier {}", id, e);
-                throw e;
-            }
-        }
-
-        return new YangInstanceIdentifier.NodeIdentifierWithPredicates(
-                QNameFactory.create(matcher.group(1)), nameValues);
-    }
-
-
-    private Object getValue(QName key, String value) {
-        if (listSchemaNode != null) {
-            for (DataSchemaNode node : listSchemaNode.getChildNodes()) {
-                if (node instanceof LeafSchemaNode && node.getQName().equals(key)) {
-                    return TypeDefinitionAwareCodec.from(LeafSchemaNode.class.cast(node).getType()).deserialize(value);
-                }
-            }
-        }
-        return value;
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierWithValueGenerator.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierWithValueGenerator.java
deleted file mode 100644 (file)
index 6ecf905..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec;
-import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
-import org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode;
-
-public class NodeIdentifierWithValueGenerator {
-    private static final Pattern PATTERN = Pattern.compile("(.*)\\Q[\\E(.*)\\Q]\\E");
-
-    private final String id;
-    private final DataSchemaNode schemaNode;
-    private final Matcher matcher;
-    private final boolean doesMatch;
-
-    public NodeIdentifierWithValueGenerator(String id, DataSchemaNode schemaNode) {
-        this.id = id;
-        this.schemaNode = schemaNode;
-        matcher = PATTERN.matcher(this.id);
-        doesMatch = matcher.matches();
-    }
-
-    public boolean matches() {
-        return doesMatch;
-    }
-
-    public YangInstanceIdentifier.PathArgument getPathArgument() {
-        final String name = matcher.group(1);
-        final String value = matcher.group(2);
-
-        return new YangInstanceIdentifier.NodeWithValue<>(QNameFactory.create(name), getValue(value));
-    }
-
-    private Object getValue(String value) {
-        if (schemaNode != null) {
-            if (schemaNode instanceof LeafListSchemaNode) {
-                return TypeDefinitionAwareCodec.from(LeafListSchemaNode.class.cast(schemaNode).getType())
-                        .deserialize(value);
-
-            }
-        }
-        return value;
-    }
-
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NormalizedNodeGetter.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NormalizedNodeGetter.java
deleted file mode 100644 (file)
index e2085e6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import com.google.common.base.Preconditions;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-
-public class NormalizedNodeGetter implements
-    NormalizedNodeVisitor {
-    private final String path;
-    NormalizedNode<?, ?> output;
-
-    public NormalizedNodeGetter(String path) {
-        Preconditions.checkNotNull(path);
-        this.path = path;
-    }
-
-    @Override
-    public void visitNode(int level, String parentPath, NormalizedNode<?, ?> normalizedNode) {
-        String nodePath = parentPath + "/" + PathUtils.toString(normalizedNode.getIdentifier());
-
-        if (nodePath.equals(path)) {
-            output = normalizedNode;
-        }
-    }
-
-    public NormalizedNode<?, ?> getOutput() {
-        return output;
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtils.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtils.java
deleted file mode 100644 (file)
index 588fc64..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import com.google.common.base.Splitter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
-
-public class PathUtils {
-    private static final Splitter SLASH_SPLITTER = Splitter.on('/').omitEmptyStrings();
-
-    /**
-     * Given a serialized string version of a YangInstanceIdentifier convert
-     * to a YangInstanceIdentifier.
-     *
-     * @param path the path
-     * @return a YangInstanceIdentifier
-     */
-    public static YangInstanceIdentifier toYangInstanceIdentifier(String path) {
-        List<PathArgument> pathArguments = new ArrayList<>();
-        for (String segment : SLASH_SPLITTER.split(path)) {
-            pathArguments.add(NodeIdentifierFactory.getArgument(segment));
-        }
-        return YangInstanceIdentifier.create(pathArguments);
-    }
-
-    /**
-     * Given a YangInstanceIdentifier return a serialized version of the same
-     * as a String.
-     *
-     * @param path the path
-     * @return the path as a String
-     */
-    public static String toString(YangInstanceIdentifier path) {
-        final Iterator<PathArgument> it = path.getPathArguments().iterator();
-        if (!it.hasNext()) {
-            return "";
-        }
-
-        final StringBuilder sb = new StringBuilder();
-        for (;;) {
-            sb.append(toString(it.next()));
-            if (!it.hasNext()) {
-                break;
-            }
-            sb.append('/');
-        }
-
-        return sb.toString();
-    }
-
-    /**
-     * Given a YangInstanceIdentifier.PathArgument return a serialized version
-     * of the same as a String.
-     *
-     * @param pathArgument the path argument
-     * @return the path argument as a String
-     */
-    public static String toString(PathArgument pathArgument) {
-        if (pathArgument instanceof NodeIdentifier) {
-            return toString((NodeIdentifier) pathArgument);
-        } else if (pathArgument instanceof AugmentationIdentifier) {
-            return toString((AugmentationIdentifier) pathArgument);
-        } else if (pathArgument instanceof NodeWithValue) {
-            return toString((NodeWithValue<?>) pathArgument);
-        } else if (pathArgument instanceof NodeIdentifierWithPredicates) {
-            return toString((NodeIdentifierWithPredicates) pathArgument);
-        }
-
-        return pathArgument.toString();
-    }
-
-    private static String toString(NodeIdentifier pathArgument) {
-        return pathArgument.getNodeType().toString();
-    }
-
-    private static String toString(AugmentationIdentifier pathArgument) {
-        Set<QName> childNames = pathArgument.getPossibleChildNames();
-        final StringBuilder sb = new StringBuilder("AugmentationIdentifier{");
-        sb.append("childNames=").append(childNames).append('}');
-        return sb.toString();
-
-    }
-
-    private static String toString(NodeWithValue<?> pathArgument) {
-        return pathArgument.getNodeType().toString() + "[" + pathArgument.getValue() + "]";
-    }
-
-    private static String toString(NodeIdentifierWithPredicates pathArgument) {
-        return pathArgument.getNodeType().toString() + '[' + pathArgument.getKeyValues() + ']';
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeDeSerializationContext.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeDeSerializationContext.java
deleted file mode 100644 (file)
index f072a61..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-/**
- * NormalizedNodeDeSerializationContext provides methods which help in decoding
- * certain components of a NormalizedNode properly.
- */
-
-public interface NormalizedNodeDeSerializationContext {
-    String getNamespace(int namespace);
-
-    String getRevision(int revision);
-
-    String getLocalName(int localName);
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializationContext.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializationContext.java
deleted file mode 100644 (file)
index d62cc8d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-/**
- * NormalizedNodeSerializationContext provides methods which help in encoding
- * certain components of a NormalizedNode properly.
- */
-public interface NormalizedNodeSerializationContext {
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializer.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializer.java
deleted file mode 100644 (file)
index 84c2ae5..0000000
+++ /dev/null
@@ -1,382 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.ANY_XML_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.AUGMENTATION_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.CHOICE_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.CONTAINER_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.LEAF_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.LEAF_SET_ENTRY_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.LEAF_SET_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.MAP_ENTRY_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.MAP_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.ORDERED_LEAF_SET_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.ORDERED_MAP_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.UNKEYED_LIST_ENTRY_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.UNKEYED_LIST_NODE_TYPE;
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeType.getSerializableNodeType;
-
-import com.google.common.base.Preconditions;
-import com.google.common.collect.Maps;
-import java.util.EnumMap;
-import java.util.Map;
-import javax.xml.transform.dom.DOMSource;
-import org.opendaylight.controller.cluster.datastore.util.InstanceIdentifierUtils;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
-import org.opendaylight.yangtools.yang.data.api.schema.AnyXmlNode;
-import org.opendaylight.yangtools.yang.data.api.schema.AugmentationNode;
-import org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode;
-import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
-import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
-import org.opendaylight.yangtools.yang.data.api.schema.LeafNode;
-import org.opendaylight.yangtools.yang.data.api.schema.LeafSetEntryNode;
-import org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-import org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListEntryNode;
-import org.opendaylight.yangtools.yang.data.impl.schema.Builders;
-import org.opendaylight.yangtools.yang.data.impl.schema.builder.api.CollectionNodeBuilder;
-import org.opendaylight.yangtools.yang.data.impl.schema.builder.api.DataContainerNodeAttrBuilder;
-import org.opendaylight.yangtools.yang.data.impl.schema.builder.api.DataContainerNodeBuilder;
-import org.opendaylight.yangtools.yang.data.impl.schema.builder.api.ListNodeBuilder;
-import org.opendaylight.yangtools.yang.data.impl.schema.builder.api.NormalizedNodeAttrBuilder;
-
-/**
- * NormalizedNodeSerializer can be used to convert a Normalized node to and and
- * from a protocol buffer message.
- *
- *
- */
-public class NormalizedNodeSerializer {
-
-    /**
-     * Serialize a NormalizedNode into a protocol buffer message
-     * <p/>
-     * The significant things to be aware of the Serialization process are
-     * <ul>
-     *     <li>Repeated strings like namespaces, revisions and localNames are
-     *     compressed to codes and stored in the top level of the normalized
-     *     node protocol buffer message
-     *     </li>
-     *     <li>All value types are encoded for each leaf value. This is so that
-     *     the deSerialization process does not need to use the schema context to
-     *     figure out how to decode values
-     *     </li>
-     * </ul>
-     * One question which may arise is why not use something like gzip to
-     * compress the protocol buffer message instead of rolling our own
-     * encoding scheme. This has to be explored further as it is a more
-     * general solution.
-     *
-     * @param node the node
-     * @return a NormalizedNodeMessages.Node
-     */
-    public static NormalizedNodeMessages.Node serialize(final NormalizedNode<?, ?> node) {
-        Preconditions.checkNotNull(node, "node should not be null");
-        return new Serializer(node).serialize();
-    }
-
-    public static Serializer newSerializer(final NormalizedNode<?, ?> node) {
-        Preconditions.checkNotNull(node, "node should not be null");
-        return new Serializer(node);
-    }
-
-    /**
-     * DeSerialize a protocol buffer message back into a NormalizedNode.
-     *
-     * @param node the node
-     * @return a NormalizedNode
-     */
-    public static NormalizedNode<?, ?> deSerialize(final NormalizedNodeMessages.Node node) {
-        Preconditions.checkNotNull(node, "node should not be null");
-        return new DeSerializer(null, node).deSerialize();
-    }
-
-    /**
-     * DeSerialize a PathArgument which is in the protocol buffer format into
-     * a yang PathArgument. The protocol buffer path argument is specially
-     * encoded and can only be interpreted in the context of a top level
-     * serialized NormalizedNode protocol buffer message. The reason for this
-     * is that during the NormalizedNode serialization process certain repeated
-     * strings are encoded into a "codes" list and the actual strings are
-     * replaced by an integer which is an index into that list.
-     */
-    public static YangInstanceIdentifier.PathArgument deSerialize(final NormalizedNodeMessages.Node node,
-            final NormalizedNodeMessages.PathArgument pathArgument) {
-        Preconditions.checkNotNull(node, "node should not be null");
-        Preconditions.checkNotNull(pathArgument, "pathArgument should not be null");
-        return new DeSerializer(null, node).deSerialize(pathArgument);
-    }
-
-    public static DeSerializer newDeSerializer(final NormalizedNodeMessages.InstanceIdentifier path,
-            final NormalizedNodeMessages.Node node) {
-        Preconditions.checkNotNull(node, "node should not be null");
-        return new DeSerializer(path, node);
-    }
-
-    public static class Serializer extends QNameSerializationContextImpl
-                                   implements NormalizedNodeSerializationContext {
-
-        private final NormalizedNode<?, ?> node;
-
-        private NormalizedNodeMessages.InstanceIdentifier serializedPath;
-
-        private Serializer(final NormalizedNode<?, ?> node) {
-            this.node = node;
-        }
-
-        public NormalizedNodeMessages.InstanceIdentifier getSerializedPath() {
-            return serializedPath;
-        }
-
-        public NormalizedNodeMessages.Node serialize() {
-            return this.serialize(node).addAllCode(getCodes()).build();
-        }
-
-        public NormalizedNodeMessages.Node serialize(final YangInstanceIdentifier path) {
-            Builder builder = serialize(node);
-            serializedPath = InstanceIdentifierUtils.toSerializable(path, this);
-            return builder.addAllCode(getCodes()).build();
-        }
-
-        private NormalizedNodeMessages.Node.Builder serialize(final NormalizedNode<?, ?> fromNode) {
-            NormalizedNodeMessages.Node.Builder builder =
-                NormalizedNodeMessages.Node.newBuilder();
-
-            builder.setPathArgument(PathArgumentSerializer.serialize(this, fromNode.getIdentifier()));
-            Integer nodeType = getSerializableNodeType(fromNode).ordinal();
-            builder.setIntType(nodeType);
-            Object value = fromNode.getValue();
-
-            // We need to do a specific check of the type of the node here
-            // because if we looked at the value type alone we will not be
-            // able to distinguish if the value was supposed to be added
-            // as a child or whether the value should be added as a value of the
-            // node.
-            // One use case where this check is necessary when you have a node
-            // with a bits value. In that case the value of the node is a Set
-            // which is also a Collection. Without the following check being
-            // done first the code would flow into the Collection if condition
-            // and the Set would be added as child nodes
-            if (nodeType == NormalizedNodeType.LEAF_NODE_TYPE.ordinal()
-                    || nodeType == NormalizedNodeType.LEAF_SET_ENTRY_NODE_TYPE.ordinal()) {
-
-                ValueSerializer.serialize(builder, this, value);
-
-            } else if (value instanceof Iterable) {
-                Iterable<?> iterable = (Iterable<?>) value;
-
-                for (Object o : iterable) {
-                    if (o instanceof NormalizedNode) {
-                        builder.addChild(serialize((NormalizedNode<?, ?>) o));
-                    }
-                }
-
-            } else if (value instanceof NormalizedNode) {
-
-                builder.addChild(serialize((NormalizedNode<?, ?>) value));
-
-            } else {
-
-                ValueSerializer.serialize(builder, this, value);
-            }
-
-            return builder;
-        }
-    }
-
-    @SuppressWarnings("rawtypes")
-    public static class DeSerializer extends QNameDeSerializationContextImpl
-                                     implements NormalizedNodeDeSerializationContext {
-        private static final Map<NormalizedNodeType, DeSerializationFunction> DESERIALIZATION_FUNCTIONS;
-
-        static {
-            final EnumMap<NormalizedNodeType, DeSerializationFunction> m = new EnumMap<>(NormalizedNodeType.class);
-
-            m.put(CONTAINER_NODE_TYPE, (deSerializer, node) -> {
-                DataContainerNodeAttrBuilder<NodeIdentifier, ContainerNode> builder = Builders.containerBuilder()
-                        .withNodeIdentifier(deSerializer.toNodeIdentifier(node.getPathArgument()));
-
-                return deSerializer.buildDataContainer(builder, node);
-            });
-            m.put(LEAF_NODE_TYPE, (deSerializer, node) -> {
-                NormalizedNodeAttrBuilder<NodeIdentifier, Object, LeafNode<Object>> builder = Builders.leafBuilder()
-                        .withNodeIdentifier(deSerializer.toNodeIdentifier(node.getPathArgument()));
-
-                return deSerializer.buildNormalizedNode(builder, node);
-            });
-            m.put(MAP_NODE_TYPE, (deSerializer, node) -> deSerializer.buildCollectionNode(Builders.mapBuilder(), node));
-            m.put(MAP_ENTRY_NODE_TYPE, (deSerializer, node) -> {
-                DataContainerNodeAttrBuilder<NodeIdentifierWithPredicates, MapEntryNode> builder =
-                        Builders.mapEntryBuilder().withNodeIdentifier(deSerializer.toNodeIdentifierWithPredicates(
-                            node.getPathArgument()));
-
-                return deSerializer.buildDataContainer(builder, node);
-            });
-            m.put(AUGMENTATION_NODE_TYPE, (deSerializer, node) -> {
-                DataContainerNodeBuilder<AugmentationIdentifier, AugmentationNode> builder =
-                        Builders.augmentationBuilder().withNodeIdentifier(
-                            deSerializer.toAugmentationIdentifier(node.getPathArgument()));
-
-                return deSerializer.buildDataContainer(builder, node);
-            });
-            m.put(LEAF_SET_NODE_TYPE, (deSerializer, node)
-                -> deSerializer.buildListNode(Builders.leafSetBuilder(), node));
-            m.put(LEAF_SET_ENTRY_NODE_TYPE, (deSerializer, node) -> {
-                NormalizedNodeAttrBuilder<NodeWithValue, Object, LeafSetEntryNode<Object>> builder =
-                        Builders.leafSetEntryBuilder().withNodeIdentifier(deSerializer.toNodeWithValue(
-                            node.getPathArgument()));
-
-                return deSerializer.buildNormalizedNode(builder, node);
-            });
-            m.put(CHOICE_NODE_TYPE, (deSerializer, node) -> {
-                DataContainerNodeBuilder<NodeIdentifier, ChoiceNode> builder = Builders.choiceBuilder()
-                        .withNodeIdentifier(deSerializer.toNodeIdentifier(node.getPathArgument()));
-
-                return deSerializer.buildDataContainer(builder, node);
-            });
-            m.put(ORDERED_LEAF_SET_NODE_TYPE, (deSerializer, node)
-                -> deSerializer.buildListNode(Builders.orderedLeafSetBuilder(), node));
-            m.put(ORDERED_MAP_NODE_TYPE, (deSerializer, node)
-                -> deSerializer.buildCollectionNode(Builders.orderedMapBuilder(), node));
-            m.put(UNKEYED_LIST_NODE_TYPE, (deSerializer, node)
-                -> deSerializer.buildCollectionNode(Builders.unkeyedListBuilder(), node));
-            m.put(UNKEYED_LIST_ENTRY_NODE_TYPE, (deSerializer, node) -> {
-                DataContainerNodeAttrBuilder<NodeIdentifier, UnkeyedListEntryNode> builder =
-                        Builders.unkeyedListEntryBuilder().withNodeIdentifier(deSerializer.toNodeIdentifier(
-                            node.getPathArgument()));
-
-                return deSerializer.buildDataContainer(builder, node);
-            });
-            m.put(ANY_XML_NODE_TYPE, (deSerializer, node) -> {
-                NormalizedNodeAttrBuilder<NodeIdentifier, DOMSource, AnyXmlNode> builder = Builders.anyXmlBuilder()
-                        .withNodeIdentifier(deSerializer.toNodeIdentifier(node.getPathArgument()));
-
-                return deSerializer.buildNormalizedNode(builder, node);
-            });
-
-            DESERIALIZATION_FUNCTIONS = Maps.immutableEnumMap(m);
-        }
-
-        private final NormalizedNodeMessages.Node node;
-        private final NormalizedNodeMessages.InstanceIdentifier path;
-        private YangInstanceIdentifier deserializedPath;
-
-        public DeSerializer(final NormalizedNodeMessages.InstanceIdentifier path,
-                final NormalizedNodeMessages.Node node) {
-            super(node.getCodeList());
-            this.path = path;
-            this.node = node;
-        }
-
-        public YangInstanceIdentifier getDeserializedPath() {
-            return deserializedPath;
-        }
-
-        public NormalizedNode<?, ?> deSerialize() {
-            NormalizedNode<?, ?> deserializedNode = deSerialize(node);
-            if (path != null) {
-                deserializedPath = InstanceIdentifierUtils.fromSerializable(path, this);
-            }
-
-            return deserializedNode;
-        }
-
-        private NormalizedNode<?, ?> deSerialize(final NormalizedNodeMessages.Node fromNode) {
-            Preconditions.checkNotNull(fromNode, "node should not be null");
-
-            DeSerializationFunction deSerializationFunction = DESERIALIZATION_FUNCTIONS.get(
-                    NormalizedNodeType.values()[fromNode.getIntType()]);
-
-            return deSerializationFunction.apply(this, fromNode);
-        }
-
-        public YangInstanceIdentifier.PathArgument deSerialize(final NormalizedNodeMessages.PathArgument pathArgument) {
-            return PathArgumentSerializer.deSerialize(this, pathArgument);
-        }
-
-        @SuppressWarnings("unchecked")
-        private NormalizedNode<?, ?> buildCollectionNode(final CollectionNodeBuilder builder,
-                final NormalizedNodeMessages.Node fromNode) {
-
-            builder.withNodeIdentifier(toNodeIdentifier(fromNode.getPathArgument()));
-
-            for (NormalizedNodeMessages.Node child : fromNode.getChildList()) {
-                builder.withChild(deSerialize(child));
-            }
-
-            return builder.build();
-        }
-
-
-        @SuppressWarnings("unchecked")
-        private NormalizedNode<?, ?> buildListNode(final ListNodeBuilder<Object, LeafSetEntryNode<Object>> builder,
-                final NormalizedNodeMessages.Node fromNode) {
-            builder.withNodeIdentifier(toNodeIdentifier(fromNode.getPathArgument()));
-
-            for (NormalizedNodeMessages.Node child : fromNode.getChildList()) {
-                builder.withChild((LeafSetEntryNode<Object>) deSerialize(child));
-            }
-
-            return builder.build();
-        }
-
-        private NormalizedNode<?, ?> buildDataContainer(final DataContainerNodeBuilder<?, ?> builder,
-                final NormalizedNodeMessages.Node fromNode) {
-
-            for (NormalizedNodeMessages.Node child : fromNode.getChildList()) {
-                builder.withChild((DataContainerChild<?, ?>) deSerialize(child));
-            }
-
-            //TODO : Also handle attributes
-
-            return builder.build();
-        }
-
-        @SuppressWarnings("unchecked")
-        private NormalizedNode<?, ?> buildNormalizedNode(final NormalizedNodeAttrBuilder builder,
-                final NormalizedNodeMessages.Node fromNode) {
-
-            builder.withValue(ValueSerializer.deSerialize(this, fromNode));
-
-            //TODO : Also handle attributes
-
-            return builder.build();
-
-        }
-
-        private NodeIdentifierWithPredicates toNodeIdentifierWithPredicates(
-                final NormalizedNodeMessages.PathArgument fromPath) {
-            return (NodeIdentifierWithPredicates) PathArgumentSerializer.deSerialize(this, fromPath);
-        }
-
-        private AugmentationIdentifier toAugmentationIdentifier(final NormalizedNodeMessages.PathArgument fromPath) {
-            return (AugmentationIdentifier) PathArgumentSerializer.deSerialize(this, fromPath);
-        }
-
-        @SuppressWarnings("unchecked")
-        private <T> NodeWithValue<T> toNodeWithValue(final NormalizedNodeMessages.PathArgument fromPath) {
-            return (NodeWithValue<T>) PathArgumentSerializer.deSerialize(this, fromPath);
-        }
-
-        private NodeIdentifier toNodeIdentifier(final NormalizedNodeMessages.PathArgument fromPath) {
-            return (NodeIdentifier) PathArgumentSerializer.deSerialize(this, fromPath);
-        }
-
-        private interface DeSerializationFunction {
-            NormalizedNode<?, ?> apply(DeSerializer deserializer, NormalizedNodeMessages.Node node);
-        }
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeType.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeType.java
deleted file mode 100644 (file)
index ab6b1b4..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import com.google.common.base.Preconditions;
-import org.opendaylight.yangtools.yang.data.api.schema.AnyXmlNode;
-import org.opendaylight.yangtools.yang.data.api.schema.AugmentationNode;
-import org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode;
-import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
-import org.opendaylight.yangtools.yang.data.api.schema.LeafNode;
-import org.opendaylight.yangtools.yang.data.api.schema.LeafSetEntryNode;
-import org.opendaylight.yangtools.yang.data.api.schema.LeafSetNode;
-import org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode;
-import org.opendaylight.yangtools.yang.data.api.schema.MapNode;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-import org.opendaylight.yangtools.yang.data.api.schema.OrderedLeafSetNode;
-import org.opendaylight.yangtools.yang.data.api.schema.OrderedMapNode;
-import org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListEntryNode;
-import org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListNode;
-
-public enum NormalizedNodeType {
-    CONTAINER_NODE_TYPE,
-    LEAF_NODE_TYPE,
-    MAP_NODE_TYPE,
-    MAP_ENTRY_NODE_TYPE,
-    AUGMENTATION_NODE_TYPE,
-    LEAF_SET_NODE_TYPE,
-    LEAF_SET_ENTRY_NODE_TYPE,
-    CHOICE_NODE_TYPE,
-    ORDERED_LEAF_SET_NODE_TYPE,
-    ORDERED_MAP_NODE_TYPE,
-    UNKEYED_LIST_NODE_TYPE,
-    UNKEYED_LIST_ENTRY_NODE_TYPE,
-    ANY_XML_NODE_TYPE;
-
-    public static NormalizedNodeType getSerializableNodeType(NormalizedNode<?, ?> node) {
-        Preconditions.checkNotNull(node, "node should not be null");
-
-        if (node instanceof LeafNode) {
-            return LEAF_NODE_TYPE;
-        } else if (node instanceof LeafSetEntryNode) {
-            return LEAF_SET_ENTRY_NODE_TYPE;
-        } else if (node instanceof MapEntryNode) {
-            return MAP_ENTRY_NODE_TYPE;
-        } else if (node instanceof ContainerNode) {
-            return CONTAINER_NODE_TYPE;
-        } else if (node instanceof AugmentationNode) {
-            return AUGMENTATION_NODE_TYPE;
-        } else if (node instanceof ChoiceNode) {
-            return CHOICE_NODE_TYPE;
-        } else if (node instanceof OrderedLeafSetNode) {
-            return ORDERED_LEAF_SET_NODE_TYPE;
-        } else if (node instanceof OrderedMapNode) {
-            return ORDERED_MAP_NODE_TYPE;
-        } else if (node instanceof MapNode) {
-            return MAP_NODE_TYPE;
-        } else if (node instanceof LeafSetNode) {
-            return LEAF_SET_NODE_TYPE;
-        } else if (node instanceof UnkeyedListNode) {
-            return UNKEYED_LIST_NODE_TYPE;
-        } else if (node instanceof UnkeyedListEntryNode) {
-            return UNKEYED_LIST_ENTRY_NODE_TYPE;
-        } else if (node instanceof AnyXmlNode) {
-            return ANY_XML_NODE_TYPE;
-        }
-
-        throw new IllegalArgumentException("Node type unknown : " + node.getClass().getSimpleName());
-    }
-
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentSerializer.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentSerializer.java
deleted file mode 100644 (file)
index ed9073b..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import static org.opendaylight.controller.cluster.datastore.node.utils.serialization.PathArgumentType.getSerializablePathArgumentType;
-
-import com.google.common.base.Preconditions;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Map.Entry;
-import java.util.Set;
-import org.opendaylight.controller.cluster.datastore.node.utils.NodeIdentifierFactory;
-import org.opendaylight.controller.cluster.datastore.node.utils.QNameFactory;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class PathArgumentSerializer {
-    private static final String REVISION_ARG = "?revision=";
-    private static final Map<Class<?>, PathArgumentAttributesGetter> PATH_ARGUMENT_ATTRIBUTES_GETTERS = new HashMap<>();
-
-    public static NormalizedNodeMessages.PathArgument serialize(QNameSerializationContext context,
-            YangInstanceIdentifier.PathArgument pathArgument) {
-        Preconditions.checkNotNull(context, "context should not be null");
-        Preconditions.checkNotNull(pathArgument, "pathArgument should not be null");
-
-        QName nodeType = null;
-        if (!(pathArgument instanceof YangInstanceIdentifier.AugmentationIdentifier)) {
-            nodeType = pathArgument.getNodeType();
-        }
-
-        NormalizedNodeMessages.PathArgument.Builder builder =
-            NormalizedNodeMessages.PathArgument.newBuilder();
-
-        NormalizedNodeMessages.PathArgument serializablePathArgument =
-            builder
-                .setIntType(getSerializablePathArgumentType(pathArgument))
-                .setNodeType(encodeQName(context, nodeType))
-                .addAllAttribute(getPathArgumentAttributes(context, pathArgument))
-                .build();
-
-        return serializablePathArgument;
-    }
-
-
-    public static YangInstanceIdentifier.PathArgument deSerialize(QNameDeSerializationContext context,
-            NormalizedNodeMessages.PathArgument pathArgument) {
-        Preconditions.checkNotNull(context, "context should not be null");
-        Preconditions.checkNotNull(pathArgument, "pathArgument should not be null");
-
-        return parsePathArgument(context, pathArgument);
-    }
-
-
-    private interface PathArgumentAttributesGetter {
-        Iterable<? extends NormalizedNodeMessages.PathArgumentAttribute> get(
-                QNameSerializationContext context, YangInstanceIdentifier.PathArgument pathArgument);
-    }
-
-    static {
-        PATH_ARGUMENT_ATTRIBUTES_GETTERS.put(YangInstanceIdentifier.NodeWithValue.class, (context, pathArgument) -> {
-            YangInstanceIdentifier.NodeWithValue<?> identifier = (YangInstanceIdentifier.NodeWithValue<?>) pathArgument;
-
-            NormalizedNodeMessages.PathArgumentAttribute attribute = buildAttribute(context, null,
-                    identifier.getValue());
-
-            return Arrays.asList(attribute);
-        });
-
-        PATH_ARGUMENT_ATTRIBUTES_GETTERS.put(YangInstanceIdentifier.NodeIdentifierWithPredicates.class,
-            (context, pathArgument) -> {
-                YangInstanceIdentifier.NodeIdentifierWithPredicates identifier =
-                        (YangInstanceIdentifier.NodeIdentifierWithPredicates) pathArgument;
-
-                Map<QName, Object> keyValues = identifier.getKeyValues();
-                List<NormalizedNodeMessages.PathArgumentAttribute> attributes = new ArrayList<>(keyValues.size());
-                for (Entry<QName, Object> e : keyValues.entrySet()) {
-                    NormalizedNodeMessages.PathArgumentAttribute attribute = buildAttribute(context, e.getKey(),
-                            e.getValue());
-
-                    attributes.add(attribute);
-                }
-
-                return attributes;
-            });
-
-        PATH_ARGUMENT_ATTRIBUTES_GETTERS.put(YangInstanceIdentifier.AugmentationIdentifier.class,
-            (context, pathArgument) -> {
-                YangInstanceIdentifier.AugmentationIdentifier identifier =
-                        (YangInstanceIdentifier.AugmentationIdentifier) pathArgument;
-
-                Set<QName> possibleChildNames = identifier.getPossibleChildNames();
-                List<NormalizedNodeMessages.PathArgumentAttribute> attributes = new ArrayList<>(
-                        possibleChildNames.size());
-                for (QName key : possibleChildNames) {
-                    Object value = key;
-                    NormalizedNodeMessages.PathArgumentAttribute attribute = buildAttribute(context, key, value);
-
-                    attributes.add(attribute);
-                }
-
-                return attributes;
-            });
-
-        PATH_ARGUMENT_ATTRIBUTES_GETTERS.put(YangInstanceIdentifier.NodeIdentifier.class,
-            (context, pathArgument) -> Collections.emptyList());
-    }
-
-    private static NormalizedNodeMessages.PathArgumentAttribute buildAttribute(
-            QNameSerializationContext context, QName name, Object value) {
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder =
-            NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        builder.setName(encodeQName(context, name));
-        ValueSerializer.serialize(builder, context, value);
-
-        return builder.build();
-
-    }
-
-    private static NormalizedNodeMessages.QName.Builder encodeQName(QNameSerializationContext context, QName qname) {
-        if (qname == null) {
-            return NormalizedNodeMessages.QName.getDefaultInstance().toBuilder();
-        }
-        NormalizedNodeMessages.QName.Builder qnameBuilder = NormalizedNodeMessages.QName.newBuilder();
-
-        qnameBuilder.setNamespace(context.addNamespace(qname.getNamespace()));
-
-        qnameBuilder.setRevision(context.addRevision(qname.getRevision()));
-
-        qnameBuilder.setLocalName(context.addLocalName(qname.getLocalName()));
-
-        return qnameBuilder;
-    }
-
-    private static Iterable<? extends NormalizedNodeMessages.PathArgumentAttribute> getPathArgumentAttributes(
-            QNameSerializationContext context, YangInstanceIdentifier.PathArgument pathArgument) {
-
-        return PATH_ARGUMENT_ATTRIBUTES_GETTERS.get(pathArgument.getClass()).get(context, pathArgument);
-    }
-
-
-    private static String qNameToString(QNameDeSerializationContext context, NormalizedNodeMessages.QName qname) {
-        // If this serializer is used qName cannot be null (see encodeQName)
-        // adding null check only in case someone tried to deSerialize a protocol buffer node
-        // that was not serialized using the PathArgumentSerializer
-//        Preconditions.checkNotNull(qName, "qName should not be null");
-//        Preconditions.checkArgument(qName.getNamespace() != -1, "qName.namespace should be valid");
-
-        String namespace = context.getNamespace(qname.getNamespace());
-        String localName = context.getLocalName(qname.getLocalName());
-        StringBuilder sb;
-        if (qname.getRevision() != -1) {
-            String revision = context.getRevision(qname.getRevision());
-            sb = new StringBuilder(namespace.length() + REVISION_ARG.length() + revision.length()
-                    + localName.length() + 2);
-            sb.append('(').append(namespace).append(REVISION_ARG).append(
-                revision).append(')').append(localName);
-        } else {
-            sb = new StringBuilder(namespace.length() + localName.length() + 2);
-            sb.append('(').append(namespace).append(')').append(localName);
-        }
-
-        return sb.toString();
-    }
-
-    /**
-     * Parse a protocol buffer PathArgument and return an MD-SAL PathArgument.
-     *
-     * @param pathArgument protocol buffer PathArgument
-     * @return MD-SAL PathArgument
-     */
-    private static YangInstanceIdentifier.PathArgument parsePathArgument(
-            QNameDeSerializationContext context, NormalizedNodeMessages.PathArgument pathArgument) {
-
-        switch (PathArgumentType.values()[pathArgument.getIntType()]) {
-            case NODE_IDENTIFIER_WITH_VALUE : {
-                YangInstanceIdentifier.NodeWithValue<?> nodeWithValue =
-                    new YangInstanceIdentifier.NodeWithValue<>(
-                        QNameFactory.create(qNameToString(context, pathArgument.getNodeType())),
-                        parseAttribute(context, pathArgument.getAttribute(0)));
-
-                return nodeWithValue;
-            }
-
-            case NODE_IDENTIFIER_WITH_PREDICATES : {
-                YangInstanceIdentifier.NodeIdentifierWithPredicates
-                    nodeIdentifierWithPredicates =
-                    new YangInstanceIdentifier.NodeIdentifierWithPredicates(
-                        QNameFactory.create(qNameToString(context, pathArgument.getNodeType())),
-                        toAttributesMap(context, pathArgument.getAttributeList()));
-
-                return nodeIdentifierWithPredicates;
-            }
-
-            case AUGMENTATION_IDENTIFIER: {
-                Set<QName> qnameSet = new HashSet<>();
-
-                for (NormalizedNodeMessages.PathArgumentAttribute attribute : pathArgument.getAttributeList()) {
-                    qnameSet.add(QNameFactory.create(qNameToString(context, attribute.getName())));
-                }
-
-                return new YangInstanceIdentifier.AugmentationIdentifier(qnameSet);
-
-            }
-            default: {
-                return NodeIdentifierFactory.getArgument(qNameToString(context,
-                    pathArgument.getNodeType()));
-            }
-
-        }
-    }
-
-    private static Map<QName, Object> toAttributesMap(
-            QNameDeSerializationContext context,
-            List<NormalizedNodeMessages.PathArgumentAttribute> attributesList) {
-
-        Map<QName, Object> map;
-        if (attributesList.size() == 1) {
-            NormalizedNodeMessages.PathArgumentAttribute attribute = attributesList.get(0);
-            NormalizedNodeMessages.QName name = attribute.getName();
-            Object value = parseAttribute(context, attribute);
-            map = Collections.singletonMap(QNameFactory.create(qNameToString(context, name)), value);
-        } else {
-            map = new HashMap<>();
-
-            for (NormalizedNodeMessages.PathArgumentAttribute attribute : attributesList) {
-                NormalizedNodeMessages.QName name = attribute.getName();
-                Object value = parseAttribute(context, attribute);
-
-                map.put(QNameFactory.create(qNameToString(context, name)), value);
-            }
-        }
-
-        return map;
-    }
-
-    private static Object parseAttribute(QNameDeSerializationContext context,
-            NormalizedNodeMessages.PathArgumentAttribute attribute) {
-        return ValueSerializer.deSerialize(context, attribute);
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentType.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentType.java
deleted file mode 100644 (file)
index 8209c9a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import com.google.common.collect.ImmutableMap;
-import java.util.Map;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public enum PathArgumentType {
-    AUGMENTATION_IDENTIFIER,
-    NODE_IDENTIFIER,
-    NODE_IDENTIFIER_WITH_VALUE,
-    NODE_IDENTIFIER_WITH_PREDICATES;
-
-    private static Map<Class<?>, PathArgumentType> CLASS_TO_ENUM_MAP =
-            ImmutableMap.<Class<?>, PathArgumentType>builder()
-                .put(YangInstanceIdentifier.AugmentationIdentifier.class, AUGMENTATION_IDENTIFIER)
-                .put(YangInstanceIdentifier.NodeIdentifier.class, NODE_IDENTIFIER)
-                .put(YangInstanceIdentifier.NodeIdentifierWithPredicates.class, NODE_IDENTIFIER_WITH_PREDICATES)
-                .put(YangInstanceIdentifier.NodeWithValue.class, NODE_IDENTIFIER_WITH_VALUE).build();
-
-    public static int getSerializablePathArgumentType(YangInstanceIdentifier.PathArgument pathArgument) {
-
-        PathArgumentType type = CLASS_TO_ENUM_MAP.get(pathArgument.getClass());
-        if (type == null) {
-            throw new IllegalArgumentException("Unknown type of PathArgument = " + pathArgument);
-        }
-
-        return type.ordinal();
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameDeSerializationContext.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameDeSerializationContext.java
deleted file mode 100644 (file)
index ca9ead7..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-/**
- * Interface that provides methods which help in decoding components of a QName.
- *
- * @author Thomas Pantelis
- */
-public interface QNameDeSerializationContext {
-    String getNamespace(int namespace);
-
-    String getRevision(int revision);
-
-    String getLocalName(int localName);
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameDeSerializationContextImpl.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameDeSerializationContextImpl.java
deleted file mode 100644 (file)
index ac3d362..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import java.util.List;
-
-/**
- * Implementation of the QNameDeSerializationContext interface.
- *
- * @author Thomas Pantelis
- */
-public class QNameDeSerializationContextImpl implements QNameDeSerializationContext {
-
-    private final List<String> codeList;
-
-    public QNameDeSerializationContextImpl(List<String> codeList) {
-        this.codeList = codeList;
-    }
-
-    @Override
-    public String getNamespace(int namespace) {
-        return codeList.get(namespace);
-    }
-
-    @Override
-    public String getRevision(int revision) {
-        return codeList.get(revision);
-    }
-
-    @Override
-    public String getLocalName(int localName) {
-        return codeList.get(localName);
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameSerializationContext.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameSerializationContext.java
deleted file mode 100644 (file)
index 9096add..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import java.net.URI;
-import java.util.Date;
-
-/**
- * Interface that provides methods which help in encoding components of a QName.
- *
- * @author Thomas Pantelis
- */
-public interface QNameSerializationContext {
-    int addNamespace(URI namespace);
-
-    int addRevision(Date revision);
-
-    int addLocalName(String localName);
-
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameSerializationContextImpl.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/QNameSerializationContextImpl.java
deleted file mode 100644 (file)
index ff650a6..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import java.net.URI;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import org.opendaylight.yangtools.yang.common.SimpleDateFormatUtil;
-
-/**
- * Implementation of the QNameSerializationContext interface.
- *
- * @author Thomas Pantelis
- */
-public class QNameSerializationContextImpl implements QNameSerializationContext {
-
-    private final Map<Object, Integer> codeMap = new HashMap<>();
-    private final List<String> codes = new ArrayList<>();
-
-    public List<String> getCodes() {
-        return codes;
-    }
-
-    @Override public int addNamespace(URI namespace) {
-        int namespaceInt = getCode(namespace);
-
-        if (namespaceInt == -1) {
-            namespaceInt = addCode(namespace, namespace.toString());
-        }
-        return namespaceInt;
-    }
-
-    @Override public int addRevision(Date revision) {
-        if (revision == null) {
-            return -1;
-        }
-
-        int revisionInt = getCode(revision);
-        if (revisionInt == -1) {
-            String formattedRevision =
-                SimpleDateFormatUtil.getRevisionFormat().format(revision);
-            revisionInt = addCode(revision, formattedRevision);
-        }
-        return revisionInt;
-    }
-
-    @Override public int addLocalName(String localName) {
-        int localNameInt = getCode(localName);
-        if (localNameInt == -1) {
-            localNameInt = addCode(localName, localName);
-        }
-        return localNameInt;
-
-    }
-
-    private int addCode(Object code, String codeStr) {
-        int count = codes.size();
-        codes.add(codeStr);
-        codeMap.put(code, Integer.valueOf(count));
-        return count;
-    }
-
-    private int getCode(Object code) {
-        Integer value = codeMap.get(code);
-        return value == null ? -1 : value.intValue();
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueSerializer.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueSerializer.java
deleted file mode 100644 (file)
index 7523976..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import com.google.protobuf.ByteString;
-import java.util.HashSet;
-import java.util.Set;
-import org.opendaylight.controller.cluster.datastore.util.InstanceIdentifierUtils;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class ValueSerializer {
-    private static final String NULL_VALUE = "";
-
-    public static void serialize(NormalizedNodeMessages.Node.Builder builder,
-            QNameSerializationContext context, Object value) {
-        builder.setIntValueType(ValueType.getSerializableType(value).ordinal());
-
-        if (value instanceof YangInstanceIdentifier) {
-            builder.setInstanceIdentifierValue(
-                InstanceIdentifierUtils.toSerializable((YangInstanceIdentifier) value, context));
-        } else if (value instanceof Set) {
-            Set<?> set = (Set<?>) value;
-            if (!set.isEmpty()) {
-                for (Object o : set) {
-                    if (o instanceof String) {
-                        builder.addBitsValue(o.toString());
-                    } else {
-                        throw new IllegalArgumentException("Expected value type to be Bits but was : "
-                            + value.toString());
-                    }
-                }
-            }
-        } else if (value instanceof byte[]) {
-            builder.setBytesValue(ByteString.copyFrom((byte[]) value));
-        } else if (value == null) {
-            builder.setValue(NULL_VALUE);
-        } else {
-            builder.setValue(value.toString());
-        }
-    }
-
-    public static void serialize(NormalizedNodeMessages.PathArgumentAttribute.Builder builder,
-            QNameSerializationContext context, Object value) {
-
-        builder.setType(ValueType.getSerializableType(value).ordinal());
-
-        if (value instanceof YangInstanceIdentifier) {
-            builder.setInstanceIdentifierValue(
-                    InstanceIdentifierUtils.toSerializable((YangInstanceIdentifier) value, context));
-        } else if (value instanceof Set) {
-            Set<?> set = (Set<?>) value;
-            if (!set.isEmpty()) {
-                for (Object o : set) {
-                    if (o instanceof String) {
-                        builder.addBitsValue(o.toString());
-                    } else {
-                        throw new IllegalArgumentException("Expected value type to be Bits but was : "
-                            + value.toString());
-                    }
-                }
-            }
-        } else if (value instanceof byte[]) {
-            builder.setBytesValue(ByteString.copyFrom((byte[]) value));
-        } else if (value == null) {
-            builder.setValue(NULL_VALUE);
-        } else {
-            builder.setValue(value.toString());
-        }
-    }
-
-    public static Object deSerialize(QNameDeSerializationContext context,
-            NormalizedNodeMessages.Node node) {
-        if (node.getIntValueType() == ValueType.YANG_IDENTIFIER_TYPE.ordinal()) {
-            return InstanceIdentifierUtils.fromSerializable(node.getInstanceIdentifierValue(), context);
-        } else if (node.getIntValueType() == ValueType.BITS_TYPE.ordinal()) {
-            return new HashSet<>(node.getBitsValueList());
-        } else if (node.getIntValueType() == ValueType.BINARY_TYPE.ordinal()) {
-            return node.getBytesValue().toByteArray();
-        }
-        return deSerializeBasicTypes(node.getIntValueType(), node.getValue());
-    }
-
-    public static Object deSerialize(QNameDeSerializationContext context,
-            NormalizedNodeMessages.PathArgumentAttribute attribute) {
-
-        if (attribute.getType() == ValueType.YANG_IDENTIFIER_TYPE.ordinal()) {
-            return InstanceIdentifierUtils.fromSerializable(attribute.getInstanceIdentifierValue(), context);
-        } else if (attribute.getType() == ValueType.BITS_TYPE.ordinal()) {
-            return new HashSet<>(attribute.getBitsValueList());
-        } else if (attribute.getType() == ValueType.BINARY_TYPE.ordinal()) {
-            return attribute.getBytesValue().toByteArray();
-        }
-        return deSerializeBasicTypes(attribute.getType(), attribute.getValue());
-    }
-
-
-    private static Object deSerializeBasicTypes(int valueType, String value) {
-        return ValueType.values()[valueType].deserialize(value);
-    }
-
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueType.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueType.java
deleted file mode 100644 (file)
index fe0c97b..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Map;
-import java.util.Set;
-import org.opendaylight.controller.cluster.datastore.node.utils.QNameFactory;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public enum ValueType {
-    SHORT_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return Short.valueOf(str);
-        }
-    },
-    BYTE_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return Byte.valueOf(str);
-        }
-    },
-    INT_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return Integer.valueOf(str);
-        }
-    },
-    LONG_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return Long.valueOf(str);
-        }
-    },
-    BOOL_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return Boolean.valueOf(str);
-        }
-    },
-    QNAME_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return QNameFactory.create(str);
-        }
-    },
-    BITS_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            throw new UnsupportedOperationException("Should have been caught by caller");
-        }
-    },
-    YANG_IDENTIFIER_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            throw new UnsupportedOperationException("Should have been caught by caller");
-        }
-    },
-    STRING_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return str;
-        }
-    },
-    BIG_INTEGER_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return new BigInteger(str);
-        }
-    },
-    BIG_DECIMAL_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return new BigDecimal(str);
-        }
-    },
-    BINARY_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            throw new UnsupportedOperationException("Should have been caught by caller");
-        }
-    },
-    NULL_TYPE {
-        @Override
-        Object deserialize(final String str) {
-            return null;
-        }
-    };
-
-    private static final Map<Class<?>, ValueType> TYPES;
-
-    static {
-        final Builder<Class<?>, ValueType> b = ImmutableMap.builder();
-
-        b.put(String.class, STRING_TYPE);
-        b.put(Byte.class, BYTE_TYPE);
-        b.put(Integer.class, INT_TYPE);
-        b.put(Long.class, LONG_TYPE);
-        b.put(Boolean.class, BOOL_TYPE);
-        b.put(QName.class, QNAME_TYPE);
-        b.put(Short.class,SHORT_TYPE);
-        b.put(BigInteger.class, BIG_INTEGER_TYPE);
-        b.put(BigDecimal.class, BIG_DECIMAL_TYPE);
-        b.put(byte[].class, BINARY_TYPE);
-
-        TYPES = b.build();
-    }
-
-    abstract Object deserialize(String str);
-
-    public static final ValueType getSerializableType(Object node) {
-        if (node == null) {
-            return NULL_TYPE;
-        }
-
-        final ValueType type = TYPES.get(node.getClass());
-        if (type != null) {
-            return type;
-        }
-        if (node instanceof Set) {
-            return BITS_TYPE;
-        }
-
-        if (node instanceof YangInstanceIdentifier) {
-            return YANG_IDENTIFIER_TYPE;
-        }
-
-        throw new IllegalArgumentException("Unknown value type " + node.getClass().getSimpleName());
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/util/InstanceIdentifierUtils.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/util/InstanceIdentifierUtils.java
deleted file mode 100644 (file)
index 312eeef..0000000
+++ /dev/null
@@ -1,277 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.util;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import org.opendaylight.controller.cluster.datastore.node.utils.NodeIdentifierFactory;
-import org.opendaylight.controller.cluster.datastore.node.utils.QNameFactory;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.PathArgumentSerializer;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameDeSerializationContext;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameDeSerializationContextImpl;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameSerializationContext;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameSerializationContextImpl;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * This class contains utility methods for converting an MD-SAL
- * YangInstanceIdentifier to and from other representations.
- * <p/>
- * The representations convered for now are,
- *
- * <ul>
- *     <li>String</li>
- *     <li>Protocol Buffer</li>
- * </ul>
- */
-public class InstanceIdentifierUtils {
-    private static final Logger LOG = LoggerFactory.getLogger(InstanceIdentifierUtils.class);
-
-    /**
-     * Convert an MD-SAL YangInstanceIdentifier into a protocol buffer version of it.
-     *
-     * @param path an MD-SAL YangInstanceIdentifier
-     * @return a protocol buffer version of the MD-SAL YangInstanceIdentifier
-     */
-    public static NormalizedNodeMessages.InstanceIdentifier toSerializable(YangInstanceIdentifier path) {
-        QNameSerializationContextImpl context = new QNameSerializationContextImpl();
-        Builder builder = toSerializableBuilder(path, context);
-        return builder.addAllCode(context.getCodes()).build();
-    }
-
-    public static NormalizedNodeMessages.InstanceIdentifier toSerializable(
-            YangInstanceIdentifier path, QNameSerializationContext context) {
-        return toSerializableBuilder(path, context).build();
-    }
-
-    @SuppressWarnings("checkstyle:IllegalCatch")
-    private static NormalizedNodeMessages.InstanceIdentifier.Builder toSerializableBuilder(
-            YangInstanceIdentifier path, QNameSerializationContext context) {
-        NormalizedNodeMessages.InstanceIdentifier.Builder builder =
-            NormalizedNodeMessages.InstanceIdentifier.newBuilder();
-
-        try {
-            for (PathArgument pathArgument : path.getPathArguments()) {
-                NormalizedNodeMessages.PathArgument serializablePathArgument;
-                if (context == null) {
-                    String nodeType = "";
-                    if (!(pathArgument instanceof AugmentationIdentifier)) {
-                        nodeType = pathArgument.getNodeType().toString();
-                    }
-
-                    serializablePathArgument = NormalizedNodeMessages.PathArgument.newBuilder()
-                            .setValue(pathArgument.toString())
-                            .setType(pathArgument.getClass().getSimpleName())
-                            .setNodeType(NormalizedNodeMessages.QName.newBuilder().setValue(nodeType))
-                            .addAllAttributes(getPathArgumentAttributes(pathArgument)).build();
-                } else {
-                    serializablePathArgument = PathArgumentSerializer.serialize(context, pathArgument);
-                }
-
-                builder.addArguments(serializablePathArgument);
-            }
-        } catch (Exception e) {
-            LOG.error("An exception occurred", e);
-        }
-
-        return builder;
-    }
-
-
-    /**
-     * Convert a protocol buffer version of the MD-SAL YangInstanceIdentifier into
-     * the MD-SAL version of the YangInstanceIdentifier.
-     *
-     * @param path a protocol buffer version of the MD-SAL YangInstanceIdentifier
-     * @return  an MD-SAL YangInstanceIdentifier
-     */
-    public static YangInstanceIdentifier fromSerializable(NormalizedNodeMessages.InstanceIdentifier path) {
-        return fromSerializable(path, new QNameDeSerializationContextImpl(path.getCodeList()));
-    }
-
-    public static YangInstanceIdentifier fromSerializable(NormalizedNodeMessages.InstanceIdentifier path,
-            QNameDeSerializationContext context) {
-
-        List<PathArgument> pathArguments = new ArrayList<>();
-
-        for (NormalizedNodeMessages.PathArgument pathArgument : path.getArgumentsList()) {
-            if (context == null || pathArgument.hasType()) {
-                pathArguments.add(parsePathArgument(pathArgument));
-            } else {
-                pathArguments.add(PathArgumentSerializer.deSerialize(context, pathArgument));
-            }
-        }
-
-        return YangInstanceIdentifier.create(pathArguments);
-    }
-
-    /**
-     * Take the various attributes of a PathArgument and package them up as
-     * protocol buffer attributes.
-     * <p/>
-     * PathArguments have 4 subtypes and each of the various subtypes have
-     * different attributes
-     * <ul>
-     *     <li>
-     *         NodeIdentifier is the most basic PathArgument. It is used for
-     *         ContainerNode, LeafNode etc and has no attributes
-     *     </li>
-     *     <li>
-     *         NodeWithValue has only a single attribute. It is used for
-     *         LeafListEntryNodes and the attribute it contains is the value
-     *         of the entry
-     *     </li>
-     *     <li>
-     *         NodeIdentifierWithPredicates has a map of attributes.
-     *         It is used to represent a ListItemNode. Each entry
-     *         in the map of attributes represents the key and value of the
-     *         keys in that entry.
-     *     </li>
-     *     <li>
-     *         AugmentationIdentifier has a list of unnamed attributes. Each
-     *         attribute represents the possible children that can go within
-     *         an augmentation entry.
-     *     </li>
-     * </ul>
-     */
-    private static Iterable<? extends NormalizedNodeMessages.Attribute> getPathArgumentAttributes(
-        PathArgument pathArgument) {
-        List<NormalizedNodeMessages.Attribute> attributes = new ArrayList<>();
-
-        if (pathArgument instanceof NodeWithValue) {
-            NodeWithValue<?> identifier = (NodeWithValue<?>) pathArgument;
-
-            NormalizedNodeMessages.Attribute attribute =
-                NormalizedNodeMessages.Attribute.newBuilder()
-                    .setName("name")
-                    .setValue(identifier.getValue().toString())
-                    .setType(identifier.getValue().getClass().getSimpleName())
-                    .build();
-
-            attributes.add(attribute);
-        } else if (pathArgument instanceof NodeIdentifierWithPredicates) {
-            NodeIdentifierWithPredicates identifier = (NodeIdentifierWithPredicates) pathArgument;
-
-            for (QName key : identifier.getKeyValues().keySet()) {
-                Object value = identifier.getKeyValues().get(key);
-                NormalizedNodeMessages.Attribute attribute =
-                    NormalizedNodeMessages.Attribute.newBuilder()
-                        .setName(key.toString())
-                        .setValue(value.toString())
-                        .setType(value.getClass().getSimpleName())
-                        .build();
-
-                attributes.add(attribute);
-
-            }
-
-        } else if (pathArgument instanceof AugmentationIdentifier) {
-            AugmentationIdentifier identifier = (AugmentationIdentifier) pathArgument;
-
-            for (QName key : identifier.getPossibleChildNames()) {
-                Object value = key;
-                NormalizedNodeMessages.Attribute attribute =
-                    NormalizedNodeMessages.Attribute.newBuilder()
-                        .setName(key.toString())
-                        .setValue(value.toString())
-                        .setType(value.getClass().getSimpleName())
-                        .build();
-
-                attributes.add(attribute);
-
-            }
-        }
-
-        return attributes;
-    }
-
-
-    /**
-     * Parse a protocol buffer PathArgument and return an MD-SAL PathArgument.
-     *
-     * @param pathArgument protocol buffer PathArgument
-     * @return MD-SAL PathArgument
-     */
-    private static PathArgument parsePathArgument(
-            NormalizedNodeMessages.PathArgument pathArgument) {
-        if (NodeWithValue.class.getSimpleName().equals(pathArgument.getType())) {
-
-            NodeWithValue<?> nodeWithValue = new NodeWithValue<>(
-                    QNameFactory.create(pathArgument.getNodeType().getValue()),
-                    parseAttribute(pathArgument.getAttributes(0)));
-
-            return nodeWithValue;
-
-        } else if (NodeIdentifierWithPredicates.class.getSimpleName().equals(pathArgument.getType())) {
-
-            NodeIdentifierWithPredicates nodeIdentifierWithPredicates =
-                    new NodeIdentifierWithPredicates(QNameFactory.create(pathArgument.getNodeType().getValue()),
-                            toAttributesMap(pathArgument.getAttributesList()));
-
-            return nodeIdentifierWithPredicates;
-
-        } else if (AugmentationIdentifier.class.getSimpleName().equals(pathArgument.getType())) {
-
-            Set<QName> qnameSet = new HashSet<>();
-
-            for (NormalizedNodeMessages.Attribute attribute : pathArgument.getAttributesList()) {
-                qnameSet.add(QNameFactory.create(attribute.getValue()));
-            }
-
-            return new AugmentationIdentifier(qnameSet);
-        }
-
-        return NodeIdentifierFactory.getArgument(pathArgument.getValue());
-    }
-
-    private static Map<QName, Object> toAttributesMap(
-        List<NormalizedNodeMessages.Attribute> attributesList) {
-
-        Map<QName, Object> map = new HashMap<>();
-
-        for (NormalizedNodeMessages.Attribute attribute : attributesList) {
-            String name = attribute.getName();
-            Object value = parseAttribute(attribute);
-
-            map.put(QNameFactory.create(name), value);
-        }
-
-        return map;
-    }
-
-    /**
-     * FIXME: This method only covers a subset of values that may go in an InstanceIdentifier.
-     */
-    private static Object parseAttribute(NormalizedNodeMessages.Attribute attribute) {
-        if (Short.class.getSimpleName().equals(attribute.getType())) {
-            return Short.parseShort(attribute.getValue());
-        } else if (Long.class.getSimpleName().equals(attribute.getType())) {
-            return Long.parseLong(attribute.getValue());
-        } else if (Boolean.class.getSimpleName().equals(attribute.getType())) {
-            return Boolean.parseBoolean(attribute.getValue());
-        } else if (Integer.class.getSimpleName().equals(attribute.getType())) {
-            return Integer.parseInt(attribute.getValue());
-        }
-
-        return attribute.getValue();
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java
deleted file mode 100644 (file)
index f732701..0000000
+++ /dev/null
@@ -1,11069 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: Common.proto
-
-package org.opendaylight.controller.protobuff.messages.common;
-
-public final class NormalizedNodeMessages {
-  private NormalizedNodeMessages() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-  }
-  public interface AttributeOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // required string name = 1;
-    /**
-     * <code>required string name = 1;</code>
-     */
-    boolean hasName();
-    /**
-     * <code>required string name = 1;</code>
-     */
-    java.lang.String getName();
-    /**
-     * <code>required string name = 1;</code>
-     */
-    com.google.protobuf.ByteString
-        getNameBytes();
-
-    // optional string value = 2;
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    boolean hasValue();
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    java.lang.String getValue();
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    com.google.protobuf.ByteString
-        getValueBytes();
-
-    // optional string type = 3;
-    /**
-     * <code>optional string type = 3;</code>
-     */
-    boolean hasType();
-    /**
-     * <code>optional string type = 3;</code>
-     */
-    java.lang.String getType();
-    /**
-     * <code>optional string type = 3;</code>
-     */
-    com.google.protobuf.ByteString
-        getTypeBytes();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.Attribute}
-   */
-  public static final class Attribute extends
-      com.google.protobuf.GeneratedMessage
-      implements AttributeOrBuilder {
-    // Use Attribute.newBuilder() to construct.
-    private Attribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private Attribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final Attribute defaultInstance;
-    public static Attribute getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public Attribute getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private Attribute(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              bitField0_ |= 0x00000001;
-              name_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              bitField0_ |= 0x00000002;
-              value_ = input.readBytes();
-              break;
-            }
-            case 26: {
-              bitField0_ |= 0x00000004;
-              type_ = input.readBytes();
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<Attribute> PARSER =
-        new com.google.protobuf.AbstractParser<Attribute>() {
-      public Attribute parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Attribute(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<Attribute> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // required string name = 1;
-    public static final int NAME_FIELD_NUMBER = 1;
-    private java.lang.Object name_;
-    /**
-     * <code>required string name = 1;</code>
-     */
-    public boolean hasName() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required string name = 1;</code>
-     */
-    public java.lang.String getName() {
-      java.lang.Object ref = name_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          name_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>required string name = 1;</code>
-     */
-    public com.google.protobuf.ByteString
-        getNameBytes() {
-      java.lang.Object ref = name_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        name_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional string value = 2;
-    public static final int VALUE_FIELD_NUMBER = 2;
-    private java.lang.Object value_;
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    public boolean hasValue() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    public java.lang.String getValue() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          value_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    public com.google.protobuf.ByteString
-        getValueBytes() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        value_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional string type = 3;
-    public static final int TYPE_FIELD_NUMBER = 3;
-    private java.lang.Object type_;
-    /**
-     * <code>optional string type = 3;</code>
-     */
-    public boolean hasType() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional string type = 3;</code>
-     */
-    public java.lang.String getType() {
-      java.lang.Object ref = type_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          type_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string type = 3;</code>
-     */
-    public com.google.protobuf.ByteString
-        getTypeBytes() {
-      java.lang.Object ref = type_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        type_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    private void initFields() {
-      name_ = "";
-      value_ = "";
-      type_ = "";
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasName()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeBytes(1, getNameBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBytes(2, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeBytes(3, getTypeBytes());
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(1, getNameBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(2, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(3, getTypeBytes());
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.Attribute}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        name_ = "";
-        bitField0_ = (bitField0_ & ~0x00000001);
-        value_ = "";
-        bitField0_ = (bitField0_ & ~0x00000002);
-        type_ = "";
-        bitField0_ = (bitField0_ & ~0x00000004);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.name_ = name_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.value_ = value_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.type_ = type_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()) return this;
-        if (other.hasName()) {
-          bitField0_ |= 0x00000001;
-          name_ = other.name_;
-          onChanged();
-        }
-        if (other.hasValue()) {
-          bitField0_ |= 0x00000002;
-          value_ = other.value_;
-          onChanged();
-        }
-        if (other.hasType()) {
-          bitField0_ |= 0x00000004;
-          type_ = other.type_;
-          onChanged();
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasName()) {
-
-          return false;
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // required string name = 1;
-      private java.lang.Object name_ = "";
-      /**
-       * <code>required string name = 1;</code>
-       */
-      public boolean hasName() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>required string name = 1;</code>
-       */
-      public java.lang.String getName() {
-        java.lang.Object ref = name_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          name_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>required string name = 1;</code>
-       */
-      public com.google.protobuf.ByteString
-          getNameBytes() {
-        java.lang.Object ref = name_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          name_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>required string name = 1;</code>
-       */
-      public Builder setName(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        name_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required string name = 1;</code>
-       */
-      public Builder clearName() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        name_ = getDefaultInstance().getName();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required string name = 1;</code>
-       */
-      public Builder setNameBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        name_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional string value = 2;
-      private java.lang.Object value_ = "";
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public boolean hasValue() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public java.lang.String getValue() {
-        java.lang.Object ref = value_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          value_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public com.google.protobuf.ByteString
-          getValueBytes() {
-        java.lang.Object ref = value_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          value_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public Builder setValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public Builder clearValue() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        value_ = getDefaultInstance().getValue();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public Builder setValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional string type = 3;
-      private java.lang.Object type_ = "";
-      /**
-       * <code>optional string type = 3;</code>
-       */
-      public boolean hasType() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional string type = 3;</code>
-       */
-      public java.lang.String getType() {
-        java.lang.Object ref = type_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          type_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string type = 3;</code>
-       */
-      public com.google.protobuf.ByteString
-          getTypeBytes() {
-        java.lang.Object ref = type_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          type_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string type = 3;</code>
-       */
-      public Builder setType(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string type = 3;</code>
-       */
-      public Builder clearType() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        type_ = getDefaultInstance().getType();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string type = 3;</code>
-       */
-      public Builder setTypeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Attribute)
-    }
-
-    static {
-      defaultInstance = new Attribute(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Attribute)
-  }
-
-  public interface PathArgumentAttributeOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // optional .org.opendaylight.controller.mdsal.QName name = 1;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-     */
-    boolean hasName();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder();
-
-    // optional string value = 2;
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    boolean hasValue();
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    java.lang.String getValue();
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    com.google.protobuf.ByteString
-        getValueBytes();
-
-    // optional int32 type = 3;
-    /**
-     * <code>optional int32 type = 3;</code>
-     */
-    boolean hasType();
-    /**
-     * <code>optional int32 type = 3;</code>
-     */
-    int getType();
-
-    // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    boolean hasInstanceIdentifierValue();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
-
-    // repeated string bitsValue = 5;
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    java.util.List<java.lang.String>
-    getBitsValueList();
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    int getBitsValueCount();
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    java.lang.String getBitsValue(int index);
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getBitsValueBytes(int index);
-
-    // optional bytes bytesValue = 6;
-    /**
-     * <code>optional bytes bytesValue = 6;</code>
-     */
-    boolean hasBytesValue();
-    /**
-     * <code>optional bytes bytesValue = 6;</code>
-     */
-    com.google.protobuf.ByteString getBytesValue();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
-   */
-  public static final class PathArgumentAttribute extends
-      com.google.protobuf.GeneratedMessage
-      implements PathArgumentAttributeOrBuilder {
-    // Use PathArgumentAttribute.newBuilder() to construct.
-    private PathArgumentAttribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private PathArgumentAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final PathArgumentAttribute defaultInstance;
-    public static PathArgumentAttribute getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public PathArgumentAttribute getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private PathArgumentAttribute(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000001) == 0x00000001)) {
-                subBuilder = name_.toBuilder();
-              }
-              name_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(name_);
-                name_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000001;
-              break;
-            }
-            case 18: {
-              bitField0_ |= 0x00000002;
-              value_ = input.readBytes();
-              break;
-            }
-            case 24: {
-              bitField0_ |= 0x00000004;
-              type_ = input.readInt32();
-              break;
-            }
-            case 34: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000008) == 0x00000008)) {
-                subBuilder = instanceIdentifierValue_.toBuilder();
-              }
-              instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceIdentifierValue_);
-                instanceIdentifierValue_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000008;
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-                bitsValue_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000010;
-              }
-              bitsValue_.add(input.readBytes());
-              break;
-            }
-            case 50: {
-              bitField0_ |= 0x00000010;
-              bytesValue_ = input.readBytes();
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-          bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<PathArgumentAttribute> PARSER =
-        new com.google.protobuf.AbstractParser<PathArgumentAttribute>() {
-      public PathArgumentAttribute parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PathArgumentAttribute(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<PathArgumentAttribute> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // optional .org.opendaylight.controller.mdsal.QName name = 1;
-    public static final int NAME_FIELD_NUMBER = 1;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-     */
-    public boolean hasName() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
-      return name_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
-      return name_;
-    }
-
-    // optional string value = 2;
-    public static final int VALUE_FIELD_NUMBER = 2;
-    private java.lang.Object value_;
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    public boolean hasValue() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    public java.lang.String getValue() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          value_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string value = 2;</code>
-     */
-    public com.google.protobuf.ByteString
-        getValueBytes() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        value_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional int32 type = 3;
-    public static final int TYPE_FIELD_NUMBER = 3;
-    private int type_;
-    /**
-     * <code>optional int32 type = 3;</code>
-     */
-    public boolean hasType() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional int32 type = 3;</code>
-     */
-    public int getType() {
-      return type_;
-    }
-
-    // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
-    public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 4;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    public boolean hasInstanceIdentifierValue() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
-      return instanceIdentifierValue_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
-      return instanceIdentifierValue_;
-    }
-
-    // repeated string bitsValue = 5;
-    public static final int BITSVALUE_FIELD_NUMBER = 5;
-    private com.google.protobuf.LazyStringList bitsValue_;
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public java.util.List<java.lang.String>
-        getBitsValueList() {
-      return bitsValue_;
-    }
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public int getBitsValueCount() {
-      return bitsValue_.size();
-    }
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public java.lang.String getBitsValue(int index) {
-      return bitsValue_.get(index);
-    }
-    /**
-     * <code>repeated string bitsValue = 5;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getBitsValueBytes(int index) {
-      return bitsValue_.getByteString(index);
-    }
-
-    // optional bytes bytesValue = 6;
-    public static final int BYTESVALUE_FIELD_NUMBER = 6;
-    private com.google.protobuf.ByteString bytesValue_;
-    /**
-     * <code>optional bytes bytesValue = 6;</code>
-     */
-    public boolean hasBytesValue() {
-      return ((bitField0_ & 0x00000010) == 0x00000010);
-    }
-    /**
-     * <code>optional bytes bytesValue = 6;</code>
-     */
-    public com.google.protobuf.ByteString getBytesValue() {
-      return bytesValue_;
-    }
-
-    private void initFields() {
-      name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-      value_ = "";
-      type_ = 0;
-      instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bytesValue_ = com.google.protobuf.ByteString.EMPTY;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (hasInstanceIdentifierValue()) {
-        if (!getInstanceIdentifierValue().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeMessage(1, name_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBytes(2, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeInt32(3, type_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeMessage(4, instanceIdentifierValue_);
-      }
-      for (int i = 0; i < bitsValue_.size(); i++) {
-        output.writeBytes(5, bitsValue_.getByteString(i));
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        output.writeBytes(6, bytesValue_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, name_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(2, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(3, type_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, instanceIdentifierValue_);
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < bitsValue_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(bitsValue_.getByteString(i));
-        }
-        size += dataSize;
-        size += 1 * getBitsValueList().size();
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(6, bytesValue_);
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getNameFieldBuilder();
-          getInstanceIdentifierValueFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        if (nameBuilder_ == null) {
-          name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-        } else {
-          nameBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000001);
-        value_ = "";
-        bitField0_ = (bitField0_ & ~0x00000002);
-        type_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-        } else {
-          instanceIdentifierValueBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000008);
-        bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000010);
-        bytesValue_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000020);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        if (nameBuilder_ == null) {
-          result.name_ = name_;
-        } else {
-          result.name_ = nameBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.value_ = value_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.type_ = type_;
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        if (instanceIdentifierValueBuilder_ == null) {
-          result.instanceIdentifierValue_ = instanceIdentifierValue_;
-        } else {
-          result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
-        }
-        if (((bitField0_ & 0x00000010) == 0x00000010)) {
-          bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
-              bitsValue_);
-          bitField0_ = (bitField0_ & ~0x00000010);
-        }
-        result.bitsValue_ = bitsValue_;
-        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
-          to_bitField0_ |= 0x00000010;
-        }
-        result.bytesValue_ = bytesValue_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()) return this;
-        if (other.hasName()) {
-          mergeName(other.getName());
-        }
-        if (other.hasValue()) {
-          bitField0_ |= 0x00000002;
-          value_ = other.value_;
-          onChanged();
-        }
-        if (other.hasType()) {
-          setType(other.getType());
-        }
-        if (other.hasInstanceIdentifierValue()) {
-          mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
-        }
-        if (!other.bitsValue_.isEmpty()) {
-          if (bitsValue_.isEmpty()) {
-            bitsValue_ = other.bitsValue_;
-            bitField0_ = (bitField0_ & ~0x00000010);
-          } else {
-            ensureBitsValueIsMutable();
-            bitsValue_.addAll(other.bitsValue_);
-          }
-          onChanged();
-        }
-        if (other.hasBytesValue()) {
-          setBytesValue(other.getBytesValue());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (hasInstanceIdentifierValue()) {
-          if (!getInstanceIdentifierValue().isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // optional .org.opendaylight.controller.mdsal.QName name = 1;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> nameBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public boolean hasName() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
-        if (nameBuilder_ == null) {
-          return name_;
-        } else {
-          return nameBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public Builder setName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
-        if (nameBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          name_ = value;
-          onChanged();
-        } else {
-          nameBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000001;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public Builder setName(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
-        if (nameBuilder_ == null) {
-          name_ = builderForValue.build();
-          onChanged();
-        } else {
-          nameBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000001;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public Builder mergeName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
-        if (nameBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) == 0x00000001) &&
-              name_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
-            name_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(name_).mergeFrom(value).buildPartial();
-          } else {
-            name_ = value;
-          }
-          onChanged();
-        } else {
-          nameBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000001;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public Builder clearName() {
-        if (nameBuilder_ == null) {
-          name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-          onChanged();
-        } else {
-          nameBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000001);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNameBuilder() {
-        bitField0_ |= 0x00000001;
-        onChanged();
-        return getNameFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
-        if (nameBuilder_ != null) {
-          return nameBuilder_.getMessageOrBuilder();
-        } else {
-          return name_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>
-          getNameFieldBuilder() {
-        if (nameBuilder_ == null) {
-          nameBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  name_,
-                  getParentForChildren(),
-                  isClean());
-          name_ = null;
-        }
-        return nameBuilder_;
-      }
-
-      // optional string value = 2;
-      private java.lang.Object value_ = "";
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public boolean hasValue() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public java.lang.String getValue() {
-        java.lang.Object ref = value_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          value_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public com.google.protobuf.ByteString
-          getValueBytes() {
-        java.lang.Object ref = value_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          value_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public Builder setValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public Builder clearValue() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        value_ = getDefaultInstance().getValue();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 2;</code>
-       */
-      public Builder setValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 type = 3;
-      private int type_ ;
-      /**
-       * <code>optional int32 type = 3;</code>
-       */
-      public boolean hasType() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional int32 type = 3;</code>
-       */
-      public int getType() {
-        return type_;
-      }
-      /**
-       * <code>optional int32 type = 3;</code>
-       */
-      public Builder setType(int value) {
-        bitField0_ |= 0x00000004;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 type = 3;</code>
-       */
-      public Builder clearType() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        type_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierValueBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public boolean hasInstanceIdentifierValue() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
-        if (instanceIdentifierValueBuilder_ == null) {
-          return instanceIdentifierValue_;
-        } else {
-          return instanceIdentifierValueBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
-        if (instanceIdentifierValueBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          instanceIdentifierValue_ = value;
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000008;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder setInstanceIdentifierValue(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValue_ = builderForValue.build();
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000008;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
-        if (instanceIdentifierValueBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) == 0x00000008) &&
-              instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
-            instanceIdentifierValue_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
-          } else {
-            instanceIdentifierValue_ = value;
-          }
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000008;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder clearInstanceIdentifierValue() {
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000008);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
-        bitField0_ |= 0x00000008;
-        onChanged();
-        return getInstanceIdentifierValueFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
-        if (instanceIdentifierValueBuilder_ != null) {
-          return instanceIdentifierValueBuilder_.getMessageOrBuilder();
-        } else {
-          return instanceIdentifierValue_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
-          getInstanceIdentifierValueFieldBuilder() {
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  instanceIdentifierValue_,
-                  getParentForChildren(),
-                  isClean());
-          instanceIdentifierValue_ = null;
-        }
-        return instanceIdentifierValueBuilder_;
-      }
-
-      // repeated string bitsValue = 5;
-      private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      private void ensureBitsValueIsMutable() {
-        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
-          bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
-          bitField0_ |= 0x00000010;
-         }
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public java.util.List<java.lang.String>
-          getBitsValueList() {
-        return java.util.Collections.unmodifiableList(bitsValue_);
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public int getBitsValueCount() {
-        return bitsValue_.size();
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public java.lang.String getBitsValue(int index) {
-        return bitsValue_.get(index);
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getBitsValueBytes(int index) {
-        return bitsValue_.getByteString(index);
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder setBitsValue(
-          int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureBitsValueIsMutable();
-        bitsValue_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder addBitsValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureBitsValueIsMutable();
-        bitsValue_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder addAllBitsValue(
-          java.lang.Iterable<java.lang.String> values) {
-        ensureBitsValueIsMutable();
-        super.addAll(values, bitsValue_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder clearBitsValue() {
-        bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000010);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 5;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder addBitsValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureBitsValueIsMutable();
-        bitsValue_.add(value);
-        onChanged();
-        return this;
-      }
-
-      // optional bytes bytesValue = 6;
-      private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>optional bytes bytesValue = 6;</code>
-       */
-      public boolean hasBytesValue() {
-        return ((bitField0_ & 0x00000020) == 0x00000020);
-      }
-      /**
-       * <code>optional bytes bytesValue = 6;</code>
-       */
-      public com.google.protobuf.ByteString getBytesValue() {
-        return bytesValue_;
-      }
-      /**
-       * <code>optional bytes bytesValue = 6;</code>
-       */
-      public Builder setBytesValue(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000020;
-        bytesValue_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bytes bytesValue = 6;</code>
-       */
-      public Builder clearBytesValue() {
-        bitField0_ = (bitField0_ & ~0x00000020);
-        bytesValue_ = getDefaultInstance().getBytesValue();
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
-    }
-
-    static {
-      defaultInstance = new PathArgumentAttribute(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
-  }
-
-  public interface QNameOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // optional string value = 1;
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    boolean hasValue();
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    java.lang.String getValue();
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getValueBytes();
-
-    // optional int32 namespace = 2;
-    /**
-     * <code>optional int32 namespace = 2;</code>
-     */
-    boolean hasNamespace();
-    /**
-     * <code>optional int32 namespace = 2;</code>
-     */
-    int getNamespace();
-
-    // optional int32 revision = 3;
-    /**
-     * <code>optional int32 revision = 3;</code>
-     */
-    boolean hasRevision();
-    /**
-     * <code>optional int32 revision = 3;</code>
-     */
-    int getRevision();
-
-    // optional int32 localName = 4;
-    /**
-     * <code>optional int32 localName = 4;</code>
-     */
-    boolean hasLocalName();
-    /**
-     * <code>optional int32 localName = 4;</code>
-     */
-    int getLocalName();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
-   */
-  public static final class QName extends
-      com.google.protobuf.GeneratedMessage
-      implements QNameOrBuilder {
-    // Use QName.newBuilder() to construct.
-    private QName(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private QName(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final QName defaultInstance;
-    public static QName getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public QName getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private QName(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              bitField0_ |= 0x00000001;
-              value_ = input.readBytes();
-              break;
-            }
-            case 16: {
-              bitField0_ |= 0x00000002;
-              namespace_ = input.readInt32();
-              break;
-            }
-            case 24: {
-              bitField0_ |= 0x00000004;
-              revision_ = input.readInt32();
-              break;
-            }
-            case 32: {
-              bitField0_ |= 0x00000008;
-              localName_ = input.readInt32();
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<QName> PARSER =
-        new com.google.protobuf.AbstractParser<QName>() {
-      public QName parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new QName(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<QName> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // optional string value = 1;
-    public static final int VALUE_FIELD_NUMBER = 1;
-    private java.lang.Object value_;
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public boolean hasValue() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public java.lang.String getValue() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          value_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getValueBytes() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        value_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional int32 namespace = 2;
-    public static final int NAMESPACE_FIELD_NUMBER = 2;
-    private int namespace_;
-    /**
-     * <code>optional int32 namespace = 2;</code>
-     */
-    public boolean hasNamespace() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional int32 namespace = 2;</code>
-     */
-    public int getNamespace() {
-      return namespace_;
-    }
-
-    // optional int32 revision = 3;
-    public static final int REVISION_FIELD_NUMBER = 3;
-    private int revision_;
-    /**
-     * <code>optional int32 revision = 3;</code>
-     */
-    public boolean hasRevision() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional int32 revision = 3;</code>
-     */
-    public int getRevision() {
-      return revision_;
-    }
-
-    // optional int32 localName = 4;
-    public static final int LOCALNAME_FIELD_NUMBER = 4;
-    private int localName_;
-    /**
-     * <code>optional int32 localName = 4;</code>
-     */
-    public boolean hasLocalName() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>optional int32 localName = 4;</code>
-     */
-    public int getLocalName() {
-      return localName_;
-    }
-
-    private void initFields() {
-      value_ = "";
-      namespace_ = 0;
-      revision_ = 0;
-      localName_ = 0;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeBytes(1, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeInt32(2, namespace_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeInt32(3, revision_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeInt32(4, localName_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(1, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(2, namespace_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(3, revision_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(4, localName_);
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        value_ = "";
-        bitField0_ = (bitField0_ & ~0x00000001);
-        namespace_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        revision_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        localName_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000008);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.value_ = value_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.namespace_ = namespace_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.revision_ = revision_;
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        result.localName_ = localName_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) return this;
-        if (other.hasValue()) {
-          bitField0_ |= 0x00000001;
-          value_ = other.value_;
-          onChanged();
-        }
-        if (other.hasNamespace()) {
-          setNamespace(other.getNamespace());
-        }
-        if (other.hasRevision()) {
-          setRevision(other.getRevision());
-        }
-        if (other.hasLocalName()) {
-          setLocalName(other.getLocalName());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // optional string value = 1;
-      private java.lang.Object value_ = "";
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public boolean hasValue() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public java.lang.String getValue() {
-        java.lang.Object ref = value_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          value_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getValueBytes() {
-        java.lang.Object ref = value_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          value_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder setValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder clearValue() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        value_ = getDefaultInstance().getValue();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder setValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 namespace = 2;
-      private int namespace_ ;
-      /**
-       * <code>optional int32 namespace = 2;</code>
-       */
-      public boolean hasNamespace() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional int32 namespace = 2;</code>
-       */
-      public int getNamespace() {
-        return namespace_;
-      }
-      /**
-       * <code>optional int32 namespace = 2;</code>
-       */
-      public Builder setNamespace(int value) {
-        bitField0_ |= 0x00000002;
-        namespace_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 namespace = 2;</code>
-       */
-      public Builder clearNamespace() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        namespace_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 revision = 3;
-      private int revision_ ;
-      /**
-       * <code>optional int32 revision = 3;</code>
-       */
-      public boolean hasRevision() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional int32 revision = 3;</code>
-       */
-      public int getRevision() {
-        return revision_;
-      }
-      /**
-       * <code>optional int32 revision = 3;</code>
-       */
-      public Builder setRevision(int value) {
-        bitField0_ |= 0x00000004;
-        revision_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 revision = 3;</code>
-       */
-      public Builder clearRevision() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        revision_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 localName = 4;
-      private int localName_ ;
-      /**
-       * <code>optional int32 localName = 4;</code>
-       */
-      public boolean hasLocalName() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>optional int32 localName = 4;</code>
-       */
-      public int getLocalName() {
-        return localName_;
-      }
-      /**
-       * <code>optional int32 localName = 4;</code>
-       */
-      public Builder setLocalName(int value) {
-        bitField0_ |= 0x00000008;
-        localName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 localName = 4;</code>
-       */
-      public Builder clearLocalName() {
-        bitField0_ = (bitField0_ & ~0x00000008);
-        localName_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.QName)
-    }
-
-    static {
-      defaultInstance = new QName(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.QName)
-  }
-
-  public interface PathArgumentOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // optional string value = 1;
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    boolean hasValue();
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    java.lang.String getValue();
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getValueBytes();
-
-    // optional string type = 2;
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    boolean hasType();
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    java.lang.String getType();
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getTypeBytes();
-
-    // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-     */
-    boolean hasNodeType();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder();
-
-    // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>
-        getAttributeList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index);
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    int getAttributeCount();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
-        getAttributeOrBuilderList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
-        int index);
-
-    // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
-        getAttributesList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    int getAttributesCount();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-        getAttributesOrBuilderList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
-        int index);
-
-    // optional int32 intType = 6;
-    /**
-     * <code>optional int32 intType = 6;</code>
-     */
-    boolean hasIntType();
-    /**
-     * <code>optional int32 intType = 6;</code>
-     */
-    int getIntType();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
-   */
-  public static final class PathArgument extends
-      com.google.protobuf.GeneratedMessage
-      implements PathArgumentOrBuilder {
-    // Use PathArgument.newBuilder() to construct.
-    private PathArgument(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private PathArgument(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final PathArgument defaultInstance;
-    public static PathArgument getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public PathArgument getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private PathArgument(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              bitField0_ |= 0x00000001;
-              value_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              bitField0_ |= 0x00000002;
-              type_ = input.readBytes();
-              break;
-            }
-            case 26: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000004) == 0x00000004)) {
-                subBuilder = nodeType_.toBuilder();
-              }
-              nodeType_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(nodeType_);
-                nodeType_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000004;
-              break;
-            }
-            case 34: {
-              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
-                attribute_ = new java.util.ArrayList<>();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              attribute_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.PARSER, extensionRegistry));
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-                attributes_ = new java.util.ArrayList<>();
-                mutable_bitField0_ |= 0x00000010;
-              }
-              attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
-              break;
-            }
-            case 48: {
-              bitField0_ |= 0x00000008;
-              intType_ = input.readInt32();
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
-          attribute_ = java.util.Collections.unmodifiableList(attribute_);
-        }
-        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-          attributes_ = java.util.Collections.unmodifiableList(attributes_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<PathArgument> PARSER =
-        new com.google.protobuf.AbstractParser<PathArgument>() {
-      public PathArgument parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PathArgument(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<PathArgument> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // optional string value = 1;
-    public static final int VALUE_FIELD_NUMBER = 1;
-    private java.lang.Object value_;
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public boolean hasValue() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public java.lang.String getValue() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          value_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string value = 1;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getValueBytes() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        value_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional string type = 2;
-    public static final int TYPE_FIELD_NUMBER = 2;
-    private java.lang.Object type_;
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public boolean hasType() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public java.lang.String getType() {
-      java.lang.Object ref = type_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          type_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getTypeBytes() {
-      java.lang.Object ref = type_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        type_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
-    public static final int NODETYPE_FIELD_NUMBER = 3;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-     */
-    public boolean hasNodeType() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
-      return nodeType_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
-      return nodeType_;
-    }
-
-    // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
-    public static final int ATTRIBUTE_FIELD_NUMBER = 4;
-    private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
-      return attribute_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
-        getAttributeOrBuilderList() {
-      return attribute_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    public int getAttributeCount() {
-      return attribute_.size();
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
-      return attribute_.get(index);
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
-        int index) {
-      return attribute_.get(index);
-    }
-
-    // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
-    public static final int ATTRIBUTES_FIELD_NUMBER = 5;
-    private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
-      return attributes_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-        getAttributesOrBuilderList() {
-      return attributes_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    public int getAttributesCount() {
-      return attributes_.size();
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
-      return attributes_.get(index);
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     *
-     * <pre>
-     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-     * </pre>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
-        int index) {
-      return attributes_.get(index);
-    }
-
-    // optional int32 intType = 6;
-    public static final int INTTYPE_FIELD_NUMBER = 6;
-    private int intType_;
-    /**
-     * <code>optional int32 intType = 6;</code>
-     */
-    public boolean hasIntType() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>optional int32 intType = 6;</code>
-     */
-    public int getIntType() {
-      return intType_;
-    }
-
-    private void initFields() {
-      value_ = "";
-      type_ = "";
-      nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-      attribute_ = java.util.Collections.emptyList();
-      attributes_ = java.util.Collections.emptyList();
-      intType_ = 0;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      for (int i = 0; i < getAttributeCount(); i++) {
-        if (!getAttribute(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      for (int i = 0; i < getAttributesCount(); i++) {
-        if (!getAttributes(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeBytes(1, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBytes(2, getTypeBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeMessage(3, nodeType_);
-      }
-      for (int i = 0; i < attribute_.size(); i++) {
-        output.writeMessage(4, attribute_.get(i));
-      }
-      for (int i = 0; i < attributes_.size(); i++) {
-        output.writeMessage(5, attributes_.get(i));
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeInt32(6, intType_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(1, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(2, getTypeBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, nodeType_);
-      }
-      for (int i = 0; i < attribute_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, attribute_.get(i));
-      }
-      for (int i = 0; i < attributes_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, attributes_.get(i));
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(6, intType_);
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getNodeTypeFieldBuilder();
-          getAttributeFieldBuilder();
-          getAttributesFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        value_ = "";
-        bitField0_ = (bitField0_ & ~0x00000001);
-        type_ = "";
-        bitField0_ = (bitField0_ & ~0x00000002);
-        if (nodeTypeBuilder_ == null) {
-          nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-        } else {
-          nodeTypeBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000004);
-        if (attributeBuilder_ == null) {
-          attribute_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000008);
-        } else {
-          attributeBuilder_.clear();
-        }
-        if (attributesBuilder_ == null) {
-          attributes_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000010);
-        } else {
-          attributesBuilder_.clear();
-        }
-        intType_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000020);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.value_ = value_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.type_ = type_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        if (nodeTypeBuilder_ == null) {
-          result.nodeType_ = nodeType_;
-        } else {
-          result.nodeType_ = nodeTypeBuilder_.build();
-        }
-        if (attributeBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) == 0x00000008)) {
-            attribute_ = java.util.Collections.unmodifiableList(attribute_);
-            bitField0_ = (bitField0_ & ~0x00000008);
-          }
-          result.attribute_ = attribute_;
-        } else {
-          result.attribute_ = attributeBuilder_.build();
-        }
-        if (attributesBuilder_ == null) {
-          if (((bitField0_ & 0x00000010) == 0x00000010)) {
-            attributes_ = java.util.Collections.unmodifiableList(attributes_);
-            bitField0_ = (bitField0_ & ~0x00000010);
-          }
-          result.attributes_ = attributes_;
-        } else {
-          result.attributes_ = attributesBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        result.intType_ = intType_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) return this;
-        if (other.hasValue()) {
-          bitField0_ |= 0x00000001;
-          value_ = other.value_;
-          onChanged();
-        }
-        if (other.hasType()) {
-          bitField0_ |= 0x00000002;
-          type_ = other.type_;
-          onChanged();
-        }
-        if (other.hasNodeType()) {
-          mergeNodeType(other.getNodeType());
-        }
-        if (attributeBuilder_ == null) {
-          if (!other.attribute_.isEmpty()) {
-            if (attribute_.isEmpty()) {
-              attribute_ = other.attribute_;
-              bitField0_ = (bitField0_ & ~0x00000008);
-            } else {
-              ensureAttributeIsMutable();
-              attribute_.addAll(other.attribute_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.attribute_.isEmpty()) {
-            if (attributeBuilder_.isEmpty()) {
-              attributeBuilder_.dispose();
-              attributeBuilder_ = null;
-              attribute_ = other.attribute_;
-              bitField0_ = (bitField0_ & ~0x00000008);
-              attributeBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getAttributeFieldBuilder() : null;
-            } else {
-              attributeBuilder_.addAllMessages(other.attribute_);
-            }
-          }
-        }
-        if (attributesBuilder_ == null) {
-          if (!other.attributes_.isEmpty()) {
-            if (attributes_.isEmpty()) {
-              attributes_ = other.attributes_;
-              bitField0_ = (bitField0_ & ~0x00000010);
-            } else {
-              ensureAttributesIsMutable();
-              attributes_.addAll(other.attributes_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.attributes_.isEmpty()) {
-            if (attributesBuilder_.isEmpty()) {
-              attributesBuilder_.dispose();
-              attributesBuilder_ = null;
-              attributes_ = other.attributes_;
-              bitField0_ = (bitField0_ & ~0x00000010);
-              attributesBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getAttributesFieldBuilder() : null;
-            } else {
-              attributesBuilder_.addAllMessages(other.attributes_);
-            }
-          }
-        }
-        if (other.hasIntType()) {
-          setIntType(other.getIntType());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        for (int i = 0; i < getAttributeCount(); i++) {
-          if (!getAttribute(i).isInitialized()) {
-
-            return false;
-          }
-        }
-        for (int i = 0; i < getAttributesCount(); i++) {
-          if (!getAttributes(i).isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // optional string value = 1;
-      private java.lang.Object value_ = "";
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public boolean hasValue() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public java.lang.String getValue() {
-        java.lang.Object ref = value_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          value_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getValueBytes() {
-        java.lang.Object ref = value_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          value_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder setValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder clearValue() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        value_ = getDefaultInstance().getValue();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 1;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder setValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional string type = 2;
-      private java.lang.Object type_ = "";
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public boolean hasType() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public java.lang.String getType() {
-        java.lang.Object ref = type_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          type_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getTypeBytes() {
-        java.lang.Object ref = type_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          type_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder setType(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder clearType() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        type_ = getDefaultInstance().getType();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated
-       * </pre>
-       */
-      public Builder setTypeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> nodeTypeBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public boolean hasNodeType() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
-        if (nodeTypeBuilder_ == null) {
-          return nodeType_;
-        } else {
-          return nodeTypeBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public Builder setNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
-        if (nodeTypeBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          nodeType_ = value;
-          onChanged();
-        } else {
-          nodeTypeBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public Builder setNodeType(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
-        if (nodeTypeBuilder_ == null) {
-          nodeType_ = builderForValue.build();
-          onChanged();
-        } else {
-          nodeTypeBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public Builder mergeNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
-        if (nodeTypeBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) == 0x00000004) &&
-              nodeType_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
-            nodeType_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(nodeType_).mergeFrom(value).buildPartial();
-          } else {
-            nodeType_ = value;
-          }
-          onChanged();
-        } else {
-          nodeTypeBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public Builder clearNodeType() {
-        if (nodeTypeBuilder_ == null) {
-          nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
-          onChanged();
-        } else {
-          nodeTypeBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000004);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNodeTypeBuilder() {
-        bitField0_ |= 0x00000004;
-        onChanged();
-        return getNodeTypeFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
-        if (nodeTypeBuilder_ != null) {
-          return nodeTypeBuilder_.getMessageOrBuilder();
-        } else {
-          return nodeType_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>
-          getNodeTypeFieldBuilder() {
-        if (nodeTypeBuilder_ == null) {
-          nodeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  nodeType_,
-                  getParentForChildren(),
-                  isClean());
-          nodeType_ = null;
-        }
-        return nodeTypeBuilder_;
-      }
-
-      // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
-      private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_ =
-        java.util.Collections.emptyList();
-      private void ensureAttributeIsMutable() {
-        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
-          attribute_ = new java.util.ArrayList<>(attribute_);
-          bitField0_ |= 0x00000008;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder> attributeBuilder_;
-
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
-        if (attributeBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(attribute_);
-        } else {
-          return attributeBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public int getAttributeCount() {
-        if (attributeBuilder_ == null) {
-          return attribute_.size();
-        } else {
-          return attributeBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
-        if (attributeBuilder_ == null) {
-          return attribute_.get(index);
-        } else {
-          return attributeBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder setAttribute(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
-        if (attributeBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributeIsMutable();
-          attribute_.set(index, value);
-          onChanged();
-        } else {
-          attributeBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder setAttribute(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
-        if (attributeBuilder_ == null) {
-          ensureAttributeIsMutable();
-          attribute_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          attributeBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder addAttribute(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
-        if (attributeBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributeIsMutable();
-          attribute_.add(value);
-          onChanged();
-        } else {
-          attributeBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder addAttribute(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
-        if (attributeBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributeIsMutable();
-          attribute_.add(index, value);
-          onChanged();
-        } else {
-          attributeBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder addAttribute(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
-        if (attributeBuilder_ == null) {
-          ensureAttributeIsMutable();
-          attribute_.add(builderForValue.build());
-          onChanged();
-        } else {
-          attributeBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder addAttribute(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
-        if (attributeBuilder_ == null) {
-          ensureAttributeIsMutable();
-          attribute_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          attributeBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder addAllAttribute(
-          java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> values) {
-        if (attributeBuilder_ == null) {
-          ensureAttributeIsMutable();
-          super.addAll(values, attribute_);
-          onChanged();
-        } else {
-          attributeBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder clearAttribute() {
-        if (attributeBuilder_ == null) {
-          attribute_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000008);
-          onChanged();
-        } else {
-          attributeBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public Builder removeAttribute(int index) {
-        if (attributeBuilder_ == null) {
-          ensureAttributeIsMutable();
-          attribute_.remove(index);
-          onChanged();
-        } else {
-          attributeBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder getAttributeBuilder(
-          int index) {
-        return getAttributeFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
-          int index) {
-        if (attributeBuilder_ == null) {
-          return attribute_.get(index);  } else {
-          return attributeBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
-           getAttributeOrBuilderList() {
-        if (attributeBuilder_ != null) {
-          return attributeBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(attribute_);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder() {
-        return getAttributeFieldBuilder().addBuilder(
-            org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder(
-          int index) {
-        return getAttributeFieldBuilder().addBuilder(
-            index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder>
-           getAttributeBuilderList() {
-        return getAttributeFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
-          getAttributeFieldBuilder() {
-        if (attributeBuilder_ == null) {
-          attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>(
-                  attribute_,
-                  ((bitField0_ & 0x00000008) == 0x00000008),
-                  getParentForChildren(),
-                  isClean());
-          attribute_ = null;
-        }
-        return attributeBuilder_;
-      }
-
-      // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
-      private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
-        java.util.Collections.emptyList();
-      private void ensureAttributesIsMutable() {
-        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
-          attributes_ = new java.util.ArrayList<>(attributes_);
-          bitField0_ |= 0x00000010;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder> attributesBuilder_;
-
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
-        if (attributesBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(attributes_);
-        } else {
-          return attributesBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public int getAttributesCount() {
-        if (attributesBuilder_ == null) {
-          return attributes_.size();
-        } else {
-          return attributesBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
-        if (attributesBuilder_ == null) {
-          return attributes_.get(index);
-        } else {
-          return attributesBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder setAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
-        if (attributesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributesIsMutable();
-          attributes_.set(index, value);
-          onChanged();
-        } else {
-          attributesBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder setAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          attributesBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
-        if (attributesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributesIsMutable();
-          attributes_.add(value);
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder addAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
-        if (attributesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributesIsMutable();
-          attributes_.add(index, value);
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder addAttributes(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.add(builderForValue.build());
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder addAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder addAllAttributes(
-          java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          super.addAll(values, attributes_);
-          onChanged();
-        } else {
-          attributesBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder clearAttributes() {
-        if (attributesBuilder_ == null) {
-          attributes_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000010);
-          onChanged();
-        } else {
-          attributesBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public Builder removeAttributes(int index) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.remove(index);
-          onChanged();
-        } else {
-          attributesBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
-          int index) {
-        return getAttributesFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
-          int index) {
-        if (attributesBuilder_ == null) {
-          return attributes_.get(index);  } else {
-          return attributesBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-           getAttributesOrBuilderList() {
-        if (attributesBuilder_ != null) {
-          return attributesBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(attributes_);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
-        return getAttributesFieldBuilder().addBuilder(
-            org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
-          int index) {
-        return getAttributesFieldBuilder().addBuilder(
-            index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       *
-       * <pre>
-       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
-       * </pre>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
-           getAttributesBuilderList() {
-        return getAttributesFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-          getAttributesFieldBuilder() {
-        if (attributesBuilder_ == null) {
-          attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>(
-                  attributes_,
-                  ((bitField0_ & 0x00000010) == 0x00000010),
-                  getParentForChildren(),
-                  isClean());
-          attributes_ = null;
-        }
-        return attributesBuilder_;
-      }
-
-      // optional int32 intType = 6;
-      private int intType_ ;
-      /**
-       * <code>optional int32 intType = 6;</code>
-       */
-      public boolean hasIntType() {
-        return ((bitField0_ & 0x00000020) == 0x00000020);
-      }
-      /**
-       * <code>optional int32 intType = 6;</code>
-       */
-      public int getIntType() {
-        return intType_;
-      }
-      /**
-       * <code>optional int32 intType = 6;</code>
-       */
-      public Builder setIntType(int value) {
-        bitField0_ |= 0x00000020;
-        intType_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 intType = 6;</code>
-       */
-      public Builder clearIntType() {
-        bitField0_ = (bitField0_ & ~0x00000020);
-        intType_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgument)
-    }
-
-    static {
-      defaultInstance = new PathArgument(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgument)
-  }
-
-  public interface InstanceIdentifierOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>
-        getArgumentsList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index);
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    int getArgumentsCount();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
-        getArgumentsOrBuilderList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
-        int index);
-
-    // repeated string code = 2;
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    java.util.List<java.lang.String>
-    getCodeList();
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    int getCodeCount();
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    java.lang.String getCode(int index);
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getCodeBytes(int index);
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
-   */
-  public static final class InstanceIdentifier extends
-      com.google.protobuf.GeneratedMessage
-      implements InstanceIdentifierOrBuilder {
-    // Use InstanceIdentifier.newBuilder() to construct.
-    private InstanceIdentifier(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private InstanceIdentifier(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final InstanceIdentifier defaultInstance;
-    public static InstanceIdentifier getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public InstanceIdentifier getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private InstanceIdentifier(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-                arguments_ = new java.util.ArrayList<>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              arguments_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry));
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
-                code_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              code_.add(input.readBytes());
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-          arguments_ = java.util.Collections.unmodifiableList(arguments_);
-        }
-        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
-          code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<InstanceIdentifier> PARSER =
-        new com.google.protobuf.AbstractParser<InstanceIdentifier>() {
-      public InstanceIdentifier parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new InstanceIdentifier(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<InstanceIdentifier> getParserForType() {
-      return PARSER;
-    }
-
-    // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
-    public static final int ARGUMENTS_FIELD_NUMBER = 1;
-    private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
-      return arguments_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
-        getArgumentsOrBuilderList() {
-      return arguments_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    public int getArgumentsCount() {
-      return arguments_.size();
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
-      return arguments_.get(index);
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
-        int index) {
-      return arguments_.get(index);
-    }
-
-    // repeated string code = 2;
-    public static final int CODE_FIELD_NUMBER = 2;
-    private com.google.protobuf.LazyStringList code_;
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    public java.util.List<java.lang.String>
-        getCodeList() {
-      return code_;
-    }
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    public int getCodeCount() {
-      return code_.size();
-    }
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    public java.lang.String getCode(int index) {
-      return code_.get(index);
-    }
-    /**
-     * <code>repeated string code = 2;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the path args. This is
-     * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-     * that contains the codes.
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getCodeBytes(int index) {
-      return code_.getByteString(index);
-    }
-
-    private void initFields() {
-      arguments_ = java.util.Collections.emptyList();
-      code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      for (int i = 0; i < getArgumentsCount(); i++) {
-        if (!getArguments(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      for (int i = 0; i < arguments_.size(); i++) {
-        output.writeMessage(1, arguments_.get(i));
-      }
-      for (int i = 0; i < code_.size(); i++) {
-        output.writeBytes(2, code_.getByteString(i));
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      for (int i = 0; i < arguments_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, arguments_.get(i));
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < code_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(code_.getByteString(i));
-        }
-        size += dataSize;
-        size += 1 * getCodeList().size();
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getArgumentsFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        if (argumentsBuilder_ == null) {
-          arguments_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000001);
-        } else {
-          argumentsBuilder_.clear();
-        }
-        code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier(this);
-        int from_bitField0_ = bitField0_;
-        if (argumentsBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) == 0x00000001)) {
-            arguments_ = java.util.Collections.unmodifiableList(arguments_);
-            bitField0_ = (bitField0_ & ~0x00000001);
-          }
-          result.arguments_ = arguments_;
-        } else {
-          result.arguments_ = argumentsBuilder_.build();
-        }
-        if (((bitField0_ & 0x00000002) == 0x00000002)) {
-          code_ = new com.google.protobuf.UnmodifiableLazyStringList(
-              code_);
-          bitField0_ = (bitField0_ & ~0x00000002);
-        }
-        result.code_ = code_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) return this;
-        if (argumentsBuilder_ == null) {
-          if (!other.arguments_.isEmpty()) {
-            if (arguments_.isEmpty()) {
-              arguments_ = other.arguments_;
-              bitField0_ = (bitField0_ & ~0x00000001);
-            } else {
-              ensureArgumentsIsMutable();
-              arguments_.addAll(other.arguments_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.arguments_.isEmpty()) {
-            if (argumentsBuilder_.isEmpty()) {
-              argumentsBuilder_.dispose();
-              argumentsBuilder_ = null;
-              arguments_ = other.arguments_;
-              bitField0_ = (bitField0_ & ~0x00000001);
-              argumentsBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getArgumentsFieldBuilder() : null;
-            } else {
-              argumentsBuilder_.addAllMessages(other.arguments_);
-            }
-          }
-        }
-        if (!other.code_.isEmpty()) {
-          if (code_.isEmpty()) {
-            code_ = other.code_;
-            bitField0_ = (bitField0_ & ~0x00000002);
-          } else {
-            ensureCodeIsMutable();
-            code_.addAll(other.code_);
-          }
-          onChanged();
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        for (int i = 0; i < getArgumentsCount(); i++) {
-          if (!getArguments(i).isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
-      private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_ =
-        java.util.Collections.emptyList();
-      private void ensureArgumentsIsMutable() {
-        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
-          arguments_ = new java.util.ArrayList<>(arguments_);
-          bitField0_ |= 0x00000001;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder> argumentsBuilder_;
-
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
-        if (argumentsBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(arguments_);
-        } else {
-          return argumentsBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public int getArgumentsCount() {
-        if (argumentsBuilder_ == null) {
-          return arguments_.size();
-        } else {
-          return argumentsBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
-        if (argumentsBuilder_ == null) {
-          return arguments_.get(index);
-        } else {
-          return argumentsBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder setArguments(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
-        if (argumentsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureArgumentsIsMutable();
-          arguments_.set(index, value);
-          onChanged();
-        } else {
-          argumentsBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder setArguments(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
-        if (argumentsBuilder_ == null) {
-          ensureArgumentsIsMutable();
-          arguments_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          argumentsBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder addArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
-        if (argumentsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureArgumentsIsMutable();
-          arguments_.add(value);
-          onChanged();
-        } else {
-          argumentsBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder addArguments(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
-        if (argumentsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureArgumentsIsMutable();
-          arguments_.add(index, value);
-          onChanged();
-        } else {
-          argumentsBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder addArguments(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
-        if (argumentsBuilder_ == null) {
-          ensureArgumentsIsMutable();
-          arguments_.add(builderForValue.build());
-          onChanged();
-        } else {
-          argumentsBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder addArguments(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
-        if (argumentsBuilder_ == null) {
-          ensureArgumentsIsMutable();
-          arguments_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          argumentsBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder addAllArguments(
-          java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> values) {
-        if (argumentsBuilder_ == null) {
-          ensureArgumentsIsMutable();
-          super.addAll(values, arguments_);
-          onChanged();
-        } else {
-          argumentsBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder clearArguments() {
-        if (argumentsBuilder_ == null) {
-          arguments_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000001);
-          onChanged();
-        } else {
-          argumentsBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public Builder removeArguments(int index) {
-        if (argumentsBuilder_ == null) {
-          ensureArgumentsIsMutable();
-          arguments_.remove(index);
-          onChanged();
-        } else {
-          argumentsBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getArgumentsBuilder(
-          int index) {
-        return getArgumentsFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
-          int index) {
-        if (argumentsBuilder_ == null) {
-          return arguments_.get(index);  } else {
-          return argumentsBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
-           getArgumentsOrBuilderList() {
-        if (argumentsBuilder_ != null) {
-          return argumentsBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(arguments_);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder() {
-        return getArgumentsFieldBuilder().addBuilder(
-            org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder(
-          int index) {
-        return getArgumentsFieldBuilder().addBuilder(
-            index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder>
-           getArgumentsBuilderList() {
-        return getArgumentsFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
-          getArgumentsFieldBuilder() {
-        if (argumentsBuilder_ == null) {
-          argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>(
-                  arguments_,
-                  ((bitField0_ & 0x00000001) == 0x00000001),
-                  getParentForChildren(),
-                  isClean());
-          arguments_ = null;
-        }
-        return argumentsBuilder_;
-      }
-
-      // repeated string code = 2;
-      private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      private void ensureCodeIsMutable() {
-        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
-          code_ = new com.google.protobuf.LazyStringArrayList(code_);
-          bitField0_ |= 0x00000002;
-         }
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public java.util.List<java.lang.String>
-          getCodeList() {
-        return java.util.Collections.unmodifiableList(code_);
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public int getCodeCount() {
-        return code_.size();
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public java.lang.String getCode(int index) {
-        return code_.get(index);
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getCodeBytes(int index) {
-        return code_.getByteString(index);
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public Builder setCode(
-          int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureCodeIsMutable();
-        code_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public Builder addCode(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureCodeIsMutable();
-        code_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public Builder addAllCode(
-          java.lang.Iterable<java.lang.String> values) {
-        ensureCodeIsMutable();
-        super.addAll(values, code_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public Builder clearCode() {
-        code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 2;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the path args. This is
-       * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-       * that contains the codes.
-       * </pre>
-       */
-      public Builder addCodeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureCodeIsMutable();
-        code_.add(value);
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
-    }
-
-    static {
-      defaultInstance = new InstanceIdentifier(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
-  }
-
-  public interface NodeOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // optional string path = 1;
-    /**
-     * <code>optional string path = 1;</code>
-     *
-     * <pre>
-     * @deprecated(use pathArgument)
-     * </pre>
-     */
-    boolean hasPath();
-    /**
-     * <code>optional string path = 1;</code>
-     *
-     * <pre>
-     * @deprecated(use pathArgument)
-     * </pre>
-     */
-    java.lang.String getPath();
-    /**
-     * <code>optional string path = 1;</code>
-     *
-     * <pre>
-     * @deprecated(use pathArgument)
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getPathBytes();
-
-    // optional string type = 2;
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated(use intType)
-     * </pre>
-     */
-    boolean hasType();
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated(use intType)
-     * </pre>
-     */
-    java.lang.String getType();
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated(use intType)
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getTypeBytes();
-
-    // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-     */
-    boolean hasPathArgument();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder();
-
-    // optional int32 intType = 4;
-    /**
-     * <code>optional int32 intType = 4;</code>
-     */
-    boolean hasIntType();
-    /**
-     * <code>optional int32 intType = 4;</code>
-     */
-    int getIntType();
-
-    // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
-        getAttributesList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    int getAttributesCount();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-        getAttributesOrBuilderList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
-        int index);
-
-    // repeated .org.opendaylight.controller.mdsal.Node child = 6;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>
-        getChildList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index);
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    int getChildCount();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
-        getChildOrBuilderList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
-        int index);
-
-    // optional string value = 7;
-    /**
-     * <code>optional string value = 7;</code>
-     */
-    boolean hasValue();
-    /**
-     * <code>optional string value = 7;</code>
-     */
-    java.lang.String getValue();
-    /**
-     * <code>optional string value = 7;</code>
-     */
-    com.google.protobuf.ByteString
-        getValueBytes();
-
-    // optional string valueType = 8;
-    /**
-     * <code>optional string valueType = 8;</code>
-     *
-     * <pre>
-     * @deprecated(use intValueType)
-     * </pre>
-     */
-    boolean hasValueType();
-    /**
-     * <code>optional string valueType = 8;</code>
-     *
-     * <pre>
-     * @deprecated(use intValueType)
-     * </pre>
-     */
-    java.lang.String getValueType();
-    /**
-     * <code>optional string valueType = 8;</code>
-     *
-     * <pre>
-     * @deprecated(use intValueType)
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getValueTypeBytes();
-
-    // optional int32 intValueType = 9;
-    /**
-     * <code>optional int32 intValueType = 9;</code>
-     *
-     * <pre>
-     * instead of valueType
-     * </pre>
-     */
-    boolean hasIntValueType();
-    /**
-     * <code>optional int32 intValueType = 9;</code>
-     *
-     * <pre>
-     * instead of valueType
-     * </pre>
-     */
-    int getIntValueType();
-
-    // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    boolean hasInstanceIdentifierValue();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
-
-    // repeated string bitsValue = 11;
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    java.util.List<java.lang.String>
-    getBitsValueList();
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    int getBitsValueCount();
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    java.lang.String getBitsValue(int index);
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getBitsValueBytes(int index);
-
-    // repeated string code = 12;
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    java.util.List<java.lang.String>
-    getCodeList();
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    int getCodeCount();
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    java.lang.String getCode(int index);
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    com.google.protobuf.ByteString
-        getCodeBytes(int index);
-
-    // optional bytes bytesValue = 13;
-    /**
-     * <code>optional bytes bytesValue = 13;</code>
-     */
-    boolean hasBytesValue();
-    /**
-     * <code>optional bytes bytesValue = 13;</code>
-     */
-    com.google.protobuf.ByteString getBytesValue();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
-   */
-  public static final class Node extends
-      com.google.protobuf.GeneratedMessage
-      implements NodeOrBuilder {
-    // Use Node.newBuilder() to construct.
-    private Node(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private Node(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final Node defaultInstance;
-    public static Node getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public Node getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private Node(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              bitField0_ |= 0x00000001;
-              path_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              bitField0_ |= 0x00000002;
-              type_ = input.readBytes();
-              break;
-            }
-            case 26: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000004) == 0x00000004)) {
-                subBuilder = pathArgument_.toBuilder();
-              }
-              pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(pathArgument_);
-                pathArgument_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000004;
-              break;
-            }
-            case 32: {
-              bitField0_ |= 0x00000008;
-              intType_ = input.readInt32();
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-                attributes_ = new java.util.ArrayList<>();
-                mutable_bitField0_ |= 0x00000010;
-              }
-              attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
-              break;
-            }
-            case 50: {
-              if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
-                child_ = new java.util.ArrayList<>();
-                mutable_bitField0_ |= 0x00000020;
-              }
-              child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry));
-              break;
-            }
-            case 58: {
-              bitField0_ |= 0x00000010;
-              value_ = input.readBytes();
-              break;
-            }
-            case 66: {
-              bitField0_ |= 0x00000020;
-              valueType_ = input.readBytes();
-              break;
-            }
-            case 72: {
-              bitField0_ |= 0x00000040;
-              intValueType_ = input.readInt32();
-              break;
-            }
-            case 82: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000080) == 0x00000080)) {
-                subBuilder = instanceIdentifierValue_.toBuilder();
-              }
-              instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceIdentifierValue_);
-                instanceIdentifierValue_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000080;
-              break;
-            }
-            case 90: {
-              if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
-                bitsValue_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000400;
-              }
-              bitsValue_.add(input.readBytes());
-              break;
-            }
-            case 98: {
-              if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
-                code_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000800;
-              }
-              code_.add(input.readBytes());
-              break;
-            }
-            case 106: {
-              bitField0_ |= 0x00000100;
-              bytesValue_ = input.readBytes();
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-          attributes_ = java.util.Collections.unmodifiableList(attributes_);
-        }
-        if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
-          child_ = java.util.Collections.unmodifiableList(child_);
-        }
-        if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
-          bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
-        }
-        if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
-          code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<Node> PARSER =
-        new com.google.protobuf.AbstractParser<Node>() {
-      public Node parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Node(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<Node> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // optional string path = 1;
-    public static final int PATH_FIELD_NUMBER = 1;
-    private java.lang.Object path_;
-    /**
-     * <code>optional string path = 1;</code>
-     *
-     * <pre>
-     * @deprecated(use pathArgument)
-     * </pre>
-     */
-    public boolean hasPath() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional string path = 1;</code>
-     *
-     * <pre>
-     * @deprecated(use pathArgument)
-     * </pre>
-     */
-    public java.lang.String getPath() {
-      java.lang.Object ref = path_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          path_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string path = 1;</code>
-     *
-     * <pre>
-     * @deprecated(use pathArgument)
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getPathBytes() {
-      java.lang.Object ref = path_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        path_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional string type = 2;
-    public static final int TYPE_FIELD_NUMBER = 2;
-    private java.lang.Object type_;
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated(use intType)
-     * </pre>
-     */
-    public boolean hasType() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated(use intType)
-     * </pre>
-     */
-    public java.lang.String getType() {
-      java.lang.Object ref = type_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          type_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string type = 2;</code>
-     *
-     * <pre>
-     * @deprecated(use intType)
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getTypeBytes() {
-      java.lang.Object ref = type_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        type_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
-    public static final int PATHARGUMENT_FIELD_NUMBER = 3;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-     */
-    public boolean hasPathArgument() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
-      return pathArgument_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
-      return pathArgument_;
-    }
-
-    // optional int32 intType = 4;
-    public static final int INTTYPE_FIELD_NUMBER = 4;
-    private int intType_;
-    /**
-     * <code>optional int32 intType = 4;</code>
-     */
-    public boolean hasIntType() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>optional int32 intType = 4;</code>
-     */
-    public int getIntType() {
-      return intType_;
-    }
-
-    // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
-    public static final int ATTRIBUTES_FIELD_NUMBER = 5;
-    private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
-      return attributes_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-        getAttributesOrBuilderList() {
-      return attributes_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    public int getAttributesCount() {
-      return attributes_.size();
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
-      return attributes_.get(index);
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
-        int index) {
-      return attributes_.get(index);
-    }
-
-    // repeated .org.opendaylight.controller.mdsal.Node child = 6;
-    public static final int CHILD_FIELD_NUMBER = 6;
-    private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
-      return child_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
-        getChildOrBuilderList() {
-      return child_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    public int getChildCount() {
-      return child_.size();
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
-      return child_.get(index);
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
-        int index) {
-      return child_.get(index);
-    }
-
-    // optional string value = 7;
-    public static final int VALUE_FIELD_NUMBER = 7;
-    private java.lang.Object value_;
-    /**
-     * <code>optional string value = 7;</code>
-     */
-    public boolean hasValue() {
-      return ((bitField0_ & 0x00000010) == 0x00000010);
-    }
-    /**
-     * <code>optional string value = 7;</code>
-     */
-    public java.lang.String getValue() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          value_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string value = 7;</code>
-     */
-    public com.google.protobuf.ByteString
-        getValueBytes() {
-      java.lang.Object ref = value_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        value_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional string valueType = 8;
-    public static final int VALUETYPE_FIELD_NUMBER = 8;
-    private java.lang.Object valueType_;
-    /**
-     * <code>optional string valueType = 8;</code>
-     *
-     * <pre>
-     * @deprecated(use intValueType)
-     * </pre>
-     */
-    public boolean hasValueType() {
-      return ((bitField0_ & 0x00000020) == 0x00000020);
-    }
-    /**
-     * <code>optional string valueType = 8;</code>
-     *
-     * <pre>
-     * @deprecated(use intValueType)
-     * </pre>
-     */
-    public java.lang.String getValueType() {
-      java.lang.Object ref = valueType_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          valueType_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>optional string valueType = 8;</code>
-     *
-     * <pre>
-     * @deprecated(use intValueType)
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getValueTypeBytes() {
-      java.lang.Object ref = valueType_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        valueType_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional int32 intValueType = 9;
-    public static final int INTVALUETYPE_FIELD_NUMBER = 9;
-    private int intValueType_;
-    /**
-     * <code>optional int32 intValueType = 9;</code>
-     *
-     * <pre>
-     * instead of valueType
-     * </pre>
-     */
-    public boolean hasIntValueType() {
-      return ((bitField0_ & 0x00000040) == 0x00000040);
-    }
-    /**
-     * <code>optional int32 intValueType = 9;</code>
-     *
-     * <pre>
-     * instead of valueType
-     * </pre>
-     */
-    public int getIntValueType() {
-      return intValueType_;
-    }
-
-    // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
-    public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    public boolean hasInstanceIdentifierValue() {
-      return ((bitField0_ & 0x00000080) == 0x00000080);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
-      return instanceIdentifierValue_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-     *
-     * <pre>
-     * Specific values
-     * </pre>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
-      return instanceIdentifierValue_;
-    }
-
-    // repeated string bitsValue = 11;
-    public static final int BITSVALUE_FIELD_NUMBER = 11;
-    private com.google.protobuf.LazyStringList bitsValue_;
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public java.util.List<java.lang.String>
-        getBitsValueList() {
-      return bitsValue_;
-    }
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public int getBitsValueCount() {
-      return bitsValue_.size();
-    }
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public java.lang.String getBitsValue(int index) {
-      return bitsValue_.get(index);
-    }
-    /**
-     * <code>repeated string bitsValue = 11;</code>
-     *
-     * <pre>
-     * intValueType = Bits
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getBitsValueBytes(int index) {
-      return bitsValue_.getByteString(index);
-    }
-
-    // repeated string code = 12;
-    public static final int CODE_FIELD_NUMBER = 12;
-    private com.google.protobuf.LazyStringList code_;
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    public java.util.List<java.lang.String>
-        getCodeList() {
-      return code_;
-    }
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    public int getCodeCount() {
-      return code_.size();
-    }
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    public java.lang.String getCode(int index) {
-      return code_.get(index);
-    }
-    /**
-     * <code>repeated string code = 12;</code>
-     *
-     * <pre>
-     * A list of string codes which can be used for any repeated strings in the NormalizedNode
-     * </pre>
-     */
-    public com.google.protobuf.ByteString
-        getCodeBytes(int index) {
-      return code_.getByteString(index);
-    }
-
-    // optional bytes bytesValue = 13;
-    public static final int BYTESVALUE_FIELD_NUMBER = 13;
-    private com.google.protobuf.ByteString bytesValue_;
-    /**
-     * <code>optional bytes bytesValue = 13;</code>
-     */
-    public boolean hasBytesValue() {
-      return ((bitField0_ & 0x00000100) == 0x00000100);
-    }
-    /**
-     * <code>optional bytes bytesValue = 13;</code>
-     */
-    public com.google.protobuf.ByteString getBytesValue() {
-      return bytesValue_;
-    }
-
-    private void initFields() {
-      path_ = "";
-      type_ = "";
-      pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
-      intType_ = 0;
-      attributes_ = java.util.Collections.emptyList();
-      child_ = java.util.Collections.emptyList();
-      value_ = "";
-      valueType_ = "";
-      intValueType_ = 0;
-      instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bytesValue_ = com.google.protobuf.ByteString.EMPTY;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (hasPathArgument()) {
-        if (!getPathArgument().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      for (int i = 0; i < getAttributesCount(); i++) {
-        if (!getAttributes(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      for (int i = 0; i < getChildCount(); i++) {
-        if (!getChild(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      if (hasInstanceIdentifierValue()) {
-        if (!getInstanceIdentifierValue().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeBytes(1, getPathBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBytes(2, getTypeBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeMessage(3, pathArgument_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeInt32(4, intType_);
-      }
-      for (int i = 0; i < attributes_.size(); i++) {
-        output.writeMessage(5, attributes_.get(i));
-      }
-      for (int i = 0; i < child_.size(); i++) {
-        output.writeMessage(6, child_.get(i));
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        output.writeBytes(7, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        output.writeBytes(8, getValueTypeBytes());
-      }
-      if (((bitField0_ & 0x00000040) == 0x00000040)) {
-        output.writeInt32(9, intValueType_);
-      }
-      if (((bitField0_ & 0x00000080) == 0x00000080)) {
-        output.writeMessage(10, instanceIdentifierValue_);
-      }
-      for (int i = 0; i < bitsValue_.size(); i++) {
-        output.writeBytes(11, bitsValue_.getByteString(i));
-      }
-      for (int i = 0; i < code_.size(); i++) {
-        output.writeBytes(12, code_.getByteString(i));
-      }
-      if (((bitField0_ & 0x00000100) == 0x00000100)) {
-        output.writeBytes(13, bytesValue_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(1, getPathBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(2, getTypeBytes());
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, pathArgument_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(4, intType_);
-      }
-      for (int i = 0; i < attributes_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, attributes_.get(i));
-      }
-      for (int i = 0; i < child_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, child_.get(i));
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(7, getValueBytes());
-      }
-      if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(8, getValueTypeBytes());
-      }
-      if (((bitField0_ & 0x00000040) == 0x00000040)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(9, intValueType_);
-      }
-      if (((bitField0_ & 0x00000080) == 0x00000080)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(10, instanceIdentifierValue_);
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < bitsValue_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(bitsValue_.getByteString(i));
-        }
-        size += dataSize;
-        size += 1 * getBitsValueList().size();
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < code_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(code_.getByteString(i));
-        }
-        size += dataSize;
-        size += 1 * getCodeList().size();
-      }
-      if (((bitField0_ & 0x00000100) == 0x00000100)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(13, bytesValue_);
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getPathArgumentFieldBuilder();
-          getAttributesFieldBuilder();
-          getChildFieldBuilder();
-          getInstanceIdentifierValueFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        path_ = "";
-        bitField0_ = (bitField0_ & ~0x00000001);
-        type_ = "";
-        bitField0_ = (bitField0_ & ~0x00000002);
-        if (pathArgumentBuilder_ == null) {
-          pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
-        } else {
-          pathArgumentBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000004);
-        intType_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000008);
-        if (attributesBuilder_ == null) {
-          attributes_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000010);
-        } else {
-          attributesBuilder_.clear();
-        }
-        if (childBuilder_ == null) {
-          child_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000020);
-        } else {
-          childBuilder_.clear();
-        }
-        value_ = "";
-        bitField0_ = (bitField0_ & ~0x00000040);
-        valueType_ = "";
-        bitField0_ = (bitField0_ & ~0x00000080);
-        intValueType_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000100);
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-        } else {
-          instanceIdentifierValueBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000200);
-        bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000400);
-        code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000800);
-        bytesValue_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00001000);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.path_ = path_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.type_ = type_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        if (pathArgumentBuilder_ == null) {
-          result.pathArgument_ = pathArgument_;
-        } else {
-          result.pathArgument_ = pathArgumentBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        result.intType_ = intType_;
-        if (attributesBuilder_ == null) {
-          if (((bitField0_ & 0x00000010) == 0x00000010)) {
-            attributes_ = java.util.Collections.unmodifiableList(attributes_);
-            bitField0_ = (bitField0_ & ~0x00000010);
-          }
-          result.attributes_ = attributes_;
-        } else {
-          result.attributes_ = attributesBuilder_.build();
-        }
-        if (childBuilder_ == null) {
-          if (((bitField0_ & 0x00000020) == 0x00000020)) {
-            child_ = java.util.Collections.unmodifiableList(child_);
-            bitField0_ = (bitField0_ & ~0x00000020);
-          }
-          result.child_ = child_;
-        } else {
-          result.child_ = childBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
-          to_bitField0_ |= 0x00000010;
-        }
-        result.value_ = value_;
-        if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
-          to_bitField0_ |= 0x00000020;
-        }
-        result.valueType_ = valueType_;
-        if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
-          to_bitField0_ |= 0x00000040;
-        }
-        result.intValueType_ = intValueType_;
-        if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
-          to_bitField0_ |= 0x00000080;
-        }
-        if (instanceIdentifierValueBuilder_ == null) {
-          result.instanceIdentifierValue_ = instanceIdentifierValue_;
-        } else {
-          result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
-        }
-        if (((bitField0_ & 0x00000400) == 0x00000400)) {
-          bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
-              bitsValue_);
-          bitField0_ = (bitField0_ & ~0x00000400);
-        }
-        result.bitsValue_ = bitsValue_;
-        if (((bitField0_ & 0x00000800) == 0x00000800)) {
-          code_ = new com.google.protobuf.UnmodifiableLazyStringList(
-              code_);
-          bitField0_ = (bitField0_ & ~0x00000800);
-        }
-        result.code_ = code_;
-        if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
-          to_bitField0_ |= 0x00000100;
-        }
-        result.bytesValue_ = bytesValue_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) return this;
-        if (other.hasPath()) {
-          bitField0_ |= 0x00000001;
-          path_ = other.path_;
-          onChanged();
-        }
-        if (other.hasType()) {
-          bitField0_ |= 0x00000002;
-          type_ = other.type_;
-          onChanged();
-        }
-        if (other.hasPathArgument()) {
-          mergePathArgument(other.getPathArgument());
-        }
-        if (other.hasIntType()) {
-          setIntType(other.getIntType());
-        }
-        if (attributesBuilder_ == null) {
-          if (!other.attributes_.isEmpty()) {
-            if (attributes_.isEmpty()) {
-              attributes_ = other.attributes_;
-              bitField0_ = (bitField0_ & ~0x00000010);
-            } else {
-              ensureAttributesIsMutable();
-              attributes_.addAll(other.attributes_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.attributes_.isEmpty()) {
-            if (attributesBuilder_.isEmpty()) {
-              attributesBuilder_.dispose();
-              attributesBuilder_ = null;
-              attributes_ = other.attributes_;
-              bitField0_ = (bitField0_ & ~0x00000010);
-              attributesBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getAttributesFieldBuilder() : null;
-            } else {
-              attributesBuilder_.addAllMessages(other.attributes_);
-            }
-          }
-        }
-        if (childBuilder_ == null) {
-          if (!other.child_.isEmpty()) {
-            if (child_.isEmpty()) {
-              child_ = other.child_;
-              bitField0_ = (bitField0_ & ~0x00000020);
-            } else {
-              ensureChildIsMutable();
-              child_.addAll(other.child_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.child_.isEmpty()) {
-            if (childBuilder_.isEmpty()) {
-              childBuilder_.dispose();
-              childBuilder_ = null;
-              child_ = other.child_;
-              bitField0_ = (bitField0_ & ~0x00000020);
-              childBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getChildFieldBuilder() : null;
-            } else {
-              childBuilder_.addAllMessages(other.child_);
-            }
-          }
-        }
-        if (other.hasValue()) {
-          bitField0_ |= 0x00000040;
-          value_ = other.value_;
-          onChanged();
-        }
-        if (other.hasValueType()) {
-          bitField0_ |= 0x00000080;
-          valueType_ = other.valueType_;
-          onChanged();
-        }
-        if (other.hasIntValueType()) {
-          setIntValueType(other.getIntValueType());
-        }
-        if (other.hasInstanceIdentifierValue()) {
-          mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
-        }
-        if (!other.bitsValue_.isEmpty()) {
-          if (bitsValue_.isEmpty()) {
-            bitsValue_ = other.bitsValue_;
-            bitField0_ = (bitField0_ & ~0x00000400);
-          } else {
-            ensureBitsValueIsMutable();
-            bitsValue_.addAll(other.bitsValue_);
-          }
-          onChanged();
-        }
-        if (!other.code_.isEmpty()) {
-          if (code_.isEmpty()) {
-            code_ = other.code_;
-            bitField0_ = (bitField0_ & ~0x00000800);
-          } else {
-            ensureCodeIsMutable();
-            code_.addAll(other.code_);
-          }
-          onChanged();
-        }
-        if (other.hasBytesValue()) {
-          setBytesValue(other.getBytesValue());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (hasPathArgument()) {
-          if (!getPathArgument().isInitialized()) {
-
-            return false;
-          }
-        }
-        for (int i = 0; i < getAttributesCount(); i++) {
-          if (!getAttributes(i).isInitialized()) {
-
-            return false;
-          }
-        }
-        for (int i = 0; i < getChildCount(); i++) {
-          if (!getChild(i).isInitialized()) {
-
-            return false;
-          }
-        }
-        if (hasInstanceIdentifierValue()) {
-          if (!getInstanceIdentifierValue().isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // optional string path = 1;
-      private java.lang.Object path_ = "";
-      /**
-       * <code>optional string path = 1;</code>
-       *
-       * <pre>
-       * @deprecated(use pathArgument)
-       * </pre>
-       */
-      public boolean hasPath() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>optional string path = 1;</code>
-       *
-       * <pre>
-       * @deprecated(use pathArgument)
-       * </pre>
-       */
-      public java.lang.String getPath() {
-        java.lang.Object ref = path_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          path_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string path = 1;</code>
-       *
-       * <pre>
-       * @deprecated(use pathArgument)
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getPathBytes() {
-        java.lang.Object ref = path_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          path_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string path = 1;</code>
-       *
-       * <pre>
-       * @deprecated(use pathArgument)
-       * </pre>
-       */
-      public Builder setPath(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        path_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string path = 1;</code>
-       *
-       * <pre>
-       * @deprecated(use pathArgument)
-       * </pre>
-       */
-      public Builder clearPath() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        path_ = getDefaultInstance().getPath();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string path = 1;</code>
-       *
-       * <pre>
-       * @deprecated(use pathArgument)
-       * </pre>
-       */
-      public Builder setPathBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        path_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional string type = 2;
-      private java.lang.Object type_ = "";
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated(use intType)
-       * </pre>
-       */
-      public boolean hasType() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated(use intType)
-       * </pre>
-       */
-      public java.lang.String getType() {
-        java.lang.Object ref = type_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          type_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated(use intType)
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getTypeBytes() {
-        java.lang.Object ref = type_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          type_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated(use intType)
-       * </pre>
-       */
-      public Builder setType(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated(use intType)
-       * </pre>
-       */
-      public Builder clearType() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        type_ = getDefaultInstance().getType();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string type = 2;</code>
-       *
-       * <pre>
-       * @deprecated(use intType)
-       * </pre>
-       */
-      public Builder setTypeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        type_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder> pathArgumentBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public boolean hasPathArgument() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
-        if (pathArgumentBuilder_ == null) {
-          return pathArgument_;
-        } else {
-          return pathArgumentBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
-        if (pathArgumentBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          pathArgument_ = value;
-          onChanged();
-        } else {
-          pathArgumentBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public Builder setPathArgument(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
-        if (pathArgumentBuilder_ == null) {
-          pathArgument_ = builderForValue.build();
-          onChanged();
-        } else {
-          pathArgumentBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
-        if (pathArgumentBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) == 0x00000004) &&
-              pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) {
-            pathArgument_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial();
-          } else {
-            pathArgument_ = value;
-          }
-          onChanged();
-        } else {
-          pathArgumentBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public Builder clearPathArgument() {
-        if (pathArgumentBuilder_ == null) {
-          pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
-          onChanged();
-        } else {
-          pathArgumentBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000004);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() {
-        bitField0_ |= 0x00000004;
-        onChanged();
-        return getPathArgumentFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
-        if (pathArgumentBuilder_ != null) {
-          return pathArgumentBuilder_.getMessageOrBuilder();
-        } else {
-          return pathArgument_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
-          getPathArgumentFieldBuilder() {
-        if (pathArgumentBuilder_ == null) {
-          pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  pathArgument_,
-                  getParentForChildren(),
-                  isClean());
-          pathArgument_ = null;
-        }
-        return pathArgumentBuilder_;
-      }
-
-      // optional int32 intType = 4;
-      private int intType_ ;
-      /**
-       * <code>optional int32 intType = 4;</code>
-       */
-      public boolean hasIntType() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>optional int32 intType = 4;</code>
-       */
-      public int getIntType() {
-        return intType_;
-      }
-      /**
-       * <code>optional int32 intType = 4;</code>
-       */
-      public Builder setIntType(int value) {
-        bitField0_ |= 0x00000008;
-        intType_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 intType = 4;</code>
-       */
-      public Builder clearIntType() {
-        bitField0_ = (bitField0_ & ~0x00000008);
-        intType_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
-      private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
-        java.util.Collections.emptyList();
-      private void ensureAttributesIsMutable() {
-        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
-          attributes_ = new java.util.ArrayList<>(attributes_);
-          bitField0_ |= 0x00000010;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder> attributesBuilder_;
-
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
-        if (attributesBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(attributes_);
-        } else {
-          return attributesBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public int getAttributesCount() {
-        if (attributesBuilder_ == null) {
-          return attributes_.size();
-        } else {
-          return attributesBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
-        if (attributesBuilder_ == null) {
-          return attributes_.get(index);
-        } else {
-          return attributesBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder setAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
-        if (attributesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributesIsMutable();
-          attributes_.set(index, value);
-          onChanged();
-        } else {
-          attributesBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder setAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          attributesBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
-        if (attributesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributesIsMutable();
-          attributes_.add(value);
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder addAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
-        if (attributesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureAttributesIsMutable();
-          attributes_.add(index, value);
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder addAttributes(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.add(builderForValue.build());
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder addAttributes(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          attributesBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder addAllAttributes(
-          java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          super.addAll(values, attributes_);
-          onChanged();
-        } else {
-          attributesBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder clearAttributes() {
-        if (attributesBuilder_ == null) {
-          attributes_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000010);
-          onChanged();
-        } else {
-          attributesBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public Builder removeAttributes(int index) {
-        if (attributesBuilder_ == null) {
-          ensureAttributesIsMutable();
-          attributes_.remove(index);
-          onChanged();
-        } else {
-          attributesBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
-          int index) {
-        return getAttributesFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
-          int index) {
-        if (attributesBuilder_ == null) {
-          return attributes_.get(index);  } else {
-          return attributesBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-           getAttributesOrBuilderList() {
-        if (attributesBuilder_ != null) {
-          return attributesBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(attributes_);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
-        return getAttributesFieldBuilder().addBuilder(
-            org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
-          int index) {
-        return getAttributesFieldBuilder().addBuilder(
-            index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
-           getAttributesBuilderList() {
-        return getAttributesFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
-          getAttributesFieldBuilder() {
-        if (attributesBuilder_ == null) {
-          attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>(
-                  attributes_,
-                  ((bitField0_ & 0x00000010) == 0x00000010),
-                  getParentForChildren(),
-                  isClean());
-          attributes_ = null;
-        }
-        return attributesBuilder_;
-      }
-
-      // repeated .org.opendaylight.controller.mdsal.Node child = 6;
-      private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_ =
-        java.util.Collections.emptyList();
-      private void ensureChildIsMutable() {
-        if (!((bitField0_ & 0x00000020) == 0x00000020)) {
-          child_ = new java.util.ArrayList<>(child_);
-          bitField0_ |= 0x00000020;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> childBuilder_;
-
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
-        if (childBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(child_);
-        } else {
-          return childBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public int getChildCount() {
-        if (childBuilder_ == null) {
-          return child_.size();
-        } else {
-          return childBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
-        if (childBuilder_ == null) {
-          return child_.get(index);
-        } else {
-          return childBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder setChild(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (childBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureChildIsMutable();
-          child_.set(index, value);
-          onChanged();
-        } else {
-          childBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder setChild(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
-        if (childBuilder_ == null) {
-          ensureChildIsMutable();
-          child_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          childBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (childBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureChildIsMutable();
-          child_.add(value);
-          onChanged();
-        } else {
-          childBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder addChild(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (childBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureChildIsMutable();
-          child_.add(index, value);
-          onChanged();
-        } else {
-          childBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder addChild(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
-        if (childBuilder_ == null) {
-          ensureChildIsMutable();
-          child_.add(builderForValue.build());
-          onChanged();
-        } else {
-          childBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder addChild(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
-        if (childBuilder_ == null) {
-          ensureChildIsMutable();
-          child_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          childBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder addAllChild(
-          java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> values) {
-        if (childBuilder_ == null) {
-          ensureChildIsMutable();
-          super.addAll(values, child_);
-          onChanged();
-        } else {
-          childBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder clearChild() {
-        if (childBuilder_ == null) {
-          child_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000020);
-          onChanged();
-        } else {
-          childBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public Builder removeChild(int index) {
-        if (childBuilder_ == null) {
-          ensureChildIsMutable();
-          child_.remove(index);
-          onChanged();
-        } else {
-          childBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder(
-          int index) {
-        return getChildFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
-          int index) {
-        if (childBuilder_ == null) {
-          return child_.get(index);  } else {
-          return childBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
-           getChildOrBuilderList() {
-        if (childBuilder_ != null) {
-          return childBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(child_);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() {
-        return getChildFieldBuilder().addBuilder(
-            org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder(
-          int index) {
-        return getChildFieldBuilder().addBuilder(
-            index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder>
-           getChildBuilderList() {
-        return getChildFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
-          getChildFieldBuilder() {
-        if (childBuilder_ == null) {
-          childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>(
-                  child_,
-                  ((bitField0_ & 0x00000020) == 0x00000020),
-                  getParentForChildren(),
-                  isClean());
-          child_ = null;
-        }
-        return childBuilder_;
-      }
-
-      // optional string value = 7;
-      private java.lang.Object value_ = "";
-      /**
-       * <code>optional string value = 7;</code>
-       */
-      public boolean hasValue() {
-        return ((bitField0_ & 0x00000040) == 0x00000040);
-      }
-      /**
-       * <code>optional string value = 7;</code>
-       */
-      public java.lang.String getValue() {
-        java.lang.Object ref = value_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          value_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 7;</code>
-       */
-      public com.google.protobuf.ByteString
-          getValueBytes() {
-        java.lang.Object ref = value_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          value_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string value = 7;</code>
-       */
-      public Builder setValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000040;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 7;</code>
-       */
-      public Builder clearValue() {
-        bitField0_ = (bitField0_ & ~0x00000040);
-        value_ = getDefaultInstance().getValue();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string value = 7;</code>
-       */
-      public Builder setValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000040;
-        value_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional string valueType = 8;
-      private java.lang.Object valueType_ = "";
-      /**
-       * <code>optional string valueType = 8;</code>
-       *
-       * <pre>
-       * @deprecated(use intValueType)
-       * </pre>
-       */
-      public boolean hasValueType() {
-        return ((bitField0_ & 0x00000080) == 0x00000080);
-      }
-      /**
-       * <code>optional string valueType = 8;</code>
-       *
-       * <pre>
-       * @deprecated(use intValueType)
-       * </pre>
-       */
-      public java.lang.String getValueType() {
-        java.lang.Object ref = valueType_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          valueType_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>optional string valueType = 8;</code>
-       *
-       * <pre>
-       * @deprecated(use intValueType)
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getValueTypeBytes() {
-        java.lang.Object ref = valueType_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          valueType_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>optional string valueType = 8;</code>
-       *
-       * <pre>
-       * @deprecated(use intValueType)
-       * </pre>
-       */
-      public Builder setValueType(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000080;
-        valueType_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string valueType = 8;</code>
-       *
-       * <pre>
-       * @deprecated(use intValueType)
-       * </pre>
-       */
-      public Builder clearValueType() {
-        bitField0_ = (bitField0_ & ~0x00000080);
-        valueType_ = getDefaultInstance().getValueType();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional string valueType = 8;</code>
-       *
-       * <pre>
-       * @deprecated(use intValueType)
-       * </pre>
-       */
-      public Builder setValueTypeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000080;
-        valueType_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 intValueType = 9;
-      private int intValueType_ ;
-      /**
-       * <code>optional int32 intValueType = 9;</code>
-       *
-       * <pre>
-       * instead of valueType
-       * </pre>
-       */
-      public boolean hasIntValueType() {
-        return ((bitField0_ & 0x00000100) == 0x00000100);
-      }
-      /**
-       * <code>optional int32 intValueType = 9;</code>
-       *
-       * <pre>
-       * instead of valueType
-       * </pre>
-       */
-      public int getIntValueType() {
-        return intValueType_;
-      }
-      /**
-       * <code>optional int32 intValueType = 9;</code>
-       *
-       * <pre>
-       * instead of valueType
-       * </pre>
-       */
-      public Builder setIntValueType(int value) {
-        bitField0_ |= 0x00000100;
-        intValueType_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 intValueType = 9;</code>
-       *
-       * <pre>
-       * instead of valueType
-       * </pre>
-       */
-      public Builder clearIntValueType() {
-        bitField0_ = (bitField0_ & ~0x00000100);
-        intValueType_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierValueBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public boolean hasInstanceIdentifierValue() {
-        return ((bitField0_ & 0x00000200) == 0x00000200);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
-        if (instanceIdentifierValueBuilder_ == null) {
-          return instanceIdentifierValue_;
-        } else {
-          return instanceIdentifierValueBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
-        if (instanceIdentifierValueBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          instanceIdentifierValue_ = value;
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000200;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder setInstanceIdentifierValue(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValue_ = builderForValue.build();
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000200;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
-        if (instanceIdentifierValueBuilder_ == null) {
-          if (((bitField0_ & 0x00000200) == 0x00000200) &&
-              instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
-            instanceIdentifierValue_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
-          } else {
-            instanceIdentifierValue_ = value;
-          }
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000200;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public Builder clearInstanceIdentifierValue() {
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-          onChanged();
-        } else {
-          instanceIdentifierValueBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000200);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
-        bitField0_ |= 0x00000200;
-        onChanged();
-        return getInstanceIdentifierValueFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
-        if (instanceIdentifierValueBuilder_ != null) {
-          return instanceIdentifierValueBuilder_.getMessageOrBuilder();
-        } else {
-          return instanceIdentifierValue_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
-       *
-       * <pre>
-       * Specific values
-       * </pre>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
-          getInstanceIdentifierValueFieldBuilder() {
-        if (instanceIdentifierValueBuilder_ == null) {
-          instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  instanceIdentifierValue_,
-                  getParentForChildren(),
-                  isClean());
-          instanceIdentifierValue_ = null;
-        }
-        return instanceIdentifierValueBuilder_;
-      }
-
-      // repeated string bitsValue = 11;
-      private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      private void ensureBitsValueIsMutable() {
-        if (!((bitField0_ & 0x00000400) == 0x00000400)) {
-          bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
-          bitField0_ |= 0x00000400;
-         }
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public java.util.List<java.lang.String>
-          getBitsValueList() {
-        return java.util.Collections.unmodifiableList(bitsValue_);
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public int getBitsValueCount() {
-        return bitsValue_.size();
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public java.lang.String getBitsValue(int index) {
-        return bitsValue_.get(index);
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getBitsValueBytes(int index) {
-        return bitsValue_.getByteString(index);
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder setBitsValue(
-          int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureBitsValueIsMutable();
-        bitsValue_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder addBitsValue(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureBitsValueIsMutable();
-        bitsValue_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder addAllBitsValue(
-          java.lang.Iterable<java.lang.String> values) {
-        ensureBitsValueIsMutable();
-        super.addAll(values, bitsValue_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder clearBitsValue() {
-        bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000400);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string bitsValue = 11;</code>
-       *
-       * <pre>
-       * intValueType = Bits
-       * </pre>
-       */
-      public Builder addBitsValueBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureBitsValueIsMutable();
-        bitsValue_.add(value);
-        onChanged();
-        return this;
-      }
-
-      // repeated string code = 12;
-      private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      private void ensureCodeIsMutable() {
-        if (!((bitField0_ & 0x00000800) == 0x00000800)) {
-          code_ = new com.google.protobuf.LazyStringArrayList(code_);
-          bitField0_ |= 0x00000800;
-         }
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public java.util.List<java.lang.String>
-          getCodeList() {
-        return java.util.Collections.unmodifiableList(code_);
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public int getCodeCount() {
-        return code_.size();
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public java.lang.String getCode(int index) {
-        return code_.get(index);
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public com.google.protobuf.ByteString
-          getCodeBytes(int index) {
-        return code_.getByteString(index);
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public Builder setCode(
-          int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureCodeIsMutable();
-        code_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public Builder addCode(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureCodeIsMutable();
-        code_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public Builder addAllCode(
-          java.lang.Iterable<java.lang.String> values) {
-        ensureCodeIsMutable();
-        super.addAll(values, code_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public Builder clearCode() {
-        code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000800);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated string code = 12;</code>
-       *
-       * <pre>
-       * A list of string codes which can be used for any repeated strings in the NormalizedNode
-       * </pre>
-       */
-      public Builder addCodeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureCodeIsMutable();
-        code_.add(value);
-        onChanged();
-        return this;
-      }
-
-      // optional bytes bytesValue = 13;
-      private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>optional bytes bytesValue = 13;</code>
-       */
-      public boolean hasBytesValue() {
-        return ((bitField0_ & 0x00001000) == 0x00001000);
-      }
-      /**
-       * <code>optional bytes bytesValue = 13;</code>
-       */
-      public com.google.protobuf.ByteString getBytesValue() {
-        return bytesValue_;
-      }
-      /**
-       * <code>optional bytes bytesValue = 13;</code>
-       */
-      public Builder setBytesValue(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00001000;
-        bytesValue_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bytes bytesValue = 13;</code>
-       */
-      public Builder clearBytesValue() {
-        bitField0_ = (bitField0_ & ~0x00001000);
-        bytesValue_ = getDefaultInstance().getBytesValue();
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
-    }
-
-    static {
-      defaultInstance = new Node(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Node)
-  }
-
-  public interface ContainerOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // required string parentPath = 1;
-    /**
-     * <code>required string parentPath = 1;</code>
-     */
-    boolean hasParentPath();
-    /**
-     * <code>required string parentPath = 1;</code>
-     */
-    java.lang.String getParentPath();
-    /**
-     * <code>required string parentPath = 1;</code>
-     */
-    com.google.protobuf.ByteString
-        getParentPathBytes();
-
-    // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    boolean hasNormalizedNode();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
-   */
-  public static final class Container extends
-      com.google.protobuf.GeneratedMessage
-      implements ContainerOrBuilder {
-    // Use Container.newBuilder() to construct.
-    private Container(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private Container(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final Container defaultInstance;
-    public static Container getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public Container getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private Container(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              bitField0_ |= 0x00000001;
-              parentPath_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000002) == 0x00000002)) {
-                subBuilder = normalizedNode_.toBuilder();
-              }
-              normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedNode_);
-                normalizedNode_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000002;
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<Container> PARSER =
-        new com.google.protobuf.AbstractParser<Container>() {
-      public Container parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Container(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<Container> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // required string parentPath = 1;
-    public static final int PARENTPATH_FIELD_NUMBER = 1;
-    private java.lang.Object parentPath_;
-    /**
-     * <code>required string parentPath = 1;</code>
-     */
-    public boolean hasParentPath() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required string parentPath = 1;</code>
-     */
-    public java.lang.String getParentPath() {
-      java.lang.Object ref = parentPath_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          parentPath_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>required string parentPath = 1;</code>
-     */
-    public com.google.protobuf.ByteString
-        getParentPathBytes() {
-      java.lang.Object ref = parentPath_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        parentPath_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
-    public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    public boolean hasNormalizedNode() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
-      return normalizedNode_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
-      return normalizedNode_;
-    }
-
-    private void initFields() {
-      parentPath_ = "";
-      normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasParentPath()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (hasNormalizedNode()) {
-        if (!getNormalizedNode().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeBytes(1, getParentPathBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeMessage(2, normalizedNode_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(1, getParentPathBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, normalizedNode_);
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.ContainerOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getNormalizedNodeFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        parentPath_ = "";
-        bitField0_ = (bitField0_ & ~0x00000001);
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-        } else {
-          normalizedNodeBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000002);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.parentPath_ = parentPath_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        if (normalizedNodeBuilder_ == null) {
-          result.normalizedNode_ = normalizedNode_;
-        } else {
-          result.normalizedNode_ = normalizedNodeBuilder_.build();
-        }
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance()) return this;
-        if (other.hasParentPath()) {
-          bitField0_ |= 0x00000001;
-          parentPath_ = other.parentPath_;
-          onChanged();
-        }
-        if (other.hasNormalizedNode()) {
-          mergeNormalizedNode(other.getNormalizedNode());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasParentPath()) {
-
-          return false;
-        }
-        if (hasNormalizedNode()) {
-          if (!getNormalizedNode().isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // required string parentPath = 1;
-      private java.lang.Object parentPath_ = "";
-      /**
-       * <code>required string parentPath = 1;</code>
-       */
-      public boolean hasParentPath() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>required string parentPath = 1;</code>
-       */
-      public java.lang.String getParentPath() {
-        java.lang.Object ref = parentPath_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          parentPath_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>required string parentPath = 1;</code>
-       */
-      public com.google.protobuf.ByteString
-          getParentPathBytes() {
-        java.lang.Object ref = parentPath_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b =
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          parentPath_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>required string parentPath = 1;</code>
-       */
-      public Builder setParentPath(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        parentPath_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required string parentPath = 1;</code>
-       */
-      public Builder clearParentPath() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        parentPath_ = getDefaultInstance().getParentPath();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required string parentPath = 1;</code>
-       */
-      public Builder setParentPathBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        parentPath_ = value;
-        onChanged();
-        return this;
-      }
-
-      // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> normalizedNodeBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public boolean hasNormalizedNode() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
-        if (normalizedNodeBuilder_ == null) {
-          return normalizedNode_;
-        } else {
-          return normalizedNodeBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (normalizedNodeBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          normalizedNode_ = value;
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000002;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder setNormalizedNode(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNode_ = builderForValue.build();
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000002;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (normalizedNodeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) == 0x00000002) &&
-              normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
-            normalizedNode_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
-          } else {
-            normalizedNode_ = value;
-          }
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000002;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder clearNormalizedNode() {
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000002);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
-        bitField0_ |= 0x00000002;
-        onChanged();
-        return getNormalizedNodeFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
-        if (normalizedNodeBuilder_ != null) {
-          return normalizedNodeBuilder_.getMessageOrBuilder();
-        } else {
-          return normalizedNode_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
-          getNormalizedNodeFieldBuilder() {
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  normalizedNode_,
-                  getParentForChildren(),
-                  isClean());
-          normalizedNode_ = null;
-        }
-        return normalizedNodeBuilder_;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Container)
-    }
-
-    static {
-      defaultInstance = new Container(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Container)
-  }
-
-  public interface NodeMapEntryOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
-    /**
-     * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-     */
-    boolean hasInstanceIdentifierPath();
-    /**
-     * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
-    /**
-     * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
-
-    // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    boolean hasNormalizedNode();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
-   */
-  public static final class NodeMapEntry extends
-      com.google.protobuf.GeneratedMessage
-      implements NodeMapEntryOrBuilder {
-    // Use NodeMapEntry.newBuilder() to construct.
-    private NodeMapEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private NodeMapEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final NodeMapEntry defaultInstance;
-    public static NodeMapEntry getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public NodeMapEntry getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private NodeMapEntry(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000001) == 0x00000001)) {
-                subBuilder = instanceIdentifierPath_.toBuilder();
-              }
-              instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceIdentifierPath_);
-                instanceIdentifierPath_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000001;
-              break;
-            }
-            case 18: {
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000002) == 0x00000002)) {
-                subBuilder = normalizedNode_.toBuilder();
-              }
-              normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedNode_);
-                normalizedNode_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000002;
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<NodeMapEntry> PARSER =
-        new com.google.protobuf.AbstractParser<NodeMapEntry>() {
-      public NodeMapEntry parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new NodeMapEntry(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<NodeMapEntry> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
-    public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
-    /**
-     * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-     */
-    public boolean hasInstanceIdentifierPath() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
-      return instanceIdentifierPath_;
-    }
-    /**
-     * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
-      return instanceIdentifierPath_;
-    }
-
-    // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
-    public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
-    private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    public boolean hasNormalizedNode() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
-      return normalizedNode_;
-    }
-    /**
-     * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
-      return normalizedNode_;
-    }
-
-    private void initFields() {
-      instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasInstanceIdentifierPath()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!getInstanceIdentifierPath().isInitialized()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (hasNormalizedNode()) {
-        if (!getNormalizedNode().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeMessage(1, instanceIdentifierPath_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeMessage(2, normalizedNode_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, instanceIdentifierPath_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, normalizedNode_);
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getInstanceIdentifierPathFieldBuilder();
-          getNormalizedNodeFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        if (instanceIdentifierPathBuilder_ == null) {
-          instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-        } else {
-          instanceIdentifierPathBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000001);
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-        } else {
-          normalizedNodeBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000002);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        if (instanceIdentifierPathBuilder_ == null) {
-          result.instanceIdentifierPath_ = instanceIdentifierPath_;
-        } else {
-          result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        if (normalizedNodeBuilder_ == null) {
-          result.normalizedNode_ = normalizedNode_;
-        } else {
-          result.normalizedNode_ = normalizedNodeBuilder_.build();
-        }
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance()) return this;
-        if (other.hasInstanceIdentifierPath()) {
-          mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
-        }
-        if (other.hasNormalizedNode()) {
-          mergeNormalizedNode(other.getNormalizedNode());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasInstanceIdentifierPath()) {
-
-          return false;
-        }
-        if (!getInstanceIdentifierPath().isInitialized()) {
-
-          return false;
-        }
-        if (hasNormalizedNode()) {
-          if (!getNormalizedNode().isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathBuilder_;
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public boolean hasInstanceIdentifierPath() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
-        if (instanceIdentifierPathBuilder_ == null) {
-          return instanceIdentifierPath_;
-        } else {
-          return instanceIdentifierPathBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
-        if (instanceIdentifierPathBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          instanceIdentifierPath_ = value;
-          onChanged();
-        } else {
-          instanceIdentifierPathBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000001;
-        return this;
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public Builder setInstanceIdentifierPath(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
-        if (instanceIdentifierPathBuilder_ == null) {
-          instanceIdentifierPath_ = builderForValue.build();
-          onChanged();
-        } else {
-          instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000001;
-        return this;
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
-        if (instanceIdentifierPathBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) == 0x00000001) &&
-              instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
-            instanceIdentifierPath_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
-          } else {
-            instanceIdentifierPath_ = value;
-          }
-          onChanged();
-        } else {
-          instanceIdentifierPathBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000001;
-        return this;
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public Builder clearInstanceIdentifierPath() {
-        if (instanceIdentifierPathBuilder_ == null) {
-          instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
-          onChanged();
-        } else {
-          instanceIdentifierPathBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000001);
-        return this;
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
-        bitField0_ |= 0x00000001;
-        onChanged();
-        return getInstanceIdentifierPathFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
-        if (instanceIdentifierPathBuilder_ != null) {
-          return instanceIdentifierPathBuilder_.getMessageOrBuilder();
-        } else {
-          return instanceIdentifierPath_;
-        }
-      }
-      /**
-       * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
-          getInstanceIdentifierPathFieldBuilder() {
-        if (instanceIdentifierPathBuilder_ == null) {
-          instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  instanceIdentifierPath_,
-                  getParentForChildren(),
-                  isClean());
-          instanceIdentifierPath_ = null;
-        }
-        return instanceIdentifierPathBuilder_;
-      }
-
-      // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
-      private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> normalizedNodeBuilder_;
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public boolean hasNormalizedNode() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
-        if (normalizedNodeBuilder_ == null) {
-          return normalizedNode_;
-        } else {
-          return normalizedNodeBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (normalizedNodeBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          normalizedNode_ = value;
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000002;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder setNormalizedNode(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNode_ = builderForValue.build();
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000002;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
-        if (normalizedNodeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) == 0x00000002) &&
-              normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
-            normalizedNode_ =
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
-          } else {
-            normalizedNode_ = value;
-          }
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000002;
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public Builder clearNormalizedNode() {
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
-          onChanged();
-        } else {
-          normalizedNodeBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000002);
-        return this;
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
-        bitField0_ |= 0x00000002;
-        onChanged();
-        return getNormalizedNodeFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
-        if (normalizedNodeBuilder_ != null) {
-          return normalizedNodeBuilder_.getMessageOrBuilder();
-        } else {
-          return normalizedNode_;
-        }
-      }
-      /**
-       * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
-          getNormalizedNodeFieldBuilder() {
-        if (normalizedNodeBuilder_ == null) {
-          normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
-                  normalizedNode_,
-                  getParentForChildren(),
-                  isClean());
-          normalizedNode_ = null;
-        }
-        return normalizedNodeBuilder_;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
-    }
-
-    static {
-      defaultInstance = new NodeMapEntry(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
-  }
-
-  public interface NodeMapOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>
-        getMapEntriesList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index);
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    int getMapEntriesCount();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
-        getMapEntriesOrBuilderList();
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
-        int index);
-  }
-  /**
-   * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
-   */
-  public static final class NodeMap extends
-      com.google.protobuf.GeneratedMessage
-      implements NodeMapOrBuilder {
-    // Use NodeMap.newBuilder() to construct.
-    private NodeMap(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private NodeMap(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final NodeMap defaultInstance;
-    public static NodeMap getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public NodeMap getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private NodeMap(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
-      int mutable_bitField0_ = 0;
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            default: {
-              if (!parseUnknownField(input, unknownFields,
-                                     extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-                mapEntries_ = new java.util.ArrayList<>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              mapEntries_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.PARSER, extensionRegistry));
-              break;
-            }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
-      } finally {
-        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-          mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<NodeMap> PARSER =
-        new com.google.protobuf.AbstractParser<NodeMap>() {
-      public NodeMap parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new NodeMap(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<NodeMap> getParserForType() {
-      return PARSER;
-    }
-
-    // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
-    public static final int MAPENTRIES_FIELD_NUMBER = 1;
-    private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_;
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
-      return mapEntries_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
-        getMapEntriesOrBuilderList() {
-      return mapEntries_;
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    public int getMapEntriesCount() {
-      return mapEntries_.size();
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
-      return mapEntries_.get(index);
-    }
-    /**
-     * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-     */
-    public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
-        int index) {
-      return mapEntries_.get(index);
-    }
-
-    private void initFields() {
-      mapEntries_ = java.util.Collections.emptyList();
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      for (int i = 0; i < getMapEntriesCount(); i++) {
-        if (!getMapEntries(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      for (int i = 0; i < mapEntries_.size(); i++) {
-        output.writeMessage(1, mapEntries_.get(i));
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      for (int i = 0; i < mapEntries_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, mapEntries_.get(i));
-      }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
-      return size;
-    }
-
-    private static final long serialVersionUID = 0L;
-    @java.lang.Override
-    protected java.lang.Object writeReplace()
-        throws java.io.ObjectStreamException {
-      return super.writeReplace();
-    }
-
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
-    }
-
-    public static Builder newBuilder() { return Builder.create(); }
-    public Builder newBuilderForType() { return newBuilder(); }
-    public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap prototype) {
-      return newBuilder().mergeFrom(prototype);
-    }
-    public Builder toBuilder() { return newBuilder(this); }
-
-    @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-      Builder builder = new Builder(parent);
-      return builder;
-    }
-    /**
-     * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
-      }
-
-      // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getMapEntriesFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        if (mapEntriesBuilder_ == null) {
-          mapEntries_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000001);
-        } else {
-          mapEntriesBuilder_.clear();
-        }
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap getDefaultInstanceForType() {
-        return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance();
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap build() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap buildPartial() {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap(this);
-        int from_bitField0_ = bitField0_;
-        if (mapEntriesBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) == 0x00000001)) {
-            mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
-            bitField0_ = (bitField0_ & ~0x00000001);
-          }
-          result.mapEntries_ = mapEntries_;
-        } else {
-          result.mapEntries_ = mapEntriesBuilder_.build();
-        }
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) {
-          return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap other) {
-        if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance()) return this;
-        if (mapEntriesBuilder_ == null) {
-          if (!other.mapEntries_.isEmpty()) {
-            if (mapEntries_.isEmpty()) {
-              mapEntries_ = other.mapEntries_;
-              bitField0_ = (bitField0_ & ~0x00000001);
-            } else {
-              ensureMapEntriesIsMutable();
-              mapEntries_.addAll(other.mapEntries_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.mapEntries_.isEmpty()) {
-            if (mapEntriesBuilder_.isEmpty()) {
-              mapEntriesBuilder_.dispose();
-              mapEntriesBuilder_ = null;
-              mapEntries_ = other.mapEntries_;
-              bitField0_ = (bitField0_ & ~0x00000001);
-              mapEntriesBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getMapEntriesFieldBuilder() : null;
-            } else {
-              mapEntriesBuilder_.addAllMessages(other.mapEntries_);
-            }
-          }
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        for (int i = 0; i < getMapEntriesCount(); i++) {
-          if (!getMapEntries(i).isInitialized()) {
-
-            return false;
-          }
-        }
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
-      private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_ =
-        java.util.Collections.emptyList();
-      private void ensureMapEntriesIsMutable() {
-        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
-          mapEntries_ = new java.util.ArrayList<>(mapEntries_);
-          bitField0_ |= 0x00000001;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder> mapEntriesBuilder_;
-
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
-        if (mapEntriesBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(mapEntries_);
-        } else {
-          return mapEntriesBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public int getMapEntriesCount() {
-        if (mapEntriesBuilder_ == null) {
-          return mapEntries_.size();
-        } else {
-          return mapEntriesBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
-        if (mapEntriesBuilder_ == null) {
-          return mapEntries_.get(index);
-        } else {
-          return mapEntriesBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder setMapEntries(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
-        if (mapEntriesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureMapEntriesIsMutable();
-          mapEntries_.set(index, value);
-          onChanged();
-        } else {
-          mapEntriesBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder setMapEntries(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
-        if (mapEntriesBuilder_ == null) {
-          ensureMapEntriesIsMutable();
-          mapEntries_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          mapEntriesBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder addMapEntries(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
-        if (mapEntriesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureMapEntriesIsMutable();
-          mapEntries_.add(value);
-          onChanged();
-        } else {
-          mapEntriesBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder addMapEntries(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
-        if (mapEntriesBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureMapEntriesIsMutable();
-          mapEntries_.add(index, value);
-          onChanged();
-        } else {
-          mapEntriesBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder addMapEntries(
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
-        if (mapEntriesBuilder_ == null) {
-          ensureMapEntriesIsMutable();
-          mapEntries_.add(builderForValue.build());
-          onChanged();
-        } else {
-          mapEntriesBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder addMapEntries(
-          int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
-        if (mapEntriesBuilder_ == null) {
-          ensureMapEntriesIsMutable();
-          mapEntries_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          mapEntriesBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder addAllMapEntries(
-          java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> values) {
-        if (mapEntriesBuilder_ == null) {
-          ensureMapEntriesIsMutable();
-          super.addAll(values, mapEntries_);
-          onChanged();
-        } else {
-          mapEntriesBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder clearMapEntries() {
-        if (mapEntriesBuilder_ == null) {
-          mapEntries_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000001);
-          onChanged();
-        } else {
-          mapEntriesBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public Builder removeMapEntries(int index) {
-        if (mapEntriesBuilder_ == null) {
-          ensureMapEntriesIsMutable();
-          mapEntries_.remove(index);
-          onChanged();
-        } else {
-          mapEntriesBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder getMapEntriesBuilder(
-          int index) {
-        return getMapEntriesFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
-          int index) {
-        if (mapEntriesBuilder_ == null) {
-          return mapEntries_.get(index);  } else {
-          return mapEntriesBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
-           getMapEntriesOrBuilderList() {
-        if (mapEntriesBuilder_ != null) {
-          return mapEntriesBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(mapEntries_);
-        }
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder() {
-        return getMapEntriesFieldBuilder().addBuilder(
-            org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder(
-          int index) {
-        return getMapEntriesFieldBuilder().addBuilder(
-            index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
-       */
-      public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder>
-           getMapEntriesBuilderList() {
-        return getMapEntriesFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
-          getMapEntriesFieldBuilder() {
-        if (mapEntriesBuilder_ == null) {
-          mapEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>(
-                  mapEntries_,
-                  ((bitField0_ & 0x00000001) == 0x00000001),
-                  getParentForChildren(),
-                  isClean());
-          mapEntries_ = null;
-        }
-        return mapEntriesBuilder_;
-      }
-
-      // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMap)
-    }
-
-    static {
-      defaultInstance = new NodeMap(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMap)
-  }
-
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable;
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable;
-
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
-    return descriptor;
-  }
-  private static com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
-  static {
-    java.lang.String[] descriptorData = {
-      "\n\014Common.proto\022!org.opendaylight.control" +
-      "ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" +
-      "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"\353\001\n\025PathArgume" +
-      "ntAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayl" +
-      "ight.controller.mdsal.QName\022\r\n\005value\030\002 \001" +
-      "(\t\022\014\n\004type\030\003 \001(\005\022V\n\027instanceIdentifierVa" +
-      "lue\030\004 \001(\01325.org.opendaylight.controller." +
-      "mdsal.InstanceIdentifier\022\021\n\tbitsValue\030\005 " +
-      "\003(\t\022\022\n\nbytesValue\030\006 \001(\014\"N\n\005QName\022\r\n\005valu" +
-      "e\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003",
-      " \001(\005\022\021\n\tlocalName\030\004 \001(\005\"\207\002\n\014PathArgument" +
-      "\022\r\n\005value\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeTyp" +
-      "e\030\003 \001(\0132(.org.opendaylight.controller.md" +
-      "sal.QName\022K\n\tattribute\030\004 \003(\01328.org.opend" +
-      "aylight.controller.mdsal.PathArgumentAtt" +
-      "ribute\022@\n\nattributes\030\005 \003(\0132,.org.openday" +
-      "light.controller.mdsal.Attribute\022\017\n\007intT" +
-      "ype\030\006 \001(\005\"f\n\022InstanceIdentifier\022B\n\targum" +
-      "ents\030\001 \003(\0132/.org.opendaylight.controller" +
-      ".mdsal.PathArgument\022\014\n\004code\030\002 \003(\t\"\271\003\n\004No",
-      "de\022\014\n\004path\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022E\n\014pathAr" +
-      "gument\030\003 \001(\0132/.org.opendaylight.controll" +
-      "er.mdsal.PathArgument\022\017\n\007intType\030\004 \001(\005\022@" +
-      "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" +
-      "ntroller.mdsal.Attribute\0226\n\005child\030\006 \003(\0132" +
-      "\'.org.opendaylight.controller.mdsal.Node" +
-      "\022\r\n\005value\030\007 \001(\t\022\021\n\tvalueType\030\010 \001(\t\022\024\n\014in" +
-      "tValueType\030\t \001(\005\022V\n\027instanceIdentifierVa" +
-      "lue\030\n \001(\01325.org.opendaylight.controller." +
-      "mdsal.InstanceIdentifier\022\021\n\tbitsValue\030\013 ",
-      "\003(\t\022\014\n\004code\030\014 \003(\t\022\022\n\nbytesValue\030\r \001(\014\"`\n" +
-      "\tContainer\022\022\n\nparentPath\030\001 \002(\t\022?\n\016normal" +
-      "izedNode\030\002 \001(\0132\'.org.opendaylight.contro" +
-      "ller.mdsal.Node\"\246\001\n\014NodeMapEntry\022U\n\026inst" +
-      "anceIdentifierPath\030\001 \002(\01325.org.opendayli" +
-      "ght.controller.mdsal.InstanceIdentifier\022" +
-      "?\n\016normalizedNode\030\002 \001(\0132\'.org.opendaylig" +
-      "ht.controller.mdsal.Node\"N\n\007NodeMap\022C\n\nm" +
-      "apEntries\030\001 \003(\0132/.org.opendaylight.contr" +
-      "oller.mdsal.NodeMapEntryBO\n5org.opendayl",
-      "ight.controller.protobuff.messages.commo" +
-      "nB\026NormalizedNodeMessages"
-    };
-    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
-      new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
-        public com.google.protobuf.ExtensionRegistry assignDescriptors(
-            com.google.protobuf.Descriptors.FileDescriptor root) {
-          descriptor = root;
-          internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor =
-            getDescriptor().getMessageTypes().get(0);
-          internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor,
-              new java.lang.String[] { "Name", "Value", "Type", });
-          internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor =
-            getDescriptor().getMessageTypes().get(1);
-          internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor,
-              new java.lang.String[] { "Name", "Value", "Type", "InstanceIdentifierValue", "BitsValue", "BytesValue", });
-          internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
-            getDescriptor().getMessageTypes().get(2);
-          internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_QName_descriptor,
-              new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", });
-          internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor =
-            getDescriptor().getMessageTypes().get(3);
-          internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor,
-              new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", });
-          internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor =
-            getDescriptor().getMessageTypes().get(4);
-          internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor,
-              new java.lang.String[] { "Arguments", "Code", });
-          internal_static_org_opendaylight_controller_mdsal_Node_descriptor =
-            getDescriptor().getMessageTypes().get(5);
-          internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_Node_descriptor,
-              new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", "BytesValue", });
-          internal_static_org_opendaylight_controller_mdsal_Container_descriptor =
-            getDescriptor().getMessageTypes().get(6);
-          internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_Container_descriptor,
-              new java.lang.String[] { "ParentPath", "NormalizedNode", });
-          internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor =
-            getDescriptor().getMessageTypes().get(7);
-          internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor,
-              new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", });
-          internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor =
-            getDescriptor().getMessageTypes().get(8);
-          internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,
-              new java.lang.String[] { "MapEntries", });
-          return null;
-        }
-      };
-    com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-        }, assigner);
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Cohort.proto b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Cohort.proto
deleted file mode 100644 (file)
index 222f68a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.opendaylight.controller.mdsal;
-
-option java_package = "org.opendaylight.controller.protobuff.messages.cohort3pc";
-option java_outer_classname = "ThreePhaseCommitCohortMessages";
-
-
-message CanCommitTransaction{
-  optional string transactionId = 1;
-}
-
-message CanCommitTransactionReply{
-  required bool canCommit = 1;
-
-}
-
-message AbortTransaction{
-  optional string transactionId = 1;
-}
-
-message AbortTransactionReply {
-
-}
-
-message CommitTransaction{
-  optional string transactionId = 1;
-}
-
-message CommitTransactionReply{
-
-}
-
-message PreCommitTransaction{
-
-}
-message PreCommitTransactionReply{
-
-}
\ No newline at end of file
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Common.proto b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Common.proto
deleted file mode 100644 (file)
index a2c161c..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-package org.opendaylight.controller.mdsal;
-
-option java_package = "org.opendaylight.controller.protobuff.messages.common";
-option java_outer_classname = "NormalizedNodeMessages";
-
-
-message Attribute{
-  required string name =1;
-  optional string value=2;
-  optional string type=3;
-}
-
-message PathArgumentAttribute{
-    optional QName name =1;
-    optional string value=2;
-    optional int32 type=3;
-    // Specific values
-    optional InstanceIdentifier instanceIdentifierValue = 4; // intValueType = YangInstanceIdentifier
-    repeated string bitsValue = 5; // intValueType = Bits
-    optional bytes bytesValue = 6;
-
-}
-
-
-message QName {
-    optional string value=1; // @deprecated
-    optional int32 namespace=2;
-    optional int32 revision=3;
-    optional int32 localName=4;
-}
-
-message PathArgument {
-  optional string value=1; // @deprecated
-  optional string type=2; // @deprecated
-
-  optional QName nodeType=3;
-
-  repeated PathArgumentAttribute attribute=4;
-  repeated Attribute attributes=5; // @deprecated For backward compatibility (see InstanceIdentifierUtils)
-  optional int32 intType = 6;
-}
-
-message InstanceIdentifier {
-  repeated PathArgument arguments=1;
-  
-  // A list of string codes which can be used for any repeated strings in the path args. This is
-  // optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
-  // that contains the codes. 
-  repeated string code = 2;
-}
-
-message Node{
-  optional string path = 1; // @deprecated(use pathArgument)
-  optional string type = 2; // @deprecated(use intType)
-  optional PathArgument pathArgument = 3;
-  optional int32 intType = 4;
-
-  repeated Attribute attributes = 5;
-
-  repeated Node child = 6;
-
-  optional string value = 7;
-  optional string valueType = 8; // @deprecated(use intValueType)
-  optional int32 intValueType = 9; // instead of valueType
-
-  // Specific values
-  optional InstanceIdentifier instanceIdentifierValue = 10; // intValueType = YangInstanceIdentifier
-  repeated string bitsValue = 11; // intValueType = Bits
-
-  repeated string code = 12; // A list of string codes which can be used for any repeated strings in the NormalizedNode
-
-  optional bytes bytesValue = 13;
-}
-
-message Container{
-  required string parentPath =1 ;
-  optional Node normalizedNode=2;
-}
-
-message NodeMapEntry{
-  required InstanceIdentifier instanceIdentifierPath =1;
-  optional Node normalizedNode=2;
-}
-
-message NodeMap{
-repeated NodeMapEntry mapEntries=1;
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Persistent.proto b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Persistent.proto
deleted file mode 100644 (file)
index 72651ab..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.opendaylight.controller.mdsal;
-
-import "Common.proto";
-import "AppendEntriesMessages.proto";
-
-option java_package = "org.opendaylight.controller.protobuff.messages.persistent";
-option java_outer_classname = "PersistentMessages";
-
-
-message Modification {
-    required string type=1;
-    required InstanceIdentifier path=2;
-    optional Node data=3;
-
-}
-
-
-message CompositeModification {
-    repeated Modification modification=1;
-    optional int64 timeStamp = 2;
-}
-
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/resources/ShardTransaction.proto b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/ShardTransaction.proto
deleted file mode 100644 (file)
index 07d3170..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.opendaylight.controller.mdsal;
-
-import "Common.proto";
-
-option java_package = "org.opendaylight.controller.protobuff.messages.transaction";
-option java_outer_classname = "ShardTransactionMessages";
-
-message CloseTransaction{
-}
-
-message CloseTransactionReply{
-
-}
-
-message CreateTransaction{
-  required string transactionId = 1;
-  required int32  transactionType =2;
-  optional string transactionChainId = 3;
-  optional int32 messageVersion = 4;
-}
-
-message CreateTransactionReply{
-  required string transactionActorPath = 1;
-  required string transactionId = 2;
-  optional int32 messageVersion = 3;
-}
-
-message ReadData {
-required InstanceIdentifier instanceIdentifierPathArguments=1;
-}
-
-message DataExists {
-  required InstanceIdentifier instanceIdentifierPathArguments = 1;
-}
-
-message DataExistsReply {
-  required bool exists = 1;
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/resources/ShardTransactionChain.proto b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/ShardTransactionChain.proto
deleted file mode 100644 (file)
index 5dc67aa..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.opendaylight.controller.mdsal;
-
-option java_package = "org.opendaylight.controller.protobuff.messages.transaction";
-option java_outer_classname = "ShardTransactionChainMessages";
-
-message CloseTransactionChain {
-    optional string transactionChainId = 1;
-}
-
-message CloseTransactionChainReply{
-
-}
-
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/NormalizedNodeToNodeCodecTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/NormalizedNodeToNodeCodecTest.java
deleted file mode 100644 (file)
index 2521d99..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.List;
-import org.junit.Before;
-import org.junit.Test;
-import org.opendaylight.controller.cluster.datastore.node.utils.NormalizedNodeGetter;
-import org.opendaylight.controller.cluster.datastore.node.utils.NormalizedNodeNavigator;
-import org.opendaylight.controller.cluster.datastore.node.utils.PathUtils;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.NormalizedNodeSerializer;
-import org.opendaylight.controller.cluster.datastore.util.TestModel;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class NormalizedNodeToNodeCodecTest {
-    private static final Logger LOG = LoggerFactory.getLogger(NormalizedNodeToNodeCodecTest.class);
-
-    private SchemaContext schemaContext;
-
-    @Before
-    public void setUp() {
-        schemaContext = TestModel.createTestContext();
-        assertNotNull("Schema context must not be null.", schemaContext);
-    }
-
-    private static YangInstanceIdentifier instanceIdentifierFromString(String str) {
-        return PathUtils.toYangInstanceIdentifier(str);
-    }
-
-    @Test
-    public void testNormalizeNodeAttributesToProtoBuffNode() {
-        final NormalizedNode<?, ?> documentOne = TestModel.createTestContainer();
-        String id = "/(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test"
-            + "/(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)outer-list"
-            + "/(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)outer-list["
-            + "{(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)id=2}]"
-            + "/(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)id";
-
-        NormalizedNodeGetter normalizedNodeGetter = new NormalizedNodeGetter(id);
-        new NormalizedNodeNavigator(normalizedNodeGetter).navigate(PathUtils.toString(YangInstanceIdentifier.EMPTY),
-                documentOne);
-
-        // Validate the value of id can be retrieved from the normalized node
-        NormalizedNode<?, ?> output = normalizedNodeGetter.getOutput();
-        assertNotNull(output);
-
-        NormalizedNodeToNodeCodec codec = new NormalizedNodeToNodeCodec();
-        long start = System.currentTimeMillis();
-        Container container = codec.encode(output);
-        long end = System.currentTimeMillis();
-
-        LOG.info("Time taken to encode: {}", end - start);
-
-        assertNotNull(container);
-
-        // Decode the normalized node from the ProtocolBuffer form
-        // first get the node representation of normalized node
-        final Node node = container.getNormalizedNode();
-
-        start = System.currentTimeMillis();
-        NormalizedNode<?, ?> normalizedNode = codec.decode(node);
-        end = System.currentTimeMillis();
-
-        LOG.info("Time taken to decode: {}", end - start);
-
-        assertEquals(normalizedNode.getValue().toString(), output.getValue().toString());
-    }
-
-    @Test
-    public void testThatANormalizedNodeToProtoBuffNodeEncodeDecode() throws Exception {
-        final NormalizedNode<?, ?> documentOne = TestModel.createTestContainer();
-
-        final NormalizedNodeToNodeCodec normalizedNodeToNodeCodec = new NormalizedNodeToNodeCodec();
-
-        Container container = normalizedNodeToNodeCodec.encode(documentOne);
-
-        final NormalizedNode<?, ?> decode = normalizedNodeToNodeCodec.decode(container.getNormalizedNode());
-        assertNotNull(decode);
-
-        // let us ensure that the return decode normalized node encode returns
-        // same container
-        Container containerResult = normalizedNodeToNodeCodec.encode(decode);
-
-        // check first level children are proper
-        List<Node> childrenResult = containerResult.getNormalizedNode().getChildList();
-        List<Node> childrenOriginal = container.getNormalizedNode().getChildList();
-
-        LOG.info("\n-------------------------------------------------\n" + childrenOriginal
-                + "\n-------------------------------------------------\n" + childrenResult);
-
-        boolean found;
-        for (Node resultChild : childrenResult) {
-            found = false;
-            for (Node originalChild : childrenOriginal) {
-
-                YangInstanceIdentifier.PathArgument result = NormalizedNodeSerializer
-                        .deSerialize(containerResult.getNormalizedNode(), resultChild.getPathArgument());
-
-                YangInstanceIdentifier.PathArgument original = NormalizedNodeSerializer
-                        .deSerialize(container.getNormalizedNode(), originalChild.getPathArgument());
-
-                if (original.equals(result) && resultChild.getIntType() == resultChild.getIntType()) {
-                    found = true;
-                    break;
-                }
-            }
-            assertTrue(found);
-        }
-
-    }
-
-    @Test
-    public void addAugmentations() {
-        MapEntryNode uno = TestModel.createAugmentedListEntry(1, "Uno");
-
-        NormalizedNodeToNodeCodec codec = new NormalizedNodeToNodeCodec();
-
-        Container encode = codec.encode(uno);
-
-        LOG.info(encode.getNormalizedNode().toString());
-
-        codec.decode(encode.getNormalizedNode());
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java
deleted file mode 100644 (file)
index 3f5ecc6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import static org.junit.Assert.assertTrue;
-
-import org.junit.Test;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class NodeIdentifierFactoryTest {
-
-    @Test
-    public void validateAugmentationIdentifier() {
-        YangInstanceIdentifier.PathArgument argument = NodeIdentifierFactory.getArgument(
-                "AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)"
-                + "flow-table-statistics]}");
-
-        assertTrue(argument instanceof YangInstanceIdentifier.AugmentationIdentifier);
-
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java
deleted file mode 100644 (file)
index d1b89b2..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils;
-
-import static junit.framework.TestCase.assertEquals;
-
-import com.google.common.collect.ImmutableSet;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-import org.junit.Test;
-import org.opendaylight.controller.cluster.datastore.util.TestModel;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
-
-public class PathUtilsTest {
-
-    @Test
-    public void toStringNodeIdentifier() {
-        PathArgument pathArgument = nodeIdentifier();
-
-        String expected =
-            "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test";
-
-        assertEquals(expected , PathUtils.toString(pathArgument));
-    }
-
-    @Test
-    public void toStringAugmentationIdentifier() {
-        String expected =
-            "AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)"
-            + "flow-table-statistics]}";
-
-        PathArgument pathArgument = augmentationIdentifier();
-
-        assertEquals(expected, PathUtils.toString(pathArgument));
-    }
-
-    @Test
-    public void toStringNodeWithValue() {
-
-        PathArgument pathArgument = nodeWithValue();
-
-        String expected =
-                "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test[100]";
-
-        assertEquals(expected, PathUtils.toString(pathArgument));
-    }
-
-
-    @Test
-    public void toStringNodeIdentifierWithPredicates() {
-
-        PathArgument pathArgument = nodeIdentifierWithPredicates();
-
-        String expected =
-                "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test["
-                + "{(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)id=100}]";
-
-        assertEquals(expected, PathUtils.toString(pathArgument));
-    }
-
-    @Test
-    public void toStringYangInstanceIdentifier() {
-
-        YangInstanceIdentifier path =
-            YangInstanceIdentifier.create(nodeIdentifier())
-                .node(nodeIdentifierWithPredicates())
-                .node(augmentationIdentifier()).node(nodeWithValue());
-
-
-        String expected =
-            "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test/"
-            + "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test["
-            + "{(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)id=100}]/"
-            + "AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)"
-            + "flow-table-statistics]}/"
-            + "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test[100]";
-
-        assertEquals(expected, PathUtils.toString(path));
-
-    }
-
-    @Test
-    public void toYangInstanceIdentifier() {
-        String expected =
-            "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test/"
-            + "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test["
-            + "{(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)id=100}]/"
-            + "AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)"
-            + "flow-table-statistics]}/"
-            + "(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test[100]";
-
-        YangInstanceIdentifier yangInstanceIdentifier =
-            PathUtils.toYangInstanceIdentifier(expected);
-
-        String actual = PathUtils.toString(yangInstanceIdentifier);
-
-        assertEquals(expected, actual);
-
-    }
-
-    private static NodeIdentifier nodeIdentifier() {
-        return new NodeIdentifier(TestModel.TEST_QNAME);
-    }
-
-    private static AugmentationIdentifier augmentationIdentifier() {
-        Set<QName> childNames = ImmutableSet.of(QNameFactory.create(
-                "(urn:opendaylight:flow:table:statistics?revision=2013-12-15)flow-table-statistics"));
-
-        return new AugmentationIdentifier(childNames);
-    }
-
-    private static NodeWithValue<?> nodeWithValue() {
-        return new NodeWithValue<>(TestModel.TEST_QNAME, Integer.valueOf(100));
-    }
-
-    private static NodeIdentifierWithPredicates nodeIdentifierWithPredicates() {
-        Map<QName, Object> keys = new HashMap<>();
-
-        keys.put(TestModel.ID_QNAME, Integer.valueOf(100));
-
-        return new NodeIdentifierWithPredicates(TestModel.TEST_QNAME, keys);
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializerTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/NormalizedNodeSerializerTest.java
deleted file mode 100644 (file)
index 737d37c..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import com.google.common.base.Optional;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.ExpectedException;
-import org.opendaylight.controller.cluster.datastore.util.TestModel;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
-import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-import org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class NormalizedNodeSerializerTest {
-    private static final Logger LOG = LoggerFactory.getLogger(NormalizedNodeSerializerTest.class);
-
-    @Rule
-    public ExpectedException expectedException = ExpectedException.none();
-
-    @Test
-    public void testSerializeDeSerialize() {
-
-        // This test basically serializes and deSerializes a largish document
-        // which contains most of the types of nodes that go into a normalized
-        // node and uses several value types as well. It is in general a good
-        // sanity test which could be augmented with specific unit tests.
-
-        long start = System.nanoTime();
-
-        NormalizedNode<?, ?> expectedNode =
-            TestModel.createDocumentOne(TestModel.createTestContext());
-
-        NormalizedNodeMessages.Node expected = NormalizedNodeSerializer
-            .serialize(expectedNode);
-
-        LOG.info("Serialize Time = {}", (System.nanoTime() - start) / 1000000);
-
-        LOG.info("Serialized Size = {}", expected.getSerializedSize());
-
-        LOG.info(expected.toString());
-
-        start = System.nanoTime();
-
-        NormalizedNode<?, ?> actualNode =
-            NormalizedNodeSerializer.deSerialize(expected);
-
-        LOG.info("DeSerialize Time = {}", (System.nanoTime() - start) / 1000000);
-
-        // Compare the original normalized node to the normalized node that was
-        // created by serializing the original node and deSerializing it back.
-        assertEquals(expectedNode, actualNode);
-
-        byte[] binaryData = new byte[5];
-        for (byte i = 0; i < 5; i++) {
-            binaryData[i] = i;
-        }
-
-        ContainerNode node1 = TestModel.createBaseTestContainerBuilder()
-                .withChild(ImmutableNodes.leafNode(TestModel.SOME_BINARY_DATA_QNAME, binaryData))
-                .build();
-
-        NormalizedNodeMessages.Node serializedNode1 = NormalizedNodeSerializer
-                .serialize(node1);
-
-        ContainerNode node2 =
-                (ContainerNode) NormalizedNodeSerializer.deSerialize(serializedNode1);
-
-
-        // FIXME: This will not work due to BUG 2326. Once that is fixed we can uncomment this assertion
-        // assertEquals(node1, node2);
-
-        Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument, ?>> child =
-                node2.getChild(new YangInstanceIdentifier.NodeIdentifier(TestModel.SOME_BINARY_DATA_QNAME));
-
-        Object value = child.get().getValue();
-
-        assertTrue("value should be of type byte[]", value instanceof byte[]);
-
-        byte[] bytesValue = (byte[]) value;
-
-        for (byte i = 0; i < 5; i++) {
-            assertEquals(i, bytesValue[i]);
-        }
-
-    }
-
-    @Test(expected = NullPointerException.class)
-    public void testSerializeNullNormalizedNode() {
-        assertNotNull(NormalizedNodeSerializer.serialize(null));
-    }
-
-    @Test
-    public void testDeSerializeNullProtocolBufferNode() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("node should not be null");
-
-        NormalizedNodeSerializer.deSerialize(null);
-    }
-
-    @Test
-    public void testDeSerializePathArgumentNullNode() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("node should not be null");
-
-        NormalizedNodeSerializer
-            .deSerialize(null, NormalizedNodeMessages.PathArgument.getDefaultInstance());
-    }
-
-    @Test
-    public void testDeSerializePathArgumentNullPathArgument() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("pathArgument should not be null");
-
-        NormalizedNodeSerializer.deSerialize(NormalizedNodeMessages.Node.getDefaultInstance() , null);
-    }
-
-    @Test
-    public void testDeSerializePathArgument() {
-
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-
-        nodeBuilder.addCode("urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test1");
-        nodeBuilder.addCode("urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test");
-
-
-        nodeBuilder.addCode("2014-04-13");
-        nodeBuilder.addCode("2014-05-13");
-        nodeBuilder.addCode("2014-03-13");
-
-        nodeBuilder.addCode("dummy1");
-        nodeBuilder.addCode("dummy2");
-        nodeBuilder.addCode("dummy3");
-        nodeBuilder.addCode("capability");
-
-
-
-        NormalizedNodeMessages.PathArgument.Builder pathBuilder = NormalizedNodeMessages.PathArgument.newBuilder();
-
-        pathBuilder.setIntType(PathArgumentType.NODE_IDENTIFIER.ordinal());
-
-        NormalizedNodeMessages.QName.Builder qnameBuilder = NormalizedNodeMessages.QName.newBuilder();
-        qnameBuilder.setNamespace(1);
-        qnameBuilder.setRevision(4);
-        qnameBuilder.setLocalName(8);
-
-        pathBuilder.setNodeType(qnameBuilder);
-
-        YangInstanceIdentifier.PathArgument pathArgument =
-            NormalizedNodeSerializer
-                .deSerialize(nodeBuilder.build(), pathBuilder.build());
-
-        assertNotNull(pathArgument);
-
-        assertEquals("urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test",
-                pathArgument.getNodeType().getNamespace().toString());
-        assertEquals("2014-03-13", pathArgument.getNodeType().getFormattedRevision());
-        assertEquals("capability", pathArgument.getNodeType().getLocalName());
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentSerializerTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/PathArgumentSerializerTest.java
deleted file mode 100644 (file)
index d0041fe..0000000
+++ /dev/null
@@ -1,276 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import static org.junit.Assert.assertEquals;
-import static org.mockito.Matchers.any;
-import static org.mockito.Matchers.anyString;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableSet;
-import java.net.URI;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.ExpectedException;
-import org.opendaylight.controller.cluster.datastore.util.TestModel;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
-
-public class PathArgumentSerializerTest {
-
-    @Rule
-    public ExpectedException expectedException = ExpectedException.none();
-
-    @Test
-    public void testSerializeNullContext() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("context should not be null");
-
-        PathArgumentSerializer.serialize(null, mock(PathArgument.class));
-    }
-
-    @Test
-    public void testSerializeNullPathArgument() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("pathArgument should not be null");
-
-        PathArgumentSerializer.serialize(mock(QNameSerializationContext.class), null);
-
-    }
-
-    @Test
-    public void testDeSerializeNullContext() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("context should not be null");
-
-        PathArgumentSerializer.deSerialize(null, NormalizedNodeMessages.PathArgument.getDefaultInstance());
-
-    }
-
-    @Test
-    public void testDeSerializeNullPathArgument() {
-        expectedException.expect(NullPointerException.class);
-        expectedException.expectMessage("pathArgument should not be null");
-
-        PathArgumentSerializer.deSerialize(mock(QNameDeSerializationContext.class), null);
-
-    }
-
-    @Test
-    public void testSerializeNodeIdentifier() {
-        QNameSerializationContext serializationContext = mock(QNameSerializationContext.class);
-
-        when(serializationContext.addLocalName(anyString())).thenReturn(5);
-        when(serializationContext.addNamespace(any(URI.class))).thenReturn(10);
-        when(serializationContext.addRevision(any(Date.class))).thenReturn(11);
-
-        NormalizedNodeMessages.PathArgument actual = PathArgumentSerializer
-            .serialize(serializationContext,
-                new NodeIdentifier(
-                    TestModel.TEST_QNAME));
-
-        assertEquals(PathArgumentType.NODE_IDENTIFIER.ordinal(), actual.getIntType());
-        assertEquals(5, actual.getNodeType().getLocalName());
-        assertEquals(10, actual.getNodeType().getNamespace());
-        assertEquals(11, actual.getNodeType().getRevision());
-
-
-    }
-
-    @Test
-    public void testSerializeNodeIdentifierWithValue() {
-        QNameSerializationContext serializationContext = mock(QNameSerializationContext.class);
-
-        when(serializationContext.addLocalName(anyString())).thenReturn(5);
-        when(serializationContext.addNamespace(any(URI.class))).thenReturn(10);
-        when(serializationContext.addRevision(any(Date.class))).thenReturn(11);
-
-        NormalizedNodeMessages.PathArgument actual = PathArgumentSerializer
-            .serialize(serializationContext,
-                new NodeWithValue<>(
-                    TestModel.TEST_QNAME, "foo"));
-
-        assertEquals(PathArgumentType.NODE_IDENTIFIER_WITH_VALUE.ordinal(), actual.getIntType());
-        assertEquals(5, actual.getNodeType().getLocalName());
-        assertEquals(10, actual.getNodeType().getNamespace());
-        assertEquals(11, actual.getNodeType().getRevision());
-        assertEquals("foo", actual.getAttribute(0).getValue());
-
-
-    }
-
-    @Test
-    public void testSerializeNodeIdentifierWithPredicates() {
-        QNameSerializationContext serializationContext = mock(QNameSerializationContext.class);
-
-        when(serializationContext.addLocalName("test")).thenReturn(5);
-        when(serializationContext.addLocalName("child-name")).thenReturn(55);
-
-        when(serializationContext.addNamespace(TestModel.TEST_QNAME.getNamespace())).thenReturn(
-            10);
-        when(serializationContext.addNamespace(TestModel.CHILD_NAME_QNAME.getNamespace())).thenReturn(66);
-
-        when(serializationContext.addRevision(TestModel.TEST_QNAME.getRevision())).thenReturn(
-            11);
-        when(serializationContext.addRevision(TestModel.CHILD_NAME_QNAME.getRevision())).thenReturn(77);
-
-        Map<QName, Object> predicates = new HashMap<>();
-
-        predicates.put(TestModel.CHILD_NAME_QNAME, "foobar");
-
-        NormalizedNodeMessages.PathArgument actual = PathArgumentSerializer
-            .serialize(serializationContext,
-                new NodeIdentifierWithPredicates(TestModel.TEST_QNAME, predicates));
-
-        assertEquals(PathArgumentType.NODE_IDENTIFIER_WITH_PREDICATES.ordinal(), actual.getIntType());
-        assertEquals(5, actual.getNodeType().getLocalName());
-        assertEquals(10, actual.getNodeType().getNamespace());
-        assertEquals(11, actual.getNodeType().getRevision());
-
-        assertEquals(55, actual.getAttribute(0).getName().getLocalName());
-        assertEquals(66, actual.getAttribute(0).getName().getNamespace());
-        assertEquals(77, actual.getAttribute(0).getName().getRevision());
-
-        assertEquals("foobar", actual.getAttribute(0).getValue());
-
-
-    }
-
-    @Test
-    public void testSerializeAugmentationIdentifier() {
-        QNameSerializationContext serializationContext = mock(QNameSerializationContext.class);
-
-        when(serializationContext.addLocalName(anyString())).thenReturn(55);
-        when(serializationContext.addNamespace(any(URI.class))).thenReturn(66);
-        when(serializationContext.addRevision(any(Date.class))).thenReturn(77);
-
-        NormalizedNodeMessages.PathArgument actual = PathArgumentSerializer
-            .serialize(serializationContext,
-                new AugmentationIdentifier(ImmutableSet.of(TestModel.TEST_QNAME)));
-
-        assertEquals(PathArgumentType.AUGMENTATION_IDENTIFIER.ordinal(), actual.getIntType());
-
-        assertEquals(55, actual.getAttribute(0).getName().getLocalName());
-        assertEquals(66, actual.getAttribute(0).getName().getNamespace());
-        assertEquals(77, actual.getAttribute(0).getName().getRevision());
-
-    }
-
-    @Test
-    public void testDeSerializeNodeIdentifier() {
-        final NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        final NormalizedNodeMessages.PathArgument.Builder pathBuilder =
-                NormalizedNodeMessages.PathArgument.newBuilder();
-        final NormalizedNodeMessages.QName.Builder qNameBuilder = NormalizedNodeMessages.QName.newBuilder();
-
-        qNameBuilder.setNamespace(0);
-        qNameBuilder.setRevision(1);
-        qNameBuilder.setLocalName(2);
-
-        pathBuilder.setNodeType(qNameBuilder);
-        pathBuilder.setIntType(PathArgumentType.NODE_IDENTIFIER.ordinal());
-
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getNamespace().toString());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getFormattedRevision());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getLocalName());
-
-        PathArgument pathArgument = NormalizedNodeSerializer.deSerialize(nodeBuilder.build(), pathBuilder.build());
-
-        assertEquals(new NodeIdentifier(TestModel.TEST_QNAME), pathArgument);
-
-    }
-
-    @Test
-    public void testDeSerializeNodeWithValue() {
-        final NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        final NormalizedNodeMessages.PathArgument.Builder pathBuilder =
-                NormalizedNodeMessages.PathArgument.newBuilder();
-        final NormalizedNodeMessages.QName.Builder qNameBuilder = NormalizedNodeMessages.QName.newBuilder();
-
-        qNameBuilder.setNamespace(0);
-        qNameBuilder.setRevision(1);
-        qNameBuilder.setLocalName(2);
-
-        pathBuilder.setNodeType(qNameBuilder);
-        pathBuilder.setIntType(PathArgumentType.NODE_IDENTIFIER_WITH_VALUE.ordinal());
-        pathBuilder.addAttribute(
-            NormalizedNodeMessages.PathArgumentAttribute.newBuilder()
-                .setValue("foo").setType(ValueType.STRING_TYPE.ordinal()));
-
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getNamespace().toString());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getFormattedRevision());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getLocalName());
-
-        PathArgument pathArgument = NormalizedNodeSerializer.deSerialize(nodeBuilder.build(), pathBuilder.build());
-
-        assertEquals(new NodeWithValue<>(TestModel.TEST_QNAME, "foo"), pathArgument);
-
-    }
-
-    @Test
-    public void testDeSerializeNodeIdentifierWithPredicates() {
-        final NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        final NormalizedNodeMessages.PathArgument.Builder pathBuilder =
-                NormalizedNodeMessages.PathArgument.newBuilder();
-        final NormalizedNodeMessages.QName.Builder qNameBuilder = NormalizedNodeMessages.QName.newBuilder();
-
-        qNameBuilder.setNamespace(0);
-        qNameBuilder.setRevision(1);
-        qNameBuilder.setLocalName(2);
-
-        pathBuilder.setNodeType(qNameBuilder);
-        pathBuilder.setIntType(PathArgumentType.NODE_IDENTIFIER_WITH_PREDICATES.ordinal());
-        pathBuilder.addAttribute(NormalizedNodeMessages.PathArgumentAttribute.newBuilder().setName(qNameBuilder)
-                .setValue("foo").setType(ValueType.STRING_TYPE.ordinal()));
-
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getNamespace().toString());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getFormattedRevision());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getLocalName());
-
-        PathArgument pathArgument = NormalizedNodeSerializer.deSerialize(nodeBuilder.build(), pathBuilder.build());
-
-        assertEquals(new NodeIdentifierWithPredicates(TestModel.TEST_QNAME,
-            ImmutableMap.<QName, Object>of(TestModel.TEST_QNAME, "foo")), pathArgument);
-
-    }
-
-    @Test
-    public void testDeSerializeNodeAugmentationIdentifier() {
-        final NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        final NormalizedNodeMessages.PathArgument.Builder pathBuilder =
-                NormalizedNodeMessages.PathArgument.newBuilder();
-        final NormalizedNodeMessages.QName.Builder qNameBuilder = NormalizedNodeMessages.QName.newBuilder();
-
-        qNameBuilder.setNamespace(0);
-        qNameBuilder.setRevision(1);
-        qNameBuilder.setLocalName(2);
-
-        pathBuilder.setIntType(PathArgumentType.AUGMENTATION_IDENTIFIER.ordinal());
-        pathBuilder.addAttribute(NormalizedNodeMessages.PathArgumentAttribute.newBuilder().setName(qNameBuilder)
-                .setType(ValueType.STRING_TYPE.ordinal()));
-
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getNamespace().toString());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getFormattedRevision());
-        nodeBuilder.addCode(TestModel.TEST_QNAME.getLocalName());
-
-        PathArgument pathArgument = NormalizedNodeSerializer.deSerialize(nodeBuilder.build(), pathBuilder.build());
-
-        assertEquals(new AugmentationIdentifier(ImmutableSet.of(TestModel.TEST_QNAME)), pathArgument);
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueSerializerTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueSerializerTest.java
deleted file mode 100644 (file)
index 014d860..0000000
+++ /dev/null
@@ -1,585 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-
-import com.google.common.collect.ImmutableList;
-import com.google.common.collect.ImmutableSet;
-import com.google.protobuf.ByteString;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Arrays;
-import java.util.Set;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.ExpectedException;
-import org.mockito.Mockito;
-import org.opendaylight.controller.cluster.datastore.util.TestModel;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class ValueSerializerTest {
-
-    @Rule
-    public ExpectedException expectedException = ExpectedException.none();
-
-    @Test
-    public void testSerializeShort() {
-        short v1 = 5;
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.SHORT_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("5", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.SHORT_TYPE.ordinal(), builder1.getType());
-        assertEquals("5", builder.getValue());
-
-    }
-
-    @Test
-    public void testSerializeInteger() {
-        String hexNumber = "f3";
-
-        Integer expected = Integer.valueOf(hexNumber, 16);
-
-
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), expected);
-
-        assertEquals(ValueType.INT_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("243", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), expected);
-
-        assertEquals(ValueType.INT_TYPE.ordinal(), builder1.getType());
-        assertEquals("243", builder1.getValue());
-
-
-    }
-
-
-    @Test
-    public void testSerializeLong() {
-        long v1 = 5;
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.LONG_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("5", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.LONG_TYPE.ordinal(), builder1.getType());
-        assertEquals("5", builder1.getValue());
-
-    }
-
-    @Test
-    public void testSerializeByte() {
-        byte v1 = 5;
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BYTE_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("5", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BYTE_TYPE.ordinal(), builder1.getType());
-        assertEquals("5", builder1.getValue());
-
-    }
-
-    @Test
-    public void testSerializeBits() {
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class),
-            ImmutableSet.of("foo", "bar"));
-
-        assertEquals(ValueType.BITS_TYPE.ordinal(), builder.getIntValueType());
-        assertTrue( "foo not in bits", builder.getBitsValueList().contains("foo"));
-        assertTrue( "bar not in bits", builder.getBitsValueList().contains("bar"));
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class),
-            ImmutableSet.of("foo", "bar"));
-
-        assertEquals(ValueType.BITS_TYPE.ordinal(), builder1.getType());
-        assertTrue( "foo not in bits", builder1.getBitsValueList().contains("foo"));
-        assertTrue( "bar not in bits", builder1.getBitsValueList().contains("bar"));
-
-    }
-
-    @Test
-    public void testSerializeWrongTypeOfSet() {
-        expectedException.expect(IllegalArgumentException.class);
-        expectedException.expectMessage("Expected value type to be Bits but was :");
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class),
-            ImmutableSet.of(1, 2));
-
-    }
-
-    @Test
-    public void testSerializeEmptyString() {
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class),"");
-
-        assertEquals(ValueType.STRING_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class),"");
-
-        assertEquals(ValueType.STRING_TYPE.ordinal(), builder1.getType());
-        assertEquals("", builder1.getValue());
-
-    }
-
-    @Test
-    public void testSerializeString() {
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class),"foo");
-
-        assertEquals(ValueType.STRING_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("foo", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class),"foo");
-
-        assertEquals(ValueType.STRING_TYPE.ordinal(), builder1.getType());
-        assertEquals("foo", builder1.getValue());
-
-    }
-
-
-    @Test
-    public void testSerializeBoolean() {
-        boolean v1 = true;
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BOOL_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("true", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BOOL_TYPE.ordinal(), builder1.getType());
-        assertEquals("true", builder1.getValue());
-    }
-
-    @Test
-    public void testSerializeQName() {
-        QName v1 = TestModel.TEST_QNAME;
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.QNAME_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test",
-                builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.QNAME_TYPE.ordinal(), builder1.getType());
-        assertEquals("(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test",
-                builder1.getValue());
-
-    }
-
-    @Test
-    public void testSerializeYangIdentifier() {
-        YangInstanceIdentifier v1 = TestModel.TEST_PATH;
-
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        QNameSerializationContext mockContext = mock(QNameSerializationContext.class);
-        ValueSerializer.serialize(builder, mockContext, v1);
-
-        assertEquals(ValueType.YANG_IDENTIFIER_TYPE.ordinal(), builder.getIntValueType());
-        NormalizedNodeMessages.InstanceIdentifier serializedYangInstanceIdentifier =
-            builder.getInstanceIdentifierValue();
-
-        assertEquals(1, serializedYangInstanceIdentifier.getArgumentsCount());
-        Mockito.verify(mockContext).addLocalName(TestModel.TEST_QNAME.getLocalName());
-        Mockito.verify(mockContext).addNamespace(TestModel.TEST_QNAME.getNamespace());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder argumentBuilder
-                = NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        mockContext = mock(QNameSerializationContext.class);
-
-        ValueSerializer.serialize(argumentBuilder, mockContext, v1);
-
-        serializedYangInstanceIdentifier =
-                argumentBuilder.getInstanceIdentifierValue();
-
-        assertEquals(1, serializedYangInstanceIdentifier.getArgumentsCount());
-        Mockito.verify(mockContext).addLocalName(TestModel.TEST_QNAME.getLocalName());
-        Mockito.verify(mockContext).addNamespace(TestModel.TEST_QNAME.getNamespace());
-
-    }
-
-    @Test
-    public void testSerializeBigInteger() {
-        BigInteger v1 = new BigInteger("1000000000000000000000000");
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BIG_INTEGER_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("1000000000000000000000000", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BIG_INTEGER_TYPE.ordinal(), builder1.getType());
-        assertEquals("1000000000000000000000000", builder1.getValue());
-
-    }
-
-    @Test
-    public void testSerializeBigDecimal() {
-        BigDecimal v1 = new BigDecimal("1000000000000000000000000.51616");
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BIG_DECIMAL_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("1000000000000000000000000.51616", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class), v1);
-
-        assertEquals(ValueType.BIG_DECIMAL_TYPE.ordinal(), builder1.getType());
-        assertEquals("1000000000000000000000000.51616", builder1.getValue());
-
-    }
-
-    @Test
-    public void testSerializeBinary() {
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        byte[] bytes = new byte[] {1,2,3,4};
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class),bytes);
-
-        assertEquals(ValueType.BINARY_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals(ByteString.copyFrom(bytes), builder.getBytesValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class),bytes);
-
-        assertEquals(ValueType.BINARY_TYPE.ordinal(), builder1.getType());
-        assertEquals(ByteString.copyFrom(bytes), builder1.getBytesValue());
-
-    }
-
-    @Test
-    public void testSerializeNull() {
-        NormalizedNodeMessages.Node.Builder builder = NormalizedNodeMessages.Node.newBuilder();
-        Object none = null;
-        ValueSerializer.serialize(builder, mock(QNameSerializationContext.class),none);
-
-        assertEquals(ValueType.NULL_TYPE.ordinal(), builder.getIntValueType());
-        assertEquals("", builder.getValue());
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder builder1 =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        ValueSerializer.serialize(builder1, mock(QNameSerializationContext.class),none);
-
-        assertEquals(ValueType.NULL_TYPE.ordinal(), builder1.getType());
-        assertEquals("", builder.getValue());
-
-    }
-
-
-    @Test
-    public void testDeSerializeShort() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.SHORT_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof Short);
-        assertEquals(25, ((Short) value).shortValue());
-    }
-
-    @Test
-    public void testDeSerializeByte() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.BYTE_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof Byte);
-        assertEquals(25, ((Byte) value).byteValue());
-
-    }
-
-    @Test
-    public void testDeSerializeInteger() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.INT_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof Integer);
-        assertEquals(25, ((Integer) value).intValue());
-
-    }
-
-    @Test
-    public void testDeSerializeLong() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.LONG_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof Long);
-        assertEquals(25, ((Long) value).longValue());
-
-    }
-
-    @Test
-    public void testDeSerializeBoolean() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.BOOL_TYPE.ordinal());
-        nodeBuilder.setValue("false");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof Boolean);
-        assertEquals(false, ((Boolean) value).booleanValue());
-
-    }
-
-    @Test
-    public void testDeSerializeQName() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.QNAME_TYPE.ordinal());
-        nodeBuilder.setValue(TestModel.TEST_QNAME.toString());
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof QName);
-        assertEquals(TestModel.TEST_QNAME, value);
-
-    }
-
-    @Test
-    public void testDeSerializeBits() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.BITS_TYPE.ordinal());
-        nodeBuilder.addAllBitsValue(ImmutableList.of("foo", "bar"));
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof Set);
-        assertTrue(((Set<?>)value).contains("foo"));
-        assertTrue(((Set<?>) value).contains("bar"));
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder argumentBuilder
-                = NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        argumentBuilder.setType(ValueType.BITS_TYPE.ordinal());
-        argumentBuilder.addAllBitsValue(ImmutableList.of("foo", "bar"));
-
-        value = ValueSerializer
-                .deSerialize(mock(QNameDeSerializationContext.class),
-                        argumentBuilder.build());
-
-        assertTrue(value instanceof Set);
-        assertTrue(((Set<?>)value).contains("foo"));
-        assertTrue(((Set<?>) value).contains("bar"));
-
-    }
-
-    @Test
-    public void testDeSerializeYangIdentifier() {
-        final NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        final NormalizedNodeMessages.InstanceIdentifier.Builder idBuilder =
-                NormalizedNodeMessages.InstanceIdentifier.newBuilder();
-        final NormalizedNodeMessages.PathArgument.Builder pathBuilder =
-                NormalizedNodeMessages.PathArgument.newBuilder();
-
-        pathBuilder.setIntType(PathArgumentType.NODE_IDENTIFIER.ordinal());
-
-        idBuilder.addArguments(pathBuilder);
-
-        nodeBuilder.setIntValueType(ValueType.YANG_IDENTIFIER_TYPE.ordinal());
-        nodeBuilder.setInstanceIdentifierValue(idBuilder);
-
-        QNameDeSerializationContext mockContext = mock(QNameDeSerializationContext.class);
-        Mockito.doReturn(TestModel.TEST_QNAME.getNamespace().toString()).when(mockContext)
-                .getNamespace(Mockito.anyInt());
-        Mockito.doReturn(TestModel.TEST_QNAME.getLocalName()).when(mockContext).getLocalName(Mockito.anyInt());
-        Mockito.doReturn(TestModel.TEST_QNAME.getFormattedRevision()).when(mockContext).getRevision(Mockito.anyInt());
-
-        Object value = ValueSerializer.deSerialize(mockContext, nodeBuilder.build());
-
-        assertTrue(value instanceof YangInstanceIdentifier);
-        assertEquals(TestModel.TEST_PATH, value);
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder argumentBuilder =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        argumentBuilder.setType(ValueType.YANG_IDENTIFIER_TYPE.ordinal());
-        argumentBuilder.setInstanceIdentifierValue(idBuilder);
-
-        value = ValueSerializer.deSerialize(mockContext, argumentBuilder.build());
-
-        assertTrue(value instanceof YangInstanceIdentifier);
-        assertEquals(TestModel.TEST_PATH, value);
-    }
-
-    @Test
-    public void testDeSerializeString() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.STRING_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer.deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof String);
-        assertEquals("25", value);
-
-    }
-
-    @Test
-    public void testDeSerializeBigInteger() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.BIG_INTEGER_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof BigInteger);
-        assertEquals(new BigInteger("25"), value);
-
-    }
-
-    @Test
-    public void testDeSerializeBigDecimal() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.BIG_DECIMAL_TYPE.ordinal());
-        nodeBuilder.setValue("25");
-
-        Object value = ValueSerializer
-            .deSerialize(mock(QNameDeSerializationContext.class),
-                nodeBuilder.build());
-
-        assertTrue(value instanceof BigDecimal);
-        assertEquals(new BigDecimal("25"), value);
-
-    }
-
-
-    @Test
-    public void testDeSerializeBinaryType() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.BINARY_TYPE.ordinal());
-        byte[] bytes = new byte[] {1,2,3,4};
-        nodeBuilder.setBytesValue(ByteString.copyFrom(bytes));
-
-        Object value = ValueSerializer.deSerialize(mock(QNameDeSerializationContext.class),nodeBuilder.build());
-
-        assertTrue("not a byte array", value instanceof byte[]);
-        assertTrue("bytes value does not match" , Arrays.equals(bytes, (byte[]) value));
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder argumentBuilder =
-                NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-        argumentBuilder.setType(ValueType.BINARY_TYPE.ordinal());
-        argumentBuilder.setBytesValue(ByteString.copyFrom(bytes));
-
-        value = ValueSerializer.deSerialize(mock(QNameDeSerializationContext.class), argumentBuilder.build());
-
-        assertTrue("not a byte array", value instanceof byte[]);
-        assertTrue("bytes value does not match" ,Arrays.equals(bytes, (byte[]) value));
-
-
-    }
-
-    @Test
-    public void testDeSerializeNullType() {
-        NormalizedNodeMessages.Node.Builder nodeBuilder = NormalizedNodeMessages.Node.newBuilder();
-        nodeBuilder.setIntValueType(ValueType.NULL_TYPE.ordinal());
-        nodeBuilder.setValue("");
-
-        Object value = ValueSerializer
-                .deSerialize(mock(QNameDeSerializationContext.class),
-                        nodeBuilder.build());
-
-        assertEquals(null, value);
-
-        NormalizedNodeMessages.PathArgumentAttribute.Builder argumentBuilder
-                = NormalizedNodeMessages.PathArgumentAttribute.newBuilder();
-
-        argumentBuilder.setType(ValueType.NULL_TYPE.ordinal());
-        argumentBuilder.setValue("");
-
-        value = ValueSerializer
-                .deSerialize(mock(QNameDeSerializationContext.class),
-                        argumentBuilder.build());
-
-        assertEquals(null, value);
-
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueTypeTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/serialization/ValueTypeTest.java
deleted file mode 100644 (file)
index 10bf090..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
-
-import static org.junit.Assert.assertEquals;
-
-import org.junit.Test;
-
-public class ValueTypeTest {
-
-    @Test
-    public void testGetSerializableType() {
-        byte[] bytes = new byte[10];
-        bytes[0] = 1;
-        bytes[2] = 2;
-
-        ValueType serializableType = ValueType.getSerializableType(bytes);
-        assertEquals(ValueType.BINARY_TYPE, serializableType);
-    }
-
-    @Test
-    public void testNullType() {
-        ValueType serializableType = ValueType.getSerializableType(null);
-        assertEquals(ValueType.NULL_TYPE, serializableType);
-
-        assertEquals(null, ValueType.NULL_TYPE.deserialize(""));
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/util/InstanceIdentifierUtilsTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/util/InstanceIdentifierUtilsTest.java
deleted file mode 100644 (file)
index 54c6c46..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.cluster.datastore.util;
-
-import com.google.common.collect.ImmutableSet;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import org.junit.Assert;
-import org.junit.Test;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameDeSerializationContext;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameDeSerializationContextImpl;
-import org.opendaylight.controller.cluster.datastore.node.utils.serialization.QNameSerializationContextImpl;
-import org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public class InstanceIdentifierUtilsTest {
-
-    private static final QName TEST_QNAME = QName
-            .create("(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)test");
-    private static final QName NODE_WITH_VALUE_QNAME = QName
-            .create("(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)value");
-    private static final QName NODE_WITH_PREDICATES_QNAME = QName
-            .create("(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)pred");
-    private static final QName NAME_QNAME = QName
-            .create("(urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test?revision=2014-03-13)name");
-
-    @Test
-    public void testSerializationOfNodeIdentifier() {
-        YangInstanceIdentifier.PathArgument p1 = new YangInstanceIdentifier.NodeIdentifier(TEST_QNAME);
-
-        List<YangInstanceIdentifier.PathArgument> arguments = new ArrayList<>();
-
-        arguments.add(p1);
-
-        YangInstanceIdentifier expected = YangInstanceIdentifier.create(arguments);
-
-        NormalizedNodeMessages.InstanceIdentifier instanceIdentifier =
-                InstanceIdentifierUtils.toSerializable(expected);
-
-        YangInstanceIdentifier actual = InstanceIdentifierUtils.fromSerializable(instanceIdentifier);
-
-        Assert.assertEquals(expected.getLastPathArgument(), actual.getLastPathArgument());
-    }
-
-    @Test
-    public void testSerializationOfNodeWithValue() {
-
-        withValue((short) 1);
-        withValue((long) 2);
-        withValue(3);
-        withValue(true);
-
-    }
-
-    private static void withValue(Object value) {
-        YangInstanceIdentifier.PathArgument p1 = new YangInstanceIdentifier.NodeIdentifier(TEST_QNAME);
-
-        YangInstanceIdentifier.PathArgument p2 =
-                new YangInstanceIdentifier.NodeWithValue<>(NODE_WITH_VALUE_QNAME, value);
-
-        List<YangInstanceIdentifier.PathArgument> arguments = new ArrayList<>();
-
-        arguments.add(p1);
-        arguments.add(p2);
-
-        YangInstanceIdentifier expected = YangInstanceIdentifier.create(arguments);
-
-        NormalizedNodeMessages.InstanceIdentifier instanceIdentifier =
-                InstanceIdentifierUtils.toSerializable(expected);
-
-        YangInstanceIdentifier actual = InstanceIdentifierUtils.fromSerializable(instanceIdentifier);
-
-        Assert.assertEquals(expected.getLastPathArgument(), actual.getLastPathArgument());
-    }
-
-    @Test
-    public void testSerializationOfNodeIdentifierWithPredicates() {
-
-        withPredicates((short) 1);
-        withPredicates((long) 2);
-        withPredicates(3);
-        withPredicates(true);
-
-    }
-
-    private static void withPredicates(Object value) {
-        YangInstanceIdentifier.PathArgument p1 = new YangInstanceIdentifier.NodeIdentifier(TEST_QNAME);
-
-        YangInstanceIdentifier.PathArgument p2 = new YangInstanceIdentifier.NodeIdentifierWithPredicates(
-                NODE_WITH_PREDICATES_QNAME, NAME_QNAME, value);
-
-        List<YangInstanceIdentifier.PathArgument> arguments = new ArrayList<>();
-
-        arguments.add(p1);
-        arguments.add(p2);
-
-        YangInstanceIdentifier expected = YangInstanceIdentifier.create(arguments);
-
-        NormalizedNodeMessages.InstanceIdentifier instanceIdentifier =
-                InstanceIdentifierUtils.toSerializable(expected);
-
-        YangInstanceIdentifier actual = InstanceIdentifierUtils.fromSerializable(instanceIdentifier);
-
-        Assert.assertEquals(expected.getLastPathArgument(), actual.getLastPathArgument());
-    }
-
-    @Test
-    public void testAugmentationIdentifier() {
-        YangInstanceIdentifier.PathArgument p1 = new YangInstanceIdentifier.AugmentationIdentifier(
-            ImmutableSet.of(TEST_QNAME));
-
-        List<YangInstanceIdentifier.PathArgument> arguments = new ArrayList<>();
-
-        arguments.add(p1);
-
-        YangInstanceIdentifier expected = YangInstanceIdentifier.create(arguments);
-
-        NormalizedNodeMessages.InstanceIdentifier instanceIdentifier =
-                InstanceIdentifierUtils.toSerializable(expected);
-
-        YangInstanceIdentifier actual = InstanceIdentifierUtils.fromSerializable(instanceIdentifier);
-
-        Assert.assertEquals(expected.getLastPathArgument(), actual.getLastPathArgument());
-
-    }
-
-    @Test
-    public void testSerializationWithContext() {
-        List<YangInstanceIdentifier.PathArgument> arguments =
-                                                Arrays.<YangInstanceIdentifier.PathArgument>asList(
-                new YangInstanceIdentifier.NodeIdentifier(TEST_QNAME),
-                new YangInstanceIdentifier.NodeWithValue<>(NODE_WITH_VALUE_QNAME, 1),
-                new YangInstanceIdentifier.NodeIdentifierWithPredicates(
-                        NODE_WITH_PREDICATES_QNAME, NAME_QNAME, 2));
-
-        YangInstanceIdentifier expected = YangInstanceIdentifier.create(arguments);
-
-        QNameSerializationContextImpl serializationContext = new QNameSerializationContextImpl();
-
-        NormalizedNodeMessages.InstanceIdentifier instanceIdentifier =
-                InstanceIdentifierUtils.toSerializable(expected, serializationContext);
-
-        QNameDeSerializationContext deserializationContext = new QNameDeSerializationContextImpl(
-                serializationContext.getCodes());
-
-        YangInstanceIdentifier actual = InstanceIdentifierUtils.fromSerializable(
-                instanceIdentifier, deserializationContext);
-
-        Assert.assertEquals(expected.getLastPathArgument(), actual.getLastPathArgument());
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/AbstractMessagesTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/AbstractMessagesTest.java
deleted file mode 100644 (file)
index d3c5f97..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- *
- *  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- *  This program and the accompanying materials are made available under the
- *  terms of the Eclipse Public License v1.0 which accompanies this distribution,
- *  and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- */
-
-package org.opendaylight.controller.protobuff.messages;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-
-/**
- * @author: syedbahm Date: 7/31/14
- */
-public abstract class AbstractMessagesTest {
-    public final String VERSION_COMPATIBILTY_TEST_DATA_PATH = "." + File.separator + "src" + File.separator + "test"
-            + File.separator + "resources" + File.separator + "version-compatibility-serialized-data";
-    private File file;
-    private File testDataFile;
-
-    protected AbstractMessagesTest() {
-        init();
-    }
-
-    protected void init() {
-        file = new File(getTestFileName());
-        testDataFile = new File(VERSION_COMPATIBILTY_TEST_DATA_PATH + File.separator + getTestFileName() + "Data");
-    }
-
-    abstract public void verifySerialization() throws Exception;
-
-    protected void writeToFile(com.google.protobuf.GeneratedMessage.Builder<?> builder) throws Exception {
-
-        FileOutputStream output = new FileOutputStream(file);
-        builder.build().writeTo(output);
-        output.close();
-
-    }
-
-    protected com.google.protobuf.GeneratedMessage readFromFile(com.google.protobuf.Parser<?> parser) throws Exception {
-        com.google.protobuf.GeneratedMessage message = (com.google.protobuf.GeneratedMessage) parser
-                .parseFrom(new FileInputStream(file));
-
-        /*
-         * Note: we will delete only the test file -- comment below if you want
-         * to capture the version-compatibility-serialized-data test data
-         * file.The file will be generated at root of the
-         * sal-protocolbuffer-encoding and you need to move it to
-         * test/resources/version-compatbility-serialized-data folder renaming
-         * the file to include suffix <TestFileName>"Data"
-         */
-        file.delete();
-        return message;
-    }
-
-    protected com.google.protobuf.GeneratedMessage readFromTestDataFile(com.google.protobuf.Parser<?> parser)
-            throws Exception {
-        return (com.google.protobuf.GeneratedMessage) parser.parseFrom(new FileInputStream(testDataFile));
-    }
-
-    public abstract String getTestFileName();
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessagesTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessagesTest.java
deleted file mode 100644 (file)
index 37d41be..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- *
- *  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- *  This program and the accompanying materials are made available under the
- *  terms of the Eclipse Public License v1.0 which accompanies this distribution,
- *  and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- */
-
-package org.opendaylight.controller.protobuff.messages.common;
-
-import org.junit.Assert;
-import org.junit.Test;
-import org.opendaylight.controller.protobuff.messages.AbstractMessagesTest;
-
-/**
- * This test case is present to ensure that if others have used proper version of protocol buffer
- * for the common.proto messages
- *
- * If a different version of protocol buffer and there is change in serializaiton format
- * this test would break as we are comparing with protocol buffer 2.5 generated
- * serialized data.
- *
- * @author: syedbahm
- *
- */
-
-public class NormalizedNodeMessagesTest extends AbstractMessagesTest {
-
-    @Override
-    @Test
-    public void verifySerialization() throws Exception {
-        NormalizedNodeMessages.Attribute.Builder builder = NormalizedNodeMessages.Attribute.newBuilder();
-        builder.setName("test");
-        builder.setType("fake");
-        builder.setValue("testValue");
-        writeToFile(builder);
-
-        NormalizedNodeMessages.Attribute attributeNew = (NormalizedNodeMessages.Attribute) readFromFile(
-                NormalizedNodeMessages.Attribute.PARSER);
-        Assert.assertEquals("test", attributeNew.getName());
-        Assert.assertEquals("fake", attributeNew.getType());
-        Assert.assertEquals("testValue", attributeNew.getValue());
-
-        NormalizedNodeMessages.Attribute attributeOriginal = (NormalizedNodeMessages.Attribute) readFromTestDataFile(
-                NormalizedNodeMessages.Attribute.PARSER);
-        Assert.assertEquals(attributeNew.getName(), attributeOriginal.getName());
-    }
-
-    @Override
-    public String getTestFileName() {
-        return NormalizedNodeMessagesTest.class.getSimpleName();
-    }
-}
diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/xml/codec/XmlUtilsTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/xml/codec/XmlUtilsTest.java
deleted file mode 100644 (file)
index 023d1fa..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.xml.codec;
-
-import com.google.common.collect.Lists;
-import com.google.common.io.ByteSource;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.ArrayList;
-import org.junit.Before;
-import org.opendaylight.yangtools.yang.model.api.Module;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
-import org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor;
-import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YangInferencePipeline;
-
-// FIXME : CompositeNode is not avaliable anymore so fix the test to use NormalizedNodeContainer ASAP
-public class XmlUtilsTest {
-    public static final String XML_CONTENT = "<add-flow xmlns=\"urn:opendaylight:controller:rpc:test\">"
-            + "<input xmlns=\"urn:opendaylight:controller:rpc:test\"><id>flowid</id>"
-            + "<flow xmlns:ltha=\"urn:opendaylight:controller:rpc:test\">/ltha:node/ltha:node1"
-            + "[ltha:id='3@java.lang.Short']</flow></input></add-flow>";
-
-    private SchemaContext schemaContext;
-
-    @Before
-    public void setUp() throws Exception {
-        final ByteSource byteSource = new ByteSource() {
-            @Override
-            public InputStream openStream() throws IOException {
-                return XmlUtilsTest.this.getClass().getResourceAsStream("rpcTest.yang");
-            }
-        };
-
-        final CrossSourceStatementReactor.BuildAction reactor = YangInferencePipeline.RFC6020_REACTOR.newBuild();
-        final ArrayList<ByteSource> sources = Lists.newArrayList(byteSource);
-
-        try {
-
-            schemaContext = reactor.buildEffective(sources);
-        } catch (ReactorException e) {
-            throw new RuntimeException("Unable to build schema context from " + sources, e);
-        }
-
-        final Module rpcTestModule = schemaContext.getModules().iterator().next();
-        rpcTestModule.getRpcs().iterator().next();
-    }
-}