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