Bug 1569 - [DEV] Too small variable for OF-Port-Number
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / protobuff / messages / common / NormalizedNodeMessages.java
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: Common.proto
3
4 package org.opendaylight.controller.protobuff.messages.common;
5
6 public final class NormalizedNodeMessages {
7   private NormalizedNodeMessages() {}
8   public static void registerAllExtensions(
9       com.google.protobuf.ExtensionRegistry registry) {
10   }
11   public interface AttributeOrBuilder
12       extends com.google.protobuf.MessageOrBuilder {
13
14     // required string name = 1;
15     /**
16      * <code>required string name = 1;</code>
17      */
18     boolean hasName();
19     /**
20      * <code>required string name = 1;</code>
21      */
22     java.lang.String getName();
23     /**
24      * <code>required string name = 1;</code>
25      */
26     com.google.protobuf.ByteString
27         getNameBytes();
28
29     // optional string value = 2;
30     /**
31      * <code>optional string value = 2;</code>
32      */
33     boolean hasValue();
34     /**
35      * <code>optional string value = 2;</code>
36      */
37     java.lang.String getValue();
38     /**
39      * <code>optional string value = 2;</code>
40      */
41     com.google.protobuf.ByteString
42         getValueBytes();
43
44     // optional string type = 3;
45     /**
46      * <code>optional string type = 3;</code>
47      */
48     boolean hasType();
49     /**
50      * <code>optional string type = 3;</code>
51      */
52     java.lang.String getType();
53     /**
54      * <code>optional string type = 3;</code>
55      */
56     com.google.protobuf.ByteString
57         getTypeBytes();
58   }
59   /**
60    * Protobuf type {@code org.opendaylight.controller.mdsal.Attribute}
61    */
62   public static final class Attribute extends
63       com.google.protobuf.GeneratedMessage
64       implements AttributeOrBuilder {
65     // Use Attribute.newBuilder() to construct.
66     private Attribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
67       super(builder);
68       this.unknownFields = builder.getUnknownFields();
69     }
70     private Attribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
71
72     private static final Attribute defaultInstance;
73     public static Attribute getDefaultInstance() {
74       return defaultInstance;
75     }
76
77     public Attribute getDefaultInstanceForType() {
78       return defaultInstance;
79     }
80
81     private final com.google.protobuf.UnknownFieldSet unknownFields;
82     @java.lang.Override
83     public final com.google.protobuf.UnknownFieldSet
84         getUnknownFields() {
85       return this.unknownFields;
86     }
87     private Attribute(
88         com.google.protobuf.CodedInputStream input,
89         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
90         throws com.google.protobuf.InvalidProtocolBufferException {
91       initFields();
92       int mutable_bitField0_ = 0;
93       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
94           com.google.protobuf.UnknownFieldSet.newBuilder();
95       try {
96         boolean done = false;
97         while (!done) {
98           int tag = input.readTag();
99           switch (tag) {
100             case 0:
101               done = true;
102               break;
103             default: {
104               if (!parseUnknownField(input, unknownFields,
105                                      extensionRegistry, tag)) {
106                 done = true;
107               }
108               break;
109             }
110             case 10: {
111               bitField0_ |= 0x00000001;
112               name_ = input.readBytes();
113               break;
114             }
115             case 18: {
116               bitField0_ |= 0x00000002;
117               value_ = input.readBytes();
118               break;
119             }
120             case 26: {
121               bitField0_ |= 0x00000004;
122               type_ = input.readBytes();
123               break;
124             }
125           }
126         }
127       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
128         throw e.setUnfinishedMessage(this);
129       } catch (java.io.IOException e) {
130         throw new com.google.protobuf.InvalidProtocolBufferException(
131             e.getMessage()).setUnfinishedMessage(this);
132       } finally {
133         this.unknownFields = unknownFields.build();
134         makeExtensionsImmutable();
135       }
136     }
137     public static final com.google.protobuf.Descriptors.Descriptor
138         getDescriptor() {
139       return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
140     }
141
142     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
143         internalGetFieldAccessorTable() {
144       return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable
145           .ensureFieldAccessorsInitialized(
146               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder.class);
147     }
148
149     public static com.google.protobuf.Parser<Attribute> PARSER =
150         new com.google.protobuf.AbstractParser<Attribute>() {
151       public Attribute parsePartialFrom(
152           com.google.protobuf.CodedInputStream input,
153           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
154           throws com.google.protobuf.InvalidProtocolBufferException {
155         return new Attribute(input, extensionRegistry);
156       }
157     };
158
159     @java.lang.Override
160     public com.google.protobuf.Parser<Attribute> getParserForType() {
161       return PARSER;
162     }
163
164     private int bitField0_;
165     // required string name = 1;
166     public static final int NAME_FIELD_NUMBER = 1;
167     private java.lang.Object name_;
168     /**
169      * <code>required string name = 1;</code>
170      */
171     public boolean hasName() {
172       return ((bitField0_ & 0x00000001) == 0x00000001);
173     }
174     /**
175      * <code>required string name = 1;</code>
176      */
177     public java.lang.String getName() {
178       java.lang.Object ref = name_;
179       if (ref instanceof java.lang.String) {
180         return (java.lang.String) ref;
181       } else {
182         com.google.protobuf.ByteString bs =
183             (com.google.protobuf.ByteString) ref;
184         java.lang.String s = bs.toStringUtf8();
185         if (bs.isValidUtf8()) {
186           name_ = s;
187         }
188         return s;
189       }
190     }
191     /**
192      * <code>required string name = 1;</code>
193      */
194     public com.google.protobuf.ByteString
195         getNameBytes() {
196       java.lang.Object ref = name_;
197       if (ref instanceof java.lang.String) {
198         com.google.protobuf.ByteString b =
199             com.google.protobuf.ByteString.copyFromUtf8(
200                 (java.lang.String) ref);
201         name_ = b;
202         return b;
203       } else {
204         return (com.google.protobuf.ByteString) ref;
205       }
206     }
207
208     // optional string value = 2;
209     public static final int VALUE_FIELD_NUMBER = 2;
210     private java.lang.Object value_;
211     /**
212      * <code>optional string value = 2;</code>
213      */
214     public boolean hasValue() {
215       return ((bitField0_ & 0x00000002) == 0x00000002);
216     }
217     /**
218      * <code>optional string value = 2;</code>
219      */
220     public java.lang.String getValue() {
221       java.lang.Object ref = value_;
222       if (ref instanceof java.lang.String) {
223         return (java.lang.String) ref;
224       } else {
225         com.google.protobuf.ByteString bs =
226             (com.google.protobuf.ByteString) ref;
227         java.lang.String s = bs.toStringUtf8();
228         if (bs.isValidUtf8()) {
229           value_ = s;
230         }
231         return s;
232       }
233     }
234     /**
235      * <code>optional string value = 2;</code>
236      */
237     public com.google.protobuf.ByteString
238         getValueBytes() {
239       java.lang.Object ref = value_;
240       if (ref instanceof java.lang.String) {
241         com.google.protobuf.ByteString b =
242             com.google.protobuf.ByteString.copyFromUtf8(
243                 (java.lang.String) ref);
244         value_ = b;
245         return b;
246       } else {
247         return (com.google.protobuf.ByteString) ref;
248       }
249     }
250
251     // optional string type = 3;
252     public static final int TYPE_FIELD_NUMBER = 3;
253     private java.lang.Object type_;
254     /**
255      * <code>optional string type = 3;</code>
256      */
257     public boolean hasType() {
258       return ((bitField0_ & 0x00000004) == 0x00000004);
259     }
260     /**
261      * <code>optional string type = 3;</code>
262      */
263     public java.lang.String getType() {
264       java.lang.Object ref = type_;
265       if (ref instanceof java.lang.String) {
266         return (java.lang.String) ref;
267       } else {
268         com.google.protobuf.ByteString bs =
269             (com.google.protobuf.ByteString) ref;
270         java.lang.String s = bs.toStringUtf8();
271         if (bs.isValidUtf8()) {
272           type_ = s;
273         }
274         return s;
275       }
276     }
277     /**
278      * <code>optional string type = 3;</code>
279      */
280     public com.google.protobuf.ByteString
281         getTypeBytes() {
282       java.lang.Object ref = type_;
283       if (ref instanceof java.lang.String) {
284         com.google.protobuf.ByteString b =
285             com.google.protobuf.ByteString.copyFromUtf8(
286                 (java.lang.String) ref);
287         type_ = b;
288         return b;
289       } else {
290         return (com.google.protobuf.ByteString) ref;
291       }
292     }
293
294     private void initFields() {
295       name_ = "";
296       value_ = "";
297       type_ = "";
298     }
299     private byte memoizedIsInitialized = -1;
300     public final boolean isInitialized() {
301       byte isInitialized = memoizedIsInitialized;
302       if (isInitialized != -1) return isInitialized == 1;
303
304       if (!hasName()) {
305         memoizedIsInitialized = 0;
306         return false;
307       }
308       memoizedIsInitialized = 1;
309       return true;
310     }
311
312     public void writeTo(com.google.protobuf.CodedOutputStream output)
313                         throws java.io.IOException {
314       getSerializedSize();
315       if (((bitField0_ & 0x00000001) == 0x00000001)) {
316         output.writeBytes(1, getNameBytes());
317       }
318       if (((bitField0_ & 0x00000002) == 0x00000002)) {
319         output.writeBytes(2, getValueBytes());
320       }
321       if (((bitField0_ & 0x00000004) == 0x00000004)) {
322         output.writeBytes(3, getTypeBytes());
323       }
324       getUnknownFields().writeTo(output);
325     }
326
327     private int memoizedSerializedSize = -1;
328     public int getSerializedSize() {
329       int size = memoizedSerializedSize;
330       if (size != -1) return size;
331
332       size = 0;
333       if (((bitField0_ & 0x00000001) == 0x00000001)) {
334         size += com.google.protobuf.CodedOutputStream
335           .computeBytesSize(1, getNameBytes());
336       }
337       if (((bitField0_ & 0x00000002) == 0x00000002)) {
338         size += com.google.protobuf.CodedOutputStream
339           .computeBytesSize(2, getValueBytes());
340       }
341       if (((bitField0_ & 0x00000004) == 0x00000004)) {
342         size += com.google.protobuf.CodedOutputStream
343           .computeBytesSize(3, getTypeBytes());
344       }
345       size += getUnknownFields().getSerializedSize();
346       memoizedSerializedSize = size;
347       return size;
348     }
349
350     private static final long serialVersionUID = 0L;
351     @java.lang.Override
352     protected java.lang.Object writeReplace()
353         throws java.io.ObjectStreamException {
354       return super.writeReplace();
355     }
356
357     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
358         com.google.protobuf.ByteString data)
359         throws com.google.protobuf.InvalidProtocolBufferException {
360       return PARSER.parseFrom(data);
361     }
362     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
363         com.google.protobuf.ByteString data,
364         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
365         throws com.google.protobuf.InvalidProtocolBufferException {
366       return PARSER.parseFrom(data, extensionRegistry);
367     }
368     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(byte[] data)
369         throws com.google.protobuf.InvalidProtocolBufferException {
370       return PARSER.parseFrom(data);
371     }
372     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
373         byte[] data,
374         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
375         throws com.google.protobuf.InvalidProtocolBufferException {
376       return PARSER.parseFrom(data, extensionRegistry);
377     }
378     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(java.io.InputStream input)
379         throws java.io.IOException {
380       return PARSER.parseFrom(input);
381     }
382     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
383         java.io.InputStream input,
384         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
385         throws java.io.IOException {
386       return PARSER.parseFrom(input, extensionRegistry);
387     }
388     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseDelimitedFrom(java.io.InputStream input)
389         throws java.io.IOException {
390       return PARSER.parseDelimitedFrom(input);
391     }
392     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseDelimitedFrom(
393         java.io.InputStream input,
394         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
395         throws java.io.IOException {
396       return PARSER.parseDelimitedFrom(input, extensionRegistry);
397     }
398     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
399         com.google.protobuf.CodedInputStream input)
400         throws java.io.IOException {
401       return PARSER.parseFrom(input);
402     }
403     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
404         com.google.protobuf.CodedInputStream input,
405         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
406         throws java.io.IOException {
407       return PARSER.parseFrom(input, extensionRegistry);
408     }
409
410     public static Builder newBuilder() { return Builder.create(); }
411     public Builder newBuilderForType() { return newBuilder(); }
412     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute prototype) {
413       return newBuilder().mergeFrom(prototype);
414     }
415     public Builder toBuilder() { return newBuilder(this); }
416
417     @java.lang.Override
418     protected Builder newBuilderForType(
419         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
420       Builder builder = new Builder(parent);
421       return builder;
422     }
423     /**
424      * Protobuf type {@code org.opendaylight.controller.mdsal.Attribute}
425      */
426     public static final class Builder extends
427         com.google.protobuf.GeneratedMessage.Builder<Builder>
428        implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder {
429       public static final com.google.protobuf.Descriptors.Descriptor
430           getDescriptor() {
431         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
432       }
433
434       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
435           internalGetFieldAccessorTable() {
436         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable
437             .ensureFieldAccessorsInitialized(
438                 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder.class);
439       }
440
441       // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.newBuilder()
442       private Builder() {
443         maybeForceBuilderInitialization();
444       }
445
446       private Builder(
447           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
448         super(parent);
449         maybeForceBuilderInitialization();
450       }
451       private void maybeForceBuilderInitialization() {
452         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
453         }
454       }
455       private static Builder create() {
456         return new Builder();
457       }
458
459       public Builder clear() {
460         super.clear();
461         name_ = "";
462         bitField0_ = (bitField0_ & ~0x00000001);
463         value_ = "";
464         bitField0_ = (bitField0_ & ~0x00000002);
465         type_ = "";
466         bitField0_ = (bitField0_ & ~0x00000004);
467         return this;
468       }
469
470       public Builder clone() {
471         return create().mergeFrom(buildPartial());
472       }
473
474       public com.google.protobuf.Descriptors.Descriptor
475           getDescriptorForType() {
476         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
477       }
478
479       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getDefaultInstanceForType() {
480         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance();
481       }
482
483       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute build() {
484         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute result = buildPartial();
485         if (!result.isInitialized()) {
486           throw newUninitializedMessageException(result);
487         }
488         return result;
489       }
490
491       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute buildPartial() {
492         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute(this);
493         int from_bitField0_ = bitField0_;
494         int to_bitField0_ = 0;
495         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
496           to_bitField0_ |= 0x00000001;
497         }
498         result.name_ = name_;
499         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
500           to_bitField0_ |= 0x00000002;
501         }
502         result.value_ = value_;
503         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
504           to_bitField0_ |= 0x00000004;
505         }
506         result.type_ = type_;
507         result.bitField0_ = to_bitField0_;
508         onBuilt();
509         return result;
510       }
511
512       public Builder mergeFrom(com.google.protobuf.Message other) {
513         if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute) {
514           return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute)other);
515         } else {
516           super.mergeFrom(other);
517           return this;
518         }
519       }
520
521       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute other) {
522         if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()) return this;
523         if (other.hasName()) {
524           bitField0_ |= 0x00000001;
525           name_ = other.name_;
526           onChanged();
527         }
528         if (other.hasValue()) {
529           bitField0_ |= 0x00000002;
530           value_ = other.value_;
531           onChanged();
532         }
533         if (other.hasType()) {
534           bitField0_ |= 0x00000004;
535           type_ = other.type_;
536           onChanged();
537         }
538         this.mergeUnknownFields(other.getUnknownFields());
539         return this;
540       }
541
542       public final boolean isInitialized() {
543         if (!hasName()) {
544
545           return false;
546         }
547         return true;
548       }
549
550       public Builder mergeFrom(
551           com.google.protobuf.CodedInputStream input,
552           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
553           throws java.io.IOException {
554         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parsedMessage = null;
555         try {
556           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
557         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
558           parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute) e.getUnfinishedMessage();
559           throw e;
560         } finally {
561           if (parsedMessage != null) {
562             mergeFrom(parsedMessage);
563           }
564         }
565         return this;
566       }
567       private int bitField0_;
568
569       // required string name = 1;
570       private java.lang.Object name_ = "";
571       /**
572        * <code>required string name = 1;</code>
573        */
574       public boolean hasName() {
575         return ((bitField0_ & 0x00000001) == 0x00000001);
576       }
577       /**
578        * <code>required string name = 1;</code>
579        */
580       public java.lang.String getName() {
581         java.lang.Object ref = name_;
582         if (!(ref instanceof java.lang.String)) {
583           java.lang.String s = ((com.google.protobuf.ByteString) ref)
584               .toStringUtf8();
585           name_ = s;
586           return s;
587         } else {
588           return (java.lang.String) ref;
589         }
590       }
591       /**
592        * <code>required string name = 1;</code>
593        */
594       public com.google.protobuf.ByteString
595           getNameBytes() {
596         java.lang.Object ref = name_;
597         if (ref instanceof String) {
598           com.google.protobuf.ByteString b =
599               com.google.protobuf.ByteString.copyFromUtf8(
600                   (java.lang.String) ref);
601           name_ = b;
602           return b;
603         } else {
604           return (com.google.protobuf.ByteString) ref;
605         }
606       }
607       /**
608        * <code>required string name = 1;</code>
609        */
610       public Builder setName(
611           java.lang.String value) {
612         if (value == null) {
613     throw new NullPointerException();
614   }
615   bitField0_ |= 0x00000001;
616         name_ = value;
617         onChanged();
618         return this;
619       }
620       /**
621        * <code>required string name = 1;</code>
622        */
623       public Builder clearName() {
624         bitField0_ = (bitField0_ & ~0x00000001);
625         name_ = getDefaultInstance().getName();
626         onChanged();
627         return this;
628       }
629       /**
630        * <code>required string name = 1;</code>
631        */
632       public Builder setNameBytes(
633           com.google.protobuf.ByteString value) {
634         if (value == null) {
635     throw new NullPointerException();
636   }
637   bitField0_ |= 0x00000001;
638         name_ = value;
639         onChanged();
640         return this;
641       }
642
643       // optional string value = 2;
644       private java.lang.Object value_ = "";
645       /**
646        * <code>optional string value = 2;</code>
647        */
648       public boolean hasValue() {
649         return ((bitField0_ & 0x00000002) == 0x00000002);
650       }
651       /**
652        * <code>optional string value = 2;</code>
653        */
654       public java.lang.String getValue() {
655         java.lang.Object ref = value_;
656         if (!(ref instanceof java.lang.String)) {
657           java.lang.String s = ((com.google.protobuf.ByteString) ref)
658               .toStringUtf8();
659           value_ = s;
660           return s;
661         } else {
662           return (java.lang.String) ref;
663         }
664       }
665       /**
666        * <code>optional string value = 2;</code>
667        */
668       public com.google.protobuf.ByteString
669           getValueBytes() {
670         java.lang.Object ref = value_;
671         if (ref instanceof String) {
672           com.google.protobuf.ByteString b =
673               com.google.protobuf.ByteString.copyFromUtf8(
674                   (java.lang.String) ref);
675           value_ = b;
676           return b;
677         } else {
678           return (com.google.protobuf.ByteString) ref;
679         }
680       }
681       /**
682        * <code>optional string value = 2;</code>
683        */
684       public Builder setValue(
685           java.lang.String value) {
686         if (value == null) {
687     throw new NullPointerException();
688   }
689   bitField0_ |= 0x00000002;
690         value_ = value;
691         onChanged();
692         return this;
693       }
694       /**
695        * <code>optional string value = 2;</code>
696        */
697       public Builder clearValue() {
698         bitField0_ = (bitField0_ & ~0x00000002);
699         value_ = getDefaultInstance().getValue();
700         onChanged();
701         return this;
702       }
703       /**
704        * <code>optional string value = 2;</code>
705        */
706       public Builder setValueBytes(
707           com.google.protobuf.ByteString value) {
708         if (value == null) {
709     throw new NullPointerException();
710   }
711   bitField0_ |= 0x00000002;
712         value_ = value;
713         onChanged();
714         return this;
715       }
716
717       // optional string type = 3;
718       private java.lang.Object type_ = "";
719       /**
720        * <code>optional string type = 3;</code>
721        */
722       public boolean hasType() {
723         return ((bitField0_ & 0x00000004) == 0x00000004);
724       }
725       /**
726        * <code>optional string type = 3;</code>
727        */
728       public java.lang.String getType() {
729         java.lang.Object ref = type_;
730         if (!(ref instanceof java.lang.String)) {
731           java.lang.String s = ((com.google.protobuf.ByteString) ref)
732               .toStringUtf8();
733           type_ = s;
734           return s;
735         } else {
736           return (java.lang.String) ref;
737         }
738       }
739       /**
740        * <code>optional string type = 3;</code>
741        */
742       public com.google.protobuf.ByteString
743           getTypeBytes() {
744         java.lang.Object ref = type_;
745         if (ref instanceof String) {
746           com.google.protobuf.ByteString b =
747               com.google.protobuf.ByteString.copyFromUtf8(
748                   (java.lang.String) ref);
749           type_ = b;
750           return b;
751         } else {
752           return (com.google.protobuf.ByteString) ref;
753         }
754       }
755       /**
756        * <code>optional string type = 3;</code>
757        */
758       public Builder setType(
759           java.lang.String value) {
760         if (value == null) {
761     throw new NullPointerException();
762   }
763   bitField0_ |= 0x00000004;
764         type_ = value;
765         onChanged();
766         return this;
767       }
768       /**
769        * <code>optional string type = 3;</code>
770        */
771       public Builder clearType() {
772         bitField0_ = (bitField0_ & ~0x00000004);
773         type_ = getDefaultInstance().getType();
774         onChanged();
775         return this;
776       }
777       /**
778        * <code>optional string type = 3;</code>
779        */
780       public Builder setTypeBytes(
781           com.google.protobuf.ByteString value) {
782         if (value == null) {
783     throw new NullPointerException();
784   }
785   bitField0_ |= 0x00000004;
786         type_ = value;
787         onChanged();
788         return this;
789       }
790
791       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Attribute)
792     }
793
794     static {
795       defaultInstance = new Attribute(true);
796       defaultInstance.initFields();
797     }
798
799     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Attribute)
800   }
801
802   public interface QNameOrBuilder
803       extends com.google.protobuf.MessageOrBuilder {
804
805     // required string value = 1;
806     /**
807      * <code>required string value = 1;</code>
808      */
809     boolean hasValue();
810     /**
811      * <code>required string value = 1;</code>
812      */
813     java.lang.String getValue();
814     /**
815      * <code>required string value = 1;</code>
816      */
817     com.google.protobuf.ByteString
818         getValueBytes();
819   }
820   /**
821    * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
822    */
823   public static final class QName extends
824       com.google.protobuf.GeneratedMessage
825       implements QNameOrBuilder {
826     // Use QName.newBuilder() to construct.
827     private QName(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
828       super(builder);
829       this.unknownFields = builder.getUnknownFields();
830     }
831     private QName(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
832
833     private static final QName defaultInstance;
834     public static QName getDefaultInstance() {
835       return defaultInstance;
836     }
837
838     public QName getDefaultInstanceForType() {
839       return defaultInstance;
840     }
841
842     private final com.google.protobuf.UnknownFieldSet unknownFields;
843     @java.lang.Override
844     public final com.google.protobuf.UnknownFieldSet
845         getUnknownFields() {
846       return this.unknownFields;
847     }
848     private QName(
849         com.google.protobuf.CodedInputStream input,
850         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
851         throws com.google.protobuf.InvalidProtocolBufferException {
852       initFields();
853       int mutable_bitField0_ = 0;
854       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
855           com.google.protobuf.UnknownFieldSet.newBuilder();
856       try {
857         boolean done = false;
858         while (!done) {
859           int tag = input.readTag();
860           switch (tag) {
861             case 0:
862               done = true;
863               break;
864             default: {
865               if (!parseUnknownField(input, unknownFields,
866                                      extensionRegistry, tag)) {
867                 done = true;
868               }
869               break;
870             }
871             case 10: {
872               bitField0_ |= 0x00000001;
873               value_ = input.readBytes();
874               break;
875             }
876           }
877         }
878       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
879         throw e.setUnfinishedMessage(this);
880       } catch (java.io.IOException e) {
881         throw new com.google.protobuf.InvalidProtocolBufferException(
882             e.getMessage()).setUnfinishedMessage(this);
883       } finally {
884         this.unknownFields = unknownFields.build();
885         makeExtensionsImmutable();
886       }
887     }
888     public static final com.google.protobuf.Descriptors.Descriptor
889         getDescriptor() {
890       return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
891     }
892
893     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
894         internalGetFieldAccessorTable() {
895       return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
896           .ensureFieldAccessorsInitialized(
897               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
898     }
899
900     public static com.google.protobuf.Parser<QName> PARSER =
901         new com.google.protobuf.AbstractParser<QName>() {
902       public QName parsePartialFrom(
903           com.google.protobuf.CodedInputStream input,
904           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
905           throws com.google.protobuf.InvalidProtocolBufferException {
906         return new QName(input, extensionRegistry);
907       }
908     };
909
910     @java.lang.Override
911     public com.google.protobuf.Parser<QName> getParserForType() {
912       return PARSER;
913     }
914
915     private int bitField0_;
916     // required string value = 1;
917     public static final int VALUE_FIELD_NUMBER = 1;
918     private java.lang.Object value_;
919     /**
920      * <code>required string value = 1;</code>
921      */
922     public boolean hasValue() {
923       return ((bitField0_ & 0x00000001) == 0x00000001);
924     }
925     /**
926      * <code>required string value = 1;</code>
927      */
928     public java.lang.String getValue() {
929       java.lang.Object ref = value_;
930       if (ref instanceof java.lang.String) {
931         return (java.lang.String) ref;
932       } else {
933         com.google.protobuf.ByteString bs =
934             (com.google.protobuf.ByteString) ref;
935         java.lang.String s = bs.toStringUtf8();
936         if (bs.isValidUtf8()) {
937           value_ = s;
938         }
939         return s;
940       }
941     }
942     /**
943      * <code>required string value = 1;</code>
944      */
945     public com.google.protobuf.ByteString
946         getValueBytes() {
947       java.lang.Object ref = value_;
948       if (ref instanceof java.lang.String) {
949         com.google.protobuf.ByteString b =
950             com.google.protobuf.ByteString.copyFromUtf8(
951                 (java.lang.String) ref);
952         value_ = b;
953         return b;
954       } else {
955         return (com.google.protobuf.ByteString) ref;
956       }
957     }
958
959     private void initFields() {
960       value_ = "";
961     }
962     private byte memoizedIsInitialized = -1;
963     public final boolean isInitialized() {
964       byte isInitialized = memoizedIsInitialized;
965       if (isInitialized != -1) return isInitialized == 1;
966
967       if (!hasValue()) {
968         memoizedIsInitialized = 0;
969         return false;
970       }
971       memoizedIsInitialized = 1;
972       return true;
973     }
974
975     public void writeTo(com.google.protobuf.CodedOutputStream output)
976                         throws java.io.IOException {
977       getSerializedSize();
978       if (((bitField0_ & 0x00000001) == 0x00000001)) {
979         output.writeBytes(1, getValueBytes());
980       }
981       getUnknownFields().writeTo(output);
982     }
983
984     private int memoizedSerializedSize = -1;
985     public int getSerializedSize() {
986       int size = memoizedSerializedSize;
987       if (size != -1) return size;
988
989       size = 0;
990       if (((bitField0_ & 0x00000001) == 0x00000001)) {
991         size += com.google.protobuf.CodedOutputStream
992           .computeBytesSize(1, getValueBytes());
993       }
994       size += getUnknownFields().getSerializedSize();
995       memoizedSerializedSize = size;
996       return size;
997     }
998
999     private static final long serialVersionUID = 0L;
1000     @java.lang.Override
1001     protected java.lang.Object writeReplace()
1002         throws java.io.ObjectStreamException {
1003       return super.writeReplace();
1004     }
1005
1006     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1007         com.google.protobuf.ByteString data)
1008         throws com.google.protobuf.InvalidProtocolBufferException {
1009       return PARSER.parseFrom(data);
1010     }
1011     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1012         com.google.protobuf.ByteString data,
1013         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1014         throws com.google.protobuf.InvalidProtocolBufferException {
1015       return PARSER.parseFrom(data, extensionRegistry);
1016     }
1017     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(byte[] data)
1018         throws com.google.protobuf.InvalidProtocolBufferException {
1019       return PARSER.parseFrom(data);
1020     }
1021     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1022         byte[] data,
1023         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1024         throws com.google.protobuf.InvalidProtocolBufferException {
1025       return PARSER.parseFrom(data, extensionRegistry);
1026     }
1027     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(java.io.InputStream input)
1028         throws java.io.IOException {
1029       return PARSER.parseFrom(input);
1030     }
1031     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1032         java.io.InputStream input,
1033         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1034         throws java.io.IOException {
1035       return PARSER.parseFrom(input, extensionRegistry);
1036     }
1037     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(java.io.InputStream input)
1038         throws java.io.IOException {
1039       return PARSER.parseDelimitedFrom(input);
1040     }
1041     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(
1042         java.io.InputStream input,
1043         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1044         throws java.io.IOException {
1045       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1046     }
1047     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1048         com.google.protobuf.CodedInputStream input)
1049         throws java.io.IOException {
1050       return PARSER.parseFrom(input);
1051     }
1052     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1053         com.google.protobuf.CodedInputStream input,
1054         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1055         throws java.io.IOException {
1056       return PARSER.parseFrom(input, extensionRegistry);
1057     }
1058
1059     public static Builder newBuilder() { return Builder.create(); }
1060     public Builder newBuilderForType() { return newBuilder(); }
1061     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName prototype) {
1062       return newBuilder().mergeFrom(prototype);
1063     }
1064     public Builder toBuilder() { return newBuilder(this); }
1065
1066     @java.lang.Override
1067     protected Builder newBuilderForType(
1068         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1069       Builder builder = new Builder(parent);
1070       return builder;
1071     }
1072     /**
1073      * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
1074      */
1075     public static final class Builder extends
1076         com.google.protobuf.GeneratedMessage.Builder<Builder>
1077        implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder {
1078       public static final com.google.protobuf.Descriptors.Descriptor
1079           getDescriptor() {
1080         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
1081       }
1082
1083       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1084           internalGetFieldAccessorTable() {
1085         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
1086             .ensureFieldAccessorsInitialized(
1087                 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
1088       }
1089
1090       // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder()
1091       private Builder() {
1092         maybeForceBuilderInitialization();
1093       }
1094
1095       private Builder(
1096           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1097         super(parent);
1098         maybeForceBuilderInitialization();
1099       }
1100       private void maybeForceBuilderInitialization() {
1101         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1102         }
1103       }
1104       private static Builder create() {
1105         return new Builder();
1106       }
1107
1108       public Builder clear() {
1109         super.clear();
1110         value_ = "";
1111         bitField0_ = (bitField0_ & ~0x00000001);
1112         return this;
1113       }
1114
1115       public Builder clone() {
1116         return create().mergeFrom(buildPartial());
1117       }
1118
1119       public com.google.protobuf.Descriptors.Descriptor
1120           getDescriptorForType() {
1121         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
1122       }
1123
1124       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getDefaultInstanceForType() {
1125         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1126       }
1127
1128       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName build() {
1129         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = buildPartial();
1130         if (!result.isInitialized()) {
1131           throw newUninitializedMessageException(result);
1132         }
1133         return result;
1134       }
1135
1136       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName buildPartial() {
1137         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName(this);
1138         int from_bitField0_ = bitField0_;
1139         int to_bitField0_ = 0;
1140         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1141           to_bitField0_ |= 0x00000001;
1142         }
1143         result.value_ = value_;
1144         result.bitField0_ = to_bitField0_;
1145         onBuilt();
1146         return result;
1147       }
1148
1149       public Builder mergeFrom(com.google.protobuf.Message other) {
1150         if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) {
1151           return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName)other);
1152         } else {
1153           super.mergeFrom(other);
1154           return this;
1155         }
1156       }
1157
1158       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName other) {
1159         if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) return this;
1160         if (other.hasValue()) {
1161           bitField0_ |= 0x00000001;
1162           value_ = other.value_;
1163           onChanged();
1164         }
1165         this.mergeUnknownFields(other.getUnknownFields());
1166         return this;
1167       }
1168
1169       public final boolean isInitialized() {
1170         if (!hasValue()) {
1171
1172           return false;
1173         }
1174         return true;
1175       }
1176
1177       public Builder mergeFrom(
1178           com.google.protobuf.CodedInputStream input,
1179           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1180           throws java.io.IOException {
1181         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parsedMessage = null;
1182         try {
1183           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1184         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1185           parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) e.getUnfinishedMessage();
1186           throw e;
1187         } finally {
1188           if (parsedMessage != null) {
1189             mergeFrom(parsedMessage);
1190           }
1191         }
1192         return this;
1193       }
1194       private int bitField0_;
1195
1196       // required string value = 1;
1197       private java.lang.Object value_ = "";
1198       /**
1199        * <code>required string value = 1;</code>
1200        */
1201       public boolean hasValue() {
1202         return ((bitField0_ & 0x00000001) == 0x00000001);
1203       }
1204       /**
1205        * <code>required string value = 1;</code>
1206        */
1207       public java.lang.String getValue() {
1208         java.lang.Object ref = value_;
1209         if (!(ref instanceof java.lang.String)) {
1210           java.lang.String s = ((com.google.protobuf.ByteString) ref)
1211               .toStringUtf8();
1212           value_ = s;
1213           return s;
1214         } else {
1215           return (java.lang.String) ref;
1216         }
1217       }
1218       /**
1219        * <code>required string value = 1;</code>
1220        */
1221       public com.google.protobuf.ByteString
1222           getValueBytes() {
1223         java.lang.Object ref = value_;
1224         if (ref instanceof String) {
1225           com.google.protobuf.ByteString b =
1226               com.google.protobuf.ByteString.copyFromUtf8(
1227                   (java.lang.String) ref);
1228           value_ = b;
1229           return b;
1230         } else {
1231           return (com.google.protobuf.ByteString) ref;
1232         }
1233       }
1234       /**
1235        * <code>required string value = 1;</code>
1236        */
1237       public Builder setValue(
1238           java.lang.String value) {
1239         if (value == null) {
1240     throw new NullPointerException();
1241   }
1242   bitField0_ |= 0x00000001;
1243         value_ = value;
1244         onChanged();
1245         return this;
1246       }
1247       /**
1248        * <code>required string value = 1;</code>
1249        */
1250       public Builder clearValue() {
1251         bitField0_ = (bitField0_ & ~0x00000001);
1252         value_ = getDefaultInstance().getValue();
1253         onChanged();
1254         return this;
1255       }
1256       /**
1257        * <code>required string value = 1;</code>
1258        */
1259       public Builder setValueBytes(
1260           com.google.protobuf.ByteString value) {
1261         if (value == null) {
1262     throw new NullPointerException();
1263   }
1264   bitField0_ |= 0x00000001;
1265         value_ = value;
1266         onChanged();
1267         return this;
1268       }
1269
1270       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.QName)
1271     }
1272
1273     static {
1274       defaultInstance = new QName(true);
1275       defaultInstance.initFields();
1276     }
1277
1278     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.QName)
1279   }
1280
1281   public interface PathArgumentOrBuilder
1282       extends com.google.protobuf.MessageOrBuilder {
1283
1284     // required string value = 1;
1285     /**
1286      * <code>required string value = 1;</code>
1287      */
1288     boolean hasValue();
1289     /**
1290      * <code>required string value = 1;</code>
1291      */
1292     java.lang.String getValue();
1293     /**
1294      * <code>required string value = 1;</code>
1295      */
1296     com.google.protobuf.ByteString
1297         getValueBytes();
1298
1299     // optional string type = 2;
1300     /**
1301      * <code>optional string type = 2;</code>
1302      *
1303      * <pre>
1304      *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
1305      * </pre>
1306      */
1307     boolean hasType();
1308     /**
1309      * <code>optional string type = 2;</code>
1310      *
1311      * <pre>
1312      *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
1313      * </pre>
1314      */
1315     java.lang.String getType();
1316     /**
1317      * <code>optional string type = 2;</code>
1318      *
1319      * <pre>
1320      *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
1321      * </pre>
1322      */
1323     com.google.protobuf.ByteString
1324         getTypeBytes();
1325
1326     // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
1327     /**
1328      * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
1329      */
1330     boolean hasNodeType();
1331     /**
1332      * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
1333      */
1334     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType();
1335     /**
1336      * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
1337      */
1338     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder();
1339
1340     // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;
1341     /**
1342      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1343      */
1344     java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
1345         getAttributesList();
1346     /**
1347      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1348      */
1349     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
1350     /**
1351      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1352      */
1353     int getAttributesCount();
1354     /**
1355      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1356      */
1357     java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
1358         getAttributesOrBuilderList();
1359     /**
1360      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1361      */
1362     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
1363         int index);
1364   }
1365   /**
1366    * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
1367    */
1368   public static final class PathArgument extends
1369       com.google.protobuf.GeneratedMessage
1370       implements PathArgumentOrBuilder {
1371     // Use PathArgument.newBuilder() to construct.
1372     private PathArgument(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1373       super(builder);
1374       this.unknownFields = builder.getUnknownFields();
1375     }
1376     private PathArgument(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1377
1378     private static final PathArgument defaultInstance;
1379     public static PathArgument getDefaultInstance() {
1380       return defaultInstance;
1381     }
1382
1383     public PathArgument getDefaultInstanceForType() {
1384       return defaultInstance;
1385     }
1386
1387     private final com.google.protobuf.UnknownFieldSet unknownFields;
1388     @java.lang.Override
1389     public final com.google.protobuf.UnknownFieldSet
1390         getUnknownFields() {
1391       return this.unknownFields;
1392     }
1393     private PathArgument(
1394         com.google.protobuf.CodedInputStream input,
1395         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1396         throws com.google.protobuf.InvalidProtocolBufferException {
1397       initFields();
1398       int mutable_bitField0_ = 0;
1399       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1400           com.google.protobuf.UnknownFieldSet.newBuilder();
1401       try {
1402         boolean done = false;
1403         while (!done) {
1404           int tag = input.readTag();
1405           switch (tag) {
1406             case 0:
1407               done = true;
1408               break;
1409             default: {
1410               if (!parseUnknownField(input, unknownFields,
1411                                      extensionRegistry, tag)) {
1412                 done = true;
1413               }
1414               break;
1415             }
1416             case 10: {
1417               bitField0_ |= 0x00000001;
1418               value_ = input.readBytes();
1419               break;
1420             }
1421             case 18: {
1422               bitField0_ |= 0x00000002;
1423               type_ = input.readBytes();
1424               break;
1425             }
1426             case 26: {
1427               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
1428               if (((bitField0_ & 0x00000004) == 0x00000004)) {
1429                 subBuilder = nodeType_.toBuilder();
1430               }
1431               nodeType_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
1432               if (subBuilder != null) {
1433                 subBuilder.mergeFrom(nodeType_);
1434                 nodeType_ = subBuilder.buildPartial();
1435               }
1436               bitField0_ |= 0x00000004;
1437               break;
1438             }
1439             case 34: {
1440               if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
1441                 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
1442                 mutable_bitField0_ |= 0x00000008;
1443               }
1444               attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
1445               break;
1446             }
1447           }
1448         }
1449       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1450         throw e.setUnfinishedMessage(this);
1451       } catch (java.io.IOException e) {
1452         throw new com.google.protobuf.InvalidProtocolBufferException(
1453             e.getMessage()).setUnfinishedMessage(this);
1454       } finally {
1455         if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
1456           attributes_ = java.util.Collections.unmodifiableList(attributes_);
1457         }
1458         this.unknownFields = unknownFields.build();
1459         makeExtensionsImmutable();
1460       }
1461     }
1462     public static final com.google.protobuf.Descriptors.Descriptor
1463         getDescriptor() {
1464       return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
1465     }
1466
1467     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1468         internalGetFieldAccessorTable() {
1469       return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
1470           .ensureFieldAccessorsInitialized(
1471               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
1472     }
1473
1474     public static com.google.protobuf.Parser<PathArgument> PARSER =
1475         new com.google.protobuf.AbstractParser<PathArgument>() {
1476       public PathArgument parsePartialFrom(
1477           com.google.protobuf.CodedInputStream input,
1478           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1479           throws com.google.protobuf.InvalidProtocolBufferException {
1480         return new PathArgument(input, extensionRegistry);
1481       }
1482     };
1483
1484     @java.lang.Override
1485     public com.google.protobuf.Parser<PathArgument> getParserForType() {
1486       return PARSER;
1487     }
1488
1489     private int bitField0_;
1490     // required string value = 1;
1491     public static final int VALUE_FIELD_NUMBER = 1;
1492     private java.lang.Object value_;
1493     /**
1494      * <code>required string value = 1;</code>
1495      */
1496     public boolean hasValue() {
1497       return ((bitField0_ & 0x00000001) == 0x00000001);
1498     }
1499     /**
1500      * <code>required string value = 1;</code>
1501      */
1502     public java.lang.String getValue() {
1503       java.lang.Object ref = value_;
1504       if (ref instanceof java.lang.String) {
1505         return (java.lang.String) ref;
1506       } else {
1507         com.google.protobuf.ByteString bs =
1508             (com.google.protobuf.ByteString) ref;
1509         java.lang.String s = bs.toStringUtf8();
1510         if (bs.isValidUtf8()) {
1511           value_ = s;
1512         }
1513         return s;
1514       }
1515     }
1516     /**
1517      * <code>required string value = 1;</code>
1518      */
1519     public com.google.protobuf.ByteString
1520         getValueBytes() {
1521       java.lang.Object ref = value_;
1522       if (ref instanceof java.lang.String) {
1523         com.google.protobuf.ByteString b =
1524             com.google.protobuf.ByteString.copyFromUtf8(
1525                 (java.lang.String) ref);
1526         value_ = b;
1527         return b;
1528       } else {
1529         return (com.google.protobuf.ByteString) ref;
1530       }
1531     }
1532
1533     // optional string type = 2;
1534     public static final int TYPE_FIELD_NUMBER = 2;
1535     private java.lang.Object type_;
1536     /**
1537      * <code>optional string type = 2;</code>
1538      *
1539      * <pre>
1540      *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
1541      * </pre>
1542      */
1543     public boolean hasType() {
1544       return ((bitField0_ & 0x00000002) == 0x00000002);
1545     }
1546     /**
1547      * <code>optional string type = 2;</code>
1548      *
1549      * <pre>
1550      *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
1551      * </pre>
1552      */
1553     public java.lang.String getType() {
1554       java.lang.Object ref = type_;
1555       if (ref instanceof java.lang.String) {
1556         return (java.lang.String) ref;
1557       } else {
1558         com.google.protobuf.ByteString bs =
1559             (com.google.protobuf.ByteString) ref;
1560         java.lang.String s = bs.toStringUtf8();
1561         if (bs.isValidUtf8()) {
1562           type_ = s;
1563         }
1564         return s;
1565       }
1566     }
1567     /**
1568      * <code>optional string type = 2;</code>
1569      *
1570      * <pre>
1571      *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
1572      * </pre>
1573      */
1574     public com.google.protobuf.ByteString
1575         getTypeBytes() {
1576       java.lang.Object ref = type_;
1577       if (ref instanceof java.lang.String) {
1578         com.google.protobuf.ByteString b =
1579             com.google.protobuf.ByteString.copyFromUtf8(
1580                 (java.lang.String) ref);
1581         type_ = b;
1582         return b;
1583       } else {
1584         return (com.google.protobuf.ByteString) ref;
1585       }
1586     }
1587
1588     // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
1589     public static final int NODETYPE_FIELD_NUMBER = 3;
1590     private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_;
1591     /**
1592      * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
1593      */
1594     public boolean hasNodeType() {
1595       return ((bitField0_ & 0x00000004) == 0x00000004);
1596     }
1597     /**
1598      * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
1599      */
1600     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
1601       return nodeType_;
1602     }
1603     /**
1604      * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
1605      */
1606     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
1607       return nodeType_;
1608     }
1609
1610     // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;
1611     public static final int ATTRIBUTES_FIELD_NUMBER = 4;
1612     private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
1613     /**
1614      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1615      */
1616     public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
1617       return attributes_;
1618     }
1619     /**
1620      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1621      */
1622     public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
1623         getAttributesOrBuilderList() {
1624       return attributes_;
1625     }
1626     /**
1627      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1628      */
1629     public int getAttributesCount() {
1630       return attributes_.size();
1631     }
1632     /**
1633      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1634      */
1635     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
1636       return attributes_.get(index);
1637     }
1638     /**
1639      * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
1640      */
1641     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
1642         int index) {
1643       return attributes_.get(index);
1644     }
1645
1646     private void initFields() {
1647       value_ = "";
1648       type_ = "";
1649       nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1650       attributes_ = java.util.Collections.emptyList();
1651     }
1652     private byte memoizedIsInitialized = -1;
1653     public final boolean isInitialized() {
1654       byte isInitialized = memoizedIsInitialized;
1655       if (isInitialized != -1) return isInitialized == 1;
1656
1657       if (!hasValue()) {
1658         memoizedIsInitialized = 0;
1659         return false;
1660       }
1661       if (hasNodeType()) {
1662         if (!getNodeType().isInitialized()) {
1663           memoizedIsInitialized = 0;
1664           return false;
1665         }
1666       }
1667       for (int i = 0; i < getAttributesCount(); i++) {
1668         if (!getAttributes(i).isInitialized()) {
1669           memoizedIsInitialized = 0;
1670           return false;
1671         }
1672       }
1673       memoizedIsInitialized = 1;
1674       return true;
1675     }
1676
1677     public void writeTo(com.google.protobuf.CodedOutputStream output)
1678                         throws java.io.IOException {
1679       getSerializedSize();
1680       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1681         output.writeBytes(1, getValueBytes());
1682       }
1683       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1684         output.writeBytes(2, getTypeBytes());
1685       }
1686       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1687         output.writeMessage(3, nodeType_);
1688       }
1689       for (int i = 0; i < attributes_.size(); i++) {
1690         output.writeMessage(4, attributes_.get(i));
1691       }
1692       getUnknownFields().writeTo(output);
1693     }
1694
1695     private int memoizedSerializedSize = -1;
1696     public int getSerializedSize() {
1697       int size = memoizedSerializedSize;
1698       if (size != -1) return size;
1699
1700       size = 0;
1701       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1702         size += com.google.protobuf.CodedOutputStream
1703           .computeBytesSize(1, getValueBytes());
1704       }
1705       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1706         size += com.google.protobuf.CodedOutputStream
1707           .computeBytesSize(2, getTypeBytes());
1708       }
1709       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1710         size += com.google.protobuf.CodedOutputStream
1711           .computeMessageSize(3, nodeType_);
1712       }
1713       for (int i = 0; i < attributes_.size(); i++) {
1714         size += com.google.protobuf.CodedOutputStream
1715           .computeMessageSize(4, attributes_.get(i));
1716       }
1717       size += getUnknownFields().getSerializedSize();
1718       memoizedSerializedSize = size;
1719       return size;
1720     }
1721
1722     private static final long serialVersionUID = 0L;
1723     @java.lang.Override
1724     protected java.lang.Object writeReplace()
1725         throws java.io.ObjectStreamException {
1726       return super.writeReplace();
1727     }
1728
1729     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
1730         com.google.protobuf.ByteString data)
1731         throws com.google.protobuf.InvalidProtocolBufferException {
1732       return PARSER.parseFrom(data);
1733     }
1734     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
1735         com.google.protobuf.ByteString data,
1736         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1737         throws com.google.protobuf.InvalidProtocolBufferException {
1738       return PARSER.parseFrom(data, extensionRegistry);
1739     }
1740     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(byte[] data)
1741         throws com.google.protobuf.InvalidProtocolBufferException {
1742       return PARSER.parseFrom(data);
1743     }
1744     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
1745         byte[] data,
1746         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1747         throws com.google.protobuf.InvalidProtocolBufferException {
1748       return PARSER.parseFrom(data, extensionRegistry);
1749     }
1750     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(java.io.InputStream input)
1751         throws java.io.IOException {
1752       return PARSER.parseFrom(input);
1753     }
1754     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
1755         java.io.InputStream input,
1756         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1757         throws java.io.IOException {
1758       return PARSER.parseFrom(input, extensionRegistry);
1759     }
1760     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(java.io.InputStream input)
1761         throws java.io.IOException {
1762       return PARSER.parseDelimitedFrom(input);
1763     }
1764     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(
1765         java.io.InputStream input,
1766         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1767         throws java.io.IOException {
1768       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1769     }
1770     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
1771         com.google.protobuf.CodedInputStream input)
1772         throws java.io.IOException {
1773       return PARSER.parseFrom(input);
1774     }
1775     public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
1776         com.google.protobuf.CodedInputStream input,
1777         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1778         throws java.io.IOException {
1779       return PARSER.parseFrom(input, extensionRegistry);
1780     }
1781
1782     public static Builder newBuilder() { return Builder.create(); }
1783     public Builder newBuilderForType() { return newBuilder(); }
1784     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument prototype) {
1785       return newBuilder().mergeFrom(prototype);
1786     }
1787     public Builder toBuilder() { return newBuilder(this); }
1788
1789     @java.lang.Override
1790     protected Builder newBuilderForType(
1791         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1792       Builder builder = new Builder(parent);
1793       return builder;
1794     }
1795     /**
1796      * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
1797      */
1798     public static final class Builder extends
1799         com.google.protobuf.GeneratedMessage.Builder<Builder>
1800        implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder {
1801       public static final com.google.protobuf.Descriptors.Descriptor
1802           getDescriptor() {
1803         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
1804       }
1805
1806       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1807           internalGetFieldAccessorTable() {
1808         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
1809             .ensureFieldAccessorsInitialized(
1810                 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
1811       }
1812
1813       // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder()
1814       private Builder() {
1815         maybeForceBuilderInitialization();
1816       }
1817
1818       private Builder(
1819           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1820         super(parent);
1821         maybeForceBuilderInitialization();
1822       }
1823       private void maybeForceBuilderInitialization() {
1824         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1825           getNodeTypeFieldBuilder();
1826           getAttributesFieldBuilder();
1827         }
1828       }
1829       private static Builder create() {
1830         return new Builder();
1831       }
1832
1833       public Builder clear() {
1834         super.clear();
1835         value_ = "";
1836         bitField0_ = (bitField0_ & ~0x00000001);
1837         type_ = "";
1838         bitField0_ = (bitField0_ & ~0x00000002);
1839         if (nodeTypeBuilder_ == null) {
1840           nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1841         } else {
1842           nodeTypeBuilder_.clear();
1843         }
1844         bitField0_ = (bitField0_ & ~0x00000004);
1845         if (attributesBuilder_ == null) {
1846           attributes_ = java.util.Collections.emptyList();
1847           bitField0_ = (bitField0_ & ~0x00000008);
1848         } else {
1849           attributesBuilder_.clear();
1850         }
1851         return this;
1852       }
1853
1854       public Builder clone() {
1855         return create().mergeFrom(buildPartial());
1856       }
1857
1858       public com.google.protobuf.Descriptors.Descriptor
1859           getDescriptorForType() {
1860         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
1861       }
1862
1863       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getDefaultInstanceForType() {
1864         return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
1865       }
1866
1867       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument build() {
1868         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = buildPartial();
1869         if (!result.isInitialized()) {
1870           throw newUninitializedMessageException(result);
1871         }
1872         return result;
1873       }
1874
1875       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument buildPartial() {
1876         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument(this);
1877         int from_bitField0_ = bitField0_;
1878         int to_bitField0_ = 0;
1879         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1880           to_bitField0_ |= 0x00000001;
1881         }
1882         result.value_ = value_;
1883         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1884           to_bitField0_ |= 0x00000002;
1885         }
1886         result.type_ = type_;
1887         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1888           to_bitField0_ |= 0x00000004;
1889         }
1890         if (nodeTypeBuilder_ == null) {
1891           result.nodeType_ = nodeType_;
1892         } else {
1893           result.nodeType_ = nodeTypeBuilder_.build();
1894         }
1895         if (attributesBuilder_ == null) {
1896           if (((bitField0_ & 0x00000008) == 0x00000008)) {
1897             attributes_ = java.util.Collections.unmodifiableList(attributes_);
1898             bitField0_ = (bitField0_ & ~0x00000008);
1899           }
1900           result.attributes_ = attributes_;
1901         } else {
1902           result.attributes_ = attributesBuilder_.build();
1903         }
1904         result.bitField0_ = to_bitField0_;
1905         onBuilt();
1906         return result;
1907       }
1908
1909       public Builder mergeFrom(com.google.protobuf.Message other) {
1910         if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) {
1911           return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument)other);
1912         } else {
1913           super.mergeFrom(other);
1914           return this;
1915         }
1916       }
1917
1918       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument other) {
1919         if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) return this;
1920         if (other.hasValue()) {
1921           bitField0_ |= 0x00000001;
1922           value_ = other.value_;
1923           onChanged();
1924         }
1925         if (other.hasType()) {
1926           bitField0_ |= 0x00000002;
1927           type_ = other.type_;
1928           onChanged();
1929         }
1930         if (other.hasNodeType()) {
1931           mergeNodeType(other.getNodeType());
1932         }
1933         if (attributesBuilder_ == null) {
1934           if (!other.attributes_.isEmpty()) {
1935             if (attributes_.isEmpty()) {
1936               attributes_ = other.attributes_;
1937               bitField0_ = (bitField0_ & ~0x00000008);
1938             } else {
1939               ensureAttributesIsMutable();
1940               attributes_.addAll(other.attributes_);
1941             }
1942             onChanged();
1943           }
1944         } else {
1945           if (!other.attributes_.isEmpty()) {
1946             if (attributesBuilder_.isEmpty()) {
1947               attributesBuilder_.dispose();
1948               attributesBuilder_ = null;
1949               attributes_ = other.attributes_;
1950               bitField0_ = (bitField0_ & ~0x00000008);
1951               attributesBuilder_ =
1952                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1953                    getAttributesFieldBuilder() : null;
1954             } else {
1955               attributesBuilder_.addAllMessages(other.attributes_);
1956             }
1957           }
1958         }
1959         this.mergeUnknownFields(other.getUnknownFields());
1960         return this;
1961       }
1962
1963       public final boolean isInitialized() {
1964         if (!hasValue()) {
1965
1966           return false;
1967         }
1968         if (hasNodeType()) {
1969           if (!getNodeType().isInitialized()) {
1970
1971             return false;
1972           }
1973         }
1974         for (int i = 0; i < getAttributesCount(); i++) {
1975           if (!getAttributes(i).isInitialized()) {
1976
1977             return false;
1978           }
1979         }
1980         return true;
1981       }
1982
1983       public Builder mergeFrom(
1984           com.google.protobuf.CodedInputStream input,
1985           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1986           throws java.io.IOException {
1987         org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parsedMessage = null;
1988         try {
1989           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1990         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1991           parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) e.getUnfinishedMessage();
1992           throw e;
1993         } finally {
1994           if (parsedMessage != null) {
1995             mergeFrom(parsedMessage);
1996           }
1997         }
1998         return this;
1999       }
2000       private int bitField0_;
2001
2002       // required string value = 1;
2003       private java.lang.Object value_ = "";
2004       /**
2005        * <code>required string value = 1;</code>
2006        */
2007       public boolean hasValue() {
2008         return ((bitField0_ & 0x00000001) == 0x00000001);
2009       }
2010       /**
2011        * <code>required string value = 1;</code>
2012        */
2013       public java.lang.String getValue() {
2014         java.lang.Object ref = value_;
2015         if (!(ref instanceof java.lang.String)) {
2016           java.lang.String s = ((com.google.protobuf.ByteString) ref)
2017               .toStringUtf8();
2018           value_ = s;
2019           return s;
2020         } else {
2021           return (java.lang.String) ref;
2022         }
2023       }
2024       /**
2025        * <code>required string value = 1;</code>
2026        */
2027       public com.google.protobuf.ByteString
2028           getValueBytes() {
2029         java.lang.Object ref = value_;
2030         if (ref instanceof String) {
2031           com.google.protobuf.ByteString b =
2032               com.google.protobuf.ByteString.copyFromUtf8(
2033                   (java.lang.String) ref);
2034           value_ = b;
2035           return b;
2036         } else {
2037           return (com.google.protobuf.ByteString) ref;
2038         }
2039       }
2040       /**
2041        * <code>required string value = 1;</code>
2042        */
2043       public Builder setValue(
2044           java.lang.String value) {
2045         if (value == null) {
2046     throw new NullPointerException();
2047   }
2048   bitField0_ |= 0x00000001;
2049         value_ = value;
2050         onChanged();
2051         return this;
2052       }
2053       /**
2054        * <code>required string value = 1;</code>
2055        */
2056       public Builder clearValue() {
2057         bitField0_ = (bitField0_ & ~0x00000001);
2058         value_ = getDefaultInstance().getValue();
2059         onChanged();
2060         return this;
2061       }
2062       /**
2063        * <code>required string value = 1;</code>
2064        */
2065       public Builder setValueBytes(
2066           com.google.protobuf.ByteString value) {
2067         if (value == null) {
2068     throw new NullPointerException();
2069   }
2070   bitField0_ |= 0x00000001;
2071         value_ = value;
2072         onChanged();
2073         return this;
2074       }
2075
2076       // optional string type = 2;
2077       private java.lang.Object type_ = "";
2078       /**
2079        * <code>optional string type = 2;</code>
2080        *
2081        * <pre>
2082        *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
2083        * </pre>
2084        */
2085       public boolean hasType() {
2086         return ((bitField0_ & 0x00000002) == 0x00000002);
2087       }
2088       /**
2089        * <code>optional string type = 2;</code>
2090        *
2091        * <pre>
2092        *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
2093        * </pre>
2094        */
2095       public java.lang.String getType() {
2096         java.lang.Object ref = type_;
2097         if (!(ref instanceof java.lang.String)) {
2098           java.lang.String s = ((com.google.protobuf.ByteString) ref)
2099               .toStringUtf8();
2100           type_ = s;
2101           return s;
2102         } else {
2103           return (java.lang.String) ref;
2104         }
2105       }
2106       /**
2107        * <code>optional string type = 2;</code>
2108        *
2109        * <pre>
2110        *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
2111        * </pre>
2112        */
2113       public com.google.protobuf.ByteString
2114           getTypeBytes() {
2115         java.lang.Object ref = type_;
2116         if (ref instanceof String) {
2117           com.google.protobuf.ByteString b =
2118               com.google.protobuf.ByteString.copyFromUtf8(
2119                   (java.lang.String) ref);
2120           type_ = b;
2121           return b;
2122         } else {
2123           return (com.google.protobuf.ByteString) ref;
2124         }
2125       }
2126       /**
2127        * <code>optional string type = 2;</code>
2128        *
2129        * <pre>
2130        *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
2131        * </pre>
2132        */
2133       public Builder setType(
2134           java.lang.String value) {
2135         if (value == null) {
2136     throw new NullPointerException();
2137   }
2138   bitField0_ |= 0x00000002;
2139         type_ = value;
2140         onChanged();
2141         return this;
2142       }
2143       /**
2144        * <code>optional string type = 2;</code>
2145        *
2146        * <pre>
2147        *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
2148        * </pre>
2149        */
2150       public Builder clearType() {
2151         bitField0_ = (bitField0_ & ~0x00000002);
2152         type_ = getDefaultInstance().getType();
2153         onChanged();
2154         return this;
2155       }
2156       /**
2157        * <code>optional string type = 2;</code>
2158        *
2159        * <pre>
2160        *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
2161        * </pre>
2162        */
2163       public Builder setTypeBytes(
2164           com.google.protobuf.ByteString value) {
2165         if (value == null) {
2166     throw new NullPointerException();
2167   }
2168   bitField0_ |= 0x00000002;
2169         type_ = value;
2170         onChanged();
2171         return this;
2172       }
2173
2174       // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
2175       private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
2176       private com.google.protobuf.SingleFieldBuilder<
2177           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_;
2178       /**
2179        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2180        */
2181       public boolean hasNodeType() {
2182         return ((bitField0_ & 0x00000004) == 0x00000004);
2183       }
2184       /**
2185        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2186        */
2187       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
2188         if (nodeTypeBuilder_ == null) {
2189           return nodeType_;
2190         } else {
2191           return nodeTypeBuilder_.getMessage();
2192         }
2193       }
2194       /**
2195        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2196        */
2197       public Builder setNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
2198         if (nodeTypeBuilder_ == null) {
2199           if (value == null) {
2200             throw new NullPointerException();
2201           }
2202           nodeType_ = value;
2203           onChanged();
2204         } else {
2205           nodeTypeBuilder_.setMessage(value);
2206         }
2207         bitField0_ |= 0x00000004;
2208         return this;
2209       }
2210       /**
2211        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2212        */
2213       public Builder setNodeType(
2214           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
2215         if (nodeTypeBuilder_ == null) {
2216           nodeType_ = builderForValue.build();
2217           onChanged();
2218         } else {
2219           nodeTypeBuilder_.setMessage(builderForValue.build());
2220         }
2221         bitField0_ |= 0x00000004;
2222         return this;
2223       }
2224       /**
2225        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2226        */
2227       public Builder mergeNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
2228         if (nodeTypeBuilder_ == null) {
2229           if (((bitField0_ & 0x00000004) == 0x00000004) &&
2230               nodeType_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
2231             nodeType_ =
2232               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(nodeType_).mergeFrom(value).buildPartial();
2233           } else {
2234             nodeType_ = value;
2235           }
2236           onChanged();
2237         } else {
2238           nodeTypeBuilder_.mergeFrom(value);
2239         }
2240         bitField0_ |= 0x00000004;
2241         return this;
2242       }
2243       /**
2244        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2245        */
2246       public Builder clearNodeType() {
2247         if (nodeTypeBuilder_ == null) {
2248           nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
2249           onChanged();
2250         } else {
2251           nodeTypeBuilder_.clear();
2252         }
2253         bitField0_ = (bitField0_ & ~0x00000004);
2254         return this;
2255       }
2256       /**
2257        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2258        */
2259       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNodeTypeBuilder() {
2260         bitField0_ |= 0x00000004;
2261         onChanged();
2262         return getNodeTypeFieldBuilder().getBuilder();
2263       }
2264       /**
2265        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2266        */
2267       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
2268         if (nodeTypeBuilder_ != null) {
2269           return nodeTypeBuilder_.getMessageOrBuilder();
2270         } else {
2271           return nodeType_;
2272         }
2273       }
2274       /**
2275        * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2276        */
2277       private com.google.protobuf.SingleFieldBuilder<
2278           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>
2279           getNodeTypeFieldBuilder() {
2280         if (nodeTypeBuilder_ == null) {
2281           nodeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2282               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>(
2283                   nodeType_,
2284                   getParentForChildren(),
2285                   isClean());
2286           nodeType_ = null;
2287         }
2288         return nodeTypeBuilder_;
2289       }
2290
2291       // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;
2292       private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
2293         java.util.Collections.emptyList();
2294       private void ensureAttributesIsMutable() {
2295         if (!((bitField0_ & 0x00000008) == 0x00000008)) {
2296           attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
2297           bitField0_ |= 0x00000008;
2298          }
2299       }
2300
2301       private com.google.protobuf.RepeatedFieldBuilder<
2302           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_;
2303
2304       /**
2305        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2306        */
2307       public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
2308         if (attributesBuilder_ == null) {
2309           return java.util.Collections.unmodifiableList(attributes_);
2310         } else {
2311           return attributesBuilder_.getMessageList();
2312         }
2313       }
2314       /**
2315        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2316        */
2317       public int getAttributesCount() {
2318         if (attributesBuilder_ == null) {
2319           return attributes_.size();
2320         } else {
2321           return attributesBuilder_.getCount();
2322         }
2323       }
2324       /**
2325        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2326        */
2327       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
2328         if (attributesBuilder_ == null) {
2329           return attributes_.get(index);
2330         } else {
2331           return attributesBuilder_.getMessage(index);
2332         }
2333       }
2334       /**
2335        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2336        */
2337       public Builder setAttributes(
2338           int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
2339         if (attributesBuilder_ == null) {
2340           if (value == null) {
2341             throw new NullPointerException();
2342           }
2343           ensureAttributesIsMutable();
2344           attributes_.set(index, value);
2345           onChanged();
2346         } else {
2347           attributesBuilder_.setMessage(index, value);
2348         }
2349         return this;
2350       }
2351       /**
2352        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2353        */
2354       public Builder setAttributes(
2355           int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
2356         if (attributesBuilder_ == null) {
2357           ensureAttributesIsMutable();
2358           attributes_.set(index, builderForValue.build());
2359           onChanged();
2360         } else {
2361           attributesBuilder_.setMessage(index, builderForValue.build());
2362         }
2363         return this;
2364       }
2365       /**
2366        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2367        */
2368       public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
2369         if (attributesBuilder_ == null) {
2370           if (value == null) {
2371             throw new NullPointerException();
2372           }
2373           ensureAttributesIsMutable();
2374           attributes_.add(value);
2375           onChanged();
2376         } else {
2377           attributesBuilder_.addMessage(value);
2378         }
2379         return this;
2380       }
2381       /**
2382        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2383        */
2384       public Builder addAttributes(
2385           int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
2386         if (attributesBuilder_ == null) {
2387           if (value == null) {
2388             throw new NullPointerException();
2389           }
2390           ensureAttributesIsMutable();
2391           attributes_.add(index, value);
2392           onChanged();
2393         } else {
2394           attributesBuilder_.addMessage(index, value);
2395         }
2396         return this;
2397       }
2398       /**
2399        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2400        */
2401       public Builder addAttributes(
2402           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
2403         if (attributesBuilder_ == null) {
2404           ensureAttributesIsMutable();
2405           attributes_.add(builderForValue.build());
2406           onChanged();
2407         } else {
2408           attributesBuilder_.addMessage(builderForValue.build());
2409         }
2410         return this;
2411       }
2412       /**
2413        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2414        */
2415       public Builder addAttributes(
2416           int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
2417         if (attributesBuilder_ == null) {
2418           ensureAttributesIsMutable();
2419           attributes_.add(index, builderForValue.build());
2420           onChanged();
2421         } else {
2422           attributesBuilder_.addMessage(index, builderForValue.build());
2423         }
2424         return this;
2425       }
2426       /**
2427        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2428        */
2429       public Builder addAllAttributes(
2430           java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
2431         if (attributesBuilder_ == null) {
2432           ensureAttributesIsMutable();
2433           super.addAll(values, attributes_);
2434           onChanged();
2435         } else {
2436           attributesBuilder_.addAllMessages(values);
2437         }
2438         return this;
2439       }
2440       /**
2441        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2442        */
2443       public Builder clearAttributes() {
2444         if (attributesBuilder_ == null) {
2445           attributes_ = java.util.Collections.emptyList();
2446           bitField0_ = (bitField0_ & ~0x00000008);
2447           onChanged();
2448         } else {
2449           attributesBuilder_.clear();
2450         }
2451         return this;
2452       }
2453       /**
2454        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2455        */
2456       public Builder removeAttributes(int index) {
2457         if (attributesBuilder_ == null) {
2458           ensureAttributesIsMutable();
2459           attributes_.remove(index);
2460           onChanged();
2461         } else {
2462           attributesBuilder_.remove(index);
2463         }
2464         return this;
2465       }
2466       /**
2467        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2468        */
2469       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
2470           int index) {
2471         return getAttributesFieldBuilder().getBuilder(index);
2472       }
2473       /**
2474        * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
2475        */
2476       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(