Added test cases for each .proto file to ensure
[controller.git] / opendaylight / md-sal / sal-protocolbuffer-encoding / src / main / java / org / opendaylight / controller / protobuff / messages / transaction / ShardTransactionChainMessages.java
1 /*
2  *
3  *  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  *  This program and the accompanying materials are made available under the
6  *  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  *  and is available at http://www.eclipse.org/legal/epl-v10.html
8  *
9  */
10
11 // Generated by the protocol buffer compiler.  DO NOT EDIT!
12 // source: ShardTransactionChain.proto
13
14 package org.opendaylight.controller.protobuff.messages.transaction;
15
16 public final class ShardTransactionChainMessages {
17   private ShardTransactionChainMessages() {}
18   public static void registerAllExtensions(
19       com.google.protobuf.ExtensionRegistry registry) {
20   }
21   public interface CloseTransactionChainOrBuilder
22       extends com.google.protobuf.MessageOrBuilder {
23   }
24   /**
25    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
26    */
27   public static final class CloseTransactionChain extends
28       com.google.protobuf.GeneratedMessage
29       implements CloseTransactionChainOrBuilder {
30     // Use CloseTransactionChain.newBuilder() to construct.
31     private CloseTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32       super(builder);
33       this.unknownFields = builder.getUnknownFields();
34     }
35     private CloseTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
36
37     private static final CloseTransactionChain defaultInstance;
38     public static CloseTransactionChain getDefaultInstance() {
39       return defaultInstance;
40     }
41
42     public CloseTransactionChain getDefaultInstanceForType() {
43       return defaultInstance;
44     }
45
46     private final com.google.protobuf.UnknownFieldSet unknownFields;
47     @java.lang.Override
48     public final com.google.protobuf.UnknownFieldSet
49         getUnknownFields() {
50       return this.unknownFields;
51     }
52     private CloseTransactionChain(
53         com.google.protobuf.CodedInputStream input,
54         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
55         throws com.google.protobuf.InvalidProtocolBufferException {
56       initFields();
57       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
58           com.google.protobuf.UnknownFieldSet.newBuilder();
59       try {
60         boolean done = false;
61         while (!done) {
62           int tag = input.readTag();
63           switch (tag) {
64             case 0:
65               done = true;
66               break;
67             default: {
68               if (!parseUnknownField(input, unknownFields,
69                                      extensionRegistry, tag)) {
70                 done = true;
71               }
72               break;
73             }
74           }
75         }
76       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
77         throw e.setUnfinishedMessage(this);
78       } catch (java.io.IOException e) {
79         throw new com.google.protobuf.InvalidProtocolBufferException(
80             e.getMessage()).setUnfinishedMessage(this);
81       } finally {
82         this.unknownFields = unknownFields.build();
83         makeExtensionsImmutable();
84       }
85     }
86     public static final com.google.protobuf.Descriptors.Descriptor
87         getDescriptor() {
88       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
89     }
90
91     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
92         internalGetFieldAccessorTable() {
93       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
94           .ensureFieldAccessorsInitialized(
95               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
96     }
97
98     public static com.google.protobuf.Parser<CloseTransactionChain> PARSER =
99         new com.google.protobuf.AbstractParser<CloseTransactionChain>() {
100       public CloseTransactionChain parsePartialFrom(
101           com.google.protobuf.CodedInputStream input,
102           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
103           throws com.google.protobuf.InvalidProtocolBufferException {
104         return new CloseTransactionChain(input, extensionRegistry);
105       }
106     };
107
108     @java.lang.Override
109     public com.google.protobuf.Parser<CloseTransactionChain> getParserForType() {
110       return PARSER;
111     }
112
113     private void initFields() {
114     }
115     private byte memoizedIsInitialized = -1;
116     public final boolean isInitialized() {
117       byte isInitialized = memoizedIsInitialized;
118       if (isInitialized != -1) return isInitialized == 1;
119
120       memoizedIsInitialized = 1;
121       return true;
122     }
123
124     public void writeTo(com.google.protobuf.CodedOutputStream output)
125                         throws java.io.IOException {
126       getSerializedSize();
127       getUnknownFields().writeTo(output);
128     }
129
130     private int memoizedSerializedSize = -1;
131     public int getSerializedSize() {
132       int size = memoizedSerializedSize;
133       if (size != -1) return size;
134
135       size = 0;
136       size += getUnknownFields().getSerializedSize();
137       memoizedSerializedSize = size;
138       return size;
139     }
140
141     private static final long serialVersionUID = 0L;
142     @java.lang.Override
143     protected java.lang.Object writeReplace()
144         throws java.io.ObjectStreamException {
145       return super.writeReplace();
146     }
147
148     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
149         com.google.protobuf.ByteString data)
150         throws com.google.protobuf.InvalidProtocolBufferException {
151       return PARSER.parseFrom(data);
152     }
153     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
154         com.google.protobuf.ByteString data,
155         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
156         throws com.google.protobuf.InvalidProtocolBufferException {
157       return PARSER.parseFrom(data, extensionRegistry);
158     }
159     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(byte[] data)
160         throws com.google.protobuf.InvalidProtocolBufferException {
161       return PARSER.parseFrom(data);
162     }
163     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
164         byte[] data,
165         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
166         throws com.google.protobuf.InvalidProtocolBufferException {
167       return PARSER.parseFrom(data, extensionRegistry);
168     }
169     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(java.io.InputStream input)
170         throws java.io.IOException {
171       return PARSER.parseFrom(input);
172     }
173     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
174         java.io.InputStream input,
175         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176         throws java.io.IOException {
177       return PARSER.parseFrom(input, extensionRegistry);
178     }
179     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(java.io.InputStream input)
180         throws java.io.IOException {
181       return PARSER.parseDelimitedFrom(input);
182     }
183     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(
184         java.io.InputStream input,
185         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
186         throws java.io.IOException {
187       return PARSER.parseDelimitedFrom(input, extensionRegistry);
188     }
189     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
190         com.google.protobuf.CodedInputStream input)
191         throws java.io.IOException {
192       return PARSER.parseFrom(input);
193     }
194     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
195         com.google.protobuf.CodedInputStream input,
196         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
197         throws java.io.IOException {
198       return PARSER.parseFrom(input, extensionRegistry);
199     }
200
201     public static Builder newBuilder() { return Builder.create(); }
202     public Builder newBuilderForType() { return newBuilder(); }
203     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain prototype) {
204       return newBuilder().mergeFrom(prototype);
205     }
206     public Builder toBuilder() { return newBuilder(this); }
207
208     @java.lang.Override
209     protected Builder newBuilderForType(
210         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
211       Builder builder = new Builder(parent);
212       return builder;
213     }
214     /**
215      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
216      */
217     public static final class Builder extends
218         com.google.protobuf.GeneratedMessage.Builder<Builder>
219        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainOrBuilder {
220       public static final com.google.protobuf.Descriptors.Descriptor
221           getDescriptor() {
222         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
223       }
224
225       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
226           internalGetFieldAccessorTable() {
227         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
228             .ensureFieldAccessorsInitialized(
229                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
230       }
231
232       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.newBuilder()
233       private Builder() {
234         maybeForceBuilderInitialization();
235       }
236
237       private Builder(
238           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
239         super(parent);
240         maybeForceBuilderInitialization();
241       }
242       private void maybeForceBuilderInitialization() {
243         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
244         }
245       }
246       private static Builder create() {
247         return new Builder();
248       }
249
250       public Builder clear() {
251         super.clear();
252         return this;
253       }
254
255       public Builder clone() {
256         return create().mergeFrom(buildPartial());
257       }
258
259       public com.google.protobuf.Descriptors.Descriptor
260           getDescriptorForType() {
261         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
262       }
263
264       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain getDefaultInstanceForType() {
265         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance();
266       }
267
268       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain build() {
269         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = buildPartial();
270         if (!result.isInitialized()) {
271           throw newUninitializedMessageException(result);
272         }
273         return result;
274       }
275
276       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain buildPartial() {
277         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain(this);
278         onBuilt();
279         return result;
280       }
281
282       public Builder mergeFrom(com.google.protobuf.Message other) {
283         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) {
284           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain)other);
285         } else {
286           super.mergeFrom(other);
287           return this;
288         }
289       }
290
291       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain other) {
292         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance()) return this;
293         this.mergeUnknownFields(other.getUnknownFields());
294         return this;
295       }
296
297       public final boolean isInitialized() {
298         return true;
299       }
300
301       public Builder mergeFrom(
302           com.google.protobuf.CodedInputStream input,
303           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
304           throws java.io.IOException {
305         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parsedMessage = null;
306         try {
307           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
308         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
309           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) e.getUnfinishedMessage();
310           throw e;
311         } finally {
312           if (parsedMessage != null) {
313             mergeFrom(parsedMessage);
314           }
315         }
316         return this;
317       }
318
319       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
320     }
321
322     static {
323       defaultInstance = new CloseTransactionChain(true);
324       defaultInstance.initFields();
325     }
326
327     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
328   }
329
330   public interface CloseTransactionChainReplyOrBuilder
331       extends com.google.protobuf.MessageOrBuilder {
332   }
333   /**
334    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
335    */
336   public static final class CloseTransactionChainReply extends
337       com.google.protobuf.GeneratedMessage
338       implements CloseTransactionChainReplyOrBuilder {
339     // Use CloseTransactionChainReply.newBuilder() to construct.
340     private CloseTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
341       super(builder);
342       this.unknownFields = builder.getUnknownFields();
343     }
344     private CloseTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
345
346     private static final CloseTransactionChainReply defaultInstance;
347     public static CloseTransactionChainReply getDefaultInstance() {
348       return defaultInstance;
349     }
350
351     public CloseTransactionChainReply getDefaultInstanceForType() {
352       return defaultInstance;
353     }
354
355     private final com.google.protobuf.UnknownFieldSet unknownFields;
356     @java.lang.Override
357     public final com.google.protobuf.UnknownFieldSet
358         getUnknownFields() {
359       return this.unknownFields;
360     }
361     private CloseTransactionChainReply(
362         com.google.protobuf.CodedInputStream input,
363         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
364         throws com.google.protobuf.InvalidProtocolBufferException {
365       initFields();
366       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
367           com.google.protobuf.UnknownFieldSet.newBuilder();
368       try {
369         boolean done = false;
370         while (!done) {
371           int tag = input.readTag();
372           switch (tag) {
373             case 0:
374               done = true;
375               break;
376             default: {
377               if (!parseUnknownField(input, unknownFields,
378                                      extensionRegistry, tag)) {
379                 done = true;
380               }
381               break;
382             }
383           }
384         }
385       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
386         throw e.setUnfinishedMessage(this);
387       } catch (java.io.IOException e) {
388         throw new com.google.protobuf.InvalidProtocolBufferException(
389             e.getMessage()).setUnfinishedMessage(this);
390       } finally {
391         this.unknownFields = unknownFields.build();
392         makeExtensionsImmutable();
393       }
394     }
395     public static final com.google.protobuf.Descriptors.Descriptor
396         getDescriptor() {
397       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
398     }
399
400     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
401         internalGetFieldAccessorTable() {
402       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
403           .ensureFieldAccessorsInitialized(
404               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
405     }
406
407     public static com.google.protobuf.Parser<CloseTransactionChainReply> PARSER =
408         new com.google.protobuf.AbstractParser<CloseTransactionChainReply>() {
409       public CloseTransactionChainReply parsePartialFrom(
410           com.google.protobuf.CodedInputStream input,
411           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
412           throws com.google.protobuf.InvalidProtocolBufferException {
413         return new CloseTransactionChainReply(input, extensionRegistry);
414       }
415     };
416
417     @java.lang.Override
418     public com.google.protobuf.Parser<CloseTransactionChainReply> getParserForType() {
419       return PARSER;
420     }
421
422     private void initFields() {
423     }
424     private byte memoizedIsInitialized = -1;
425     public final boolean isInitialized() {
426       byte isInitialized = memoizedIsInitialized;
427       if (isInitialized != -1) return isInitialized == 1;
428
429       memoizedIsInitialized = 1;
430       return true;
431     }
432
433     public void writeTo(com.google.protobuf.CodedOutputStream output)
434                         throws java.io.IOException {
435       getSerializedSize();
436       getUnknownFields().writeTo(output);
437     }
438
439     private int memoizedSerializedSize = -1;
440     public int getSerializedSize() {
441       int size = memoizedSerializedSize;
442       if (size != -1) return size;
443
444       size = 0;
445       size += getUnknownFields().getSerializedSize();
446       memoizedSerializedSize = size;
447       return size;
448     }
449
450     private static final long serialVersionUID = 0L;
451     @java.lang.Override
452     protected java.lang.Object writeReplace()
453         throws java.io.ObjectStreamException {
454       return super.writeReplace();
455     }
456
457     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
458         com.google.protobuf.ByteString data)
459         throws com.google.protobuf.InvalidProtocolBufferException {
460       return PARSER.parseFrom(data);
461     }
462     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
463         com.google.protobuf.ByteString data,
464         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465         throws com.google.protobuf.InvalidProtocolBufferException {
466       return PARSER.parseFrom(data, extensionRegistry);
467     }
468     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(byte[] data)
469         throws com.google.protobuf.InvalidProtocolBufferException {
470       return PARSER.parseFrom(data);
471     }
472     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
473         byte[] data,
474         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
475         throws com.google.protobuf.InvalidProtocolBufferException {
476       return PARSER.parseFrom(data, extensionRegistry);
477     }
478     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(java.io.InputStream input)
479         throws java.io.IOException {
480       return PARSER.parseFrom(input);
481     }
482     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
483         java.io.InputStream input,
484         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
485         throws java.io.IOException {
486       return PARSER.parseFrom(input, extensionRegistry);
487     }
488     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
489         throws java.io.IOException {
490       return PARSER.parseDelimitedFrom(input);
491     }
492     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(
493         java.io.InputStream input,
494         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
495         throws java.io.IOException {
496       return PARSER.parseDelimitedFrom(input, extensionRegistry);
497     }
498     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
499         com.google.protobuf.CodedInputStream input)
500         throws java.io.IOException {
501       return PARSER.parseFrom(input);
502     }
503     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
504         com.google.protobuf.CodedInputStream input,
505         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
506         throws java.io.IOException {
507       return PARSER.parseFrom(input, extensionRegistry);
508     }
509
510     public static Builder newBuilder() { return Builder.create(); }
511     public Builder newBuilderForType() { return newBuilder(); }
512     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply prototype) {
513       return newBuilder().mergeFrom(prototype);
514     }
515     public Builder toBuilder() { return newBuilder(this); }
516
517     @java.lang.Override
518     protected Builder newBuilderForType(
519         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
520       Builder builder = new Builder(parent);
521       return builder;
522     }
523     /**
524      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
525      */
526     public static final class Builder extends
527         com.google.protobuf.GeneratedMessage.Builder<Builder>
528        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReplyOrBuilder {
529       public static final com.google.protobuf.Descriptors.Descriptor
530           getDescriptor() {
531         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
532       }
533
534       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
535           internalGetFieldAccessorTable() {
536         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
537             .ensureFieldAccessorsInitialized(
538                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
539       }
540
541       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.newBuilder()
542       private Builder() {
543         maybeForceBuilderInitialization();
544       }
545
546       private Builder(
547           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
548         super(parent);
549         maybeForceBuilderInitialization();
550       }
551       private void maybeForceBuilderInitialization() {
552         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
553         }
554       }
555       private static Builder create() {
556         return new Builder();
557       }
558
559       public Builder clear() {
560         super.clear();
561         return this;
562       }
563
564       public Builder clone() {
565         return create().mergeFrom(buildPartial());
566       }
567
568       public com.google.protobuf.Descriptors.Descriptor
569           getDescriptorForType() {
570         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
571       }
572
573       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply getDefaultInstanceForType() {
574         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance();
575       }
576
577       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply build() {
578         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = buildPartial();
579         if (!result.isInitialized()) {
580           throw newUninitializedMessageException(result);
581         }
582         return result;
583       }
584
585       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply buildPartial() {
586         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply(this);
587         onBuilt();
588         return result;
589       }
590
591       public Builder mergeFrom(com.google.protobuf.Message other) {
592         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) {
593           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply)other);
594         } else {
595           super.mergeFrom(other);
596           return this;
597         }
598       }
599
600       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply other) {
601         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance()) return this;
602         this.mergeUnknownFields(other.getUnknownFields());
603         return this;
604       }
605
606       public final boolean isInitialized() {
607         return true;
608       }
609
610       public Builder mergeFrom(
611           com.google.protobuf.CodedInputStream input,
612           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
613           throws java.io.IOException {
614         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parsedMessage = null;
615         try {
616           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
617         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
618           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) e.getUnfinishedMessage();
619           throw e;
620         } finally {
621           if (parsedMessage != null) {
622             mergeFrom(parsedMessage);
623           }
624         }
625         return this;
626       }
627
628       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
629     }
630
631     static {
632       defaultInstance = new CloseTransactionChainReply(true);
633       defaultInstance.initFields();
634     }
635
636     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
637   }
638
639   public interface CreateTransactionChainOrBuilder
640       extends com.google.protobuf.MessageOrBuilder {
641   }
642   /**
643    * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChain}
644    */
645   public static final class CreateTransactionChain extends
646       com.google.protobuf.GeneratedMessage
647       implements CreateTransactionChainOrBuilder {
648     // Use CreateTransactionChain.newBuilder() to construct.
649     private CreateTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
650       super(builder);
651       this.unknownFields = builder.getUnknownFields();
652     }
653     private CreateTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
654
655     private static final CreateTransactionChain defaultInstance;
656     public static CreateTransactionChain getDefaultInstance() {
657       return defaultInstance;
658     }
659
660     public CreateTransactionChain getDefaultInstanceForType() {
661       return defaultInstance;
662     }
663
664     private final com.google.protobuf.UnknownFieldSet unknownFields;
665     @java.lang.Override
666     public final com.google.protobuf.UnknownFieldSet
667         getUnknownFields() {
668       return this.unknownFields;
669     }
670     private CreateTransactionChain(
671         com.google.protobuf.CodedInputStream input,
672         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
673         throws com.google.protobuf.InvalidProtocolBufferException {
674       initFields();
675       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
676           com.google.protobuf.UnknownFieldSet.newBuilder();
677       try {
678         boolean done = false;
679         while (!done) {
680           int tag = input.readTag();
681           switch (tag) {
682             case 0:
683               done = true;
684               break;
685             default: {
686               if (!parseUnknownField(input, unknownFields,
687                                      extensionRegistry, tag)) {
688                 done = true;
689               }
690               break;
691             }
692           }
693         }
694       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
695         throw e.setUnfinishedMessage(this);
696       } catch (java.io.IOException e) {
697         throw new com.google.protobuf.InvalidProtocolBufferException(
698             e.getMessage()).setUnfinishedMessage(this);
699       } finally {
700         this.unknownFields = unknownFields.build();
701         makeExtensionsImmutable();
702       }
703     }
704     public static final com.google.protobuf.Descriptors.Descriptor
705         getDescriptor() {
706       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
707     }
708
709     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
710         internalGetFieldAccessorTable() {
711       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable
712           .ensureFieldAccessorsInitialized(
713               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.Builder.class);
714     }
715
716     public static com.google.protobuf.Parser<CreateTransactionChain> PARSER =
717         new com.google.protobuf.AbstractParser<CreateTransactionChain>() {
718       public CreateTransactionChain parsePartialFrom(
719           com.google.protobuf.CodedInputStream input,
720           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
721           throws com.google.protobuf.InvalidProtocolBufferException {
722         return new CreateTransactionChain(input, extensionRegistry);
723       }
724     };
725
726     @java.lang.Override
727     public com.google.protobuf.Parser<CreateTransactionChain> getParserForType() {
728       return PARSER;
729     }
730
731     private void initFields() {
732     }
733     private byte memoizedIsInitialized = -1;
734     public final boolean isInitialized() {
735       byte isInitialized = memoizedIsInitialized;
736       if (isInitialized != -1) return isInitialized == 1;
737
738       memoizedIsInitialized = 1;
739       return true;
740     }
741
742     public void writeTo(com.google.protobuf.CodedOutputStream output)
743                         throws java.io.IOException {
744       getSerializedSize();
745       getUnknownFields().writeTo(output);
746     }
747
748     private int memoizedSerializedSize = -1;
749     public int getSerializedSize() {
750       int size = memoizedSerializedSize;
751       if (size != -1) return size;
752
753       size = 0;
754       size += getUnknownFields().getSerializedSize();
755       memoizedSerializedSize = size;
756       return size;
757     }
758
759     private static final long serialVersionUID = 0L;
760     @java.lang.Override
761     protected java.lang.Object writeReplace()
762         throws java.io.ObjectStreamException {
763       return super.writeReplace();
764     }
765
766     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
767         com.google.protobuf.ByteString data)
768         throws com.google.protobuf.InvalidProtocolBufferException {
769       return PARSER.parseFrom(data);
770     }
771     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
772         com.google.protobuf.ByteString data,
773         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
774         throws com.google.protobuf.InvalidProtocolBufferException {
775       return PARSER.parseFrom(data, extensionRegistry);
776     }
777     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(byte[] data)
778         throws com.google.protobuf.InvalidProtocolBufferException {
779       return PARSER.parseFrom(data);
780     }
781     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
782         byte[] data,
783         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
784         throws com.google.protobuf.InvalidProtocolBufferException {
785       return PARSER.parseFrom(data, extensionRegistry);
786     }
787     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(java.io.InputStream input)
788         throws java.io.IOException {
789       return PARSER.parseFrom(input);
790     }
791     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
792         java.io.InputStream input,
793         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
794         throws java.io.IOException {
795       return PARSER.parseFrom(input, extensionRegistry);
796     }
797     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseDelimitedFrom(java.io.InputStream input)
798         throws java.io.IOException {
799       return PARSER.parseDelimitedFrom(input);
800     }
801     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseDelimitedFrom(
802         java.io.InputStream input,
803         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
804         throws java.io.IOException {
805       return PARSER.parseDelimitedFrom(input, extensionRegistry);
806     }
807     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
808         com.google.protobuf.CodedInputStream input)
809         throws java.io.IOException {
810       return PARSER.parseFrom(input);
811     }
812     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
813         com.google.protobuf.CodedInputStream input,
814         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
815         throws java.io.IOException {
816       return PARSER.parseFrom(input, extensionRegistry);
817     }
818
819     public static Builder newBuilder() { return Builder.create(); }
820     public Builder newBuilderForType() { return newBuilder(); }
821     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain prototype) {
822       return newBuilder().mergeFrom(prototype);
823     }
824     public Builder toBuilder() { return newBuilder(this); }
825
826     @java.lang.Override
827     protected Builder newBuilderForType(
828         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
829       Builder builder = new Builder(parent);
830       return builder;
831     }
832     /**
833      * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChain}
834      */
835     public static final class Builder extends
836         com.google.protobuf.GeneratedMessage.Builder<Builder>
837        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainOrBuilder {
838       public static final com.google.protobuf.Descriptors.Descriptor
839           getDescriptor() {
840         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
841       }
842
843       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
844           internalGetFieldAccessorTable() {
845         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable
846             .ensureFieldAccessorsInitialized(
847                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.Builder.class);
848       }
849
850       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.newBuilder()
851       private Builder() {
852         maybeForceBuilderInitialization();
853       }
854
855       private Builder(
856           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
857         super(parent);
858         maybeForceBuilderInitialization();
859       }
860       private void maybeForceBuilderInitialization() {
861         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
862         }
863       }
864       private static Builder create() {
865         return new Builder();
866       }
867
868       public Builder clear() {
869         super.clear();
870         return this;
871       }
872
873       public Builder clone() {
874         return create().mergeFrom(buildPartial());
875       }
876
877       public com.google.protobuf.Descriptors.Descriptor
878           getDescriptorForType() {
879         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
880       }
881
882       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain getDefaultInstanceForType() {
883         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.getDefaultInstance();
884       }
885
886       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain build() {
887         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain result = buildPartial();
888         if (!result.isInitialized()) {
889           throw newUninitializedMessageException(result);
890         }
891         return result;
892       }
893
894       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain buildPartial() {
895         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain(this);
896         onBuilt();
897         return result;
898       }
899
900       public Builder mergeFrom(com.google.protobuf.Message other) {
901         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain) {
902           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain)other);
903         } else {
904           super.mergeFrom(other);
905           return this;
906         }
907       }
908
909       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain other) {
910         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.getDefaultInstance()) return this;
911         this.mergeUnknownFields(other.getUnknownFields());
912         return this;
913       }
914
915       public final boolean isInitialized() {
916         return true;
917       }
918
919       public Builder mergeFrom(
920           com.google.protobuf.CodedInputStream input,
921           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
922           throws java.io.IOException {
923         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parsedMessage = null;
924         try {
925           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
926         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
927           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain) e.getUnfinishedMessage();
928           throw e;
929         } finally {
930           if (parsedMessage != null) {
931             mergeFrom(parsedMessage);
932           }
933         }
934         return this;
935       }
936
937       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionChain)
938     }
939
940     static {
941       defaultInstance = new CreateTransactionChain(true);
942       defaultInstance.initFields();
943     }
944
945     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionChain)
946   }
947
948   public interface CreateTransactionChainReplyOrBuilder
949       extends com.google.protobuf.MessageOrBuilder {
950
951     // required string transactionChainPath = 1;
952     /**
953      * <code>required string transactionChainPath = 1;</code>
954      */
955     boolean hasTransactionChainPath();
956     /**
957      * <code>required string transactionChainPath = 1;</code>
958      */
959     java.lang.String getTransactionChainPath();
960     /**
961      * <code>required string transactionChainPath = 1;</code>
962      */
963     com.google.protobuf.ByteString
964         getTransactionChainPathBytes();
965   }
966   /**
967    * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChainReply}
968    */
969   public static final class CreateTransactionChainReply extends
970       com.google.protobuf.GeneratedMessage
971       implements CreateTransactionChainReplyOrBuilder {
972     // Use CreateTransactionChainReply.newBuilder() to construct.
973     private CreateTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
974       super(builder);
975       this.unknownFields = builder.getUnknownFields();
976     }
977     private CreateTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
978
979     private static final CreateTransactionChainReply defaultInstance;
980     public static CreateTransactionChainReply getDefaultInstance() {
981       return defaultInstance;
982     }
983
984     public CreateTransactionChainReply getDefaultInstanceForType() {
985       return defaultInstance;
986     }
987
988     private final com.google.protobuf.UnknownFieldSet unknownFields;
989     @java.lang.Override
990     public final com.google.protobuf.UnknownFieldSet
991         getUnknownFields() {
992       return this.unknownFields;
993     }
994     private CreateTransactionChainReply(
995         com.google.protobuf.CodedInputStream input,
996         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
997         throws com.google.protobuf.InvalidProtocolBufferException {
998       initFields();
999       int mutable_bitField0_ = 0;
1000       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1001           com.google.protobuf.UnknownFieldSet.newBuilder();
1002       try {
1003         boolean done = false;
1004         while (!done) {
1005           int tag = input.readTag();
1006           switch (tag) {
1007             case 0:
1008               done = true;
1009               break;
1010             default: {
1011               if (!parseUnknownField(input, unknownFields,
1012                                      extensionRegistry, tag)) {
1013                 done = true;
1014               }
1015               break;
1016             }
1017             case 10: {
1018               bitField0_ |= 0x00000001;
1019               transactionChainPath_ = input.readBytes();
1020               break;
1021             }
1022           }
1023         }
1024       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1025         throw e.setUnfinishedMessage(this);
1026       } catch (java.io.IOException e) {
1027         throw new com.google.protobuf.InvalidProtocolBufferException(
1028             e.getMessage()).setUnfinishedMessage(this);
1029       } finally {
1030         this.unknownFields = unknownFields.build();
1031         makeExtensionsImmutable();
1032       }
1033     }
1034     public static final com.google.protobuf.Descriptors.Descriptor
1035         getDescriptor() {
1036       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1037     }
1038
1039     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1040         internalGetFieldAccessorTable() {
1041       return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable
1042           .ensureFieldAccessorsInitialized(
1043               org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.Builder.class);
1044     }
1045
1046     public static com.google.protobuf.Parser<CreateTransactionChainReply> PARSER =
1047         new com.google.protobuf.AbstractParser<CreateTransactionChainReply>() {
1048       public CreateTransactionChainReply parsePartialFrom(
1049           com.google.protobuf.CodedInputStream input,
1050           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1051           throws com.google.protobuf.InvalidProtocolBufferException {
1052         return new CreateTransactionChainReply(input, extensionRegistry);
1053       }
1054     };
1055
1056     @java.lang.Override
1057     public com.google.protobuf.Parser<CreateTransactionChainReply> getParserForType() {
1058       return PARSER;
1059     }
1060
1061     private int bitField0_;
1062     // required string transactionChainPath = 1;
1063     public static final int TRANSACTIONCHAINPATH_FIELD_NUMBER = 1;
1064     private java.lang.Object transactionChainPath_;
1065     /**
1066      * <code>required string transactionChainPath = 1;</code>
1067      */
1068     public boolean hasTransactionChainPath() {
1069       return ((bitField0_ & 0x00000001) == 0x00000001);
1070     }
1071     /**
1072      * <code>required string transactionChainPath = 1;</code>
1073      */
1074     public java.lang.String getTransactionChainPath() {
1075       java.lang.Object ref = transactionChainPath_;
1076       if (ref instanceof java.lang.String) {
1077         return (java.lang.String) ref;
1078       } else {
1079         com.google.protobuf.ByteString bs =
1080             (com.google.protobuf.ByteString) ref;
1081         java.lang.String s = bs.toStringUtf8();
1082         if (bs.isValidUtf8()) {
1083           transactionChainPath_ = s;
1084         }
1085         return s;
1086       }
1087     }
1088     /**
1089      * <code>required string transactionChainPath = 1;</code>
1090      */
1091     public com.google.protobuf.ByteString
1092         getTransactionChainPathBytes() {
1093       java.lang.Object ref = transactionChainPath_;
1094       if (ref instanceof java.lang.String) {
1095         com.google.protobuf.ByteString b =
1096             com.google.protobuf.ByteString.copyFromUtf8(
1097                 (java.lang.String) ref);
1098         transactionChainPath_ = b;
1099         return b;
1100       } else {
1101         return (com.google.protobuf.ByteString) ref;
1102       }
1103     }
1104
1105     private void initFields() {
1106       transactionChainPath_ = "";
1107     }
1108     private byte memoizedIsInitialized = -1;
1109     public final boolean isInitialized() {
1110       byte isInitialized = memoizedIsInitialized;
1111       if (isInitialized != -1) return isInitialized == 1;
1112
1113       if (!hasTransactionChainPath()) {
1114         memoizedIsInitialized = 0;
1115         return false;
1116       }
1117       memoizedIsInitialized = 1;
1118       return true;
1119     }
1120
1121     public void writeTo(com.google.protobuf.CodedOutputStream output)
1122                         throws java.io.IOException {
1123       getSerializedSize();
1124       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1125         output.writeBytes(1, getTransactionChainPathBytes());
1126       }
1127       getUnknownFields().writeTo(output);
1128     }
1129
1130     private int memoizedSerializedSize = -1;
1131     public int getSerializedSize() {
1132       int size = memoizedSerializedSize;
1133       if (size != -1) return size;
1134
1135       size = 0;
1136       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1137         size += com.google.protobuf.CodedOutputStream
1138           .computeBytesSize(1, getTransactionChainPathBytes());
1139       }
1140       size += getUnknownFields().getSerializedSize();
1141       memoizedSerializedSize = size;
1142       return size;
1143     }
1144
1145     private static final long serialVersionUID = 0L;
1146     @java.lang.Override
1147     protected java.lang.Object writeReplace()
1148         throws java.io.ObjectStreamException {
1149       return super.writeReplace();
1150     }
1151
1152     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1153         com.google.protobuf.ByteString data)
1154         throws com.google.protobuf.InvalidProtocolBufferException {
1155       return PARSER.parseFrom(data);
1156     }
1157     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1158         com.google.protobuf.ByteString data,
1159         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1160         throws com.google.protobuf.InvalidProtocolBufferException {
1161       return PARSER.parseFrom(data, extensionRegistry);
1162     }
1163     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(byte[] data)
1164         throws com.google.protobuf.InvalidProtocolBufferException {
1165       return PARSER.parseFrom(data);
1166     }
1167     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1168         byte[] data,
1169         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1170         throws com.google.protobuf.InvalidProtocolBufferException {
1171       return PARSER.parseFrom(data, extensionRegistry);
1172     }
1173     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(java.io.InputStream input)
1174         throws java.io.IOException {
1175       return PARSER.parseFrom(input);
1176     }
1177     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1178         java.io.InputStream input,
1179         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1180         throws java.io.IOException {
1181       return PARSER.parseFrom(input, extensionRegistry);
1182     }
1183     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
1184         throws java.io.IOException {
1185       return PARSER.parseDelimitedFrom(input);
1186     }
1187     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseDelimitedFrom(
1188         java.io.InputStream input,
1189         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1190         throws java.io.IOException {
1191       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1192     }
1193     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1194         com.google.protobuf.CodedInputStream input)
1195         throws java.io.IOException {
1196       return PARSER.parseFrom(input);
1197     }
1198     public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1199         com.google.protobuf.CodedInputStream input,
1200         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1201         throws java.io.IOException {
1202       return PARSER.parseFrom(input, extensionRegistry);
1203     }
1204
1205     public static Builder newBuilder() { return Builder.create(); }
1206     public Builder newBuilderForType() { return newBuilder(); }
1207     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply prototype) {
1208       return newBuilder().mergeFrom(prototype);
1209     }
1210     public Builder toBuilder() { return newBuilder(this); }
1211
1212     @java.lang.Override
1213     protected Builder newBuilderForType(
1214         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1215       Builder builder = new Builder(parent);
1216       return builder;
1217     }
1218     /**
1219      * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChainReply}
1220      */
1221     public static final class Builder extends
1222         com.google.protobuf.GeneratedMessage.Builder<Builder>
1223        implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReplyOrBuilder {
1224       public static final com.google.protobuf.Descriptors.Descriptor
1225           getDescriptor() {
1226         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1227       }
1228
1229       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1230           internalGetFieldAccessorTable() {
1231         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable
1232             .ensureFieldAccessorsInitialized(
1233                 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.Builder.class);
1234       }
1235
1236       // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.newBuilder()
1237       private Builder() {
1238         maybeForceBuilderInitialization();
1239       }
1240
1241       private Builder(
1242           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1243         super(parent);
1244         maybeForceBuilderInitialization();
1245       }
1246       private void maybeForceBuilderInitialization() {
1247         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1248         }
1249       }
1250       private static Builder create() {
1251         return new Builder();
1252       }
1253
1254       public Builder clear() {
1255         super.clear();
1256         transactionChainPath_ = "";
1257         bitField0_ = (bitField0_ & ~0x00000001);
1258         return this;
1259       }
1260
1261       public Builder clone() {
1262         return create().mergeFrom(buildPartial());
1263       }
1264
1265       public com.google.protobuf.Descriptors.Descriptor
1266           getDescriptorForType() {
1267         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1268       }
1269
1270       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply getDefaultInstanceForType() {
1271         return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.getDefaultInstance();
1272       }
1273
1274       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply build() {
1275         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply result = buildPartial();
1276         if (!result.isInitialized()) {
1277           throw newUninitializedMessageException(result);
1278         }
1279         return result;
1280       }
1281
1282       public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply buildPartial() {
1283         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply(this);
1284         int from_bitField0_ = bitField0_;
1285         int to_bitField0_ = 0;
1286         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1287           to_bitField0_ |= 0x00000001;
1288         }
1289         result.transactionChainPath_ = transactionChainPath_;
1290         result.bitField0_ = to_bitField0_;
1291         onBuilt();
1292         return result;
1293       }
1294
1295       public Builder mergeFrom(com.google.protobuf.Message other) {
1296         if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply) {
1297           return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply)other);
1298         } else {
1299           super.mergeFrom(other);
1300           return this;
1301         }
1302       }
1303
1304       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply other) {
1305         if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.getDefaultInstance()) return this;
1306         if (other.hasTransactionChainPath()) {
1307           bitField0_ |= 0x00000001;
1308           transactionChainPath_ = other.transactionChainPath_;
1309           onChanged();
1310         }
1311         this.mergeUnknownFields(other.getUnknownFields());
1312         return this;
1313       }
1314
1315       public final boolean isInitialized() {
1316         if (!hasTransactionChainPath()) {
1317
1318           return false;
1319         }
1320         return true;
1321       }
1322
1323       public Builder mergeFrom(
1324           com.google.protobuf.CodedInputStream input,
1325           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1326           throws java.io.IOException {
1327         org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parsedMessage = null;
1328         try {
1329           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1330         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1331           parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply) e.getUnfinishedMessage();
1332           throw e;
1333         } finally {
1334           if (parsedMessage != null) {
1335             mergeFrom(parsedMessage);
1336           }
1337         }
1338         return this;
1339       }
1340       private int bitField0_;
1341
1342       // required string transactionChainPath = 1;
1343       private java.lang.Object transactionChainPath_ = "";
1344       /**
1345        * <code>required string transactionChainPath = 1;</code>
1346        */
1347       public boolean hasTransactionChainPath() {
1348         return ((bitField0_ & 0x00000001) == 0x00000001);
1349       }
1350       /**
1351        * <code>required string transactionChainPath = 1;</code>
1352        */
1353       public java.lang.String getTransactionChainPath() {
1354         java.lang.Object ref = transactionChainPath_;
1355         if (!(ref instanceof java.lang.String)) {
1356           java.lang.String s = ((com.google.protobuf.ByteString) ref)
1357               .toStringUtf8();
1358           transactionChainPath_ = s;
1359           return s;
1360         } else {
1361           return (java.lang.String) ref;
1362         }
1363       }
1364       /**
1365        * <code>required string transactionChainPath = 1;</code>
1366        */
1367       public com.google.protobuf.ByteString
1368           getTransactionChainPathBytes() {
1369         java.lang.Object ref = transactionChainPath_;
1370         if (ref instanceof String) {
1371           com.google.protobuf.ByteString b =
1372               com.google.protobuf.ByteString.copyFromUtf8(
1373                   (java.lang.String) ref);
1374           transactionChainPath_ = b;
1375           return b;
1376         } else {
1377           return (com.google.protobuf.ByteString) ref;
1378         }
1379       }
1380       /**
1381        * <code>required string transactionChainPath = 1;</code>
1382        */
1383       public Builder setTransactionChainPath(
1384           java.lang.String value) {
1385         if (value == null) {
1386     throw new NullPointerException();
1387   }
1388   bitField0_ |= 0x00000001;
1389         transactionChainPath_ = value;
1390         onChanged();
1391         return this;
1392       }
1393       /**
1394        * <code>required string transactionChainPath = 1;</code>
1395        */
1396       public Builder clearTransactionChainPath() {
1397         bitField0_ = (bitField0_ & ~0x00000001);
1398         transactionChainPath_ = getDefaultInstance().getTransactionChainPath();
1399         onChanged();
1400         return this;
1401       }
1402       /**
1403        * <code>required string transactionChainPath = 1;</code>
1404        */
1405       public Builder setTransactionChainPathBytes(
1406           com.google.protobuf.ByteString value) {
1407         if (value == null) {
1408     throw new NullPointerException();
1409   }
1410   bitField0_ |= 0x00000001;
1411         transactionChainPath_ = value;
1412         onChanged();
1413         return this;
1414       }
1415
1416       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionChainReply)
1417     }
1418
1419     static {
1420       defaultInstance = new CreateTransactionChainReply(true);
1421       defaultInstance.initFields();
1422     }
1423
1424     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionChainReply)
1425   }
1426
1427   private static com.google.protobuf.Descriptors.Descriptor
1428     internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
1429   private static
1430     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1431       internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable;
1432   private static com.google.protobuf.Descriptors.Descriptor
1433     internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
1434   private static
1435     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1436       internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable;
1437   private static com.google.protobuf.Descriptors.Descriptor
1438     internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
1439   private static
1440     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1441       internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable;
1442   private static com.google.protobuf.Descriptors.Descriptor
1443     internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1444   private static
1445     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1446       internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable;
1447
1448   public static com.google.protobuf.Descriptors.FileDescriptor
1449       getDescriptor() {
1450     return descriptor;
1451   }
1452   private static com.google.protobuf.Descriptors.FileDescriptor
1453       descriptor;
1454   static {
1455     java.lang.String[] descriptorData = {
1456       "\n\033ShardTransactionChain.proto\022!org.opend" +
1457       "aylight.controller.mdsal\"\027\n\025CloseTransac" +
1458       "tionChain\"\034\n\032CloseTransactionChainReply\"" +
1459       "\030\n\026CreateTransactionChain\";\n\033CreateTrans" +
1460       "actionChainReply\022\034\n\024transactionChainPath" +
1461       "\030\001 \002(\tB[\n:org.opendaylight.controller.pr" +
1462       "otobuff.messages.transactionB\035ShardTrans" +
1463       "actionChainMessages"
1464     };
1465     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1466       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1467         public com.google.protobuf.ExtensionRegistry assignDescriptors(
1468             com.google.protobuf.Descriptors.FileDescriptor root) {
1469           descriptor = root;
1470           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor =
1471             getDescriptor().getMessageTypes().get(0);
1472           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable = new
1473             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1474               internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor,
1475               new java.lang.String[] { });
1476           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor =
1477             getDescriptor().getMessageTypes().get(1);
1478           internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable = new
1479             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1480               internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor,
1481               new java.lang.String[] { });
1482           internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor =
1483             getDescriptor().getMessageTypes().get(2);
1484           internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable = new
1485             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1486               internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor,
1487               new java.lang.String[] { });
1488           internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor =
1489             getDescriptor().getMessageTypes().get(3);
1490           internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable = new
1491             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1492               internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor,
1493               new java.lang.String[] { "TransactionChainPath", });
1494           return null;
1495         }
1496       };
1497     com.google.protobuf.Descriptors.FileDescriptor
1498       .internalBuildGeneratedFileFrom(descriptorData,
1499         new com.google.protobuf.Descriptors.FileDescriptor[] {
1500         }, assigner);
1501   }
1502
1503   // @@protoc_insertion_point(outer_class_scope)
1504 }