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