Changed RegisterChangeListener and RegisterChangeListenerReply
[controller.git] / opendaylight / md-sal / sal-protocolbuffer-encoding / src / main / java / org / opendaylight / controller / protobuff / messages / persistent / PersistentMessages.java
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: Persistent.proto
3
4 package org.opendaylight.controller.protobuff.messages.persistent;
5
6 public final class PersistentMessages {
7   private PersistentMessages() {}
8   public static void registerAllExtensions(
9       com.google.protobuf.ExtensionRegistry registry) {
10   }
11   public interface ModificationOrBuilder
12       extends com.google.protobuf.MessageOrBuilder {
13
14     // required string type = 1;
15     /**
16      * <code>required string type = 1;</code>
17      */
18     boolean hasType();
19     /**
20      * <code>required string type = 1;</code>
21      */
22     java.lang.String getType();
23     /**
24      * <code>required string type = 1;</code>
25      */
26     com.google.protobuf.ByteString
27         getTypeBytes();
28
29     // required string path = 2;
30     /**
31      * <code>required string path = 2;</code>
32      */
33     boolean hasPath();
34     /**
35      * <code>required string path = 2;</code>
36      */
37     java.lang.String getPath();
38     /**
39      * <code>required string path = 2;</code>
40      */
41     com.google.protobuf.ByteString
42         getPathBytes();
43
44     // optional .org.opendaylight.controller.mdsal.Node data = 3;
45     /**
46      * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
47      */
48     boolean hasData();
49     /**
50      * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
51      */
52     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData();
53     /**
54      * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
55      */
56     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder();
57   }
58   /**
59    * Protobuf type {@code org.opendaylight.controller.mdsal.Modification}
60    */
61   public static final class Modification extends
62       com.google.protobuf.GeneratedMessage
63       implements ModificationOrBuilder {
64     // Use Modification.newBuilder() to construct.
65     private Modification(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
66       super(builder);
67       this.unknownFields = builder.getUnknownFields();
68     }
69     private Modification(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
70
71     private static final Modification defaultInstance;
72     public static Modification getDefaultInstance() {
73       return defaultInstance;
74     }
75
76     public Modification getDefaultInstanceForType() {
77       return defaultInstance;
78     }
79
80     private final com.google.protobuf.UnknownFieldSet unknownFields;
81     @java.lang.Override
82     public final com.google.protobuf.UnknownFieldSet
83         getUnknownFields() {
84       return this.unknownFields;
85     }
86     private Modification(
87         com.google.protobuf.CodedInputStream input,
88         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
89         throws com.google.protobuf.InvalidProtocolBufferException {
90       initFields();
91       int mutable_bitField0_ = 0;
92       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
93           com.google.protobuf.UnknownFieldSet.newBuilder();
94       try {
95         boolean done = false;
96         while (!done) {
97           int tag = input.readTag();
98           switch (tag) {
99             case 0:
100               done = true;
101               break;
102             default: {
103               if (!parseUnknownField(input, unknownFields,
104                                      extensionRegistry, tag)) {
105                 done = true;
106               }
107               break;
108             }
109             case 10: {
110               bitField0_ |= 0x00000001;
111               type_ = input.readBytes();
112               break;
113             }
114             case 18: {
115               bitField0_ |= 0x00000002;
116               path_ = input.readBytes();
117               break;
118             }
119             case 26: {
120               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
121               if (((bitField0_ & 0x00000004) == 0x00000004)) {
122                 subBuilder = data_.toBuilder();
123               }
124               data_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
125               if (subBuilder != null) {
126                 subBuilder.mergeFrom(data_);
127                 data_ = subBuilder.buildPartial();
128               }
129               bitField0_ |= 0x00000004;
130               break;
131             }
132           }
133         }
134       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
135         throw e.setUnfinishedMessage(this);
136       } catch (java.io.IOException e) {
137         throw new com.google.protobuf.InvalidProtocolBufferException(
138             e.getMessage()).setUnfinishedMessage(this);
139       } finally {
140         this.unknownFields = unknownFields.build();
141         makeExtensionsImmutable();
142       }
143     }
144     public static final com.google.protobuf.Descriptors.Descriptor
145         getDescriptor() {
146       return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
147     }
148
149     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
150         internalGetFieldAccessorTable() {
151       return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable
152           .ensureFieldAccessorsInitialized(
153               org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder.class);
154     }
155
156     public static com.google.protobuf.Parser<Modification> PARSER =
157         new com.google.protobuf.AbstractParser<Modification>() {
158       public Modification parsePartialFrom(
159           com.google.protobuf.CodedInputStream input,
160           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
161           throws com.google.protobuf.InvalidProtocolBufferException {
162         return new Modification(input, extensionRegistry);
163       }
164     };
165
166     @java.lang.Override
167     public com.google.protobuf.Parser<Modification> getParserForType() {
168       return PARSER;
169     }
170
171     private int bitField0_;
172     // required string type = 1;
173     public static final int TYPE_FIELD_NUMBER = 1;
174     private java.lang.Object type_;
175     /**
176      * <code>required string type = 1;</code>
177      */
178     public boolean hasType() {
179       return ((bitField0_ & 0x00000001) == 0x00000001);
180     }
181     /**
182      * <code>required string type = 1;</code>
183      */
184     public java.lang.String getType() {
185       java.lang.Object ref = type_;
186       if (ref instanceof java.lang.String) {
187         return (java.lang.String) ref;
188       } else {
189         com.google.protobuf.ByteString bs =
190             (com.google.protobuf.ByteString) ref;
191         java.lang.String s = bs.toStringUtf8();
192         if (bs.isValidUtf8()) {
193           type_ = s;
194         }
195         return s;
196       }
197     }
198     /**
199      * <code>required string type = 1;</code>
200      */
201     public com.google.protobuf.ByteString
202         getTypeBytes() {
203       java.lang.Object ref = type_;
204       if (ref instanceof java.lang.String) {
205         com.google.protobuf.ByteString b =
206             com.google.protobuf.ByteString.copyFromUtf8(
207                 (java.lang.String) ref);
208         type_ = b;
209         return b;
210       } else {
211         return (com.google.protobuf.ByteString) ref;
212       }
213     }
214
215     // required string path = 2;
216     public static final int PATH_FIELD_NUMBER = 2;
217     private java.lang.Object path_;
218     /**
219      * <code>required string path = 2;</code>
220      */
221     public boolean hasPath() {
222       return ((bitField0_ & 0x00000002) == 0x00000002);
223     }
224     /**
225      * <code>required string path = 2;</code>
226      */
227     public java.lang.String getPath() {
228       java.lang.Object ref = path_;
229       if (ref instanceof java.lang.String) {
230         return (java.lang.String) ref;
231       } else {
232         com.google.protobuf.ByteString bs =
233             (com.google.protobuf.ByteString) ref;
234         java.lang.String s = bs.toStringUtf8();
235         if (bs.isValidUtf8()) {
236           path_ = s;
237         }
238         return s;
239       }
240     }
241     /**
242      * <code>required string path = 2;</code>
243      */
244     public com.google.protobuf.ByteString
245         getPathBytes() {
246       java.lang.Object ref = path_;
247       if (ref instanceof java.lang.String) {
248         com.google.protobuf.ByteString b =
249             com.google.protobuf.ByteString.copyFromUtf8(
250                 (java.lang.String) ref);
251         path_ = b;
252         return b;
253       } else {
254         return (com.google.protobuf.ByteString) ref;
255       }
256     }
257
258     // optional .org.opendaylight.controller.mdsal.Node data = 3;
259     public static final int DATA_FIELD_NUMBER = 3;
260     private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node data_;
261     /**
262      * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
263      */
264     public boolean hasData() {
265       return ((bitField0_ & 0x00000004) == 0x00000004);
266     }
267     /**
268      * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
269      */
270     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData() {
271       return data_;
272     }
273     /**
274      * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
275      */
276     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder() {
277       return data_;
278     }
279
280     private void initFields() {
281       type_ = "";
282       path_ = "";
283       data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
284     }
285     private byte memoizedIsInitialized = -1;
286     public final boolean isInitialized() {
287       byte isInitialized = memoizedIsInitialized;
288       if (isInitialized != -1) return isInitialized == 1;
289
290       if (!hasType()) {
291         memoizedIsInitialized = 0;
292         return false;
293       }
294       if (!hasPath()) {
295         memoizedIsInitialized = 0;
296         return false;
297       }
298       if (hasData()) {
299         if (!getData().isInitialized()) {
300           memoizedIsInitialized = 0;
301           return false;
302         }
303       }
304       memoizedIsInitialized = 1;
305       return true;
306     }
307
308     public void writeTo(com.google.protobuf.CodedOutputStream output)
309                         throws java.io.IOException {
310       getSerializedSize();
311       if (((bitField0_ & 0x00000001) == 0x00000001)) {
312         output.writeBytes(1, getTypeBytes());
313       }
314       if (((bitField0_ & 0x00000002) == 0x00000002)) {
315         output.writeBytes(2, getPathBytes());
316       }
317       if (((bitField0_ & 0x00000004) == 0x00000004)) {
318         output.writeMessage(3, data_);
319       }
320       getUnknownFields().writeTo(output);
321     }
322
323     private int memoizedSerializedSize = -1;
324     public int getSerializedSize() {
325       int size = memoizedSerializedSize;
326       if (size != -1) return size;
327
328       size = 0;
329       if (((bitField0_ & 0x00000001) == 0x00000001)) {
330         size += com.google.protobuf.CodedOutputStream
331           .computeBytesSize(1, getTypeBytes());
332       }
333       if (((bitField0_ & 0x00000002) == 0x00000002)) {
334         size += com.google.protobuf.CodedOutputStream
335           .computeBytesSize(2, getPathBytes());
336       }
337       if (((bitField0_ & 0x00000004) == 0x00000004)) {
338         size += com.google.protobuf.CodedOutputStream
339           .computeMessageSize(3, data_);
340       }
341       size += getUnknownFields().getSerializedSize();
342       memoizedSerializedSize = size;
343       return size;
344     }
345
346     private static final long serialVersionUID = 0L;
347     @java.lang.Override
348     protected java.lang.Object writeReplace()
349         throws java.io.ObjectStreamException {
350       return super.writeReplace();
351     }
352
353     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
354         com.google.protobuf.ByteString data)
355         throws com.google.protobuf.InvalidProtocolBufferException {
356       return PARSER.parseFrom(data);
357     }
358     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
359         com.google.protobuf.ByteString data,
360         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
361         throws com.google.protobuf.InvalidProtocolBufferException {
362       return PARSER.parseFrom(data, extensionRegistry);
363     }
364     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(byte[] data)
365         throws com.google.protobuf.InvalidProtocolBufferException {
366       return PARSER.parseFrom(data);
367     }
368     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
369         byte[] data,
370         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
371         throws com.google.protobuf.InvalidProtocolBufferException {
372       return PARSER.parseFrom(data, extensionRegistry);
373     }
374     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(java.io.InputStream input)
375         throws java.io.IOException {
376       return PARSER.parseFrom(input);
377     }
378     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
379         java.io.InputStream input,
380         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
381         throws java.io.IOException {
382       return PARSER.parseFrom(input, extensionRegistry);
383     }
384     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseDelimitedFrom(java.io.InputStream input)
385         throws java.io.IOException {
386       return PARSER.parseDelimitedFrom(input);
387     }
388     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseDelimitedFrom(
389         java.io.InputStream input,
390         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
391         throws java.io.IOException {
392       return PARSER.parseDelimitedFrom(input, extensionRegistry);
393     }
394     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
395         com.google.protobuf.CodedInputStream input)
396         throws java.io.IOException {
397       return PARSER.parseFrom(input);
398     }
399     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
400         com.google.protobuf.CodedInputStream input,
401         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
402         throws java.io.IOException {
403       return PARSER.parseFrom(input, extensionRegistry);
404     }
405
406     public static Builder newBuilder() { return Builder.create(); }
407     public Builder newBuilderForType() { return newBuilder(); }
408     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification prototype) {
409       return newBuilder().mergeFrom(prototype);
410     }
411     public Builder toBuilder() { return newBuilder(this); }
412
413     @java.lang.Override
414     protected Builder newBuilderForType(
415         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
416       Builder builder = new Builder(parent);
417       return builder;
418     }
419     /**
420      * Protobuf type {@code org.opendaylight.controller.mdsal.Modification}
421      */
422     public static final class Builder extends
423         com.google.protobuf.GeneratedMessage.Builder<Builder>
424        implements org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder {
425       public static final com.google.protobuf.Descriptors.Descriptor
426           getDescriptor() {
427         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
428       }
429
430       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
431           internalGetFieldAccessorTable() {
432         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable
433             .ensureFieldAccessorsInitialized(
434                 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder.class);
435       }
436
437       // Construct using org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.newBuilder()
438       private Builder() {
439         maybeForceBuilderInitialization();
440       }
441
442       private Builder(
443           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
444         super(parent);
445         maybeForceBuilderInitialization();
446       }
447       private void maybeForceBuilderInitialization() {
448         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
449           getDataFieldBuilder();
450         }
451       }
452       private static Builder create() {
453         return new Builder();
454       }
455
456       public Builder clear() {
457         super.clear();
458         type_ = "";
459         bitField0_ = (bitField0_ & ~0x00000001);
460         path_ = "";
461         bitField0_ = (bitField0_ & ~0x00000002);
462         if (dataBuilder_ == null) {
463           data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
464         } else {
465           dataBuilder_.clear();
466         }
467         bitField0_ = (bitField0_ & ~0x00000004);
468         return this;
469       }
470
471       public Builder clone() {
472         return create().mergeFrom(buildPartial());
473       }
474
475       public com.google.protobuf.Descriptors.Descriptor
476           getDescriptorForType() {
477         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
478       }
479
480       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getDefaultInstanceForType() {
481         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance();
482       }
483
484       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification build() {
485         org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification result = buildPartial();
486         if (!result.isInitialized()) {
487           throw newUninitializedMessageException(result);
488         }
489         return result;
490       }
491
492       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification buildPartial() {
493         org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification result = new org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification(this);
494         int from_bitField0_ = bitField0_;
495         int to_bitField0_ = 0;
496         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
497           to_bitField0_ |= 0x00000001;
498         }
499         result.type_ = type_;
500         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
501           to_bitField0_ |= 0x00000002;
502         }
503         result.path_ = path_;
504         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
505           to_bitField0_ |= 0x00000004;
506         }
507         if (dataBuilder_ == null) {
508           result.data_ = data_;
509         } else {
510           result.data_ = dataBuilder_.build();
511         }
512         result.bitField0_ = to_bitField0_;
513         onBuilt();
514         return result;
515       }
516
517       public Builder mergeFrom(com.google.protobuf.Message other) {
518         if (other instanceof org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) {
519           return mergeFrom((org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification)other);
520         } else {
521           super.mergeFrom(other);
522           return this;
523         }
524       }
525
526       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification other) {
527         if (other == org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance()) return this;
528         if (other.hasType()) {
529           bitField0_ |= 0x00000001;
530           type_ = other.type_;
531           onChanged();
532         }
533         if (other.hasPath()) {
534           bitField0_ |= 0x00000002;
535           path_ = other.path_;
536           onChanged();
537         }
538         if (other.hasData()) {
539           mergeData(other.getData());
540         }
541         this.mergeUnknownFields(other.getUnknownFields());
542         return this;
543       }
544
545       public final boolean isInitialized() {
546         if (!hasType()) {
547
548           return false;
549         }
550         if (!hasPath()) {
551
552           return false;
553         }
554         if (hasData()) {
555           if (!getData().isInitialized()) {
556
557             return false;
558           }
559         }
560         return true;
561       }
562
563       public Builder mergeFrom(
564           com.google.protobuf.CodedInputStream input,
565           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
566           throws java.io.IOException {
567         org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parsedMessage = null;
568         try {
569           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
570         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
571           parsedMessage = (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) e.getUnfinishedMessage();
572           throw e;
573         } finally {
574           if (parsedMessage != null) {
575             mergeFrom(parsedMessage);
576           }
577         }
578         return this;
579       }
580       private int bitField0_;
581
582       // required string type = 1;
583       private java.lang.Object type_ = "";
584       /**
585        * <code>required string type = 1;</code>
586        */
587       public boolean hasType() {
588         return ((bitField0_ & 0x00000001) == 0x00000001);
589       }
590       /**
591        * <code>required string type = 1;</code>
592        */
593       public java.lang.String getType() {
594         java.lang.Object ref = type_;
595         if (!(ref instanceof java.lang.String)) {
596           java.lang.String s = ((com.google.protobuf.ByteString) ref)
597               .toStringUtf8();
598           type_ = s;
599           return s;
600         } else {
601           return (java.lang.String) ref;
602         }
603       }
604       /**
605        * <code>required string type = 1;</code>
606        */
607       public com.google.protobuf.ByteString
608           getTypeBytes() {
609         java.lang.Object ref = type_;
610         if (ref instanceof String) {
611           com.google.protobuf.ByteString b =
612               com.google.protobuf.ByteString.copyFromUtf8(
613                   (java.lang.String) ref);
614           type_ = b;
615           return b;
616         } else {
617           return (com.google.protobuf.ByteString) ref;
618         }
619       }
620       /**
621        * <code>required string type = 1;</code>
622        */
623       public Builder setType(
624           java.lang.String value) {
625         if (value == null) {
626     throw new NullPointerException();
627   }
628   bitField0_ |= 0x00000001;
629         type_ = value;
630         onChanged();
631         return this;
632       }
633       /**
634        * <code>required string type = 1;</code>
635        */
636       public Builder clearType() {
637         bitField0_ = (bitField0_ & ~0x00000001);
638         type_ = getDefaultInstance().getType();
639         onChanged();
640         return this;
641       }
642       /**
643        * <code>required string type = 1;</code>
644        */
645       public Builder setTypeBytes(
646           com.google.protobuf.ByteString value) {
647         if (value == null) {
648     throw new NullPointerException();
649   }
650   bitField0_ |= 0x00000001;
651         type_ = value;
652         onChanged();
653         return this;
654       }
655
656       // required string path = 2;
657       private java.lang.Object path_ = "";
658       /**
659        * <code>required string path = 2;</code>
660        */
661       public boolean hasPath() {
662         return ((bitField0_ & 0x00000002) == 0x00000002);
663       }
664       /**
665        * <code>required string path = 2;</code>
666        */
667       public java.lang.String getPath() {
668         java.lang.Object ref = path_;
669         if (!(ref instanceof java.lang.String)) {
670           java.lang.String s = ((com.google.protobuf.ByteString) ref)
671               .toStringUtf8();
672           path_ = s;
673           return s;
674         } else {
675           return (java.lang.String) ref;
676         }
677       }
678       /**
679        * <code>required string path = 2;</code>
680        */
681       public com.google.protobuf.ByteString
682           getPathBytes() {
683         java.lang.Object ref = path_;
684         if (ref instanceof String) {
685           com.google.protobuf.ByteString b =
686               com.google.protobuf.ByteString.copyFromUtf8(
687                   (java.lang.String) ref);
688           path_ = b;
689           return b;
690         } else {
691           return (com.google.protobuf.ByteString) ref;
692         }
693       }
694       /**
695        * <code>required string path = 2;</code>
696        */
697       public Builder setPath(
698           java.lang.String value) {
699         if (value == null) {
700     throw new NullPointerException();
701   }
702   bitField0_ |= 0x00000002;
703         path_ = value;
704         onChanged();
705         return this;
706       }
707       /**
708        * <code>required string path = 2;</code>
709        */
710       public Builder clearPath() {
711         bitField0_ = (bitField0_ & ~0x00000002);
712         path_ = getDefaultInstance().getPath();
713         onChanged();
714         return this;
715       }
716       /**
717        * <code>required string path = 2;</code>
718        */
719       public Builder setPathBytes(
720           com.google.protobuf.ByteString value) {
721         if (value == null) {
722     throw new NullPointerException();
723   }
724   bitField0_ |= 0x00000002;
725         path_ = value;
726         onChanged();
727         return this;
728       }
729
730       // optional .org.opendaylight.controller.mdsal.Node data = 3;
731       private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
732       private com.google.protobuf.SingleFieldBuilder<
733           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> dataBuilder_;
734       /**
735        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
736        */
737       public boolean hasData() {
738         return ((bitField0_ & 0x00000004) == 0x00000004);
739       }
740       /**
741        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
742        */
743       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData() {
744         if (dataBuilder_ == null) {
745           return data_;
746         } else {
747           return dataBuilder_.getMessage();
748         }
749       }
750       /**
751        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
752        */
753       public Builder setData(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
754         if (dataBuilder_ == null) {
755           if (value == null) {
756             throw new NullPointerException();
757           }
758           data_ = value;
759           onChanged();
760         } else {
761           dataBuilder_.setMessage(value);
762         }
763         bitField0_ |= 0x00000004;
764         return this;
765       }
766       /**
767        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
768        */
769       public Builder setData(
770           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
771         if (dataBuilder_ == null) {
772           data_ = builderForValue.build();
773           onChanged();
774         } else {
775           dataBuilder_.setMessage(builderForValue.build());
776         }
777         bitField0_ |= 0x00000004;
778         return this;
779       }
780       /**
781        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
782        */
783       public Builder mergeData(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
784         if (dataBuilder_ == null) {
785           if (((bitField0_ & 0x00000004) == 0x00000004) &&
786               data_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
787             data_ =
788               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(data_).mergeFrom(value).buildPartial();
789           } else {
790             data_ = value;
791           }
792           onChanged();
793         } else {
794           dataBuilder_.mergeFrom(value);
795         }
796         bitField0_ |= 0x00000004;
797         return this;
798       }
799       /**
800        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
801        */
802       public Builder clearData() {
803         if (dataBuilder_ == null) {
804           data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
805           onChanged();
806         } else {
807           dataBuilder_.clear();
808         }
809         bitField0_ = (bitField0_ & ~0x00000004);
810         return this;
811       }
812       /**
813        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
814        */
815       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getDataBuilder() {
816         bitField0_ |= 0x00000004;
817         onChanged();
818         return getDataFieldBuilder().getBuilder();
819       }
820       /**
821        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
822        */
823       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder() {
824         if (dataBuilder_ != null) {
825           return dataBuilder_.getMessageOrBuilder();
826         } else {
827           return data_;
828         }
829       }
830       /**
831        * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
832        */
833       private com.google.protobuf.SingleFieldBuilder<
834           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
835           getDataFieldBuilder() {
836         if (dataBuilder_ == null) {
837           dataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
838               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>(
839                   data_,
840                   getParentForChildren(),
841                   isClean());
842           data_ = null;
843         }
844         return dataBuilder_;
845       }
846
847       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Modification)
848     }
849
850     static {
851       defaultInstance = new Modification(true);
852       defaultInstance.initFields();
853     }
854
855     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Modification)
856   }
857
858   public interface CompositeModificationOrBuilder
859       extends com.google.protobuf.MessageOrBuilder {
860
861     // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
862     /**
863      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
864      */
865     java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>
866         getModificationList();
867     /**
868      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
869      */
870     org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(int index);
871     /**
872      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
873      */
874     int getModificationCount();
875     /**
876      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
877      */
878     java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
879         getModificationOrBuilderList();
880     /**
881      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
882      */
883     org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
884         int index);
885   }
886   /**
887    * Protobuf type {@code org.opendaylight.controller.mdsal.CompositeModification}
888    */
889   public static final class CompositeModification extends
890       com.google.protobuf.GeneratedMessage
891       implements CompositeModificationOrBuilder {
892     // Use CompositeModification.newBuilder() to construct.
893     private CompositeModification(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
894       super(builder);
895       this.unknownFields = builder.getUnknownFields();
896     }
897     private CompositeModification(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
898
899     private static final CompositeModification defaultInstance;
900     public static CompositeModification getDefaultInstance() {
901       return defaultInstance;
902     }
903
904     public CompositeModification getDefaultInstanceForType() {
905       return defaultInstance;
906     }
907
908     private final com.google.protobuf.UnknownFieldSet unknownFields;
909     @java.lang.Override
910     public final com.google.protobuf.UnknownFieldSet
911         getUnknownFields() {
912       return this.unknownFields;
913     }
914     private CompositeModification(
915         com.google.protobuf.CodedInputStream input,
916         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
917         throws com.google.protobuf.InvalidProtocolBufferException {
918       initFields();
919       int mutable_bitField0_ = 0;
920       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
921           com.google.protobuf.UnknownFieldSet.newBuilder();
922       try {
923         boolean done = false;
924         while (!done) {
925           int tag = input.readTag();
926           switch (tag) {
927             case 0:
928               done = true;
929               break;
930             default: {
931               if (!parseUnknownField(input, unknownFields,
932                                      extensionRegistry, tag)) {
933                 done = true;
934               }
935               break;
936             }
937             case 10: {
938               if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
939                 modification_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>();
940                 mutable_bitField0_ |= 0x00000001;
941               }
942               modification_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.PARSER, extensionRegistry));
943               break;
944             }
945           }
946         }
947       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
948         throw e.setUnfinishedMessage(this);
949       } catch (java.io.IOException e) {
950         throw new com.google.protobuf.InvalidProtocolBufferException(
951             e.getMessage()).setUnfinishedMessage(this);
952       } finally {
953         if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
954           modification_ = java.util.Collections.unmodifiableList(modification_);
955         }
956         this.unknownFields = unknownFields.build();
957         makeExtensionsImmutable();
958       }
959     }
960     public static final com.google.protobuf.Descriptors.Descriptor
961         getDescriptor() {
962       return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
963     }
964
965     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
966         internalGetFieldAccessorTable() {
967       return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable
968           .ensureFieldAccessorsInitialized(
969               org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.Builder.class);
970     }
971
972     public static com.google.protobuf.Parser<CompositeModification> PARSER =
973         new com.google.protobuf.AbstractParser<CompositeModification>() {
974       public CompositeModification parsePartialFrom(
975           com.google.protobuf.CodedInputStream input,
976           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
977           throws com.google.protobuf.InvalidProtocolBufferException {
978         return new CompositeModification(input, extensionRegistry);
979       }
980     };
981
982     @java.lang.Override
983     public com.google.protobuf.Parser<CompositeModification> getParserForType() {
984       return PARSER;
985     }
986
987     // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
988     public static final int MODIFICATION_FIELD_NUMBER = 1;
989     private java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> modification_;
990     /**
991      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
992      */
993     public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> getModificationList() {
994       return modification_;
995     }
996     /**
997      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
998      */
999     public java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1000         getModificationOrBuilderList() {
1001       return modification_;
1002     }
1003     /**
1004      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1005      */
1006     public int getModificationCount() {
1007       return modification_.size();
1008     }
1009     /**
1010      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1011      */
1012     public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(int index) {
1013       return modification_.get(index);
1014     }
1015     /**
1016      * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1017      */
1018     public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1019         int index) {
1020       return modification_.get(index);
1021     }
1022
1023     private void initFields() {
1024       modification_ = java.util.Collections.emptyList();
1025     }
1026     private byte memoizedIsInitialized = -1;
1027     public final boolean isInitialized() {
1028       byte isInitialized = memoizedIsInitialized;
1029       if (isInitialized != -1) return isInitialized == 1;
1030
1031       for (int i = 0; i < getModificationCount(); i++) {
1032         if (!getModification(i).isInitialized()) {
1033           memoizedIsInitialized = 0;
1034           return false;
1035         }
1036       }
1037       memoizedIsInitialized = 1;
1038       return true;
1039     }
1040
1041     public void writeTo(com.google.protobuf.CodedOutputStream output)
1042                         throws java.io.IOException {
1043       getSerializedSize();
1044       for (int i = 0; i < modification_.size(); i++) {
1045         output.writeMessage(1, modification_.get(i));
1046       }
1047       getUnknownFields().writeTo(output);
1048     }
1049
1050     private int memoizedSerializedSize = -1;
1051     public int getSerializedSize() {
1052       int size = memoizedSerializedSize;
1053       if (size != -1) return size;
1054
1055       size = 0;
1056       for (int i = 0; i < modification_.size(); i++) {
1057         size += com.google.protobuf.CodedOutputStream
1058           .computeMessageSize(1, modification_.get(i));
1059       }
1060       size += getUnknownFields().getSerializedSize();
1061       memoizedSerializedSize = size;
1062       return size;
1063     }
1064
1065     private static final long serialVersionUID = 0L;
1066     @java.lang.Override
1067     protected java.lang.Object writeReplace()
1068         throws java.io.ObjectStreamException {
1069       return super.writeReplace();
1070     }
1071
1072     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1073         com.google.protobuf.ByteString data)
1074         throws com.google.protobuf.InvalidProtocolBufferException {
1075       return PARSER.parseFrom(data);
1076     }
1077     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1078         com.google.protobuf.ByteString data,
1079         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1080         throws com.google.protobuf.InvalidProtocolBufferException {
1081       return PARSER.parseFrom(data, extensionRegistry);
1082     }
1083     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(byte[] data)
1084         throws com.google.protobuf.InvalidProtocolBufferException {
1085       return PARSER.parseFrom(data);
1086     }
1087     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1088         byte[] data,
1089         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1090         throws com.google.protobuf.InvalidProtocolBufferException {
1091       return PARSER.parseFrom(data, extensionRegistry);
1092     }
1093     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(java.io.InputStream input)
1094         throws java.io.IOException {
1095       return PARSER.parseFrom(input);
1096     }
1097     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1098         java.io.InputStream input,
1099         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1100         throws java.io.IOException {
1101       return PARSER.parseFrom(input, extensionRegistry);
1102     }
1103     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseDelimitedFrom(java.io.InputStream input)
1104         throws java.io.IOException {
1105       return PARSER.parseDelimitedFrom(input);
1106     }
1107     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseDelimitedFrom(
1108         java.io.InputStream input,
1109         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1110         throws java.io.IOException {
1111       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1112     }
1113     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1114         com.google.protobuf.CodedInputStream input)
1115         throws java.io.IOException {
1116       return PARSER.parseFrom(input);
1117     }
1118     public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1119         com.google.protobuf.CodedInputStream input,
1120         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1121         throws java.io.IOException {
1122       return PARSER.parseFrom(input, extensionRegistry);
1123     }
1124
1125     public static Builder newBuilder() { return Builder.create(); }
1126     public Builder newBuilderForType() { return newBuilder(); }
1127     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification prototype) {
1128       return newBuilder().mergeFrom(prototype);
1129     }
1130     public Builder toBuilder() { return newBuilder(this); }
1131
1132     @java.lang.Override
1133     protected Builder newBuilderForType(
1134         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1135       Builder builder = new Builder(parent);
1136       return builder;
1137     }
1138     /**
1139      * Protobuf type {@code org.opendaylight.controller.mdsal.CompositeModification}
1140      */
1141     public static final class Builder extends
1142         com.google.protobuf.GeneratedMessage.Builder<Builder>
1143        implements org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModificationOrBuilder {
1144       public static final com.google.protobuf.Descriptors.Descriptor
1145           getDescriptor() {
1146         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1147       }
1148
1149       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1150           internalGetFieldAccessorTable() {
1151         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable
1152             .ensureFieldAccessorsInitialized(
1153                 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.Builder.class);
1154       }
1155
1156       // Construct using org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.newBuilder()
1157       private Builder() {
1158         maybeForceBuilderInitialization();
1159       }
1160
1161       private Builder(
1162           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1163         super(parent);
1164         maybeForceBuilderInitialization();
1165       }
1166       private void maybeForceBuilderInitialization() {
1167         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1168           getModificationFieldBuilder();
1169         }
1170       }
1171       private static Builder create() {
1172         return new Builder();
1173       }
1174
1175       public Builder clear() {
1176         super.clear();
1177         if (modificationBuilder_ == null) {
1178           modification_ = java.util.Collections.emptyList();
1179           bitField0_ = (bitField0_ & ~0x00000001);
1180         } else {
1181           modificationBuilder_.clear();
1182         }
1183         return this;
1184       }
1185
1186       public Builder clone() {
1187         return create().mergeFrom(buildPartial());
1188       }
1189
1190       public com.google.protobuf.Descriptors.Descriptor
1191           getDescriptorForType() {
1192         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1193       }
1194
1195       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification getDefaultInstanceForType() {
1196         return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.getDefaultInstance();
1197       }
1198
1199       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification build() {
1200         org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification result = buildPartial();
1201         if (!result.isInitialized()) {
1202           throw newUninitializedMessageException(result);
1203         }
1204         return result;
1205       }
1206
1207       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification buildPartial() {
1208         org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification result = new org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification(this);
1209         int from_bitField0_ = bitField0_;
1210         if (modificationBuilder_ == null) {
1211           if (((bitField0_ & 0x00000001) == 0x00000001)) {
1212             modification_ = java.util.Collections.unmodifiableList(modification_);
1213             bitField0_ = (bitField0_ & ~0x00000001);
1214           }
1215           result.modification_ = modification_;
1216         } else {
1217           result.modification_ = modificationBuilder_.build();
1218         }
1219         onBuilt();
1220         return result;
1221       }
1222
1223       public Builder mergeFrom(com.google.protobuf.Message other) {
1224         if (other instanceof org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) {
1225           return mergeFrom((org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification)other);
1226         } else {
1227           super.mergeFrom(other);
1228           return this;
1229         }
1230       }
1231
1232       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification other) {
1233         if (other == org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.getDefaultInstance()) return this;
1234         if (modificationBuilder_ == null) {
1235           if (!other.modification_.isEmpty()) {
1236             if (modification_.isEmpty()) {
1237               modification_ = other.modification_;
1238               bitField0_ = (bitField0_ & ~0x00000001);
1239             } else {
1240               ensureModificationIsMutable();
1241               modification_.addAll(other.modification_);
1242             }
1243             onChanged();
1244           }
1245         } else {
1246           if (!other.modification_.isEmpty()) {
1247             if (modificationBuilder_.isEmpty()) {
1248               modificationBuilder_.dispose();
1249               modificationBuilder_ = null;
1250               modification_ = other.modification_;
1251               bitField0_ = (bitField0_ & ~0x00000001);
1252               modificationBuilder_ =
1253                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1254                    getModificationFieldBuilder() : null;
1255             } else {
1256               modificationBuilder_.addAllMessages(other.modification_);
1257             }
1258           }
1259         }
1260         this.mergeUnknownFields(other.getUnknownFields());
1261         return this;
1262       }
1263
1264       public final boolean isInitialized() {
1265         for (int i = 0; i < getModificationCount(); i++) {
1266           if (!getModification(i).isInitialized()) {
1267
1268             return false;
1269           }
1270         }
1271         return true;
1272       }
1273
1274       public Builder mergeFrom(
1275           com.google.protobuf.CodedInputStream input,
1276           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1277           throws java.io.IOException {
1278         org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parsedMessage = null;
1279         try {
1280           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1281         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1282           parsedMessage = (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) e.getUnfinishedMessage();
1283           throw e;
1284         } finally {
1285           if (parsedMessage != null) {
1286             mergeFrom(parsedMessage);
1287           }
1288         }
1289         return this;
1290       }
1291       private int bitField0_;
1292
1293       // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
1294       private java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> modification_ =
1295         java.util.Collections.emptyList();
1296       private void ensureModificationIsMutable() {
1297         if (!((bitField0_ & 0x00000001) == 0x00000001)) {
1298           modification_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>(modification_);
1299           bitField0_ |= 0x00000001;
1300          }
1301       }
1302
1303       private com.google.protobuf.RepeatedFieldBuilder<
1304           org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder> modificationBuilder_;
1305
1306       /**
1307        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1308        */
1309       public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> getModificationList() {
1310         if (modificationBuilder_ == null) {
1311           return java.util.Collections.unmodifiableList(modification_);
1312         } else {
1313           return modificationBuilder_.getMessageList();
1314         }
1315       }
1316       /**
1317        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1318        */
1319       public int getModificationCount() {
1320         if (modificationBuilder_ == null) {
1321           return modification_.size();
1322         } else {
1323           return modificationBuilder_.getCount();
1324         }
1325       }
1326       /**
1327        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1328        */
1329       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(int index) {
1330         if (modificationBuilder_ == null) {
1331           return modification_.get(index);
1332         } else {
1333           return modificationBuilder_.getMessage(index);
1334         }
1335       }
1336       /**
1337        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1338        */
1339       public Builder setModification(
1340           int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1341         if (modificationBuilder_ == null) {
1342           if (value == null) {
1343             throw new NullPointerException();
1344           }
1345           ensureModificationIsMutable();
1346           modification_.set(index, value);
1347           onChanged();
1348         } else {
1349           modificationBuilder_.setMessage(index, value);
1350         }
1351         return this;
1352       }
1353       /**
1354        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1355        */
1356       public Builder setModification(
1357           int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1358         if (modificationBuilder_ == null) {
1359           ensureModificationIsMutable();
1360           modification_.set(index, builderForValue.build());
1361           onChanged();
1362         } else {
1363           modificationBuilder_.setMessage(index, builderForValue.build());
1364         }
1365         return this;
1366       }
1367       /**
1368        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1369        */
1370       public Builder addModification(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1371         if (modificationBuilder_ == null) {
1372           if (value == null) {
1373             throw new NullPointerException();
1374           }
1375           ensureModificationIsMutable();
1376           modification_.add(value);
1377           onChanged();
1378         } else {
1379           modificationBuilder_.addMessage(value);
1380         }
1381         return this;
1382       }
1383       /**
1384        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1385        */
1386       public Builder addModification(
1387           int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1388         if (modificationBuilder_ == null) {
1389           if (value == null) {
1390             throw new NullPointerException();
1391           }
1392           ensureModificationIsMutable();
1393           modification_.add(index, value);
1394           onChanged();
1395         } else {
1396           modificationBuilder_.addMessage(index, value);
1397         }
1398         return this;
1399       }
1400       /**
1401        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1402        */
1403       public Builder addModification(
1404           org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1405         if (modificationBuilder_ == null) {
1406           ensureModificationIsMutable();
1407           modification_.add(builderForValue.build());
1408           onChanged();
1409         } else {
1410           modificationBuilder_.addMessage(builderForValue.build());
1411         }
1412         return this;
1413       }
1414       /**
1415        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1416        */
1417       public Builder addModification(
1418           int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1419         if (modificationBuilder_ == null) {
1420           ensureModificationIsMutable();
1421           modification_.add(index, builderForValue.build());
1422           onChanged();
1423         } else {
1424           modificationBuilder_.addMessage(index, builderForValue.build());
1425         }
1426         return this;
1427       }
1428       /**
1429        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1430        */
1431       public Builder addAllModification(
1432           java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> values) {
1433         if (modificationBuilder_ == null) {
1434           ensureModificationIsMutable();
1435           super.addAll(values, modification_);
1436           onChanged();
1437         } else {
1438           modificationBuilder_.addAllMessages(values);
1439         }
1440         return this;
1441       }
1442       /**
1443        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1444        */
1445       public Builder clearModification() {
1446         if (modificationBuilder_ == null) {
1447           modification_ = java.util.Collections.emptyList();
1448           bitField0_ = (bitField0_ & ~0x00000001);
1449           onChanged();
1450         } else {
1451           modificationBuilder_.clear();
1452         }
1453         return this;
1454       }
1455       /**
1456        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1457        */
1458       public Builder removeModification(int index) {
1459         if (modificationBuilder_ == null) {
1460           ensureModificationIsMutable();
1461           modification_.remove(index);
1462           onChanged();
1463         } else {
1464           modificationBuilder_.remove(index);
1465         }
1466         return this;
1467       }
1468       /**
1469        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1470        */
1471       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder getModificationBuilder(
1472           int index) {
1473         return getModificationFieldBuilder().getBuilder(index);
1474       }
1475       /**
1476        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1477        */
1478       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1479           int index) {
1480         if (modificationBuilder_ == null) {
1481           return modification_.get(index);  } else {
1482           return modificationBuilder_.getMessageOrBuilder(index);
1483         }
1484       }
1485       /**
1486        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1487        */
1488       public java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1489            getModificationOrBuilderList() {
1490         if (modificationBuilder_ != null) {
1491           return modificationBuilder_.getMessageOrBuilderList();
1492         } else {
1493           return java.util.Collections.unmodifiableList(modification_);
1494         }
1495       }
1496       /**
1497        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1498        */
1499       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder addModificationBuilder() {
1500         return getModificationFieldBuilder().addBuilder(
1501             org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance());
1502       }
1503       /**
1504        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1505        */
1506       public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder addModificationBuilder(
1507           int index) {
1508         return getModificationFieldBuilder().addBuilder(
1509             index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance());
1510       }
1511       /**
1512        * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1513        */
1514       public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder>
1515            getModificationBuilderList() {
1516         return getModificationFieldBuilder().getBuilderList();
1517       }
1518       private com.google.protobuf.RepeatedFieldBuilder<
1519           org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1520           getModificationFieldBuilder() {
1521         if (modificationBuilder_ == null) {
1522           modificationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1523               org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>(
1524                   modification_,
1525                   ((bitField0_ & 0x00000001) == 0x00000001),
1526                   getParentForChildren(),
1527                   isClean());
1528           modification_ = null;
1529         }
1530         return modificationBuilder_;
1531       }
1532
1533       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CompositeModification)
1534     }
1535
1536     static {
1537       defaultInstance = new CompositeModification(true);
1538       defaultInstance.initFields();
1539     }
1540
1541     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CompositeModification)
1542   }
1543
1544   private static com.google.protobuf.Descriptors.Descriptor
1545     internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
1546   private static
1547     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1548       internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable;
1549   private static com.google.protobuf.Descriptors.Descriptor
1550     internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1551   private static
1552     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1553       internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable;
1554
1555   public static com.google.protobuf.Descriptors.FileDescriptor
1556       getDescriptor() {
1557     return descriptor;
1558   }
1559   private static com.google.protobuf.Descriptors.FileDescriptor
1560       descriptor;
1561   static {
1562     java.lang.String[] descriptorData = {
1563       "\n\020Persistent.proto\022!org.opendaylight.con" +
1564       "troller.mdsal\032\014Common.proto\"a\n\014Modificat" +
1565       "ion\022\014\n\004type\030\001 \002(\t\022\014\n\004path\030\002 \002(\t\0225\n\004data\030" +
1566       "\003 \001(\0132\'.org.opendaylight.controller.mdsa" +
1567       "l.Node\"^\n\025CompositeModification\022E\n\014modif" +
1568       "ication\030\001 \003(\0132/.org.opendaylight.control" +
1569       "ler.mdsal.ModificationBO\n9org.opendaylig" +
1570       "ht.controller.protobuff.messages.persist" +
1571       "entB\022PersistentMessages"
1572     };
1573     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1574       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1575         public com.google.protobuf.ExtensionRegistry assignDescriptors(
1576             com.google.protobuf.Descriptors.FileDescriptor root) {
1577           descriptor = root;
1578           internal_static_org_opendaylight_controller_mdsal_Modification_descriptor =
1579             getDescriptor().getMessageTypes().get(0);
1580           internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable = new
1581             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1582               internal_static_org_opendaylight_controller_mdsal_Modification_descriptor,
1583               new java.lang.String[] { "Type", "Path", "Data", });
1584           internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor =
1585             getDescriptor().getMessageTypes().get(1);
1586           internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable = new
1587             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1588               internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor,
1589               new java.lang.String[] { "Modification", });
1590           return null;
1591         }
1592       };
1593     com.google.protobuf.Descriptors.FileDescriptor
1594       .internalBuildGeneratedFileFrom(descriptorData,
1595         new com.google.protobuf.Descriptors.FileDescriptor[] {
1596           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
1597         }, assigner);
1598   }
1599
1600   // @@protoc_insertion_point(outer_class_scope)
1601 }