BUG-5280: switch transactionIdentifier
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / protobuff / messages / transaction / ShardTransactionChainMessages.java
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: ShardTransactionChain.proto
3
4 package org.opendaylight.controller.protobuff.messages.transaction;
5
6 @Deprecated
7 public final class ShardTransactionChainMessages {
8   private ShardTransactionChainMessages() {}
9   public static void registerAllExtensions(
10       com.google.protobuf.ExtensionRegistry registry) {
11   }
12   public interface CloseTransactionChainOrBuilder
13       extends com.google.protobuf.MessageOrBuilder {
14
15     // optional string transactionChainId = 1;
16     /**
17      * <code>optional string transactionChainId = 1;</code>
18      */
19     boolean hasTransactionChainId();
20     /**
21      * <code>optional string transactionChainId = 1;</code>
22      */
23     java.lang.String getTransactionChainId();
24     /**
25      * <code>optional string transactionChainId = 1;</code>
26      */
27     com.google.protobuf.ByteString
28         getTransactionChainIdBytes();
29   }
30   /**
31    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
32    */
33   public static final class CloseTransactionChain extends
34       com.google.protobuf.GeneratedMessage
35       implements CloseTransactionChainOrBuilder {
36     // Use CloseTransactionChain.newBuilder() to construct.
37     private CloseTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
38       super(builder);
39       this.unknownFields = builder.getUnknownFields();
40     }
41     private CloseTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
42
43     private static final CloseTransactionChain defaultInstance;
44     public static CloseTransactionChain getDefaultInstance() {
45       return defaultInstance;
46     }
47
48     @Override
49     public CloseTransactionChain getDefaultInstanceForType() {
50       return defaultInstance;
51     }
52
53     private final com.google.protobuf.UnknownFieldSet unknownFields;
54     @java.lang.Override
55     public final com.google.protobuf.UnknownFieldSet
56         getUnknownFields() {
57       return this.unknownFields;
58     }
59     private CloseTransactionChain(
60         com.google.protobuf.CodedInputStream input,
61         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
62         throws com.google.protobuf.InvalidProtocolBufferException {
63       initFields();
64       int mutable_bitField0_ = 0;
65       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
66           com.google.protobuf.UnknownFieldSet.newBuilder();
67       try {
68         boolean done = false;
69         while (!done) {
70           int tag = input.readTag();
71           switch (tag) {
72             case 0:
73               done = true;
74               break;
75             default: {
76               if (!parseUnknownField(input, unknownFields,
77                                      extensionRegistry, tag)) {
78                 done = true;
79               }
80               break;
81             }
82             case 10: {
83               bitField0_ |= 0x00000001;
84               transactionChainId_ = input.readBytes();
85               break;
86             }
87           }
88         }
89       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
90         throw e.setUnfinishedMessage(this);
91       } catch (java.io.IOException e) {
92         throw new com.google.protobuf.InvalidProtocolBufferException(
93             e.getMessage()).setUnfinishedMessage(this);
94       } finally {
95         this.unknownFields = unknownFields.build();
96         makeExtensionsImmutable();
97       }
98     }
99     public static final com.google.protobuf.Descriptors.Descriptor
100         getDescriptor() {
101       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
102     }
103
104     @Override
105     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
106         internalGetFieldAccessorTable() {
107       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
108           .ensureFieldAccessorsInitialized(
109               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
110     }
111
112     public static com.google.protobuf.Parser<CloseTransactionChain> PARSER =
113         new com.google.protobuf.AbstractParser<CloseTransactionChain>() {
114       @Override
115     public CloseTransactionChain parsePartialFrom(
116           com.google.protobuf.CodedInputStream input,
117           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
118           throws com.google.protobuf.InvalidProtocolBufferException {
119         return new CloseTransactionChain(input, extensionRegistry);
120       }
121     };
122
123     @java.lang.Override
124     public com.google.protobuf.Parser<CloseTransactionChain> getParserForType() {
125       return PARSER;
126     }
127
128     private int bitField0_;
129     // optional string transactionChainId = 1;
130     public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 1;
131     private java.lang.Object transactionChainId_;
132     /**
133      * <code>optional string transactionChainId = 1;</code>
134      */
135     @Override
136     public boolean hasTransactionChainId() {
137       return ((bitField0_ & 0x00000001) == 0x00000001);
138     }
139     /**
140      * <code>optional string transactionChainId = 1;</code>
141      */
142     @Override
143     public java.lang.String getTransactionChainId() {
144       java.lang.Object ref = transactionChainId_;
145       if (ref instanceof java.lang.String) {
146         return (java.lang.String) ref;
147       } else {
148         com.google.protobuf.ByteString bs =
149             (com.google.protobuf.ByteString) ref;
150         java.lang.String s = bs.toStringUtf8();
151         if (bs.isValidUtf8()) {
152           transactionChainId_ = s;
153         }
154         return s;
155       }
156     }
157     /**
158      * <code>optional string transactionChainId = 1;</code>
159      */
160     @Override
161     public com.google.protobuf.ByteString
162         getTransactionChainIdBytes() {
163       java.lang.Object ref = transactionChainId_;
164       if (ref instanceof java.lang.String) {
165         com.google.protobuf.ByteString b =
166             com.google.protobuf.ByteString.copyFromUtf8(
167                 (java.lang.String) ref);
168         transactionChainId_ = b;
169         return b;
170       } else {
171         return (com.google.protobuf.ByteString) ref;
172       }
173     }
174
175     private void initFields() {
176       transactionChainId_ = "";
177     }
178     private byte memoizedIsInitialized = -1;
179     @Override
180     public final boolean isInitialized() {
181       byte isInitialized = memoizedIsInitialized;
182       if (isInitialized != -1) {
183         return isInitialized == 1;
184     }
185
186       memoizedIsInitialized = 1;
187       return true;
188     }
189
190     @Override
191     public void writeTo(com.google.protobuf.CodedOutputStream output)
192                         throws java.io.IOException {
193       getSerializedSize();
194       if (((bitField0_ & 0x00000001) == 0x00000001)) {
195         output.writeBytes(1, getTransactionChainIdBytes());
196       }
197       getUnknownFields().writeTo(output);
198     }
199
200     private int memoizedSerializedSize = -1;
201     @Override
202     public int getSerializedSize() {
203       int size = memoizedSerializedSize;
204       if (size != -1) {
205         return size;
206     }
207
208       size = 0;
209       if (((bitField0_ & 0x00000001) == 0x00000001)) {
210         size += com.google.protobuf.CodedOutputStream
211           .computeBytesSize(1, getTransactionChainIdBytes());
212       }
213       size += getUnknownFields().getSerializedSize();
214       memoizedSerializedSize = size;
215       return size;
216     }
217
218     private static final long serialVersionUID = 0L;
219     @java.lang.Override
220     protected java.lang.Object writeReplace()
221         throws java.io.ObjectStreamException {
222       return super.writeReplace();
223     }
224
225     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
226         com.google.protobuf.ByteString data)
227         throws com.google.protobuf.InvalidProtocolBufferException {
228       return PARSER.parseFrom(data);
229     }
230     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
231         com.google.protobuf.ByteString data,
232         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
233         throws com.google.protobuf.InvalidProtocolBufferException {
234       return PARSER.parseFrom(data, extensionRegistry);
235     }
236     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(byte[] data)
237         throws com.google.protobuf.InvalidProtocolBufferException {
238       return PARSER.parseFrom(data);
239     }
240     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
241         byte[] data,
242         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
243         throws com.google.protobuf.InvalidProtocolBufferException {
244       return PARSER.parseFrom(data, extensionRegistry);
245     }
246     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(java.io.InputStream input)
247         throws java.io.IOException {
248       return PARSER.parseFrom(input);
249     }
250     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
251         java.io.InputStream input,
252         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
253         throws java.io.IOException {
254       return PARSER.parseFrom(input, extensionRegistry);
255     }
256     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(java.io.InputStream input)
257         throws java.io.IOException {
258       return PARSER.parseDelimitedFrom(input);
259     }
260     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(
261         java.io.InputStream input,
262         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
263         throws java.io.IOException {
264       return PARSER.parseDelimitedFrom(input, extensionRegistry);
265     }
266     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
267         com.google.protobuf.CodedInputStream input)
268         throws java.io.IOException {
269       return PARSER.parseFrom(input);
270     }
271     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
272         com.google.protobuf.CodedInputStream input,
273         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
274         throws java.io.IOException {
275       return PARSER.parseFrom(input, extensionRegistry);
276     }
277
278     public static Builder newBuilder() { return Builder.create(); }
279     @Override
280     public Builder newBuilderForType() { return newBuilder(); }
281     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain prototype) {
282       return newBuilder().mergeFrom(prototype);
283     }
284     @Override
285     public Builder toBuilder() { return newBuilder(this); }
286
287     @java.lang.Override
288     protected Builder newBuilderForType(
289         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
290       Builder builder = new Builder(parent);
291       return builder;
292     }
293     /**
294      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
295      */
296     public static final class Builder extends
297         com.google.protobuf.GeneratedMessage.Builder<Builder>
298        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainOrBuilder {
299       public static final com.google.protobuf.Descriptors.Descriptor
300           getDescriptor() {
301         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
302       }
303
304       @Override
305     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
306           internalGetFieldAccessorTable() {
307         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
308             .ensureFieldAccessorsInitialized(
309                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
310       }
311
312       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.newBuilder()
313       private Builder() {
314         maybeForceBuilderInitialization();
315       }
316
317       private Builder(
318           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
319         super(parent);
320         maybeForceBuilderInitialization();
321       }
322       private void maybeForceBuilderInitialization() {
323         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
324         }
325       }
326       private static Builder create() {
327         return new Builder();
328       }
329
330       @Override
331     public Builder clear() {
332         super.clear();
333         transactionChainId_ = "";
334         bitField0_ = (bitField0_ & ~0x00000001);
335         return this;
336       }
337
338       @Override
339     public Builder clone() {
340         return create().mergeFrom(buildPartial());
341       }
342
343       @Override
344     public com.google.protobuf.Descriptors.Descriptor
345           getDescriptorForType() {
346         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
347       }
348
349       @Override
350     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain getDefaultInstanceForType() {
351         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance();
352       }
353
354       @Override
355     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain build() {
356         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = buildPartial();
357         if (!result.isInitialized()) {
358           throw newUninitializedMessageException(result);
359         }
360         return result;
361       }
362
363       @Override
364     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain buildPartial() {
365         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain(this);
366         int from_bitField0_ = bitField0_;
367         int to_bitField0_ = 0;
368         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
369           to_bitField0_ |= 0x00000001;
370         }
371         result.transactionChainId_ = transactionChainId_;
372         result.bitField0_ = to_bitField0_;
373         onBuilt();
374         return result;
375       }
376
377       @Override
378     public Builder mergeFrom(com.google.protobuf.Message other) {
379         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) {
380           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain)other);
381         } else {
382           super.mergeFrom(other);
383           return this;
384         }
385       }
386
387       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain other) {
388         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance()) {
389             return this;
390         }
391         if (other.hasTransactionChainId()) {
392           bitField0_ |= 0x00000001;
393           transactionChainId_ = other.transactionChainId_;
394           onChanged();
395         }
396         this.mergeUnknownFields(other.getUnknownFields());
397         return this;
398       }
399
400       @Override
401     public final boolean isInitialized() {
402         return true;
403       }
404
405       @Override
406     public Builder mergeFrom(
407           com.google.protobuf.CodedInputStream input,
408           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
409           throws java.io.IOException {
410         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parsedMessage = null;
411         try {
412           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
413         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
414           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) e.getUnfinishedMessage();
415           throw e;
416         } finally {
417           if (parsedMessage != null) {
418             mergeFrom(parsedMessage);
419           }
420         }
421         return this;
422       }
423       private int bitField0_;
424
425       // optional string transactionChainId = 1;
426       private java.lang.Object transactionChainId_ = "";
427       /**
428        * <code>optional string transactionChainId = 1;</code>
429        */
430       @Override
431     public boolean hasTransactionChainId() {
432         return ((bitField0_ & 0x00000001) == 0x00000001);
433       }
434       /**
435        * <code>optional string transactionChainId = 1;</code>
436        */
437       @Override
438     public java.lang.String getTransactionChainId() {
439         java.lang.Object ref = transactionChainId_;
440         if (!(ref instanceof java.lang.String)) {
441           java.lang.String s = ((com.google.protobuf.ByteString) ref)
442               .toStringUtf8();
443           transactionChainId_ = s;
444           return s;
445         } else {
446           return (java.lang.String) ref;
447         }
448       }
449       /**
450        * <code>optional string transactionChainId = 1;</code>
451        */
452       @Override
453     public com.google.protobuf.ByteString
454           getTransactionChainIdBytes() {
455         java.lang.Object ref = transactionChainId_;
456         if (ref instanceof String) {
457           com.google.protobuf.ByteString b =
458               com.google.protobuf.ByteString.copyFromUtf8(
459                   (java.lang.String) ref);
460           transactionChainId_ = b;
461           return b;
462         } else {
463           return (com.google.protobuf.ByteString) ref;
464         }
465       }
466       /**
467        * <code>optional string transactionChainId = 1;</code>
468        */
469       public Builder setTransactionChainId(
470           java.lang.String value) {
471         if (value == null) {
472     throw new NullPointerException();
473   }
474   bitField0_ |= 0x00000001;
475         transactionChainId_ = value;
476         onChanged();
477         return this;
478       }
479       /**
480        * <code>optional string transactionChainId = 1;</code>
481        */
482       public Builder clearTransactionChainId() {
483         bitField0_ = (bitField0_ & ~0x00000001);
484         transactionChainId_ = getDefaultInstance().getTransactionChainId();
485         onChanged();
486         return this;
487       }
488       /**
489        * <code>optional string transactionChainId = 1;</code>
490        */
491       public Builder setTransactionChainIdBytes(
492           com.google.protobuf.ByteString value) {
493         if (value == null) {
494     throw new NullPointerException();
495   }
496   bitField0_ |= 0x00000001;
497         transactionChainId_ = value;
498         onChanged();
499         return this;
500       }
501
502       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
503     }
504
505     static {
506       defaultInstance = new CloseTransactionChain(true);
507       defaultInstance.initFields();
508     }
509
510     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
511   }
512
513   public interface CloseTransactionChainReplyOrBuilder
514       extends com.google.protobuf.MessageOrBuilder {
515   }
516   /**
517    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
518    */
519   public static final class CloseTransactionChainReply extends
520       com.google.protobuf.GeneratedMessage
521       implements CloseTransactionChainReplyOrBuilder {
522     // Use CloseTransactionChainReply.newBuilder() to construct.
523     private CloseTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
524       super(builder);
525       this.unknownFields = builder.getUnknownFields();
526     }
527     private CloseTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
528
529     private static final CloseTransactionChainReply defaultInstance;
530     public static CloseTransactionChainReply getDefaultInstance() {
531       return defaultInstance;
532     }
533
534     @Override
535     public CloseTransactionChainReply getDefaultInstanceForType() {
536       return defaultInstance;
537     }
538
539     private final com.google.protobuf.UnknownFieldSet unknownFields;
540     @java.lang.Override
541     public final com.google.protobuf.UnknownFieldSet
542         getUnknownFields() {
543       return this.unknownFields;
544     }
545     private CloseTransactionChainReply(
546         com.google.protobuf.CodedInputStream input,
547         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
548         throws com.google.protobuf.InvalidProtocolBufferException {
549       initFields();
550       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
551           com.google.protobuf.UnknownFieldSet.newBuilder();
552       try {
553         boolean done = false;
554         while (!done) {
555           int tag = input.readTag();
556           switch (tag) {
557             case 0:
558               done = true;
559               break;
560             default: {
561               if (!parseUnknownField(input, unknownFields,
562                                      extensionRegistry, tag)) {
563                 done = true;
564               }
565               break;
566             }
567           }
568         }
569       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
570         throw e.setUnfinishedMessage(this);
571       } catch (java.io.IOException e) {
572         throw new com.google.protobuf.InvalidProtocolBufferException(
573             e.getMessage()).setUnfinishedMessage(this);
574       } finally {
575         this.unknownFields = unknownFields.build();
576         makeExtensionsImmutable();
577       }
578     }
579     public static final com.google.protobuf.Descriptors.Descriptor
580         getDescriptor() {
581       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
582     }
583
584     @Override
585     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
586         internalGetFieldAccessorTable() {
587       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
588           .ensureFieldAccessorsInitialized(
589               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
590     }
591
592     public static com.google.protobuf.Parser<CloseTransactionChainReply> PARSER =
593         new com.google.protobuf.AbstractParser<CloseTransactionChainReply>() {
594       @Override
595     public CloseTransactionChainReply parsePartialFrom(
596           com.google.protobuf.CodedInputStream input,
597           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
598           throws com.google.protobuf.InvalidProtocolBufferException {
599         return new CloseTransactionChainReply(input, extensionRegistry);
600       }
601     };
602
603     @java.lang.Override
604     public com.google.protobuf.Parser<CloseTransactionChainReply> getParserForType() {
605       return PARSER;
606     }
607
608     private void initFields() {
609     }
610     private byte memoizedIsInitialized = -1;
611     @Override
612     public final boolean isInitialized() {
613       byte isInitialized = memoizedIsInitialized;
614       if (isInitialized != -1) {
615         return isInitialized == 1;
616     }
617
618       memoizedIsInitialized = 1;
619       return true;
620     }
621
622     @Override
623     public void writeTo(com.google.protobuf.CodedOutputStream output)
624                         throws java.io.IOException {
625       getSerializedSize();
626       getUnknownFields().writeTo(output);
627     }
628
629     private int memoizedSerializedSize = -1;
630     @Override
631     public int getSerializedSize() {
632       int size = memoizedSerializedSize;
633       if (size != -1) {
634         return size;
635     }
636
637       size = 0;
638       size += getUnknownFields().getSerializedSize();
639       memoizedSerializedSize = size;
640       return size;
641     }
642
643     private static final long serialVersionUID = 0L;
644     @java.lang.Override
645     protected java.lang.Object writeReplace()
646         throws java.io.ObjectStreamException {
647       return super.writeReplace();
648     }
649
650     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
651         com.google.protobuf.ByteString data)
652         throws com.google.protobuf.InvalidProtocolBufferException {
653       return PARSER.parseFrom(data);
654     }
655     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
656         com.google.protobuf.ByteString data,
657         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
658         throws com.google.protobuf.InvalidProtocolBufferException {
659       return PARSER.parseFrom(data, extensionRegistry);
660     }
661     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(byte[] data)
662         throws com.google.protobuf.InvalidProtocolBufferException {
663       return PARSER.parseFrom(data);
664     }
665     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
666         byte[] data,
667         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
668         throws com.google.protobuf.InvalidProtocolBufferException {
669       return PARSER.parseFrom(data, extensionRegistry);
670     }
671     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(java.io.InputStream input)
672         throws java.io.IOException {
673       return PARSER.parseFrom(input);
674     }
675     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
676         java.io.InputStream input,
677         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
678         throws java.io.IOException {
679       return PARSER.parseFrom(input, extensionRegistry);
680     }
681     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
682         throws java.io.IOException {
683       return PARSER.parseDelimitedFrom(input);
684     }
685     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(
686         java.io.InputStream input,
687         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
688         throws java.io.IOException {
689       return PARSER.parseDelimitedFrom(input, extensionRegistry);
690     }
691     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
692         com.google.protobuf.CodedInputStream input)
693         throws java.io.IOException {
694       return PARSER.parseFrom(input);
695     }
696     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
697         com.google.protobuf.CodedInputStream input,
698         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
699         throws java.io.IOException {
700       return PARSER.parseFrom(input, extensionRegistry);
701     }
702
703     public static Builder newBuilder() { return Builder.create(); }
704     @Override
705     public Builder newBuilderForType() { return newBuilder(); }
706     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply prototype) {
707       return newBuilder().mergeFrom(prototype);
708     }
709     @Override
710     public Builder toBuilder() { return newBuilder(this); }
711
712     @java.lang.Override
713     protected Builder newBuilderForType(
714         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
715       Builder builder = new Builder(parent);
716       return builder;
717     }
718     /**
719      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
720      */
721     public static final class Builder extends
722         com.google.protobuf.GeneratedMessage.Builder<Builder>
723        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReplyOrBuilder {
724       public static final com.google.protobuf.Descriptors.Descriptor
725           getDescriptor() {
726         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
727       }
728
729       @Override
730     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
731           internalGetFieldAccessorTable() {
732         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
733             .ensureFieldAccessorsInitialized(
734                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
735       }
736
737       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.newBuilder()
738       private Builder() {
739         maybeForceBuilderInitialization();
740       }
741
742       private Builder(
743           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
744         super(parent);
745         maybeForceBuilderInitialization();
746       }
747       private void maybeForceBuilderInitialization() {
748         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
749         }
750       }
751       private static Builder create() {
752         return new Builder();
753       }
754
755       @Override
756     public Builder clear() {
757         super.clear();
758         return this;
759       }
760
761       @Override
762     public Builder clone() {
763         return create().mergeFrom(buildPartial());
764       }
765
766       @Override
767     public com.google.protobuf.Descriptors.Descriptor
768           getDescriptorForType() {
769         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
770       }
771
772       @Override
773     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply getDefaultInstanceForType() {
774         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance();
775       }
776
777       @Override
778     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply build() {
779         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = buildPartial();
780         if (!result.isInitialized()) {
781           throw newUninitializedMessageException(result);
782         }
783         return result;
784       }
785
786       @Override
787     public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply buildPartial() {
788         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply(this);
789         onBuilt();
790         return result;
791       }
792
793       @Override
794     public Builder mergeFrom(com.google.protobuf.Message other) {
795         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) {
796           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply)other);
797         } else {
798           super.mergeFrom(other);
799           return this;
800         }
801       }
802
803       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply other) {
804         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance()) {
805             return this;
806         }
807         this.mergeUnknownFields(other.getUnknownFields());
808         return this;
809       }
810
811       @Override
812     public final boolean isInitialized() {
813         return true;
814       }
815
816       @Override
817     public Builder mergeFrom(
818           com.google.protobuf.CodedInputStream input,
819           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
820           throws java.io.IOException {
821         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parsedMessage = null;
822         try {
823           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
824         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
825           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) e.getUnfinishedMessage();
826           throw e;
827         } finally {
828           if (parsedMessage != null) {
829             mergeFrom(parsedMessage);
830           }
831         }
832         return this;
833       }
834
835       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
836     }
837
838     static {
839       defaultInstance = new CloseTransactionChainReply(true);
840       defaultInstance.initFields();
841     }
842
843     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
844   }
845
846   private static com.google.protobuf.Descriptors.Descriptor
847     internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
848   private static
849     com.google.protobuf.GeneratedMessage.FieldAccessorTable
850       internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable;
851   private static com.google.protobuf.Descriptors.Descriptor
852     internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
853   private static
854     com.google.protobuf.GeneratedMessage.FieldAccessorTable
855       internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable;
856
857   public static com.google.protobuf.Descriptors.FileDescriptor
858       getDescriptor() {
859     return descriptor;
860   }
861   private static com.google.protobuf.Descriptors.FileDescriptor
862       descriptor;
863   static {
864     java.lang.String[] descriptorData = {
865       "\n\033ShardTransactionChain.proto\022!org.opend" +
866       "aylight.controller.mdsal\"3\n\025CloseTransac" +
867       "tionChain\022\032\n\022transactionChainId\030\001 \001(\t\"\034\n" +
868       "\032CloseTransactionChainReplyB[\n:org.opend" +
869       "aylight.controller.protobuff.messages.tr" +
870       "ansactionB\035ShardTransactionChainMessages"
871     };
872     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
873       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
874         @Override
875         public com.google.protobuf.ExtensionRegistry assignDescriptors(
876             com.google.protobuf.Descriptors.FileDescriptor root) {
877           descriptor = root;
878           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor =
879             getDescriptor().getMessageTypes().get(0);
880           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable = new
881             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
882               internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor,
883               new java.lang.String[] { "TransactionChainId", });
884           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor =
885             getDescriptor().getMessageTypes().get(1);
886           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable = new
887             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
888               internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor,
889               new java.lang.String[] { });
890           return null;
891         }
892       };
893     com.google.protobuf.Descriptors.FileDescriptor
894       .internalBuildGeneratedFileFrom(descriptorData,
895         new com.google.protobuf.Descriptors.FileDescriptor[] {
896         }, assigner);
897   }
898
899   // @@protoc_insertion_point(outer_class_scope)
900 }