Merge "Cleanup RpcRoutingStrategy definition"
[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 public final class ShardTransactionChainMessages {
7   private ShardTransactionChainMessages() {}
8   public static void registerAllExtensions(
9       com.google.protobuf.ExtensionRegistry registry) {
10   }
11   public interface CloseTransactionChainOrBuilder
12       extends com.google.protobuf.MessageOrBuilder {
13
14     // optional string transactionChainId = 1;
15     /**
16      * <code>optional string transactionChainId = 1;</code>
17      */
18     boolean hasTransactionChainId();
19     /**
20      * <code>optional string transactionChainId = 1;</code>
21      */
22     java.lang.String getTransactionChainId();
23     /**
24      * <code>optional string transactionChainId = 1;</code>
25      */
26     com.google.protobuf.ByteString
27         getTransactionChainIdBytes();
28   }
29   /**
30    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
31    */
32   public static final class CloseTransactionChain extends
33       com.google.protobuf.GeneratedMessage
34       implements CloseTransactionChainOrBuilder {
35     // Use CloseTransactionChain.newBuilder() to construct.
36     private CloseTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
37       super(builder);
38       this.unknownFields = builder.getUnknownFields();
39     }
40     private CloseTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
41
42     private static final CloseTransactionChain defaultInstance;
43     public static CloseTransactionChain getDefaultInstance() {
44       return defaultInstance;
45     }
46
47     public CloseTransactionChain 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 CloseTransactionChain(
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               transactionChainId_ = 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.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
100     }
101
102     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
103         internalGetFieldAccessorTable() {
104       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
105           .ensureFieldAccessorsInitialized(
106               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
107     }
108
109     public static com.google.protobuf.Parser<CloseTransactionChain> PARSER =
110         new com.google.protobuf.AbstractParser<CloseTransactionChain>() {
111       public CloseTransactionChain parsePartialFrom(
112           com.google.protobuf.CodedInputStream input,
113           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
114           throws com.google.protobuf.InvalidProtocolBufferException {
115         return new CloseTransactionChain(input, extensionRegistry);
116       }
117     };
118
119     @java.lang.Override
120     public com.google.protobuf.Parser<CloseTransactionChain> getParserForType() {
121       return PARSER;
122     }
123
124     private int bitField0_;
125     // optional string transactionChainId = 1;
126     public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 1;
127     private java.lang.Object transactionChainId_;
128     /**
129      * <code>optional string transactionChainId = 1;</code>
130      */
131     public boolean hasTransactionChainId() {
132       return ((bitField0_ & 0x00000001) == 0x00000001);
133     }
134     /**
135      * <code>optional string transactionChainId = 1;</code>
136      */
137     public java.lang.String getTransactionChainId() {
138       java.lang.Object ref = transactionChainId_;
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           transactionChainId_ = s;
147         }
148         return s;
149       }
150     }
151     /**
152      * <code>optional string transactionChainId = 1;</code>
153      */
154     public com.google.protobuf.ByteString
155         getTransactionChainIdBytes() {
156       java.lang.Object ref = transactionChainId_;
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         transactionChainId_ = b;
162         return b;
163       } else {
164         return (com.google.protobuf.ByteString) ref;
165       }
166     }
167
168     private void initFields() {
169       transactionChainId_ = "";
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, getTransactionChainIdBytes());
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, getTransactionChainIdBytes());
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.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(byte[] data)
223         throws com.google.protobuf.InvalidProtocolBufferException {
224       return PARSER.parseFrom(data);
225     }
226     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(java.io.InputStream input)
233         throws java.io.IOException {
234       return PARSER.parseFrom(input);
235     }
236     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(java.io.InputStream input)
243         throws java.io.IOException {
244       return PARSER.parseDelimitedFrom(input);
245     }
246     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.transaction.ShardTransactionChainMessages.CloseTransactionChain 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.CloseTransactionChain}
279      */
280     public static final class Builder extends
281         com.google.protobuf.GeneratedMessage.Builder<Builder>
282        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainOrBuilder {
283       public static final com.google.protobuf.Descriptors.Descriptor
284           getDescriptor() {
285         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
286       }
287
288       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
289           internalGetFieldAccessorTable() {
290         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
291             .ensureFieldAccessorsInitialized(
292                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
293       }
294
295       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.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         transactionChainId_ = "";
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.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
327       }
328
329       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain getDefaultInstanceForType() {
330         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance();
331       }
332
333       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain build() {
334         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = buildPartial();
335         if (!result.isInitialized()) {
336           throw newUninitializedMessageException(result);
337         }
338         return result;
339       }
340
341       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain buildPartial() {
342         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain(this);
343         int from_bitField0_ = bitField0_;
344         int to_bitField0_ = 0;
345         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
346           to_bitField0_ |= 0x00000001;
347         }
348         result.transactionChainId_ = transactionChainId_;
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.transaction.ShardTransactionChainMessages.CloseTransactionChain) {
356           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain)other);
357         } else {
358           super.mergeFrom(other);
359           return this;
360         }
361       }
362
363       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain other) {
364         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance()) return this;
365         if (other.hasTransactionChainId()) {
366           bitField0_ |= 0x00000001;
367           transactionChainId_ = other.transactionChainId_;
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.transaction.ShardTransactionChainMessages.CloseTransactionChain parsedMessage = null;
383         try {
384           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
385         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
386           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) 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 transactionChainId = 1;
398       private java.lang.Object transactionChainId_ = "";
399       /**
400        * <code>optional string transactionChainId = 1;</code>
401        */
402       public boolean hasTransactionChainId() {
403         return ((bitField0_ & 0x00000001) == 0x00000001);
404       }
405       /**
406        * <code>optional string transactionChainId = 1;</code>
407        */
408       public java.lang.String getTransactionChainId() {
409         java.lang.Object ref = transactionChainId_;
410         if (!(ref instanceof java.lang.String)) {
411           java.lang.String s = ((com.google.protobuf.ByteString) ref)
412               .toStringUtf8();
413           transactionChainId_ = s;
414           return s;
415         } else {
416           return (java.lang.String) ref;
417         }
418       }
419       /**
420        * <code>optional string transactionChainId = 1;</code>
421        */
422       public com.google.protobuf.ByteString
423           getTransactionChainIdBytes() {
424         java.lang.Object ref = transactionChainId_;
425         if (ref instanceof String) {
426           com.google.protobuf.ByteString b =
427               com.google.protobuf.ByteString.copyFromUtf8(
428                   (java.lang.String) ref);
429           transactionChainId_ = b;
430           return b;
431         } else {
432           return (com.google.protobuf.ByteString) ref;
433         }
434       }
435       /**
436        * <code>optional string transactionChainId = 1;</code>
437        */
438       public Builder setTransactionChainId(
439           java.lang.String value) {
440         if (value == null) {
441     throw new NullPointerException();
442   }
443   bitField0_ |= 0x00000001;
444         transactionChainId_ = value;
445         onChanged();
446         return this;
447       }
448       /**
449        * <code>optional string transactionChainId = 1;</code>
450        */
451       public Builder clearTransactionChainId() {
452         bitField0_ = (bitField0_ & ~0x00000001);
453         transactionChainId_ = getDefaultInstance().getTransactionChainId();
454         onChanged();
455         return this;
456       }
457       /**
458        * <code>optional string transactionChainId = 1;</code>
459        */
460       public Builder setTransactionChainIdBytes(
461           com.google.protobuf.ByteString value) {
462         if (value == null) {
463     throw new NullPointerException();
464   }
465   bitField0_ |= 0x00000001;
466         transactionChainId_ = value;
467         onChanged();
468         return this;
469       }
470
471       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
472     }
473
474     static {
475       defaultInstance = new CloseTransactionChain(true);
476       defaultInstance.initFields();
477     }
478
479     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
480   }
481
482   public interface CloseTransactionChainReplyOrBuilder
483       extends com.google.protobuf.MessageOrBuilder {
484   }
485   /**
486    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
487    */
488   public static final class CloseTransactionChainReply extends
489       com.google.protobuf.GeneratedMessage
490       implements CloseTransactionChainReplyOrBuilder {
491     // Use CloseTransactionChainReply.newBuilder() to construct.
492     private CloseTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
493       super(builder);
494       this.unknownFields = builder.getUnknownFields();
495     }
496     private CloseTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
497
498     private static final CloseTransactionChainReply defaultInstance;
499     public static CloseTransactionChainReply getDefaultInstance() {
500       return defaultInstance;
501     }
502
503     public CloseTransactionChainReply getDefaultInstanceForType() {
504       return defaultInstance;
505     }
506
507     private final com.google.protobuf.UnknownFieldSet unknownFields;
508     @java.lang.Override
509     public final com.google.protobuf.UnknownFieldSet
510         getUnknownFields() {
511       return this.unknownFields;
512     }
513     private CloseTransactionChainReply(
514         com.google.protobuf.CodedInputStream input,
515         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
516         throws com.google.protobuf.InvalidProtocolBufferException {
517       initFields();
518       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
519           com.google.protobuf.UnknownFieldSet.newBuilder();
520       try {
521         boolean done = false;
522         while (!done) {
523           int tag = input.readTag();
524           switch (tag) {
525             case 0:
526               done = true;
527               break;
528             default: {
529               if (!parseUnknownField(input, unknownFields,
530                                      extensionRegistry, tag)) {
531                 done = true;
532               }
533               break;
534             }
535           }
536         }
537       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
538         throw e.setUnfinishedMessage(this);
539       } catch (java.io.IOException e) {
540         throw new com.google.protobuf.InvalidProtocolBufferException(
541             e.getMessage()).setUnfinishedMessage(this);
542       } finally {
543         this.unknownFields = unknownFields.build();
544         makeExtensionsImmutable();
545       }
546     }
547     public static final com.google.protobuf.Descriptors.Descriptor
548         getDescriptor() {
549       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
550     }
551
552     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
553         internalGetFieldAccessorTable() {
554       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
555           .ensureFieldAccessorsInitialized(
556               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
557     }
558
559     public static com.google.protobuf.Parser<CloseTransactionChainReply> PARSER =
560         new com.google.protobuf.AbstractParser<CloseTransactionChainReply>() {
561       public CloseTransactionChainReply parsePartialFrom(
562           com.google.protobuf.CodedInputStream input,
563           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
564           throws com.google.protobuf.InvalidProtocolBufferException {
565         return new CloseTransactionChainReply(input, extensionRegistry);
566       }
567     };
568
569     @java.lang.Override
570     public com.google.protobuf.Parser<CloseTransactionChainReply> getParserForType() {
571       return PARSER;
572     }
573
574     private void initFields() {
575     }
576     private byte memoizedIsInitialized = -1;
577     public final boolean isInitialized() {
578       byte isInitialized = memoizedIsInitialized;
579       if (isInitialized != -1) return isInitialized == 1;
580
581       memoizedIsInitialized = 1;
582       return true;
583     }
584
585     public void writeTo(com.google.protobuf.CodedOutputStream output)
586                         throws java.io.IOException {
587       getSerializedSize();
588       getUnknownFields().writeTo(output);
589     }
590
591     private int memoizedSerializedSize = -1;
592     public int getSerializedSize() {
593       int size = memoizedSerializedSize;
594       if (size != -1) return size;
595
596       size = 0;
597       size += getUnknownFields().getSerializedSize();
598       memoizedSerializedSize = size;
599       return size;
600     }
601
602     private static final long serialVersionUID = 0L;
603     @java.lang.Override
604     protected java.lang.Object writeReplace()
605         throws java.io.ObjectStreamException {
606       return super.writeReplace();
607     }
608
609     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
610         com.google.protobuf.ByteString data)
611         throws com.google.protobuf.InvalidProtocolBufferException {
612       return PARSER.parseFrom(data);
613     }
614     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
615         com.google.protobuf.ByteString data,
616         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
617         throws com.google.protobuf.InvalidProtocolBufferException {
618       return PARSER.parseFrom(data, extensionRegistry);
619     }
620     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(byte[] data)
621         throws com.google.protobuf.InvalidProtocolBufferException {
622       return PARSER.parseFrom(data);
623     }
624     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
625         byte[] data,
626         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
627         throws com.google.protobuf.InvalidProtocolBufferException {
628       return PARSER.parseFrom(data, extensionRegistry);
629     }
630     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(java.io.InputStream input)
631         throws java.io.IOException {
632       return PARSER.parseFrom(input);
633     }
634     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
635         java.io.InputStream input,
636         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
637         throws java.io.IOException {
638       return PARSER.parseFrom(input, extensionRegistry);
639     }
640     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
641         throws java.io.IOException {
642       return PARSER.parseDelimitedFrom(input);
643     }
644     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(
645         java.io.InputStream input,
646         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
647         throws java.io.IOException {
648       return PARSER.parseDelimitedFrom(input, extensionRegistry);
649     }
650     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
651         com.google.protobuf.CodedInputStream input)
652         throws java.io.IOException {
653       return PARSER.parseFrom(input);
654     }
655     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
656         com.google.protobuf.CodedInputStream input,
657         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
658         throws java.io.IOException {
659       return PARSER.parseFrom(input, extensionRegistry);
660     }
661
662     public static Builder newBuilder() { return Builder.create(); }
663     public Builder newBuilderForType() { return newBuilder(); }
664     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply prototype) {
665       return newBuilder().mergeFrom(prototype);
666     }
667     public Builder toBuilder() { return newBuilder(this); }
668
669     @java.lang.Override
670     protected Builder newBuilderForType(
671         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
672       Builder builder = new Builder(parent);
673       return builder;
674     }
675     /**
676      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
677      */
678     public static final class Builder extends
679         com.google.protobuf.GeneratedMessage.Builder<Builder>
680        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReplyOrBuilder {
681       public static final com.google.protobuf.Descriptors.Descriptor
682           getDescriptor() {
683         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
684       }
685
686       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
687           internalGetFieldAccessorTable() {
688         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
689             .ensureFieldAccessorsInitialized(
690                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
691       }
692
693       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.newBuilder()
694       private Builder() {
695         maybeForceBuilderInitialization();
696       }
697
698       private Builder(
699           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
700         super(parent);
701         maybeForceBuilderInitialization();
702       }
703       private void maybeForceBuilderInitialization() {
704         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
705         }
706       }
707       private static Builder create() {
708         return new Builder();
709       }
710
711       public Builder clear() {
712         super.clear();
713         return this;
714       }
715
716       public Builder clone() {
717         return create().mergeFrom(buildPartial());
718       }
719
720       public com.google.protobuf.Descriptors.Descriptor
721           getDescriptorForType() {
722         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
723       }
724
725       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply getDefaultInstanceForType() {
726         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance();
727       }
728
729       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply build() {
730         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = buildPartial();
731         if (!result.isInitialized()) {
732           throw newUninitializedMessageException(result);
733         }
734         return result;
735       }
736
737       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply buildPartial() {
738         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply(this);
739         onBuilt();
740         return result;
741       }
742
743       public Builder mergeFrom(com.google.protobuf.Message other) {
744         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) {
745           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply)other);
746         } else {
747           super.mergeFrom(other);
748           return this;
749         }
750       }
751
752       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply other) {
753         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance()) return this;
754         this.mergeUnknownFields(other.getUnknownFields());
755         return this;
756       }
757
758       public final boolean isInitialized() {
759         return true;
760       }
761
762       public Builder mergeFrom(
763           com.google.protobuf.CodedInputStream input,
764           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
765           throws java.io.IOException {
766         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parsedMessage = null;
767         try {
768           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
769         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
770           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) e.getUnfinishedMessage();
771           throw e;
772         } finally {
773           if (parsedMessage != null) {
774             mergeFrom(parsedMessage);
775           }
776         }
777         return this;
778       }
779
780       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
781     }
782
783     static {
784       defaultInstance = new CloseTransactionChainReply(true);
785       defaultInstance.initFields();
786     }
787
788     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
789   }
790
791   private static com.google.protobuf.Descriptors.Descriptor
792     internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
793   private static
794     com.google.protobuf.GeneratedMessage.FieldAccessorTable
795       internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable;
796   private static com.google.protobuf.Descriptors.Descriptor
797     internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
798   private static
799     com.google.protobuf.GeneratedMessage.FieldAccessorTable
800       internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable;
801
802   public static com.google.protobuf.Descriptors.FileDescriptor
803       getDescriptor() {
804     return descriptor;
805   }
806   private static com.google.protobuf.Descriptors.FileDescriptor
807       descriptor;
808   static {
809     java.lang.String[] descriptorData = {
810       "\n\033ShardTransactionChain.proto\022!org.opend" +
811       "aylight.controller.mdsal\"3\n\025CloseTransac" +
812       "tionChain\022\032\n\022transactionChainId\030\001 \001(\t\"\034\n" +
813       "\032CloseTransactionChainReplyB[\n:org.opend" +
814       "aylight.controller.protobuff.messages.tr" +
815       "ansactionB\035ShardTransactionChainMessages"
816     };
817     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
818       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
819         public com.google.protobuf.ExtensionRegistry assignDescriptors(
820             com.google.protobuf.Descriptors.FileDescriptor root) {
821           descriptor = root;
822           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor =
823             getDescriptor().getMessageTypes().get(0);
824           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable = new
825             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
826               internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor,
827               new java.lang.String[] { "TransactionChainId", });
828           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor =
829             getDescriptor().getMessageTypes().get(1);
830           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable = new
831             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
832               internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor,
833               new java.lang.String[] { });
834           return null;
835         }
836       };
837     com.google.protobuf.Descriptors.FileDescriptor
838       .internalBuildGeneratedFileFrom(descriptorData,
839         new com.google.protobuf.Descriptors.FileDescriptor[] {
840         }, assigner);
841   }
842
843   // @@protoc_insertion_point(outer_class_scope)
844 }