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;