BUG-5280: switch transactionIdentifier
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / protobuff / messages / transaction / ShardTransactionMessages.java
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: ShardTransaction.proto
3
4 package org.opendaylight.controller.protobuff.messages.transaction;
5
6 @Deprecated
7 public final class ShardTransactionMessages {
8   private ShardTransactionMessages() {}
9   public static void registerAllExtensions(
10       com.google.protobuf.ExtensionRegistry registry) {
11   }
12   public interface CloseTransactionOrBuilder
13       extends com.google.protobuf.MessageOrBuilder {
14   }
15   /**
16    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
17    */
18   public static final class CloseTransaction extends
19       com.google.protobuf.GeneratedMessage
20       implements CloseTransactionOrBuilder {
21     // Use CloseTransaction.newBuilder() to construct.
22     private CloseTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
23       super(builder);
24       this.unknownFields = builder.getUnknownFields();
25     }
26     private CloseTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
27
28     private static final CloseTransaction defaultInstance;
29     public static CloseTransaction getDefaultInstance() {
30       return defaultInstance;
31     }
32
33     @Override
34     public CloseTransaction getDefaultInstanceForType() {
35       return defaultInstance;
36     }
37
38     private final com.google.protobuf.UnknownFieldSet unknownFields;
39     @java.lang.Override
40     public final com.google.protobuf.UnknownFieldSet
41         getUnknownFields() {
42       return this.unknownFields;
43     }
44     private CloseTransaction(
45         com.google.protobuf.CodedInputStream input,
46         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
47         throws com.google.protobuf.InvalidProtocolBufferException {
48       initFields();
49       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
50           com.google.protobuf.UnknownFieldSet.newBuilder();
51       try {
52         boolean done = false;
53         while (!done) {
54           int tag = input.readTag();
55           switch (tag) {
56             case 0:
57               done = true;
58               break;
59             default: {
60               if (!parseUnknownField(input, unknownFields,
61                                      extensionRegistry, tag)) {
62                 done = true;
63               }
64               break;
65             }
66           }
67         }
68       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
69         throw e.setUnfinishedMessage(this);
70       } catch (java.io.IOException e) {
71         throw new com.google.protobuf.InvalidProtocolBufferException(
72             e.getMessage()).setUnfinishedMessage(this);
73       } finally {
74         this.unknownFields = unknownFields.build();
75         makeExtensionsImmutable();
76       }
77     }
78     public static final com.google.protobuf.Descriptors.Descriptor
79         getDescriptor() {
80       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
81     }
82
83     @Override
84     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
85         internalGetFieldAccessorTable() {
86       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
87           .ensureFieldAccessorsInitialized(
88               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
89     }
90
91     public static com.google.protobuf.Parser<CloseTransaction> PARSER =
92         new com.google.protobuf.AbstractParser<CloseTransaction>() {
93       @Override
94     public CloseTransaction parsePartialFrom(
95           com.google.protobuf.CodedInputStream input,
96           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
97           throws com.google.protobuf.InvalidProtocolBufferException {
98         return new CloseTransaction(input, extensionRegistry);
99       }
100     };
101
102     @java.lang.Override
103     public com.google.protobuf.Parser<CloseTransaction> getParserForType() {
104       return PARSER;
105     }
106
107     private void initFields() {
108     }
109     private byte memoizedIsInitialized = -1;
110     @Override
111     public final boolean isInitialized() {
112       byte isInitialized = memoizedIsInitialized;
113       if (isInitialized != -1) {
114         return isInitialized == 1;
115     }
116
117       memoizedIsInitialized = 1;
118       return true;
119     }
120
121     @Override
122     public void writeTo(com.google.protobuf.CodedOutputStream output)
123                         throws java.io.IOException {
124       getSerializedSize();
125       getUnknownFields().writeTo(output);
126     }
127
128     private int memoizedSerializedSize = -1;
129     @Override
130     public int getSerializedSize() {
131       int size = memoizedSerializedSize;
132       if (size != -1) {
133         return size;
134     }
135
136       size = 0;
137       size += getUnknownFields().getSerializedSize();
138       memoizedSerializedSize = size;
139       return size;
140     }
141
142     private static final long serialVersionUID = 0L;
143     @java.lang.Override
144     protected java.lang.Object writeReplace()
145         throws java.io.ObjectStreamException {
146       return super.writeReplace();
147     }
148
149     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
150         com.google.protobuf.ByteString data)
151         throws com.google.protobuf.InvalidProtocolBufferException {
152       return PARSER.parseFrom(data);
153     }
154     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
155         com.google.protobuf.ByteString data,
156         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
157         throws com.google.protobuf.InvalidProtocolBufferException {
158       return PARSER.parseFrom(data, extensionRegistry);
159     }
160     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(byte[] data)
161         throws com.google.protobuf.InvalidProtocolBufferException {
162       return PARSER.parseFrom(data);
163     }
164     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
165         byte[] data,
166         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
167         throws com.google.protobuf.InvalidProtocolBufferException {
168       return PARSER.parseFrom(data, extensionRegistry);
169     }
170     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(java.io.InputStream input)
171         throws java.io.IOException {
172       return PARSER.parseFrom(input);
173     }
174     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
175         java.io.InputStream input,
176         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
177         throws java.io.IOException {
178       return PARSER.parseFrom(input, extensionRegistry);
179     }
180     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(java.io.InputStream input)
181         throws java.io.IOException {
182       return PARSER.parseDelimitedFrom(input);
183     }
184     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(
185         java.io.InputStream input,
186         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
187         throws java.io.IOException {
188       return PARSER.parseDelimitedFrom(input, extensionRegistry);
189     }
190     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
191         com.google.protobuf.CodedInputStream input)
192         throws java.io.IOException {
193       return PARSER.parseFrom(input);
194     }
195     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
196         com.google.protobuf.CodedInputStream input,
197         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
198         throws java.io.IOException {
199       return PARSER.parseFrom(input, extensionRegistry);
200     }
201
202     public static Builder newBuilder() { return Builder.create(); }
203     @Override
204     public Builder newBuilderForType() { return newBuilder(); }
205     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction prototype) {
206       return newBuilder().mergeFrom(prototype);
207     }
208     @Override
209     public Builder toBuilder() { return newBuilder(this); }
210
211     @java.lang.Override
212     protected Builder newBuilderForType(
213         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
214       Builder builder = new Builder(parent);
215       return builder;
216     }
217     /**
218      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
219      */
220     public static final class Builder extends
221         com.google.protobuf.GeneratedMessage.Builder<Builder>
222        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionOrBuilder {
223       public static final com.google.protobuf.Descriptors.Descriptor
224           getDescriptor() {
225         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
226       }
227
228       @Override
229     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
230           internalGetFieldAccessorTable() {
231         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
232             .ensureFieldAccessorsInitialized(
233                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
234       }
235
236       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.newBuilder()
237       private Builder() {
238         maybeForceBuilderInitialization();
239       }
240
241       private Builder(
242           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
243         super(parent);
244         maybeForceBuilderInitialization();
245       }
246       private void maybeForceBuilderInitialization() {
247         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
248         }
249       }
250       private static Builder create() {
251         return new Builder();
252       }
253
254       @Override
255     public Builder clear() {
256         super.clear();
257         return this;
258       }
259
260       @Override
261     public Builder clone() {
262         return create().mergeFrom(buildPartial());
263       }
264
265       @Override
266     public com.google.protobuf.Descriptors.Descriptor
267           getDescriptorForType() {
268         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
269       }
270
271       @Override
272     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction getDefaultInstanceForType() {
273         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance();
274       }
275
276       @Override
277     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction build() {
278         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = buildPartial();
279         if (!result.isInitialized()) {
280           throw newUninitializedMessageException(result);
281         }
282         return result;
283       }
284
285       @Override
286     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction buildPartial() {
287         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction(this);
288         onBuilt();
289         return result;
290       }
291
292       @Override
293     public Builder mergeFrom(com.google.protobuf.Message other) {
294         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) {
295           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction)other);
296         } else {
297           super.mergeFrom(other);
298           return this;
299         }
300       }
301
302       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction other) {
303         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance()) {
304             return this;
305         }
306         this.mergeUnknownFields(other.getUnknownFields());
307         return this;
308       }
309
310       @Override
311     public final boolean isInitialized() {
312         return true;
313       }
314
315       @Override
316     public Builder mergeFrom(
317           com.google.protobuf.CodedInputStream input,
318           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
319           throws java.io.IOException {
320         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parsedMessage = null;
321         try {
322           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
323         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
324           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) e.getUnfinishedMessage();
325           throw e;
326         } finally {
327           if (parsedMessage != null) {
328             mergeFrom(parsedMessage);
329           }
330         }
331         return this;
332       }
333
334       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransaction)
335     }
336
337     static {
338       defaultInstance = new CloseTransaction(true);
339       defaultInstance.initFields();
340     }
341
342     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransaction)
343   }
344
345   public interface CloseTransactionReplyOrBuilder
346       extends com.google.protobuf.MessageOrBuilder {
347   }
348   /**
349    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
350    */
351   public static final class CloseTransactionReply extends
352       com.google.protobuf.GeneratedMessage
353       implements CloseTransactionReplyOrBuilder {
354     // Use CloseTransactionReply.newBuilder() to construct.
355     private CloseTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
356       super(builder);
357       this.unknownFields = builder.getUnknownFields();
358     }
359     private CloseTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
360
361     private static final CloseTransactionReply defaultInstance;
362     public static CloseTransactionReply getDefaultInstance() {
363       return defaultInstance;
364     }
365
366     @Override
367     public CloseTransactionReply getDefaultInstanceForType() {
368       return defaultInstance;
369     }
370
371     private final com.google.protobuf.UnknownFieldSet unknownFields;
372     @java.lang.Override
373     public final com.google.protobuf.UnknownFieldSet
374         getUnknownFields() {
375       return this.unknownFields;
376     }
377     private CloseTransactionReply(
378         com.google.protobuf.CodedInputStream input,
379         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
380         throws com.google.protobuf.InvalidProtocolBufferException {
381       initFields();
382       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
383           com.google.protobuf.UnknownFieldSet.newBuilder();
384       try {
385         boolean done = false;
386         while (!done) {
387           int tag = input.readTag();
388           switch (tag) {
389             case 0:
390               done = true;
391               break;
392             default: {
393               if (!parseUnknownField(input, unknownFields,
394                                      extensionRegistry, tag)) {
395                 done = true;
396               }
397               break;
398             }
399           }
400         }
401       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
402         throw e.setUnfinishedMessage(this);
403       } catch (java.io.IOException e) {
404         throw new com.google.protobuf.InvalidProtocolBufferException(
405             e.getMessage()).setUnfinishedMessage(this);
406       } finally {
407         this.unknownFields = unknownFields.build();
408         makeExtensionsImmutable();
409       }
410     }
411     public static final com.google.protobuf.Descriptors.Descriptor
412         getDescriptor() {
413       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
414     }
415
416     @Override
417     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
418         internalGetFieldAccessorTable() {
419       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
420           .ensureFieldAccessorsInitialized(
421               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
422     }
423
424     public static com.google.protobuf.Parser<CloseTransactionReply> PARSER =
425         new com.google.protobuf.AbstractParser<CloseTransactionReply>() {
426       @Override
427     public CloseTransactionReply parsePartialFrom(
428           com.google.protobuf.CodedInputStream input,
429           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
430           throws com.google.protobuf.InvalidProtocolBufferException {
431         return new CloseTransactionReply(input, extensionRegistry);
432       }
433     };
434
435     @java.lang.Override
436     public com.google.protobuf.Parser<CloseTransactionReply> getParserForType() {
437       return PARSER;
438     }
439
440     private void initFields() {
441     }
442     private byte memoizedIsInitialized = -1;
443     @Override
444     public final boolean isInitialized() {
445       byte isInitialized = memoizedIsInitialized;
446       if (isInitialized != -1) {
447         return isInitialized == 1;
448     }
449
450       memoizedIsInitialized = 1;
451       return true;
452     }
453
454     @Override
455     public void writeTo(com.google.protobuf.CodedOutputStream output)
456                         throws java.io.IOException {
457       getSerializedSize();
458       getUnknownFields().writeTo(output);
459     }
460
461     private int memoizedSerializedSize = -1;
462     @Override
463     public int getSerializedSize() {
464       int size = memoizedSerializedSize;
465       if (size != -1) {
466         return size;
467     }
468
469       size = 0;
470       size += getUnknownFields().getSerializedSize();
471       memoizedSerializedSize = size;
472       return size;
473     }
474
475     private static final long serialVersionUID = 0L;
476     @java.lang.Override
477     protected java.lang.Object writeReplace()
478         throws java.io.ObjectStreamException {
479       return super.writeReplace();
480     }
481
482     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
483         com.google.protobuf.ByteString data)
484         throws com.google.protobuf.InvalidProtocolBufferException {
485       return PARSER.parseFrom(data);
486     }
487     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
488         com.google.protobuf.ByteString data,
489         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
490         throws com.google.protobuf.InvalidProtocolBufferException {
491       return PARSER.parseFrom(data, extensionRegistry);
492     }
493     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(byte[] data)
494         throws com.google.protobuf.InvalidProtocolBufferException {
495       return PARSER.parseFrom(data);
496     }
497     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
498         byte[] data,
499         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
500         throws com.google.protobuf.InvalidProtocolBufferException {
501       return PARSER.parseFrom(data, extensionRegistry);
502     }
503     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(java.io.InputStream input)
504         throws java.io.IOException {
505       return PARSER.parseFrom(input);
506     }
507     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
508         java.io.InputStream input,
509         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
510         throws java.io.IOException {
511       return PARSER.parseFrom(input, extensionRegistry);
512     }
513     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(java.io.InputStream input)
514         throws java.io.IOException {
515       return PARSER.parseDelimitedFrom(input);
516     }
517     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(
518         java.io.InputStream input,
519         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
520         throws java.io.IOException {
521       return PARSER.parseDelimitedFrom(input, extensionRegistry);
522     }
523     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
524         com.google.protobuf.CodedInputStream input)
525         throws java.io.IOException {
526       return PARSER.parseFrom(input);
527     }
528     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
529         com.google.protobuf.CodedInputStream input,
530         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
531         throws java.io.IOException {
532       return PARSER.parseFrom(input, extensionRegistry);
533     }
534
535     public static Builder newBuilder() { return Builder.create(); }
536     @Override
537     public Builder newBuilderForType() { return newBuilder(); }
538     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply prototype) {
539       return newBuilder().mergeFrom(prototype);
540     }
541     @Override
542     public Builder toBuilder() { return newBuilder(this); }
543
544     @java.lang.Override
545     protected Builder newBuilderForType(
546         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
547       Builder builder = new Builder(parent);
548       return builder;
549     }
550     /**
551      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
552      */
553     public static final class Builder extends
554         com.google.protobuf.GeneratedMessage.Builder<Builder>
555        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReplyOrBuilder {
556       public static final com.google.protobuf.Descriptors.Descriptor
557           getDescriptor() {
558         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
559       }
560
561       @Override
562     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
563           internalGetFieldAccessorTable() {
564         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
565             .ensureFieldAccessorsInitialized(
566                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
567       }
568
569       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.newBuilder()
570       private Builder() {
571         maybeForceBuilderInitialization();
572       }
573
574       private Builder(
575           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
576         super(parent);
577         maybeForceBuilderInitialization();
578       }
579       private void maybeForceBuilderInitialization() {
580         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
581         }
582       }
583       private static Builder create() {
584         return new Builder();
585       }
586
587       @Override
588     public Builder clear() {
589         super.clear();
590         return this;
591       }
592
593       @Override
594     public Builder clone() {
595         return create().mergeFrom(buildPartial());
596       }
597
598       @Override
599     public com.google.protobuf.Descriptors.Descriptor
600           getDescriptorForType() {
601         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
602       }
603
604       @Override
605     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply getDefaultInstanceForType() {
606         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance();
607       }
608
609       @Override
610     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply build() {
611         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = buildPartial();
612         if (!result.isInitialized()) {
613           throw newUninitializedMessageException(result);
614         }
615         return result;
616       }
617
618       @Override
619     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply buildPartial() {
620         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply(this);
621         onBuilt();
622         return result;
623       }
624
625       @Override
626     public Builder mergeFrom(com.google.protobuf.Message other) {
627         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) {
628           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply)other);
629         } else {
630           super.mergeFrom(other);
631           return this;
632         }
633       }
634
635       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply other) {
636         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance()) {
637             return this;
638         }
639         this.mergeUnknownFields(other.getUnknownFields());
640         return this;
641       }
642
643       @Override
644     public final boolean isInitialized() {
645         return true;
646       }
647
648       @Override
649     public Builder mergeFrom(
650           com.google.protobuf.CodedInputStream input,
651           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
652           throws java.io.IOException {
653         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parsedMessage = null;
654         try {
655           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
656         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
657           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) e.getUnfinishedMessage();
658           throw e;
659         } finally {
660           if (parsedMessage != null) {
661             mergeFrom(parsedMessage);
662           }
663         }
664         return this;
665       }
666
667       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
668     }
669
670     static {
671       defaultInstance = new CloseTransactionReply(true);
672       defaultInstance.initFields();
673     }
674
675     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
676   }
677
678   public interface CreateTransactionOrBuilder
679       extends com.google.protobuf.MessageOrBuilder {
680
681     // required string transactionId = 1;
682     /**
683      * <code>required string transactionId = 1;</code>
684      */
685     boolean hasTransactionId();
686     /**
687      * <code>required string transactionId = 1;</code>
688      */
689     java.lang.String getTransactionId();
690     /**
691      * <code>required string transactionId = 1;</code>
692      */
693     com.google.protobuf.ByteString
694         getTransactionIdBytes();
695
696     // required int32 transactionType = 2;
697     /**
698      * <code>required int32 transactionType = 2;</code>
699      */
700     boolean hasTransactionType();
701     /**
702      * <code>required int32 transactionType = 2;</code>
703      */
704     int getTransactionType();
705
706     // optional string transactionChainId = 3;
707     /**
708      * <code>optional string transactionChainId = 3;</code>
709      */
710     boolean hasTransactionChainId();
711     /**
712      * <code>optional string transactionChainId = 3;</code>
713      */
714     java.lang.String getTransactionChainId();
715     /**
716      * <code>optional string transactionChainId = 3;</code>
717      */
718     com.google.protobuf.ByteString
719         getTransactionChainIdBytes();
720
721     // optional int32 messageVersion = 4;
722     /**
723      * <code>optional int32 messageVersion = 4;</code>
724      */
725     boolean hasMessageVersion();
726     /**
727      * <code>optional int32 messageVersion = 4;</code>
728      */
729     int getMessageVersion();
730   }
731   /**
732    * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
733    */
734   public static final class CreateTransaction extends
735       com.google.protobuf.GeneratedMessage
736       implements CreateTransactionOrBuilder {
737     // Use CreateTransaction.newBuilder() to construct.
738     private CreateTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
739       super(builder);
740       this.unknownFields = builder.getUnknownFields();
741     }
742     private CreateTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
743
744     private static final CreateTransaction defaultInstance;
745     public static CreateTransaction getDefaultInstance() {
746       return defaultInstance;
747     }
748
749     @Override
750     public CreateTransaction getDefaultInstanceForType() {
751       return defaultInstance;
752     }
753
754     private final com.google.protobuf.UnknownFieldSet unknownFields;
755     @java.lang.Override
756     public final com.google.protobuf.UnknownFieldSet
757         getUnknownFields() {
758       return this.unknownFields;
759     }
760     private CreateTransaction(
761         com.google.protobuf.CodedInputStream input,
762         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
763         throws com.google.protobuf.InvalidProtocolBufferException {
764       initFields();
765       int mutable_bitField0_ = 0;
766       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
767           com.google.protobuf.UnknownFieldSet.newBuilder();
768       try {
769         boolean done = false;
770         while (!done) {
771           int tag = input.readTag();
772           switch (tag) {
773             case 0:
774               done = true;
775               break;
776             default: {
777               if (!parseUnknownField(input, unknownFields,
778                                      extensionRegistry, tag)) {
779                 done = true;
780               }
781               break;
782             }
783             case 10: {
784               bitField0_ |= 0x00000001;
785               transactionId_ = input.readBytes();
786               break;
787             }
788             case 16: {
789               bitField0_ |= 0x00000002;
790               transactionType_ = input.readInt32();
791               break;
792             }
793             case 26: {
794               bitField0_ |= 0x00000004;
795               transactionChainId_ = input.readBytes();
796               break;
797             }
798             case 32: {
799               bitField0_ |= 0x00000008;
800               messageVersion_ = input.readInt32();
801               break;
802             }
803           }
804         }
805       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
806         throw e.setUnfinishedMessage(this);
807       } catch (java.io.IOException e) {
808         throw new com.google.protobuf.InvalidProtocolBufferException(
809             e.getMessage()).setUnfinishedMessage(this);
810       } finally {
811         this.unknownFields = unknownFields.build();
812         makeExtensionsImmutable();
813       }
814     }
815     public static final com.google.protobuf.Descriptors.Descriptor
816         getDescriptor() {
817       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
818     }
819
820     @Override
821     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
822         internalGetFieldAccessorTable() {
823       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
824           .ensureFieldAccessorsInitialized(
825               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
826     }
827
828     public static com.google.protobuf.Parser<CreateTransaction> PARSER =
829         new com.google.protobuf.AbstractParser<CreateTransaction>() {
830       @Override
831     public CreateTransaction parsePartialFrom(
832           com.google.protobuf.CodedInputStream input,
833           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
834           throws com.google.protobuf.InvalidProtocolBufferException {
835         return new CreateTransaction(input, extensionRegistry);
836       }
837     };
838
839     @java.lang.Override
840     public com.google.protobuf.Parser<CreateTransaction> getParserForType() {
841       return PARSER;
842     }
843
844     private int bitField0_;
845     // required string transactionId = 1;
846     public static final int TRANSACTIONID_FIELD_NUMBER = 1;
847     private java.lang.Object transactionId_;
848     /**
849      * <code>required string transactionId = 1;</code>
850      */
851     @Override
852     public boolean hasTransactionId() {
853       return ((bitField0_ & 0x00000001) == 0x00000001);
854     }
855     /**
856      * <code>required string transactionId = 1;</code>
857      */
858     @Override
859     public java.lang.String getTransactionId() {
860       java.lang.Object ref = transactionId_;
861       if (ref instanceof java.lang.String) {
862         return (java.lang.String) ref;
863       } else {
864         com.google.protobuf.ByteString bs =
865             (com.google.protobuf.ByteString) ref;
866         java.lang.String s = bs.toStringUtf8();
867         if (bs.isValidUtf8()) {
868           transactionId_ = s;
869         }
870         return s;
871       }
872     }
873     /**
874      * <code>required string transactionId = 1;</code>
875      */
876     @Override
877     public com.google.protobuf.ByteString
878         getTransactionIdBytes() {
879       java.lang.Object ref = transactionId_;
880       if (ref instanceof java.lang.String) {
881         com.google.protobuf.ByteString b =
882             com.google.protobuf.ByteString.copyFromUtf8(
883                 (java.lang.String) ref);
884         transactionId_ = b;
885         return b;
886       } else {
887         return (com.google.protobuf.ByteString) ref;
888       }
889     }
890
891     // required int32 transactionType = 2;
892     public static final int TRANSACTIONTYPE_FIELD_NUMBER = 2;
893     private int transactionType_;
894     /**
895      * <code>required int32 transactionType = 2;</code>
896      */
897     @Override
898     public boolean hasTransactionType() {
899       return ((bitField0_ & 0x00000002) == 0x00000002);
900     }
901     /**
902      * <code>required int32 transactionType = 2;</code>
903      */
904     @Override
905     public int getTransactionType() {
906       return transactionType_;
907     }
908
909     // optional string transactionChainId = 3;
910     public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 3;
911     private java.lang.Object transactionChainId_;
912     /**
913      * <code>optional string transactionChainId = 3;</code>
914      */
915     @Override
916     public boolean hasTransactionChainId() {
917       return ((bitField0_ & 0x00000004) == 0x00000004);
918     }
919     /**
920      * <code>optional string transactionChainId = 3;</code>
921      */
922     @Override
923     public java.lang.String getTransactionChainId() {
924       java.lang.Object ref = transactionChainId_;
925       if (ref instanceof java.lang.String) {
926         return (java.lang.String) ref;
927       } else {
928         com.google.protobuf.ByteString bs =
929             (com.google.protobuf.ByteString) ref;
930         java.lang.String s = bs.toStringUtf8();
931         if (bs.isValidUtf8()) {
932           transactionChainId_ = s;
933         }
934         return s;
935       }
936     }
937     /**
938      * <code>optional string transactionChainId = 3;</code>
939      */
940     @Override
941     public com.google.protobuf.ByteString
942         getTransactionChainIdBytes() {
943       java.lang.Object ref = transactionChainId_;
944       if (ref instanceof java.lang.String) {
945         com.google.protobuf.ByteString b =
946             com.google.protobuf.ByteString.copyFromUtf8(
947                 (java.lang.String) ref);
948         transactionChainId_ = b;
949         return b;
950       } else {
951         return (com.google.protobuf.ByteString) ref;
952       }
953     }
954
955     // optional int32 messageVersion = 4;
956     public static final int MESSAGEVERSION_FIELD_NUMBER = 4;
957     private int messageVersion_;
958     /**
959      * <code>optional int32 messageVersion = 4;</code>
960      */
961     @Override
962     public boolean hasMessageVersion() {
963       return ((bitField0_ & 0x00000008) == 0x00000008);
964     }
965     /**
966      * <code>optional int32 messageVersion = 4;</code>
967      */
968     @Override
969     public int getMessageVersion() {
970       return messageVersion_;
971     }
972
973     private void initFields() {
974       transactionId_ = "";
975       transactionType_ = 0;
976       transactionChainId_ = "";
977       messageVersion_ = 0;
978     }
979     private byte memoizedIsInitialized = -1;
980     @Override
981     public final boolean isInitialized() {
982       byte isInitialized = memoizedIsInitialized;
983       if (isInitialized != -1) {
984         return isInitialized == 1;
985     }
986
987       if (!hasTransactionId()) {
988         memoizedIsInitialized = 0;
989         return false;
990       }
991       if (!hasTransactionType()) {
992         memoizedIsInitialized = 0;
993         return false;
994       }
995       memoizedIsInitialized = 1;
996       return true;
997     }
998
999     @Override
1000     public void writeTo(com.google.protobuf.CodedOutputStream output)
1001                         throws java.io.IOException {
1002       getSerializedSize();
1003       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1004         output.writeBytes(1, getTransactionIdBytes());
1005       }
1006       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1007         output.writeInt32(2, transactionType_);
1008       }
1009       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1010         output.writeBytes(3, getTransactionChainIdBytes());
1011       }
1012       if (((bitField0_ & 0x00000008) == 0x00000008)) {
1013         output.writeInt32(4, messageVersion_);
1014       }
1015       getUnknownFields().writeTo(output);
1016     }
1017
1018     private int memoizedSerializedSize = -1;
1019     @Override
1020     public int getSerializedSize() {
1021       int size = memoizedSerializedSize;
1022       if (size != -1) {
1023         return size;
1024     }
1025
1026       size = 0;
1027       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1028         size += com.google.protobuf.CodedOutputStream
1029           .computeBytesSize(1, getTransactionIdBytes());
1030       }
1031       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1032         size += com.google.protobuf.CodedOutputStream
1033           .computeInt32Size(2, transactionType_);
1034       }
1035       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1036         size += com.google.protobuf.CodedOutputStream
1037           .computeBytesSize(3, getTransactionChainIdBytes());
1038       }
1039       if (((bitField0_ & 0x00000008) == 0x00000008)) {
1040         size += com.google.protobuf.CodedOutputStream
1041           .computeInt32Size(4, messageVersion_);
1042       }
1043       size += getUnknownFields().getSerializedSize();
1044       memoizedSerializedSize = size;
1045       return size;
1046     }
1047
1048     private static final long serialVersionUID = 0L;
1049     @java.lang.Override
1050     protected java.lang.Object writeReplace()
1051         throws java.io.ObjectStreamException {
1052       return super.writeReplace();
1053     }
1054
1055     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1056         com.google.protobuf.ByteString data)
1057         throws com.google.protobuf.InvalidProtocolBufferException {
1058       return PARSER.parseFrom(data);
1059     }
1060     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1061         com.google.protobuf.ByteString data,
1062         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1063         throws com.google.protobuf.InvalidProtocolBufferException {
1064       return PARSER.parseFrom(data, extensionRegistry);
1065     }
1066     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(byte[] data)
1067         throws com.google.protobuf.InvalidProtocolBufferException {
1068       return PARSER.parseFrom(data);
1069     }
1070     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1071         byte[] data,
1072         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1073         throws com.google.protobuf.InvalidProtocolBufferException {
1074       return PARSER.parseFrom(data, extensionRegistry);
1075     }
1076     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(java.io.InputStream input)
1077         throws java.io.IOException {
1078       return PARSER.parseFrom(input);
1079     }
1080     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1081         java.io.InputStream input,
1082         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1083         throws java.io.IOException {
1084       return PARSER.parseFrom(input, extensionRegistry);
1085     }
1086     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(java.io.InputStream input)
1087         throws java.io.IOException {
1088       return PARSER.parseDelimitedFrom(input);
1089     }
1090     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(
1091         java.io.InputStream input,
1092         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1093         throws java.io.IOException {
1094       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1095     }
1096     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1097         com.google.protobuf.CodedInputStream input)
1098         throws java.io.IOException {
1099       return PARSER.parseFrom(input);
1100     }
1101     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1102         com.google.protobuf.CodedInputStream input,
1103         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1104         throws java.io.IOException {
1105       return PARSER.parseFrom(input, extensionRegistry);
1106     }
1107
1108     public static Builder newBuilder() { return Builder.create(); }
1109     @Override
1110     public Builder newBuilderForType() { return newBuilder(); }
1111     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction prototype) {
1112       return newBuilder().mergeFrom(prototype);
1113     }
1114     @Override
1115     public Builder toBuilder() { return newBuilder(this); }
1116
1117     @java.lang.Override
1118     protected Builder newBuilderForType(
1119         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1120       Builder builder = new Builder(parent);
1121       return builder;
1122     }
1123     /**
1124      * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
1125      */
1126     public static final class Builder extends
1127         com.google.protobuf.GeneratedMessage.Builder<Builder>
1128        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionOrBuilder {
1129       public static final com.google.protobuf.Descriptors.Descriptor
1130           getDescriptor() {
1131         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1132       }
1133
1134       @Override
1135     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1136           internalGetFieldAccessorTable() {
1137         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
1138             .ensureFieldAccessorsInitialized(
1139                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
1140       }
1141
1142       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.newBuilder()
1143       private Builder() {
1144         maybeForceBuilderInitialization();
1145       }
1146
1147       private Builder(
1148           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1149         super(parent);
1150         maybeForceBuilderInitialization();
1151       }
1152       private void maybeForceBuilderInitialization() {
1153         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1154         }
1155       }
1156       private static Builder create() {
1157         return new Builder();
1158       }
1159
1160       @Override
1161     public Builder clear() {
1162         super.clear();
1163         transactionId_ = "";
1164         bitField0_ = (bitField0_ & ~0x00000001);
1165         transactionType_ = 0;
1166         bitField0_ = (bitField0_ & ~0x00000002);
1167         transactionChainId_ = "";
1168         bitField0_ = (bitField0_ & ~0x00000004);
1169         messageVersion_ = 0;
1170         bitField0_ = (bitField0_ & ~0x00000008);
1171         return this;
1172       }
1173
1174       @Override
1175     public Builder clone() {
1176         return create().mergeFrom(buildPartial());
1177       }
1178
1179       @Override
1180     public com.google.protobuf.Descriptors.Descriptor
1181           getDescriptorForType() {
1182         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1183       }
1184
1185       @Override
1186     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction getDefaultInstanceForType() {
1187         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance();
1188       }
1189
1190       @Override
1191     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction build() {
1192         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = buildPartial();
1193         if (!result.isInitialized()) {
1194           throw newUninitializedMessageException(result);
1195         }
1196         return result;
1197       }
1198
1199       @Override
1200     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction buildPartial() {
1201         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction(this);
1202         int from_bitField0_ = bitField0_;
1203         int to_bitField0_ = 0;
1204         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1205           to_bitField0_ |= 0x00000001;
1206         }
1207         result.transactionId_ = transactionId_;
1208         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1209           to_bitField0_ |= 0x00000002;
1210         }
1211         result.transactionType_ = transactionType_;
1212         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1213           to_bitField0_ |= 0x00000004;
1214         }
1215         result.transactionChainId_ = transactionChainId_;
1216         if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1217           to_bitField0_ |= 0x00000008;
1218         }
1219         result.messageVersion_ = messageVersion_;
1220         result.bitField0_ = to_bitField0_;
1221         onBuilt();
1222         return result;
1223       }
1224
1225       @Override
1226     public Builder mergeFrom(com.google.protobuf.Message other) {
1227         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) {
1228           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction)other);
1229         } else {
1230           super.mergeFrom(other);
1231           return this;
1232         }
1233       }
1234
1235       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction other) {
1236         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance()) {
1237             return this;
1238         }
1239         if (other.hasTransactionId()) {
1240           bitField0_ |= 0x00000001;
1241           transactionId_ = other.transactionId_;
1242           onChanged();
1243         }
1244         if (other.hasTransactionType()) {
1245           setTransactionType(other.getTransactionType());
1246         }
1247         if (other.hasTransactionChainId()) {
1248           bitField0_ |= 0x00000004;
1249           transactionChainId_ = other.transactionChainId_;
1250           onChanged();
1251         }
1252         if (other.hasMessageVersion()) {
1253           setMessageVersion(other.getMessageVersion());
1254         }
1255         this.mergeUnknownFields(other.getUnknownFields());
1256         return this;
1257       }
1258
1259       @Override
1260     public final boolean isInitialized() {
1261         if (!hasTransactionId()) {
1262
1263           return false;
1264         }
1265         if (!hasTransactionType()) {
1266
1267           return false;
1268         }
1269         return true;
1270       }
1271
1272       @Override
1273     public Builder mergeFrom(
1274           com.google.protobuf.CodedInputStream input,
1275           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1276           throws java.io.IOException {
1277         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parsedMessage = null;
1278         try {
1279           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1280         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1281           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) e.getUnfinishedMessage();
1282           throw e;
1283         } finally {
1284           if (parsedMessage != null) {
1285             mergeFrom(parsedMessage);
1286           }
1287         }
1288         return this;
1289       }
1290       private int bitField0_;
1291
1292       // required string transactionId = 1;
1293       private java.lang.Object transactionId_ = "";
1294       /**
1295        * <code>required string transactionId = 1;</code>
1296        */
1297       @Override
1298     public boolean hasTransactionId() {
1299         return ((bitField0_ & 0x00000001) == 0x00000001);
1300       }
1301       /**
1302        * <code>required string transactionId = 1;</code>
1303        */
1304       @Override
1305     public java.lang.String getTransactionId() {
1306         java.lang.Object ref = transactionId_;
1307         if (!(ref instanceof java.lang.String)) {
1308           java.lang.String s = ((com.google.protobuf.ByteString) ref)
1309               .toStringUtf8();
1310           transactionId_ = s;
1311           return s;
1312         } else {
1313           return (java.lang.String) ref;
1314         }
1315       }
1316       /**
1317        * <code>required string transactionId = 1;</code>
1318        */
1319       @Override
1320     public com.google.protobuf.ByteString
1321           getTransactionIdBytes() {
1322         java.lang.Object ref = transactionId_;
1323         if (ref instanceof String) {
1324           com.google.protobuf.ByteString b =
1325               com.google.protobuf.ByteString.copyFromUtf8(
1326                   (java.lang.String) ref);
1327           transactionId_ = b;
1328           return b;
1329         } else {
1330           return (com.google.protobuf.ByteString) ref;
1331         }
1332       }
1333       /**
1334        * <code>required string transactionId = 1;</code>
1335        */
1336       public Builder setTransactionId(
1337           java.lang.String value) {
1338         if (value == null) {
1339     throw new NullPointerException();
1340   }
1341   bitField0_ |= 0x00000001;
1342         transactionId_ = value;
1343         onChanged();
1344         return this;
1345       }
1346       /**
1347        * <code>required string transactionId = 1;</code>
1348        */
1349       public Builder clearTransactionId() {
1350         bitField0_ = (bitField0_ & ~0x00000001);
1351         transactionId_ = getDefaultInstance().getTransactionId();
1352         onChanged();
1353         return this;
1354       }
1355       /**
1356        * <code>required string transactionId = 1;</code>
1357        */
1358       public Builder setTransactionIdBytes(
1359           com.google.protobuf.ByteString value) {
1360         if (value == null) {
1361     throw new NullPointerException();
1362   }
1363   bitField0_ |= 0x00000001;
1364         transactionId_ = value;
1365         onChanged();
1366         return this;
1367       }
1368
1369       // required int32 transactionType = 2;
1370       private int transactionType_ ;
1371       /**
1372        * <code>required int32 transactionType = 2;</code>
1373        */
1374       @Override
1375     public boolean hasTransactionType() {
1376         return ((bitField0_ & 0x00000002) == 0x00000002);
1377       }
1378       /**
1379        * <code>required int32 transactionType = 2;</code>
1380        */
1381       @Override
1382     public int getTransactionType() {
1383         return transactionType_;
1384       }
1385       /**
1386        * <code>required int32 transactionType = 2;</code>
1387        */
1388       public Builder setTransactionType(int value) {
1389         bitField0_ |= 0x00000002;
1390         transactionType_ = value;
1391         onChanged();
1392         return this;
1393       }
1394       /**
1395        * <code>required int32 transactionType = 2;</code>
1396        */
1397       public Builder clearTransactionType() {
1398         bitField0_ = (bitField0_ & ~0x00000002);
1399         transactionType_ = 0;
1400         onChanged();
1401         return this;
1402       }
1403
1404       // optional string transactionChainId = 3;
1405       private java.lang.Object transactionChainId_ = "";
1406       /**
1407        * <code>optional string transactionChainId = 3;</code>
1408        */
1409       @Override
1410     public boolean hasTransactionChainId() {
1411         return ((bitField0_ & 0x00000004) == 0x00000004);
1412       }
1413       /**
1414        * <code>optional string transactionChainId = 3;</code>
1415        */
1416       @Override
1417     public java.lang.String getTransactionChainId() {
1418         java.lang.Object ref = transactionChainId_;
1419         if (!(ref instanceof java.lang.String)) {
1420           java.lang.String s = ((com.google.protobuf.ByteString) ref)
1421               .toStringUtf8();
1422           transactionChainId_ = s;
1423           return s;
1424         } else {
1425           return (java.lang.String) ref;
1426         }
1427       }
1428       /**
1429        * <code>optional string transactionChainId = 3;</code>
1430        */
1431       @Override
1432     public com.google.protobuf.ByteString
1433           getTransactionChainIdBytes() {
1434         java.lang.Object ref = transactionChainId_;
1435         if (ref instanceof String) {
1436           com.google.protobuf.ByteString b =
1437               com.google.protobuf.ByteString.copyFromUtf8(
1438                   (java.lang.String) ref);
1439           transactionChainId_ = b;
1440           return b;
1441         } else {
1442           return (com.google.protobuf.ByteString) ref;
1443         }
1444       }
1445       /**
1446        * <code>optional string transactionChainId = 3;</code>
1447        */
1448       public Builder setTransactionChainId(
1449           java.lang.String value) {
1450         if (value == null) {
1451     throw new NullPointerException();
1452   }
1453   bitField0_ |= 0x00000004;
1454         transactionChainId_ = value;
1455         onChanged();
1456         return this;
1457       }
1458       /**
1459        * <code>optional string transactionChainId = 3;</code>
1460        */
1461       public Builder clearTransactionChainId() {
1462         bitField0_ = (bitField0_ & ~0x00000004);
1463         transactionChainId_ = getDefaultInstance().getTransactionChainId();
1464         onChanged();
1465         return this;
1466       }
1467       /**
1468        * <code>optional string transactionChainId = 3;</code>
1469        */
1470       public Builder setTransactionChainIdBytes(
1471           com.google.protobuf.ByteString value) {
1472         if (value == null) {
1473     throw new NullPointerException();
1474   }
1475   bitField0_ |= 0x00000004;
1476         transactionChainId_ = value;
1477         onChanged();
1478         return this;
1479       }
1480
1481       // optional int32 messageVersion = 4;
1482       private int messageVersion_ ;
1483       /**
1484        * <code>optional int32 messageVersion = 4;</code>
1485        */
1486       @Override
1487     public boolean hasMessageVersion() {
1488         return ((bitField0_ & 0x00000008) == 0x00000008);
1489       }
1490       /**
1491        * <code>optional int32 messageVersion = 4;</code>
1492        */
1493       @Override
1494     public int getMessageVersion() {
1495         return messageVersion_;
1496       }
1497       /**
1498        * <code>optional int32 messageVersion = 4;</code>
1499        */
1500       public Builder setMessageVersion(int value) {
1501         bitField0_ |= 0x00000008;
1502         messageVersion_ = value;
1503         onChanged();
1504         return this;
1505       }
1506       /**
1507        * <code>optional int32 messageVersion = 4;</code>
1508        */
1509       public Builder clearMessageVersion() {
1510         bitField0_ = (bitField0_ & ~0x00000008);
1511         messageVersion_ = 0;
1512         onChanged();
1513         return this;
1514       }
1515
1516       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1517     }
1518
1519     static {
1520       defaultInstance = new CreateTransaction(true);
1521       defaultInstance.initFields();
1522     }
1523
1524     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1525   }
1526
1527   public interface CreateTransactionReplyOrBuilder
1528       extends com.google.protobuf.MessageOrBuilder {
1529
1530     // required string transactionActorPath = 1;
1531     /**
1532      * <code>required string transactionActorPath = 1;</code>
1533      */
1534     boolean hasTransactionActorPath();
1535     /**
1536      * <code>required string transactionActorPath = 1;</code>
1537      */
1538     java.lang.String getTransactionActorPath();
1539     /**
1540      * <code>required string transactionActorPath = 1;</code>
1541      */
1542     com.google.protobuf.ByteString
1543         getTransactionActorPathBytes();
1544
1545     // required string transactionId = 2;
1546     /**
1547      * <code>required string transactionId = 2;</code>
1548      */
1549     boolean hasTransactionId();
1550     /**
1551      * <code>required string transactionId = 2;</code>
1552      */
1553     java.lang.String getTransactionId();
1554     /**
1555      * <code>required string transactionId = 2;</code>
1556      */
1557     com.google.protobuf.ByteString
1558         getTransactionIdBytes();
1559
1560     // optional int32 messageVersion = 3;
1561     /**
1562      * <code>optional int32 messageVersion = 3;</code>
1563      */
1564     boolean hasMessageVersion();
1565     /**
1566      * <code>optional int32 messageVersion = 3;</code>
1567      */
1568     int getMessageVersion();
1569   }
1570   /**
1571    * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1572    */
1573   public static final class CreateTransactionReply extends
1574       com.google.protobuf.GeneratedMessage
1575       implements CreateTransactionReplyOrBuilder {
1576     // Use CreateTransactionReply.newBuilder() to construct.
1577     private CreateTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1578       super(builder);
1579       this.unknownFields = builder.getUnknownFields();
1580     }
1581     private CreateTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1582
1583     private static final CreateTransactionReply defaultInstance;
1584     public static CreateTransactionReply getDefaultInstance() {
1585       return defaultInstance;
1586     }
1587
1588     @Override
1589     public CreateTransactionReply getDefaultInstanceForType() {
1590       return defaultInstance;
1591     }
1592
1593     private final com.google.protobuf.UnknownFieldSet unknownFields;
1594     @java.lang.Override
1595     public final com.google.protobuf.UnknownFieldSet
1596         getUnknownFields() {
1597       return this.unknownFields;
1598     }
1599     private CreateTransactionReply(
1600         com.google.protobuf.CodedInputStream input,
1601         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1602         throws com.google.protobuf.InvalidProtocolBufferException {
1603       initFields();
1604       int mutable_bitField0_ = 0;
1605       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1606           com.google.protobuf.UnknownFieldSet.newBuilder();
1607       try {
1608         boolean done = false;
1609         while (!done) {
1610           int tag = input.readTag();
1611           switch (tag) {
1612             case 0:
1613               done = true;
1614               break;
1615             default: {
1616               if (!parseUnknownField(input, unknownFields,
1617                                      extensionRegistry, tag)) {
1618                 done = true;
1619               }
1620               break;
1621             }
1622             case 10: {
1623               bitField0_ |= 0x00000001;
1624               transactionActorPath_ = input.readBytes();
1625               break;
1626             }
1627             case 18: {
1628               bitField0_ |= 0x00000002;
1629               transactionId_ = input.readBytes();
1630               break;
1631             }
1632             case 24: {
1633               bitField0_ |= 0x00000004;
1634               messageVersion_ = input.readInt32();
1635               break;
1636             }
1637           }
1638         }
1639       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1640         throw e.setUnfinishedMessage(this);
1641       } catch (java.io.IOException e) {
1642         throw new com.google.protobuf.InvalidProtocolBufferException(
1643             e.getMessage()).setUnfinishedMessage(this);
1644       } finally {
1645         this.unknownFields = unknownFields.build();
1646         makeExtensionsImmutable();
1647       }
1648     }
1649     public static final com.google.protobuf.Descriptors.Descriptor
1650         getDescriptor() {
1651       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1652     }
1653
1654     @Override
1655     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1656         internalGetFieldAccessorTable() {
1657       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1658           .ensureFieldAccessorsInitialized(
1659               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1660     }
1661
1662     public static com.google.protobuf.Parser<CreateTransactionReply> PARSER =
1663         new com.google.protobuf.AbstractParser<CreateTransactionReply>() {
1664       @Override
1665     public CreateTransactionReply parsePartialFrom(
1666           com.google.protobuf.CodedInputStream input,
1667           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1668           throws com.google.protobuf.InvalidProtocolBufferException {
1669         return new CreateTransactionReply(input, extensionRegistry);
1670       }
1671     };
1672
1673     @java.lang.Override
1674     public com.google.protobuf.Parser<CreateTransactionReply> getParserForType() {
1675       return PARSER;
1676     }
1677
1678     private int bitField0_;
1679     // required string transactionActorPath = 1;
1680     public static final int TRANSACTIONACTORPATH_FIELD_NUMBER = 1;
1681     private java.lang.Object transactionActorPath_;
1682     /**
1683      * <code>required string transactionActorPath = 1;</code>
1684      */
1685     @Override
1686     public boolean hasTransactionActorPath() {
1687       return ((bitField0_ & 0x00000001) == 0x00000001);
1688     }
1689     /**
1690      * <code>required string transactionActorPath = 1;</code>
1691      */
1692     @Override
1693     public java.lang.String getTransactionActorPath() {
1694       java.lang.Object ref = transactionActorPath_;
1695       if (ref instanceof java.lang.String) {
1696         return (java.lang.String) ref;
1697       } else {
1698         com.google.protobuf.ByteString bs =
1699             (com.google.protobuf.ByteString) ref;
1700         java.lang.String s = bs.toStringUtf8();
1701         if (bs.isValidUtf8()) {
1702           transactionActorPath_ = s;
1703         }
1704         return s;
1705       }
1706     }
1707     /**
1708      * <code>required string transactionActorPath = 1;</code>
1709      */
1710     @Override
1711     public com.google.protobuf.ByteString
1712         getTransactionActorPathBytes() {
1713       java.lang.Object ref = transactionActorPath_;
1714       if (ref instanceof java.lang.String) {
1715         com.google.protobuf.ByteString b =
1716             com.google.protobuf.ByteString.copyFromUtf8(
1717                 (java.lang.String) ref);
1718         transactionActorPath_ = b;
1719         return b;
1720       } else {
1721         return (com.google.protobuf.ByteString) ref;
1722       }
1723     }
1724
1725     // required string transactionId = 2;
1726     public static final int TRANSACTIONID_FIELD_NUMBER = 2;
1727     private java.lang.Object transactionId_;
1728     /**
1729      * <code>required string transactionId = 2;</code>
1730      */
1731     @Override
1732     public boolean hasTransactionId() {
1733       return ((bitField0_ & 0x00000002) == 0x00000002);
1734     }
1735     /**
1736      * <code>required string transactionId = 2;</code>
1737      */
1738     @Override
1739     public java.lang.String getTransactionId() {
1740       java.lang.Object ref = transactionId_;
1741       if (ref instanceof java.lang.String) {
1742         return (java.lang.String) ref;
1743       } else {
1744         com.google.protobuf.ByteString bs =
1745             (com.google.protobuf.ByteString) ref;
1746         java.lang.String s = bs.toStringUtf8();
1747         if (bs.isValidUtf8()) {
1748           transactionId_ = s;
1749         }
1750         return s;
1751       }
1752     }
1753     /**
1754      * <code>required string transactionId = 2;</code>
1755      */
1756     @Override
1757     public com.google.protobuf.ByteString
1758         getTransactionIdBytes() {
1759       java.lang.Object ref = transactionId_;
1760       if (ref instanceof java.lang.String) {
1761         com.google.protobuf.ByteString b =
1762             com.google.protobuf.ByteString.copyFromUtf8(
1763                 (java.lang.String) ref);
1764         transactionId_ = b;
1765         return b;
1766       } else {
1767         return (com.google.protobuf.ByteString) ref;
1768       }
1769     }
1770
1771     // optional int32 messageVersion = 3;
1772     public static final int MESSAGEVERSION_FIELD_NUMBER = 3;
1773     private int messageVersion_;
1774     /**
1775      * <code>optional int32 messageVersion = 3;</code>
1776      */
1777     @Override
1778     public boolean hasMessageVersion() {
1779       return ((bitField0_ & 0x00000004) == 0x00000004);
1780     }
1781     /**
1782      * <code>optional int32 messageVersion = 3;</code>
1783      */
1784     @Override
1785     public int getMessageVersion() {
1786       return messageVersion_;
1787     }
1788
1789     private void initFields() {
1790       transactionActorPath_ = "";
1791       transactionId_ = "";
1792       messageVersion_ = 0;
1793     }
1794     private byte memoizedIsInitialized = -1;
1795     @Override
1796     public final boolean isInitialized() {
1797       byte isInitialized = memoizedIsInitialized;
1798       if (isInitialized != -1) {
1799         return isInitialized == 1;
1800     }
1801
1802       if (!hasTransactionActorPath()) {
1803         memoizedIsInitialized = 0;
1804         return false;
1805       }
1806       if (!hasTransactionId()) {
1807         memoizedIsInitialized = 0;
1808         return false;
1809       }
1810       memoizedIsInitialized = 1;
1811       return true;
1812     }
1813
1814     @Override
1815     public void writeTo(com.google.protobuf.CodedOutputStream output)
1816                         throws java.io.IOException {
1817       getSerializedSize();
1818       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1819         output.writeBytes(1, getTransactionActorPathBytes());
1820       }
1821       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1822         output.writeBytes(2, getTransactionIdBytes());
1823       }
1824       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1825         output.writeInt32(3, messageVersion_);
1826       }
1827       getUnknownFields().writeTo(output);
1828     }
1829
1830     private int memoizedSerializedSize = -1;
1831     @Override
1832     public int getSerializedSize() {
1833       int size = memoizedSerializedSize;
1834       if (size != -1) {
1835         return size;
1836     }
1837
1838       size = 0;
1839       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1840         size += com.google.protobuf.CodedOutputStream
1841           .computeBytesSize(1, getTransactionActorPathBytes());
1842       }
1843       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1844         size += com.google.protobuf.CodedOutputStream
1845           .computeBytesSize(2, getTransactionIdBytes());
1846       }
1847       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1848         size += com.google.protobuf.CodedOutputStream
1849           .computeInt32Size(3, messageVersion_);
1850       }
1851       size += getUnknownFields().getSerializedSize();
1852       memoizedSerializedSize = size;
1853       return size;
1854     }
1855
1856     private static final long serialVersionUID = 0L;
1857     @java.lang.Override
1858     protected java.lang.Object writeReplace()
1859         throws java.io.ObjectStreamException {
1860       return super.writeReplace();
1861     }
1862
1863     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1864         com.google.protobuf.ByteString data)
1865         throws com.google.protobuf.InvalidProtocolBufferException {
1866       return PARSER.parseFrom(data);
1867     }
1868     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1869         com.google.protobuf.ByteString data,
1870         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1871         throws com.google.protobuf.InvalidProtocolBufferException {
1872       return PARSER.parseFrom(data, extensionRegistry);
1873     }
1874     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(byte[] data)
1875         throws com.google.protobuf.InvalidProtocolBufferException {
1876       return PARSER.parseFrom(data);
1877     }
1878     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1879         byte[] data,
1880         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1881         throws com.google.protobuf.InvalidProtocolBufferException {
1882       return PARSER.parseFrom(data, extensionRegistry);
1883     }
1884     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(java.io.InputStream input)
1885         throws java.io.IOException {
1886       return PARSER.parseFrom(input);
1887     }
1888     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1889         java.io.InputStream input,
1890         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1891         throws java.io.IOException {
1892       return PARSER.parseFrom(input, extensionRegistry);
1893     }
1894     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(java.io.InputStream input)
1895         throws java.io.IOException {
1896       return PARSER.parseDelimitedFrom(input);
1897     }
1898     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(
1899         java.io.InputStream input,
1900         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1901         throws java.io.IOException {
1902       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1903     }
1904     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1905         com.google.protobuf.CodedInputStream input)
1906         throws java.io.IOException {
1907       return PARSER.parseFrom(input);
1908     }
1909     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1910         com.google.protobuf.CodedInputStream input,
1911         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1912         throws java.io.IOException {
1913       return PARSER.parseFrom(input, extensionRegistry);
1914     }
1915
1916     public static Builder newBuilder() { return Builder.create(); }
1917     @Override
1918     public Builder newBuilderForType() { return newBuilder(); }
1919     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply prototype) {
1920       return newBuilder().mergeFrom(prototype);
1921     }
1922     @Override
1923     public Builder toBuilder() { return newBuilder(this); }
1924
1925     @java.lang.Override
1926     protected Builder newBuilderForType(
1927         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1928       Builder builder = new Builder(parent);
1929       return builder;
1930     }
1931     /**
1932      * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1933      */
1934     public static final class Builder extends
1935         com.google.protobuf.GeneratedMessage.Builder<Builder>
1936        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReplyOrBuilder {
1937       public static final com.google.protobuf.Descriptors.Descriptor
1938           getDescriptor() {
1939         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1940       }
1941
1942       @Override
1943     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1944           internalGetFieldAccessorTable() {
1945         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1946             .ensureFieldAccessorsInitialized(
1947                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1948       }
1949
1950       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.newBuilder()
1951       private Builder() {
1952         maybeForceBuilderInitialization();
1953       }
1954
1955       private Builder(
1956           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1957         super(parent);
1958         maybeForceBuilderInitialization();
1959       }
1960       private void maybeForceBuilderInitialization() {
1961         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1962         }
1963       }
1964       private static Builder create() {
1965         return new Builder();
1966       }
1967
1968       @Override
1969     public Builder clear() {
1970         super.clear();
1971         transactionActorPath_ = "";
1972         bitField0_ = (bitField0_ & ~0x00000001);
1973         transactionId_ = "";
1974         bitField0_ = (bitField0_ & ~0x00000002);
1975         messageVersion_ = 0;
1976         bitField0_ = (bitField0_ & ~0x00000004);
1977         return this;
1978       }
1979
1980       @Override
1981     public Builder clone() {
1982         return create().mergeFrom(buildPartial());
1983       }
1984
1985       @Override
1986     public com.google.protobuf.Descriptors.Descriptor
1987           getDescriptorForType() {
1988         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1989       }
1990
1991       @Override
1992     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply getDefaultInstanceForType() {
1993         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance();
1994       }
1995
1996       @Override
1997     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply build() {
1998         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = buildPartial();
1999         if (!result.isInitialized()) {
2000           throw newUninitializedMessageException(result);
2001         }
2002         return result;
2003       }
2004
2005       @Override
2006     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply buildPartial() {
2007         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply(this);
2008         int from_bitField0_ = bitField0_;
2009         int to_bitField0_ = 0;
2010         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2011           to_bitField0_ |= 0x00000001;
2012         }
2013         result.transactionActorPath_ = transactionActorPath_;
2014         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
2015           to_bitField0_ |= 0x00000002;
2016         }
2017         result.transactionId_ = transactionId_;
2018         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
2019           to_bitField0_ |= 0x00000004;
2020         }
2021         result.messageVersion_ = messageVersion_;
2022         result.bitField0_ = to_bitField0_;
2023         onBuilt();
2024         return result;
2025       }
2026
2027       @Override
2028     public Builder mergeFrom(com.google.protobuf.Message other) {
2029         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) {
2030           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply)other);
2031         } else {
2032           super.mergeFrom(other);
2033           return this;
2034         }
2035       }
2036
2037       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply other) {
2038         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance()) {
2039             return this;
2040         }
2041         if (other.hasTransactionActorPath()) {
2042           bitField0_ |= 0x00000001;
2043           transactionActorPath_ = other.transactionActorPath_;
2044           onChanged();
2045         }
2046         if (other.hasTransactionId()) {
2047           bitField0_ |= 0x00000002;
2048           transactionId_ = other.transactionId_;
2049           onChanged();
2050         }
2051         if (other.hasMessageVersion()) {
2052           setMessageVersion(other.getMessageVersion());
2053         }
2054         this.mergeUnknownFields(other.getUnknownFields());
2055         return this;
2056       }
2057
2058       @Override
2059     public final boolean isInitialized() {
2060         if (!hasTransactionActorPath()) {
2061
2062           return false;
2063         }
2064         if (!hasTransactionId()) {
2065
2066           return false;
2067         }
2068         return true;
2069       }
2070
2071       @Override
2072     public Builder mergeFrom(
2073           com.google.protobuf.CodedInputStream input,
2074           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2075           throws java.io.IOException {
2076         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parsedMessage = null;
2077         try {
2078           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2079         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2080           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) e.getUnfinishedMessage();
2081           throw e;
2082         } finally {
2083           if (parsedMessage != null) {
2084             mergeFrom(parsedMessage);
2085           }
2086         }
2087         return this;
2088       }
2089       private int bitField0_;
2090
2091       // required string transactionActorPath = 1;
2092       private java.lang.Object transactionActorPath_ = "";
2093       /**
2094        * <code>required string transactionActorPath = 1;</code>
2095        */
2096       @Override
2097     public boolean hasTransactionActorPath() {
2098         return ((bitField0_ & 0x00000001) == 0x00000001);
2099       }
2100       /**
2101        * <code>required string transactionActorPath = 1;</code>
2102        */
2103       @Override
2104     public java.lang.String getTransactionActorPath() {
2105         java.lang.Object ref = transactionActorPath_;
2106         if (!(ref instanceof java.lang.String)) {
2107           java.lang.String s = ((com.google.protobuf.ByteString) ref)
2108               .toStringUtf8();
2109           transactionActorPath_ = s;
2110           return s;
2111         } else {
2112           return (java.lang.String) ref;
2113         }
2114       }
2115       /**
2116        * <code>required string transactionActorPath = 1;</code>
2117        */
2118       @Override
2119     public com.google.protobuf.ByteString
2120           getTransactionActorPathBytes() {
2121         java.lang.Object ref = transactionActorPath_;
2122         if (ref instanceof String) {
2123           com.google.protobuf.ByteString b =
2124               com.google.protobuf.ByteString.copyFromUtf8(
2125                   (java.lang.String) ref);
2126           transactionActorPath_ = b;
2127           return b;
2128         } else {
2129           return (com.google.protobuf.ByteString) ref;
2130         }
2131       }
2132       /**
2133        * <code>required string transactionActorPath = 1;</code>
2134        */
2135       public Builder setTransactionActorPath(
2136           java.lang.String value) {
2137         if (value == null) {
2138     throw new NullPointerException();
2139   }
2140   bitField0_ |= 0x00000001;
2141         transactionActorPath_ = value;
2142         onChanged();
2143         return this;
2144       }
2145       /**
2146        * <code>required string transactionActorPath = 1;</code>
2147        */
2148       public Builder clearTransactionActorPath() {
2149         bitField0_ = (bitField0_ & ~0x00000001);
2150         transactionActorPath_ = getDefaultInstance().getTransactionActorPath();
2151         onChanged();
2152         return this;
2153       }
2154       /**
2155        * <code>required string transactionActorPath = 1;</code>
2156        */
2157       public Builder setTransactionActorPathBytes(
2158           com.google.protobuf.ByteString value) {
2159         if (value == null) {
2160     throw new NullPointerException();
2161   }
2162   bitField0_ |= 0x00000001;
2163         transactionActorPath_ = value;
2164         onChanged();
2165         return this;
2166       }
2167
2168       // required string transactionId = 2;
2169       private java.lang.Object transactionId_ = "";
2170       /**
2171        * <code>required string transactionId = 2;</code>
2172        */
2173       @Override
2174     public boolean hasTransactionId() {
2175         return ((bitField0_ & 0x00000002) == 0x00000002);
2176       }
2177       /**
2178        * <code>required string transactionId = 2;</code>
2179        */
2180       @Override
2181     public java.lang.String getTransactionId() {
2182         java.lang.Object ref = transactionId_;
2183         if (!(ref instanceof java.lang.String)) {
2184           java.lang.String s = ((com.google.protobuf.ByteString) ref)
2185               .toStringUtf8();
2186           transactionId_ = s;
2187           return s;
2188         } else {
2189           return (java.lang.String) ref;
2190         }
2191       }
2192       /**
2193        * <code>required string transactionId = 2;</code>
2194        */
2195       @Override
2196     public com.google.protobuf.ByteString
2197           getTransactionIdBytes() {
2198         java.lang.Object ref = transactionId_;
2199         if (ref instanceof String) {
2200           com.google.protobuf.ByteString b =
2201               com.google.protobuf.ByteString.copyFromUtf8(
2202                   (java.lang.String) ref);
2203           transactionId_ = b;
2204           return b;
2205         } else {
2206           return (com.google.protobuf.ByteString) ref;
2207         }
2208       }
2209       /**
2210        * <code>required string transactionId = 2;</code>
2211        */
2212       public Builder setTransactionId(
2213           java.lang.String value) {
2214         if (value == null) {
2215     throw new NullPointerException();
2216   }
2217   bitField0_ |= 0x00000002;
2218         transactionId_ = value;
2219         onChanged();
2220         return this;
2221       }
2222       /**
2223        * <code>required string transactionId = 2;</code>
2224        */
2225       public Builder clearTransactionId() {
2226         bitField0_ = (bitField0_ & ~0x00000002);
2227         transactionId_ = getDefaultInstance().getTransactionId();
2228         onChanged();
2229         return this;
2230       }
2231       /**
2232        * <code>required string transactionId = 2;</code>
2233        */
2234       public Builder setTransactionIdBytes(
2235           com.google.protobuf.ByteString value) {
2236         if (value == null) {
2237     throw new NullPointerException();
2238   }
2239   bitField0_ |= 0x00000002;
2240         transactionId_ = value;
2241         onChanged();
2242         return this;
2243       }
2244
2245       // optional int32 messageVersion = 3;
2246       private int messageVersion_ ;
2247       /**
2248        * <code>optional int32 messageVersion = 3;</code>
2249        */
2250       @Override
2251     public boolean hasMessageVersion() {
2252         return ((bitField0_ & 0x00000004) == 0x00000004);
2253       }
2254       /**
2255        * <code>optional int32 messageVersion = 3;</code>
2256        */
2257       @Override
2258     public int getMessageVersion() {
2259         return messageVersion_;
2260       }
2261       /**
2262        * <code>optional int32 messageVersion = 3;</code>
2263        */
2264       public Builder setMessageVersion(int value) {
2265         bitField0_ |= 0x00000004;
2266         messageVersion_ = value;
2267         onChanged();
2268         return this;
2269       }
2270       /**
2271        * <code>optional int32 messageVersion = 3;</code>
2272        */
2273       public Builder clearMessageVersion() {
2274         bitField0_ = (bitField0_ & ~0x00000004);
2275         messageVersion_ = 0;
2276         onChanged();
2277         return this;
2278       }
2279
2280       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
2281     }
2282
2283     static {
2284       defaultInstance = new CreateTransactionReply(true);
2285       defaultInstance.initFields();
2286     }
2287
2288     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
2289   }
2290
2291   public interface ReadDataOrBuilder
2292       extends com.google.protobuf.MessageOrBuilder {
2293
2294     // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2295     /**
2296      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2297      */
2298     boolean hasInstanceIdentifierPathArguments();
2299     /**
2300      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2301      */
2302     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
2303     /**
2304      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2305      */
2306     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
2307   }
2308   /**
2309    * Protobuf type {@code org.opendaylight.controller.mdsal.ReadData}
2310    */
2311   public static final class ReadData extends
2312       com.google.protobuf.GeneratedMessage
2313       implements ReadDataOrBuilder {
2314     // Use ReadData.newBuilder() to construct.
2315     private ReadData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2316       super(builder);
2317       this.unknownFields = builder.getUnknownFields();
2318     }
2319     private ReadData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2320
2321     private static final ReadData defaultInstance;
2322     public static ReadData getDefaultInstance() {
2323       return defaultInstance;
2324     }
2325
2326     @Override
2327     public ReadData getDefaultInstanceForType() {
2328       return defaultInstance;
2329     }
2330
2331     private final com.google.protobuf.UnknownFieldSet unknownFields;
2332     @java.lang.Override
2333     public final com.google.protobuf.UnknownFieldSet
2334         getUnknownFields() {
2335       return this.unknownFields;
2336     }
2337     private ReadData(
2338         com.google.protobuf.CodedInputStream input,
2339         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2340         throws com.google.protobuf.InvalidProtocolBufferException {
2341       initFields();
2342       int mutable_bitField0_ = 0;
2343       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2344           com.google.protobuf.UnknownFieldSet.newBuilder();
2345       try {
2346         boolean done = false;
2347         while (!done) {
2348           int tag = input.readTag();
2349           switch (tag) {
2350             case 0:
2351               done = true;
2352               break;
2353             default: {
2354               if (!parseUnknownField(input, unknownFields,
2355                                      extensionRegistry, tag)) {
2356                 done = true;
2357               }
2358               break;
2359             }
2360             case 10: {
2361               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
2362               if (((bitField0_ & 0x00000001) == 0x00000001)) {
2363                 subBuilder = instanceIdentifierPathArguments_.toBuilder();
2364               }
2365               instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
2366               if (subBuilder != null) {
2367                 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
2368                 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
2369               }
2370               bitField0_ |= 0x00000001;
2371               break;
2372             }
2373           }
2374         }
2375       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2376         throw e.setUnfinishedMessage(this);
2377       } catch (java.io.IOException e) {
2378         throw new com.google.protobuf.InvalidProtocolBufferException(
2379             e.getMessage()).setUnfinishedMessage(this);
2380       } finally {
2381         this.unknownFields = unknownFields.build();
2382         makeExtensionsImmutable();
2383       }
2384     }
2385     public static final com.google.protobuf.Descriptors.Descriptor
2386         getDescriptor() {
2387       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2388     }
2389
2390     @Override
2391     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2392         internalGetFieldAccessorTable() {
2393       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable
2394           .ensureFieldAccessorsInitialized(
2395               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.Builder.class);
2396     }
2397
2398     public static com.google.protobuf.Parser<ReadData> PARSER =
2399         new com.google.protobuf.AbstractParser<ReadData>() {
2400       @Override
2401     public ReadData parsePartialFrom(
2402           com.google.protobuf.CodedInputStream input,
2403           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2404           throws com.google.protobuf.InvalidProtocolBufferException {
2405         return new ReadData(input, extensionRegistry);
2406       }
2407     };
2408
2409     @java.lang.Override
2410     public com.google.protobuf.Parser<ReadData> getParserForType() {
2411       return PARSER;
2412     }
2413
2414     private int bitField0_;
2415     // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2416     public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
2417     private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
2418     /**
2419      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2420      */
2421     @Override
2422     public boolean hasInstanceIdentifierPathArguments() {
2423       return ((bitField0_ & 0x00000001) == 0x00000001);
2424     }
2425     /**
2426      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2427      */
2428     @Override
2429     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2430       return instanceIdentifierPathArguments_;
2431     }
2432     /**
2433      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2434      */
2435     @Override
2436     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2437       return instanceIdentifierPathArguments_;
2438     }
2439
2440     private void initFields() {
2441       instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2442     }
2443     private byte memoizedIsInitialized = -1;
2444     @Override
2445     public final boolean isInitialized() {
2446       byte isInitialized = memoizedIsInitialized;
2447       if (isInitialized != -1) {
2448         return isInitialized == 1;
2449     }
2450
2451       if (!hasInstanceIdentifierPathArguments()) {
2452         memoizedIsInitialized = 0;
2453         return false;
2454       }
2455       if (!getInstanceIdentifierPathArguments().isInitialized()) {
2456         memoizedIsInitialized = 0;
2457         return false;
2458       }
2459       memoizedIsInitialized = 1;
2460       return true;
2461     }
2462
2463     @Override
2464     public void writeTo(com.google.protobuf.CodedOutputStream output)
2465                         throws java.io.IOException {
2466       getSerializedSize();
2467       if (((bitField0_ & 0x00000001) == 0x00000001)) {
2468         output.writeMessage(1, instanceIdentifierPathArguments_);
2469       }
2470       getUnknownFields().writeTo(output);
2471     }
2472
2473     private int memoizedSerializedSize = -1;
2474     @Override
2475     public int getSerializedSize() {
2476       int size = memoizedSerializedSize;
2477       if (size != -1) {
2478         return size;
2479     }
2480
2481       size = 0;
2482       if (((bitField0_ & 0x00000001) == 0x00000001)) {
2483         size += com.google.protobuf.CodedOutputStream
2484           .computeMessageSize(1, instanceIdentifierPathArguments_);
2485       }
2486       size += getUnknownFields().getSerializedSize();
2487       memoizedSerializedSize = size;
2488       return size;
2489     }
2490
2491     private static final long serialVersionUID = 0L;
2492     @java.lang.Override
2493     protected java.lang.Object writeReplace()
2494         throws java.io.ObjectStreamException {
2495       return super.writeReplace();
2496     }
2497
2498     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2499         com.google.protobuf.ByteString data)
2500         throws com.google.protobuf.InvalidProtocolBufferException {
2501       return PARSER.parseFrom(data);
2502     }
2503     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2504         com.google.protobuf.ByteString data,
2505         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2506         throws com.google.protobuf.InvalidProtocolBufferException {
2507       return PARSER.parseFrom(data, extensionRegistry);
2508     }
2509     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(byte[] data)
2510         throws com.google.protobuf.InvalidProtocolBufferException {
2511       return PARSER.parseFrom(data);
2512     }
2513     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2514         byte[] data,
2515         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2516         throws com.google.protobuf.InvalidProtocolBufferException {
2517       return PARSER.parseFrom(data, extensionRegistry);
2518     }
2519     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(java.io.InputStream input)
2520         throws java.io.IOException {
2521       return PARSER.parseFrom(input);
2522     }
2523     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2524         java.io.InputStream input,
2525         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2526         throws java.io.IOException {
2527       return PARSER.parseFrom(input, extensionRegistry);
2528     }
2529     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseDelimitedFrom(java.io.InputStream input)
2530         throws java.io.IOException {
2531       return PARSER.parseDelimitedFrom(input);
2532     }
2533     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseDelimitedFrom(
2534         java.io.InputStream input,
2535         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2536         throws java.io.IOException {
2537       return PARSER.parseDelimitedFrom(input, extensionRegistry);
2538     }
2539     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2540         com.google.protobuf.CodedInputStream input)
2541         throws java.io.IOException {
2542       return PARSER.parseFrom(input);
2543     }
2544     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2545         com.google.protobuf.CodedInputStream input,
2546         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2547         throws java.io.IOException {
2548       return PARSER.parseFrom(input, extensionRegistry);
2549     }
2550
2551     public static Builder newBuilder() { return Builder.create(); }
2552     @Override
2553     public Builder newBuilderForType() { return newBuilder(); }
2554     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData prototype) {
2555       return newBuilder().mergeFrom(prototype);
2556     }
2557     @Override
2558     public Builder toBuilder() { return newBuilder(this); }
2559
2560     @java.lang.Override
2561     protected Builder newBuilderForType(
2562         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2563       Builder builder = new Builder(parent);
2564       return builder;
2565     }
2566     /**
2567      * Protobuf type {@code org.opendaylight.controller.mdsal.ReadData}
2568      */
2569     public static final class Builder extends
2570         com.google.protobuf.GeneratedMessage.Builder<Builder>
2571        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataOrBuilder {
2572       public static final com.google.protobuf.Descriptors.Descriptor
2573           getDescriptor() {
2574         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2575       }
2576
2577       @Override
2578     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2579           internalGetFieldAccessorTable() {
2580         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable
2581             .ensureFieldAccessorsInitialized(
2582                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.Builder.class);
2583       }
2584
2585       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.newBuilder()
2586       private Builder() {
2587         maybeForceBuilderInitialization();
2588       }
2589
2590       private Builder(
2591           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2592         super(parent);
2593         maybeForceBuilderInitialization();
2594       }
2595       private void maybeForceBuilderInitialization() {
2596         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2597           getInstanceIdentifierPathArgumentsFieldBuilder();
2598         }
2599       }
2600       private static Builder create() {
2601         return new Builder();
2602       }
2603
2604       @Override
2605     public Builder clear() {
2606         super.clear();
2607         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2608           instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2609         } else {
2610           instanceIdentifierPathArgumentsBuilder_.clear();
2611         }
2612         bitField0_ = (bitField0_ & ~0x00000001);
2613         return this;
2614       }
2615
2616       @Override
2617     public Builder clone() {
2618         return create().mergeFrom(buildPartial());
2619       }
2620
2621       @Override
2622     public com.google.protobuf.Descriptors.Descriptor
2623           getDescriptorForType() {
2624         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2625       }
2626
2627       @Override
2628     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData getDefaultInstanceForType() {
2629         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.getDefaultInstance();
2630       }
2631
2632       @Override
2633     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData build() {
2634         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData result = buildPartial();
2635         if (!result.isInitialized()) {
2636           throw newUninitializedMessageException(result);
2637         }
2638         return result;
2639       }
2640
2641       @Override
2642     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData buildPartial() {
2643         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData(this);
2644         int from_bitField0_ = bitField0_;
2645         int to_bitField0_ = 0;
2646         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2647           to_bitField0_ |= 0x00000001;
2648         }
2649         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2650           result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
2651         } else {
2652           result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
2653         }
2654         result.bitField0_ = to_bitField0_;
2655         onBuilt();
2656         return result;
2657       }
2658
2659       @Override
2660     public Builder mergeFrom(com.google.protobuf.Message other) {
2661         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData) {
2662           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData)other);
2663         } else {
2664           super.mergeFrom(other);
2665           return this;
2666         }
2667       }
2668
2669       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData other) {
2670         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.getDefaultInstance()) {
2671             return this;
2672         }
2673         if (other.hasInstanceIdentifierPathArguments()) {
2674           mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
2675         }
2676         this.mergeUnknownFields(other.getUnknownFields());
2677         return this;
2678       }
2679
2680       @Override
2681     public final boolean isInitialized() {
2682         if (!hasInstanceIdentifierPathArguments()) {
2683
2684           return false;
2685         }
2686         if (!getInstanceIdentifierPathArguments().isInitialized()) {
2687
2688           return false;
2689         }
2690         return true;
2691       }
2692
2693       @Override
2694     public Builder mergeFrom(
2695           com.google.protobuf.CodedInputStream input,
2696           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2697           throws java.io.IOException {
2698         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parsedMessage = null;
2699         try {
2700           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2701         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2702           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData) e.getUnfinishedMessage();
2703           throw e;
2704         } finally {
2705           if (parsedMessage != null) {
2706             mergeFrom(parsedMessage);
2707           }
2708         }
2709         return this;
2710       }
2711       private int bitField0_;
2712
2713       // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2714       private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2715       private com.google.protobuf.SingleFieldBuilder<
2716           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathArgumentsBuilder_;
2717       /**
2718        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2719        */
2720       @Override
2721     public boolean hasInstanceIdentifierPathArguments() {
2722         return ((bitField0_ & 0x00000001) == 0x00000001);
2723       }
2724       /**
2725        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2726        */
2727       @Override
2728     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2729         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2730           return instanceIdentifierPathArguments_;
2731         } else {
2732           return instanceIdentifierPathArgumentsBuilder_.getMessage();
2733         }
2734       }
2735       /**
2736        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2737        */
2738       public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
2739         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2740           if (value == null) {
2741             throw new NullPointerException();
2742           }
2743           instanceIdentifierPathArguments_ = value;
2744           onChanged();
2745         } else {
2746           instanceIdentifierPathArgumentsBuilder_.setMessage(value);
2747         }
2748         bitField0_ |= 0x00000001;
2749         return this;
2750       }
2751       /**
2752        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2753        */
2754       public Builder setInstanceIdentifierPathArguments(
2755           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
2756         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2757           instanceIdentifierPathArguments_ = builderForValue.build();
2758           onChanged();
2759         } else {
2760           instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
2761         }
2762         bitField0_ |= 0x00000001;
2763         return this;
2764       }
2765       /**
2766        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2767        */
2768       public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
2769         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2770           if (((bitField0_ & 0x00000001) == 0x00000001) &&
2771               instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
2772             instanceIdentifierPathArguments_ =
2773               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
2774           } else {
2775             instanceIdentifierPathArguments_ = value;
2776           }
2777           onChanged();
2778         } else {
2779           instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
2780         }
2781         bitField0_ |= 0x00000001;
2782         return this;
2783       }
2784       /**
2785        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2786        */
2787       public Builder clearInstanceIdentifierPathArguments() {
2788         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2789           instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2790           onChanged();
2791         } else {
2792           instanceIdentifierPathArgumentsBuilder_.clear();
2793         }
2794         bitField0_ = (bitField0_ & ~0x00000001);
2795         return this;
2796       }
2797       /**
2798        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2799        */
2800       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
2801         bitField0_ |= 0x00000001;
2802         onChanged();
2803         return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
2804       }
2805       /**
2806        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2807        */
2808       @Override
2809     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2810         if (instanceIdentifierPathArgumentsBuilder_ != null) {
2811           return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
2812         } else {
2813           return instanceIdentifierPathArguments_;
2814         }
2815       }
2816       /**
2817        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2818        */
2819       private com.google.protobuf.SingleFieldBuilder<
2820           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
2821           getInstanceIdentifierPathArgumentsFieldBuilder() {
2822         if (instanceIdentifierPathArgumentsBuilder_ == null) {
2823           instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2824               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
2825                   instanceIdentifierPathArguments_,
2826                   getParentForChildren(),
2827                   isClean());
2828           instanceIdentifierPathArguments_ = null;
2829         }
2830         return instanceIdentifierPathArgumentsBuilder_;
2831       }
2832
2833       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.ReadData)
2834     }
2835
2836     static {
2837       defaultInstance = new ReadData(true);
2838       defaultInstance.initFields();
2839     }
2840
2841     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.ReadData)
2842   }
2843
2844   public interface DataExistsOrBuilder
2845       extends com.google.protobuf.MessageOrBuilder {
2846
2847     // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2848     /**
2849      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2850      */
2851     boolean hasInstanceIdentifierPathArguments();
2852     /**
2853      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2854      */
2855     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
2856     /**
2857      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2858      */
2859     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
2860   }
2861   /**
2862    * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
2863    */
2864   public static final class DataExists extends
2865       com.google.protobuf.GeneratedMessage
2866       implements DataExistsOrBuilder {
2867     // Use DataExists.newBuilder() to construct.
2868     private DataExists(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2869       super(builder);
2870       this.unknownFields = builder.getUnknownFields();
2871     }
2872     private DataExists(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2873
2874     private static final DataExists defaultInstance;
2875     public static DataExists getDefaultInstance() {
2876       return defaultInstance;
2877     }
2878
2879     @Override
2880     public DataExists getDefaultInstanceForType() {
2881       return defaultInstance;
2882     }
2883
2884     private final com.google.protobuf.UnknownFieldSet unknownFields;
2885     @java.lang.Override
2886     public final com.google.protobuf.UnknownFieldSet
2887         getUnknownFields() {
2888       return this.unknownFields;
2889     }
2890     private DataExists(
2891         com.google.protobuf.CodedInputStream input,
2892         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2893         throws com.google.protobuf.InvalidProtocolBufferException {
2894       initFields();
2895       int mutable_bitField0_ = 0;
2896       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2897           com.google.protobuf.UnknownFieldSet.newBuilder();
2898       try {
2899         boolean done = false;
2900         while (!done) {
2901           int tag = input.readTag();
2902           switch (tag) {
2903             case 0:
2904               done = true;
2905               break;
2906             default: {
2907               if (!parseUnknownField(input, unknownFields,
2908                                      extensionRegistry, tag)) {
2909                 done = true;
2910               }
2911               break;
2912             }
2913             case 10: {
2914               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
2915               if (((bitField0_ & 0x00000001) == 0x00000001)) {
2916                 subBuilder = instanceIdentifierPathArguments_.toBuilder();
2917               }
2918               instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
2919               if (subBuilder != null) {
2920                 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
2921                 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
2922               }
2923               bitField0_ |= 0x00000001;
2924               break;
2925             }
2926           }
2927         }
2928       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2929         throw e.setUnfinishedMessage(this);
2930       } catch (java.io.IOException e) {
2931         throw new com.google.protobuf.InvalidProtocolBufferException(
2932             e.getMessage()).setUnfinishedMessage(this);
2933       } finally {
2934         this.unknownFields = unknownFields.build();
2935         makeExtensionsImmutable();
2936       }
2937     }
2938     public static final com.google.protobuf.Descriptors.Descriptor
2939         getDescriptor() {
2940       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
2941     }
2942
2943     @Override
2944     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2945         internalGetFieldAccessorTable() {
2946       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
2947           .ensureFieldAccessorsInitialized(
2948               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
2949     }
2950
2951     public static com.google.protobuf.Parser<DataExists> PARSER =
2952         new com.google.protobuf.AbstractParser<DataExists>() {
2953       @Override
2954     public DataExists parsePartialFrom(
2955           com.google.protobuf.CodedInputStream input,
2956           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2957           throws com.google.protobuf.InvalidProtocolBufferException {
2958         return new DataExists(input, extensionRegistry);
2959       }
2960     };
2961
2962     @java.lang.Override
2963     public com.google.protobuf.Parser<DataExists> getParserForType() {
2964       return PARSER;
2965     }
2966
2967     private int bitField0_;
2968     // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2969     public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
2970     private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
2971     /**
2972      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2973      */
2974     @Override
2975     public boolean hasInstanceIdentifierPathArguments() {
2976       return ((bitField0_ & 0x00000001) == 0x00000001);
2977     }
2978     /**
2979      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2980      */
2981     @Override
2982     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2983       return instanceIdentifierPathArguments_;
2984     }
2985     /**
2986      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2987      */
2988     @Override
2989     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2990       return instanceIdentifierPathArguments_;
2991     }
2992
2993     private void initFields() {
2994       instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2995     }
2996     private byte memoizedIsInitialized = -1;
2997     @Override
2998     public final boolean isInitialized() {
2999       byte isInitialized = memoizedIsInitialized;
3000       if (isInitialized != -1) {
3001         return isInitialized == 1;
3002     }
3003
3004       if (!hasInstanceIdentifierPathArguments()) {
3005         memoizedIsInitialized = 0;
3006         return false;
3007       }
3008       if (!getInstanceIdentifierPathArguments().isInitialized()) {
3009         memoizedIsInitialized = 0;
3010         return false;
3011       }
3012       memoizedIsInitialized = 1;
3013       return true;
3014     }
3015
3016     @Override
3017     public void writeTo(com.google.protobuf.CodedOutputStream output)
3018                         throws java.io.IOException {
3019       getSerializedSize();
3020       if (((bitField0_ & 0x00000001) == 0x00000001)) {
3021         output.writeMessage(1, instanceIdentifierPathArguments_);
3022       }
3023       getUnknownFields().writeTo(output);
3024     }
3025
3026     private int memoizedSerializedSize = -1;
3027     @Override
3028     public int getSerializedSize() {
3029       int size = memoizedSerializedSize;
3030       if (size != -1) {
3031         return size;
3032     }
3033
3034       size = 0;
3035       if (((bitField0_ & 0x00000001) == 0x00000001)) {
3036         size += com.google.protobuf.CodedOutputStream
3037           .computeMessageSize(1, instanceIdentifierPathArguments_);
3038       }
3039       size += getUnknownFields().getSerializedSize();
3040       memoizedSerializedSize = size;
3041       return size;
3042     }
3043
3044     private static final long serialVersionUID = 0L;
3045     @java.lang.Override
3046     protected java.lang.Object writeReplace()
3047         throws java.io.ObjectStreamException {
3048       return super.writeReplace();
3049     }
3050
3051     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3052         com.google.protobuf.ByteString data)
3053         throws com.google.protobuf.InvalidProtocolBufferException {
3054       return PARSER.parseFrom(data);
3055     }
3056     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3057         com.google.protobuf.ByteString data,
3058         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3059         throws com.google.protobuf.InvalidProtocolBufferException {
3060       return PARSER.parseFrom(data, extensionRegistry);
3061     }
3062     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(byte[] data)
3063         throws com.google.protobuf.InvalidProtocolBufferException {
3064       return PARSER.parseFrom(data);
3065     }
3066     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3067         byte[] data,
3068         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3069         throws com.google.protobuf.InvalidProtocolBufferException {
3070       return PARSER.parseFrom(data, extensionRegistry);
3071     }
3072     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(java.io.InputStream input)
3073         throws java.io.IOException {
3074       return PARSER.parseFrom(input);
3075     }
3076     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3077         java.io.InputStream input,
3078         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3079         throws java.io.IOException {
3080       return PARSER.parseFrom(input, extensionRegistry);
3081     }
3082     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(java.io.InputStream input)
3083         throws java.io.IOException {
3084       return PARSER.parseDelimitedFrom(input);
3085     }
3086     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(
3087         java.io.InputStream input,
3088         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3089         throws java.io.IOException {
3090       return PARSER.parseDelimitedFrom(input, extensionRegistry);
3091     }
3092     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3093         com.google.protobuf.CodedInputStream input)
3094         throws java.io.IOException {
3095       return PARSER.parseFrom(input);
3096     }
3097     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3098         com.google.protobuf.CodedInputStream input,
3099         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3100         throws java.io.IOException {
3101       return PARSER.parseFrom(input, extensionRegistry);
3102     }
3103
3104     public static Builder newBuilder() { return Builder.create(); }
3105     @Override
3106     public Builder newBuilderForType() { return newBuilder(); }
3107     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists prototype) {
3108       return newBuilder().mergeFrom(prototype);
3109     }
3110     @Override
3111     public Builder toBuilder() { return newBuilder(this); }
3112
3113     @java.lang.Override
3114     protected Builder newBuilderForType(
3115         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3116       Builder builder = new Builder(parent);
3117       return builder;
3118     }
3119     /**
3120      * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
3121      */
3122     public static final class Builder extends
3123         com.google.protobuf.GeneratedMessage.Builder<Builder>
3124        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsOrBuilder {
3125       public static final com.google.protobuf.Descriptors.Descriptor
3126           getDescriptor() {
3127         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3128       }
3129
3130       @Override
3131     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3132           internalGetFieldAccessorTable() {
3133         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
3134             .ensureFieldAccessorsInitialized(
3135                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
3136       }
3137
3138       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.newBuilder()
3139       private Builder() {
3140         maybeForceBuilderInitialization();
3141       }
3142
3143       private Builder(
3144           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3145         super(parent);
3146         maybeForceBuilderInitialization();
3147       }
3148       private void maybeForceBuilderInitialization() {
3149         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3150           getInstanceIdentifierPathArgumentsFieldBuilder();
3151         }
3152       }
3153       private static Builder create() {
3154         return new Builder();
3155       }
3156
3157       @Override
3158     public Builder clear() {
3159         super.clear();
3160         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3161           instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3162         } else {
3163           instanceIdentifierPathArgumentsBuilder_.clear();
3164         }
3165         bitField0_ = (bitField0_ & ~0x00000001);
3166         return this;
3167       }
3168
3169       @Override
3170     public Builder clone() {
3171         return create().mergeFrom(buildPartial());
3172       }
3173
3174       @Override
3175     public com.google.protobuf.Descriptors.Descriptor
3176           getDescriptorForType() {
3177         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3178       }
3179
3180       @Override
3181     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists getDefaultInstanceForType() {
3182         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance();
3183       }
3184
3185       @Override
3186     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists build() {
3187         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = buildPartial();
3188         if (!result.isInitialized()) {
3189           throw newUninitializedMessageException(result);
3190         }
3191         return result;
3192       }
3193
3194       @Override
3195     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists buildPartial() {
3196         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists(this);
3197         int from_bitField0_ = bitField0_;
3198         int to_bitField0_ = 0;
3199         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3200           to_bitField0_ |= 0x00000001;
3201         }
3202         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3203           result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
3204         } else {
3205           result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
3206         }
3207         result.bitField0_ = to_bitField0_;
3208         onBuilt();
3209         return result;
3210       }
3211
3212       @Override
3213     public Builder mergeFrom(com.google.protobuf.Message other) {
3214         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) {
3215           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists)other);
3216         } else {
3217           super.mergeFrom(other);
3218           return this;
3219         }
3220       }
3221
3222       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists other) {
3223         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance()) {
3224             return this;
3225         }
3226         if (other.hasInstanceIdentifierPathArguments()) {
3227           mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
3228         }
3229         this.mergeUnknownFields(other.getUnknownFields());
3230         return this;
3231       }
3232
3233       @Override
3234     public final boolean isInitialized() {
3235         if (!hasInstanceIdentifierPathArguments()) {
3236
3237           return false;
3238         }
3239         if (!getInstanceIdentifierPathArguments().isInitialized()) {
3240
3241           return false;
3242         }
3243         return true;
3244       }
3245
3246       @Override
3247     public Builder mergeFrom(
3248           com.google.protobuf.CodedInputStream input,
3249           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3250           throws java.io.IOException {
3251         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parsedMessage = null;
3252         try {
3253           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3254         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3255           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) e.getUnfinishedMessage();
3256           throw e;
3257         } finally {
3258           if (parsedMessage != null) {
3259             mergeFrom(parsedMessage);
3260           }
3261         }
3262         return this;
3263       }
3264       private int bitField0_;
3265
3266       // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3267       private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3268       private com.google.protobuf.SingleFieldBuilder<
3269           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathArgumentsBuilder_;
3270       /**
3271        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3272        */
3273       @Override
3274     public boolean hasInstanceIdentifierPathArguments() {
3275         return ((bitField0_ & 0x00000001) == 0x00000001);
3276       }
3277       /**
3278        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3279        */
3280       @Override
3281     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
3282         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3283           return instanceIdentifierPathArguments_;
3284         } else {
3285           return instanceIdentifierPathArgumentsBuilder_.getMessage();
3286         }
3287       }
3288       /**
3289        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3290        */
3291       public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3292         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3293           if (value == null) {
3294             throw new NullPointerException();
3295           }
3296           instanceIdentifierPathArguments_ = value;
3297           onChanged();
3298         } else {
3299           instanceIdentifierPathArgumentsBuilder_.setMessage(value);
3300         }
3301         bitField0_ |= 0x00000001;
3302         return this;
3303       }
3304       /**
3305        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3306        */
3307       public Builder setInstanceIdentifierPathArguments(
3308           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
3309         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3310           instanceIdentifierPathArguments_ = builderForValue.build();
3311           onChanged();
3312         } else {
3313           instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
3314         }
3315         bitField0_ |= 0x00000001;
3316         return this;
3317       }
3318       /**
3319        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3320        */
3321       public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3322         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3323           if (((bitField0_ & 0x00000001) == 0x00000001) &&
3324               instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
3325             instanceIdentifierPathArguments_ =
3326               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
3327           } else {
3328             instanceIdentifierPathArguments_ = value;
3329           }
3330           onChanged();
3331         } else {
3332           instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
3333         }
3334         bitField0_ |= 0x00000001;
3335         return this;
3336       }
3337       /**
3338        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3339        */
3340       public Builder clearInstanceIdentifierPathArguments() {
3341         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3342           instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3343           onChanged();
3344         } else {
3345           instanceIdentifierPathArgumentsBuilder_.clear();
3346         }
3347         bitField0_ = (bitField0_ & ~0x00000001);
3348         return this;
3349       }
3350       /**
3351        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3352        */
3353       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
3354         bitField0_ |= 0x00000001;
3355         onChanged();
3356         return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
3357       }
3358       /**
3359        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3360        */
3361       @Override
3362     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
3363         if (instanceIdentifierPathArgumentsBuilder_ != null) {
3364           return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
3365         } else {
3366           return instanceIdentifierPathArguments_;
3367         }
3368       }
3369       /**
3370        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3371        */
3372       private com.google.protobuf.SingleFieldBuilder<
3373           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
3374           getInstanceIdentifierPathArgumentsFieldBuilder() {
3375         if (instanceIdentifierPathArgumentsBuilder_ == null) {
3376           instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3377               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
3378                   instanceIdentifierPathArguments_,
3379                   getParentForChildren(),
3380                   isClean());
3381           instanceIdentifierPathArguments_ = null;
3382         }
3383         return instanceIdentifierPathArgumentsBuilder_;
3384       }
3385
3386       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExists)
3387     }
3388
3389     static {
3390       defaultInstance = new DataExists(true);
3391       defaultInstance.initFields();
3392     }
3393
3394     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExists)
3395   }
3396
3397   public interface DataExistsReplyOrBuilder
3398       extends com.google.protobuf.MessageOrBuilder {
3399
3400     // required bool exists = 1;
3401     /**
3402      * <code>required bool exists = 1;</code>
3403      */
3404     boolean hasExists();
3405     /**
3406      * <code>required bool exists = 1;</code>
3407      */
3408     boolean getExists();
3409   }
3410   /**
3411    * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3412    */
3413   public static final class DataExistsReply extends
3414       com.google.protobuf.GeneratedMessage
3415       implements DataExistsReplyOrBuilder {
3416     // Use DataExistsReply.newBuilder() to construct.
3417     private DataExistsReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3418       super(builder);
3419       this.unknownFields = builder.getUnknownFields();
3420     }
3421     private DataExistsReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3422
3423     private static final DataExistsReply defaultInstance;
3424     public static DataExistsReply getDefaultInstance() {
3425       return defaultInstance;
3426     }
3427
3428     @Override
3429     public DataExistsReply getDefaultInstanceForType() {
3430       return defaultInstance;
3431     }
3432
3433     private final com.google.protobuf.UnknownFieldSet unknownFields;
3434     @java.lang.Override
3435     public final com.google.protobuf.UnknownFieldSet
3436         getUnknownFields() {
3437       return this.unknownFields;
3438     }
3439     private DataExistsReply(
3440         com.google.protobuf.CodedInputStream input,
3441         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3442         throws com.google.protobuf.InvalidProtocolBufferException {
3443       initFields();
3444       int mutable_bitField0_ = 0;
3445       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3446           com.google.protobuf.UnknownFieldSet.newBuilder();
3447       try {
3448         boolean done = false;
3449         while (!done) {
3450           int tag = input.readTag();
3451           switch (tag) {
3452             case 0:
3453               done = true;
3454               break;
3455             default: {
3456               if (!parseUnknownField(input, unknownFields,
3457                                      extensionRegistry, tag)) {
3458                 done = true;
3459               }
3460               break;
3461             }
3462             case 8: {
3463               bitField0_ |= 0x00000001;
3464               exists_ = input.readBool();
3465               break;
3466             }
3467           }
3468         }
3469       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3470         throw e.setUnfinishedMessage(this);
3471       } catch (java.io.IOException e) {
3472         throw new com.google.protobuf.InvalidProtocolBufferException(
3473             e.getMessage()).setUnfinishedMessage(this);
3474       } finally {
3475         this.unknownFields = unknownFields.build();
3476         makeExtensionsImmutable();
3477       }
3478     }
3479     public static final com.google.protobuf.Descriptors.Descriptor
3480         getDescriptor() {
3481       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3482     }
3483
3484     @Override
3485     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3486         internalGetFieldAccessorTable() {
3487       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
3488           .ensureFieldAccessorsInitialized(
3489               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
3490     }
3491
3492     public static com.google.protobuf.Parser<DataExistsReply> PARSER =
3493         new com.google.protobuf.AbstractParser<DataExistsReply>() {
3494       @Override
3495     public DataExistsReply parsePartialFrom(
3496           com.google.protobuf.CodedInputStream input,
3497           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3498           throws com.google.protobuf.InvalidProtocolBufferException {
3499         return new DataExistsReply(input, extensionRegistry);
3500       }
3501     };
3502
3503     @java.lang.Override
3504     public com.google.protobuf.Parser<DataExistsReply> getParserForType() {
3505       return PARSER;
3506     }
3507
3508     private int bitField0_;
3509     // required bool exists = 1;
3510     public static final int EXISTS_FIELD_NUMBER = 1;
3511     private boolean exists_;
3512     /**
3513      * <code>required bool exists = 1;</code>
3514      */
3515     @Override
3516     public boolean hasExists() {
3517       return ((bitField0_ & 0x00000001) == 0x00000001);
3518     }
3519     /**
3520      * <code>required bool exists = 1;</code>
3521      */
3522     @Override
3523     public boolean getExists() {
3524       return exists_;
3525     }
3526
3527     private void initFields() {
3528       exists_ = false;
3529     }
3530     private byte memoizedIsInitialized = -1;
3531     @Override
3532     public final boolean isInitialized() {
3533       byte isInitialized = memoizedIsInitialized;
3534       if (isInitialized != -1) {
3535         return isInitialized == 1;
3536     }
3537
3538       if (!hasExists()) {
3539         memoizedIsInitialized = 0;
3540         return false;
3541       }
3542       memoizedIsInitialized = 1;
3543       return true;
3544     }
3545
3546     @Override
3547     public void writeTo(com.google.protobuf.CodedOutputStream output)
3548                         throws java.io.IOException {
3549       getSerializedSize();
3550       if (((bitField0_ & 0x00000001) == 0x00000001)) {
3551         output.writeBool(1, exists_);
3552       }
3553       getUnknownFields().writeTo(output);
3554     }
3555
3556     private int memoizedSerializedSize = -1;
3557     @Override
3558     public int getSerializedSize() {
3559       int size = memoizedSerializedSize;
3560       if (size != -1) {
3561         return size;
3562     }
3563
3564       size = 0;
3565       if (((bitField0_ & 0x00000001) == 0x00000001)) {
3566         size += com.google.protobuf.CodedOutputStream
3567           .computeBoolSize(1, exists_);
3568       }
3569       size += getUnknownFields().getSerializedSize();
3570       memoizedSerializedSize = size;
3571       return size;
3572     }
3573
3574     private static final long serialVersionUID = 0L;
3575     @java.lang.Override
3576     protected java.lang.Object writeReplace()
3577         throws java.io.ObjectStreamException {
3578       return super.writeReplace();
3579     }
3580
3581     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3582         com.google.protobuf.ByteString data)
3583         throws com.google.protobuf.InvalidProtocolBufferException {
3584       return PARSER.parseFrom(data);
3585     }
3586     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3587         com.google.protobuf.ByteString data,
3588         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3589         throws com.google.protobuf.InvalidProtocolBufferException {
3590       return PARSER.parseFrom(data, extensionRegistry);
3591     }
3592     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(byte[] data)
3593         throws com.google.protobuf.InvalidProtocolBufferException {
3594       return PARSER.parseFrom(data);
3595     }
3596     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3597         byte[] data,
3598         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3599         throws com.google.protobuf.InvalidProtocolBufferException {
3600       return PARSER.parseFrom(data, extensionRegistry);
3601     }
3602     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(java.io.InputStream input)
3603         throws java.io.IOException {
3604       return PARSER.parseFrom(input);
3605     }
3606     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3607         java.io.InputStream input,
3608         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3609         throws java.io.IOException {
3610       return PARSER.parseFrom(input, extensionRegistry);
3611     }
3612     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(java.io.InputStream input)
3613         throws java.io.IOException {
3614       return PARSER.parseDelimitedFrom(input);
3615     }
3616     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(
3617         java.io.InputStream input,
3618         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3619         throws java.io.IOException {
3620       return PARSER.parseDelimitedFrom(input, extensionRegistry);
3621     }
3622     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3623         com.google.protobuf.CodedInputStream input)
3624         throws java.io.IOException {
3625       return PARSER.parseFrom(input);
3626     }
3627     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3628         com.google.protobuf.CodedInputStream input,
3629         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3630         throws java.io.IOException {
3631       return PARSER.parseFrom(input, extensionRegistry);
3632     }
3633
3634     public static Builder newBuilder() { return Builder.create(); }
3635     @Override
3636     public Builder newBuilderForType() { return newBuilder(); }
3637     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply prototype) {
3638       return newBuilder().mergeFrom(prototype);
3639     }
3640     @Override
3641     public Builder toBuilder() { return newBuilder(this); }
3642
3643     @java.lang.Override
3644     protected Builder newBuilderForType(
3645         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3646       Builder builder = new Builder(parent);
3647       return builder;
3648     }
3649     /**
3650      * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3651      */
3652     public static final class Builder extends
3653         com.google.protobuf.GeneratedMessage.Builder<Builder>
3654        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReplyOrBuilder {
3655       public static final com.google.protobuf.Descriptors.Descriptor
3656           getDescriptor() {
3657         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3658       }
3659
3660       @Override
3661     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3662           internalGetFieldAccessorTable() {
3663         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
3664             .ensureFieldAccessorsInitialized(
3665                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
3666       }
3667
3668       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.newBuilder()
3669       private Builder() {
3670         maybeForceBuilderInitialization();
3671       }
3672
3673       private Builder(
3674           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3675         super(parent);
3676         maybeForceBuilderInitialization();
3677       }
3678       private void maybeForceBuilderInitialization() {
3679         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3680         }
3681       }
3682       private static Builder create() {
3683         return new Builder();
3684       }
3685
3686       @Override
3687     public Builder clear() {
3688         super.clear();
3689         exists_ = false;
3690         bitField0_ = (bitField0_ & ~0x00000001);
3691         return this;
3692       }
3693
3694       @Override
3695     public Builder clone() {
3696         return create().mergeFrom(buildPartial());
3697       }
3698
3699       @Override
3700     public com.google.protobuf.Descriptors.Descriptor
3701           getDescriptorForType() {
3702         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3703       }
3704
3705       @Override
3706     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply getDefaultInstanceForType() {
3707         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance();
3708       }
3709
3710       @Override
3711     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply build() {
3712         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = buildPartial();
3713         if (!result.isInitialized()) {
3714           throw newUninitializedMessageException(result);
3715         }
3716         return result;
3717       }
3718
3719       @Override
3720     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply buildPartial() {
3721         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply(this);
3722         int from_bitField0_ = bitField0_;
3723         int to_bitField0_ = 0;
3724         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3725           to_bitField0_ |= 0x00000001;
3726         }
3727         result.exists_ = exists_;
3728         result.bitField0_ = to_bitField0_;
3729         onBuilt();
3730         return result;
3731       }
3732
3733       @Override
3734     public Builder mergeFrom(com.google.protobuf.Message other) {
3735         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) {
3736           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply)other);
3737         } else {
3738           super.mergeFrom(other);
3739           return this;
3740         }
3741       }
3742
3743       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply other) {
3744         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance()) {
3745             return this;
3746         }
3747         if (other.hasExists()) {
3748           setExists(other.getExists());
3749         }
3750         this.mergeUnknownFields(other.getUnknownFields());
3751         return this;
3752       }
3753
3754       @Override
3755     public final boolean isInitialized() {
3756         if (!hasExists()) {
3757
3758           return false;
3759         }
3760         return true;
3761       }
3762
3763       @Override
3764     public Builder mergeFrom(
3765           com.google.protobuf.CodedInputStream input,
3766           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3767           throws java.io.IOException {
3768         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parsedMessage = null;
3769         try {
3770           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3771         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3772           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) e.getUnfinishedMessage();
3773           throw e;
3774         } finally {
3775           if (parsedMessage != null) {
3776             mergeFrom(parsedMessage);
3777           }
3778         }
3779         return this;
3780       }
3781       private int bitField0_;
3782
3783       // required bool exists = 1;
3784       private boolean exists_ ;
3785       /**
3786        * <code>required bool exists = 1;</code>
3787        */
3788       @Override
3789     public boolean hasExists() {
3790         return ((bitField0_ & 0x00000001) == 0x00000001);
3791       }
3792       /**
3793        * <code>required bool exists = 1;</code>
3794        */
3795       @Override
3796     public boolean getExists() {
3797         return exists_;
3798       }
3799       /**
3800        * <code>required bool exists = 1;</code>
3801        */
3802       public Builder setExists(boolean value) {
3803         bitField0_ |= 0x00000001;
3804         exists_ = value;
3805         onChanged();
3806         return this;
3807       }
3808       /**
3809        * <code>required bool exists = 1;</code>
3810        */
3811       public Builder clearExists() {
3812         bitField0_ = (bitField0_ & ~0x00000001);
3813         exists_ = false;
3814         onChanged();
3815         return this;
3816       }
3817
3818       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExistsReply)
3819     }
3820
3821     static {
3822       defaultInstance = new DataExistsReply(true);
3823       defaultInstance.initFields();
3824     }
3825
3826     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExistsReply)
3827   }
3828
3829   private static com.google.protobuf.Descriptors.Descriptor
3830     internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
3831   private static
3832     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3833       internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable;
3834   private static com.google.protobuf.Descriptors.Descriptor
3835     internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
3836   private static
3837     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3838       internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable;
3839   private static com.google.protobuf.Descriptors.Descriptor
3840     internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
3841   private static
3842     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3843       internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable;
3844   private static com.google.protobuf.Descriptors.Descriptor
3845     internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
3846   private static
3847     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3848       internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable;
3849   private static com.google.protobuf.Descriptors.Descriptor
3850     internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
3851   private static
3852     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3853       internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable;
3854   private static com.google.protobuf.Descriptors.Descriptor
3855     internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3856   private static
3857     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3858       internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable;
3859   private static com.google.protobuf.Descriptors.Descriptor
3860     internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3861   private static
3862     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3863       internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable;
3864
3865   public static com.google.protobuf.Descriptors.FileDescriptor
3866       getDescriptor() {
3867     return descriptor;
3868   }
3869   private static com.google.protobuf.Descriptors.FileDescriptor
3870       descriptor;
3871   static {
3872     java.lang.String[] descriptorData = {
3873       "\n\026ShardTransaction.proto\022!org.opendaylig" +
3874       "ht.controller.mdsal\032\014Common.proto\"\022\n\020Clo" +
3875       "seTransaction\"\027\n\025CloseTransactionReply\"w" +
3876       "\n\021CreateTransaction\022\025\n\rtransactionId\030\001 \002" +
3877       "(\t\022\027\n\017transactionType\030\002 \002(\005\022\032\n\022transacti" +
3878       "onChainId\030\003 \001(\t\022\026\n\016messageVersion\030\004 \001(\005\"" +
3879       "e\n\026CreateTransactionReply\022\034\n\024transaction" +
3880       "ActorPath\030\001 \002(\t\022\025\n\rtransactionId\030\002 \002(\t\022\026" +
3881       "\n\016messageVersion\030\003 \001(\005\"j\n\010ReadData\022^\n\037in" +
3882       "stanceIdentifierPathArguments\030\001 \002(\01325.or",
3883       "g.opendaylight.controller.mdsal.Instance" +
3884       "Identifier\"l\n\nDataExists\022^\n\037instanceIden" +
3885       "tifierPathArguments\030\001 \002(\01325.org.opendayl" +
3886       "ight.controller.mdsal.InstanceIdentifier" +
3887       "\"!\n\017DataExistsReply\022\016\n\006exists\030\001 \002(\010BV\n:o" +
3888       "rg.opendaylight.controller.protobuff.mes" +
3889       "sages.transactionB\030ShardTransactionMessa" +
3890       "ges"
3891     };
3892     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3893       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3894         @Override
3895         public com.google.protobuf.ExtensionRegistry assignDescriptors(
3896             com.google.protobuf.Descriptors.FileDescriptor root) {
3897           descriptor = root;
3898           internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor =
3899             getDescriptor().getMessageTypes().get(0);
3900           internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable = new
3901             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3902               internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor,
3903               new java.lang.String[] { });
3904           internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor =
3905             getDescriptor().getMessageTypes().get(1);
3906           internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable = new
3907             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3908               internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor,
3909               new java.lang.String[] { });
3910           internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor =
3911             getDescriptor().getMessageTypes().get(2);
3912           internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable = new
3913             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3914               internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor,
3915               new java.lang.String[] { "TransactionId", "TransactionType", "TransactionChainId", "MessageVersion", });
3916           internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor =
3917             getDescriptor().getMessageTypes().get(3);
3918           internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable = new
3919             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3920               internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor,
3921               new java.lang.String[] { "TransactionActorPath", "TransactionId", "MessageVersion", });
3922           internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor =
3923             getDescriptor().getMessageTypes().get(4);
3924           internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable = new
3925             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3926               internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor,
3927               new java.lang.String[] { "InstanceIdentifierPathArguments", });
3928           internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor =
3929             getDescriptor().getMessageTypes().get(5);
3930           internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable = new
3931             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3932               internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor,
3933               new java.lang.String[] { "InstanceIdentifierPathArguments", });
3934           internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor =
3935             getDescriptor().getMessageTypes().get(6);
3936           internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable = new
3937             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3938               internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor,
3939               new java.lang.String[] { "Exists", });
3940           return null;
3941         }
3942       };
3943     com.google.protobuf.Descriptors.FileDescriptor
3944       .internalBuildGeneratedFileFrom(descriptorData,
3945         new com.google.protobuf.Descriptors.FileDescriptor[] {
3946           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
3947         }, assigner);
3948   }
3949
3950   // @@protoc_insertion_point(outer_class_scope)
3951 }