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 / registration / ListenerRegistrationMessages.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: ListenerRegistration.proto
13
14 package org.opendaylight.controller.protobuff.messages.registration;
15
16 public final class ListenerRegistrationMessages {
17   private ListenerRegistrationMessages() {}
18   public static void registerAllExtensions(
19       com.google.protobuf.ExtensionRegistry registry) {
20   }
21   public interface CloseDataChangeListenerRegistrationOrBuilder
22       extends com.google.protobuf.MessageOrBuilder {
23   }
24   /**
25    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration}
26    *
27    * <pre>
28    ** used when a listener needs to be unregistered
29    * </pre>
30    */
31   public static final class CloseDataChangeListenerRegistration extends
32       com.google.protobuf.GeneratedMessage
33       implements CloseDataChangeListenerRegistrationOrBuilder {
34     // Use CloseDataChangeListenerRegistration.newBuilder() to construct.
35     private CloseDataChangeListenerRegistration(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
36       super(builder);
37       this.unknownFields = builder.getUnknownFields();
38     }
39     private CloseDataChangeListenerRegistration(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
40
41     private static final CloseDataChangeListenerRegistration defaultInstance;
42     public static CloseDataChangeListenerRegistration getDefaultInstance() {
43       return defaultInstance;
44     }
45
46     public CloseDataChangeListenerRegistration getDefaultInstanceForType() {
47       return defaultInstance;
48     }
49
50     private final com.google.protobuf.UnknownFieldSet unknownFields;
51     @java.lang.Override
52     public final com.google.protobuf.UnknownFieldSet
53         getUnknownFields() {
54       return this.unknownFields;
55     }
56     private CloseDataChangeListenerRegistration(
57         com.google.protobuf.CodedInputStream input,
58         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
59         throws com.google.protobuf.InvalidProtocolBufferException {
60       initFields();
61       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
62           com.google.protobuf.UnknownFieldSet.newBuilder();
63       try {
64         boolean done = false;
65         while (!done) {
66           int tag = input.readTag();
67           switch (tag) {
68             case 0:
69               done = true;
70               break;
71             default: {
72               if (!parseUnknownField(input, unknownFields,
73                                      extensionRegistry, tag)) {
74                 done = true;
75               }
76               break;
77             }
78           }
79         }
80       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
81         throw e.setUnfinishedMessage(this);
82       } catch (java.io.IOException e) {
83         throw new com.google.protobuf.InvalidProtocolBufferException(
84             e.getMessage()).setUnfinishedMessage(this);
85       } finally {
86         this.unknownFields = unknownFields.build();
87         makeExtensionsImmutable();
88       }
89     }
90     public static final com.google.protobuf.Descriptors.Descriptor
91         getDescriptor() {
92       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
93     }
94
95     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
96         internalGetFieldAccessorTable() {
97       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable
98           .ensureFieldAccessorsInitialized(
99               org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.Builder.class);
100     }
101
102     public static com.google.protobuf.Parser<CloseDataChangeListenerRegistration> PARSER =
103         new com.google.protobuf.AbstractParser<CloseDataChangeListenerRegistration>() {
104       public CloseDataChangeListenerRegistration parsePartialFrom(
105           com.google.protobuf.CodedInputStream input,
106           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
107           throws com.google.protobuf.InvalidProtocolBufferException {
108         return new CloseDataChangeListenerRegistration(input, extensionRegistry);
109       }
110     };
111
112     @java.lang.Override
113     public com.google.protobuf.Parser<CloseDataChangeListenerRegistration> getParserForType() {
114       return PARSER;
115     }
116
117     private void initFields() {
118     }
119     private byte memoizedIsInitialized = -1;
120     public final boolean isInitialized() {
121       byte isInitialized = memoizedIsInitialized;
122       if (isInitialized != -1) return isInitialized == 1;
123
124       memoizedIsInitialized = 1;
125       return true;
126     }
127
128     public void writeTo(com.google.protobuf.CodedOutputStream output)
129                         throws java.io.IOException {
130       getSerializedSize();
131       getUnknownFields().writeTo(output);
132     }
133
134     private int memoizedSerializedSize = -1;
135     public int getSerializedSize() {
136       int size = memoizedSerializedSize;
137       if (size != -1) return size;
138
139       size = 0;
140       size += getUnknownFields().getSerializedSize();
141       memoizedSerializedSize = size;
142       return size;
143     }
144
145     private static final long serialVersionUID = 0L;
146     @java.lang.Override
147     protected java.lang.Object writeReplace()
148         throws java.io.ObjectStreamException {
149       return super.writeReplace();
150     }
151
152     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
153         com.google.protobuf.ByteString data)
154         throws com.google.protobuf.InvalidProtocolBufferException {
155       return PARSER.parseFrom(data);
156     }
157     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
158         com.google.protobuf.ByteString data,
159         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
160         throws com.google.protobuf.InvalidProtocolBufferException {
161       return PARSER.parseFrom(data, extensionRegistry);
162     }
163     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(byte[] data)
164         throws com.google.protobuf.InvalidProtocolBufferException {
165       return PARSER.parseFrom(data);
166     }
167     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
168         byte[] data,
169         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
170         throws com.google.protobuf.InvalidProtocolBufferException {
171       return PARSER.parseFrom(data, extensionRegistry);
172     }
173     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(java.io.InputStream input)
174         throws java.io.IOException {
175       return PARSER.parseFrom(input);
176     }
177     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
178         java.io.InputStream input,
179         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
180         throws java.io.IOException {
181       return PARSER.parseFrom(input, extensionRegistry);
182     }
183     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseDelimitedFrom(java.io.InputStream input)
184         throws java.io.IOException {
185       return PARSER.parseDelimitedFrom(input);
186     }
187     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseDelimitedFrom(
188         java.io.InputStream input,
189         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
190         throws java.io.IOException {
191       return PARSER.parseDelimitedFrom(input, extensionRegistry);
192     }
193     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
194         com.google.protobuf.CodedInputStream input)
195         throws java.io.IOException {
196       return PARSER.parseFrom(input);
197     }
198     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
199         com.google.protobuf.CodedInputStream input,
200         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
201         throws java.io.IOException {
202       return PARSER.parseFrom(input, extensionRegistry);
203     }
204
205     public static Builder newBuilder() { return Builder.create(); }
206     public Builder newBuilderForType() { return newBuilder(); }
207     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration prototype) {
208       return newBuilder().mergeFrom(prototype);
209     }
210     public Builder toBuilder() { return newBuilder(this); }
211
212     @java.lang.Override
213     protected Builder newBuilderForType(
214         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
215       Builder builder = new Builder(parent);
216       return builder;
217     }
218     /**
219      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration}
220      *
221      * <pre>
222      ** used when a listener needs to be unregistered
223      * </pre>
224      */
225     public static final class Builder extends
226         com.google.protobuf.GeneratedMessage.Builder<Builder>
227        implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationOrBuilder {
228       public static final com.google.protobuf.Descriptors.Descriptor
229           getDescriptor() {
230         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
231       }
232
233       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
234           internalGetFieldAccessorTable() {
235         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable
236             .ensureFieldAccessorsInitialized(
237                 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.Builder.class);
238       }
239
240       // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.newBuilder()
241       private Builder() {
242         maybeForceBuilderInitialization();
243       }
244
245       private Builder(
246           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
247         super(parent);
248         maybeForceBuilderInitialization();
249       }
250       private void maybeForceBuilderInitialization() {
251         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
252         }
253       }
254       private static Builder create() {
255         return new Builder();
256       }
257
258       public Builder clear() {
259         super.clear();
260         return this;
261       }
262
263       public Builder clone() {
264         return create().mergeFrom(buildPartial());
265       }
266
267       public com.google.protobuf.Descriptors.Descriptor
268           getDescriptorForType() {
269         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
270       }
271
272       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration getDefaultInstanceForType() {
273         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.getDefaultInstance();
274       }
275
276       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration build() {
277         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration result = buildPartial();
278         if (!result.isInitialized()) {
279           throw newUninitializedMessageException(result);
280         }
281         return result;
282       }
283
284       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration buildPartial() {
285         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration(this);
286         onBuilt();
287         return result;
288       }
289
290       public Builder mergeFrom(com.google.protobuf.Message other) {
291         if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration) {
292           return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration)other);
293         } else {
294           super.mergeFrom(other);
295           return this;
296         }
297       }
298
299       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration other) {
300         if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.getDefaultInstance()) return this;
301         this.mergeUnknownFields(other.getUnknownFields());
302         return this;
303       }
304
305       public final boolean isInitialized() {
306         return true;
307       }
308
309       public Builder mergeFrom(
310           com.google.protobuf.CodedInputStream input,
311           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
312           throws java.io.IOException {
313         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parsedMessage = null;
314         try {
315           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
316         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
317           parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration) e.getUnfinishedMessage();
318           throw e;
319         } finally {
320           if (parsedMessage != null) {
321             mergeFrom(parsedMessage);
322           }
323         }
324         return this;
325       }
326
327       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration)
328     }
329
330     static {
331       defaultInstance = new CloseDataChangeListenerRegistration(true);
332       defaultInstance.initFields();
333     }
334
335     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration)
336   }
337
338   public interface CloseDataChangeListenerRegistrationReplyOrBuilder
339       extends com.google.protobuf.MessageOrBuilder {
340   }
341   /**
342    * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply}
343    *
344    * <pre>
345    ** reply to the CloseDataChangeListenerRegistration request
346    * </pre>
347    */
348   public static final class CloseDataChangeListenerRegistrationReply extends
349       com.google.protobuf.GeneratedMessage
350       implements CloseDataChangeListenerRegistrationReplyOrBuilder {
351     // Use CloseDataChangeListenerRegistrationReply.newBuilder() to construct.
352     private CloseDataChangeListenerRegistrationReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
353       super(builder);
354       this.unknownFields = builder.getUnknownFields();
355     }
356     private CloseDataChangeListenerRegistrationReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
357
358     private static final CloseDataChangeListenerRegistrationReply defaultInstance;
359     public static CloseDataChangeListenerRegistrationReply getDefaultInstance() {
360       return defaultInstance;
361     }
362
363     public CloseDataChangeListenerRegistrationReply getDefaultInstanceForType() {
364       return defaultInstance;
365     }
366
367     private final com.google.protobuf.UnknownFieldSet unknownFields;
368     @java.lang.Override
369     public final com.google.protobuf.UnknownFieldSet
370         getUnknownFields() {
371       return this.unknownFields;
372     }
373     private CloseDataChangeListenerRegistrationReply(
374         com.google.protobuf.CodedInputStream input,
375         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
376         throws com.google.protobuf.InvalidProtocolBufferException {
377       initFields();
378       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
379           com.google.protobuf.UnknownFieldSet.newBuilder();
380       try {
381         boolean done = false;
382         while (!done) {
383           int tag = input.readTag();
384           switch (tag) {
385             case 0:
386               done = true;
387               break;
388             default: {
389               if (!parseUnknownField(input, unknownFields,
390                                      extensionRegistry, tag)) {
391                 done = true;
392               }
393               break;
394             }
395           }
396         }
397       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
398         throw e.setUnfinishedMessage(this);
399       } catch (java.io.IOException e) {
400         throw new com.google.protobuf.InvalidProtocolBufferException(
401             e.getMessage()).setUnfinishedMessage(this);
402       } finally {
403         this.unknownFields = unknownFields.build();
404         makeExtensionsImmutable();
405       }
406     }
407     public static final com.google.protobuf.Descriptors.Descriptor
408         getDescriptor() {
409       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
410     }
411
412     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
413         internalGetFieldAccessorTable() {
414       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable
415           .ensureFieldAccessorsInitialized(
416               org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.Builder.class);
417     }
418
419     public static com.google.protobuf.Parser<CloseDataChangeListenerRegistrationReply> PARSER =
420         new com.google.protobuf.AbstractParser<CloseDataChangeListenerRegistrationReply>() {
421       public CloseDataChangeListenerRegistrationReply parsePartialFrom(
422           com.google.protobuf.CodedInputStream input,
423           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
424           throws com.google.protobuf.InvalidProtocolBufferException {
425         return new CloseDataChangeListenerRegistrationReply(input, extensionRegistry);
426       }
427     };
428
429     @java.lang.Override
430     public com.google.protobuf.Parser<CloseDataChangeListenerRegistrationReply> getParserForType() {
431       return PARSER;
432     }
433
434     private void initFields() {
435     }
436     private byte memoizedIsInitialized = -1;
437     public final boolean isInitialized() {
438       byte isInitialized = memoizedIsInitialized;
439       if (isInitialized != -1) return isInitialized == 1;
440
441       memoizedIsInitialized = 1;
442       return true;
443     }
444
445     public void writeTo(com.google.protobuf.CodedOutputStream output)
446                         throws java.io.IOException {
447       getSerializedSize();
448       getUnknownFields().writeTo(output);
449     }
450
451     private int memoizedSerializedSize = -1;
452     public int getSerializedSize() {
453       int size = memoizedSerializedSize;
454       if (size != -1) return size;
455
456       size = 0;
457       size += getUnknownFields().getSerializedSize();
458       memoizedSerializedSize = size;
459       return size;
460     }
461
462     private static final long serialVersionUID = 0L;
463     @java.lang.Override
464     protected java.lang.Object writeReplace()
465         throws java.io.ObjectStreamException {
466       return super.writeReplace();
467     }
468
469     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
470         com.google.protobuf.ByteString data)
471         throws com.google.protobuf.InvalidProtocolBufferException {
472       return PARSER.parseFrom(data);
473     }
474     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
475         com.google.protobuf.ByteString data,
476         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
477         throws com.google.protobuf.InvalidProtocolBufferException {
478       return PARSER.parseFrom(data, extensionRegistry);
479     }
480     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(byte[] data)
481         throws com.google.protobuf.InvalidProtocolBufferException {
482       return PARSER.parseFrom(data);
483     }
484     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
485         byte[] data,
486         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
487         throws com.google.protobuf.InvalidProtocolBufferException {
488       return PARSER.parseFrom(data, extensionRegistry);
489     }
490     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(java.io.InputStream input)
491         throws java.io.IOException {
492       return PARSER.parseFrom(input);
493     }
494     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
495         java.io.InputStream input,
496         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
497         throws java.io.IOException {
498       return PARSER.parseFrom(input, extensionRegistry);
499     }
500     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseDelimitedFrom(java.io.InputStream input)
501         throws java.io.IOException {
502       return PARSER.parseDelimitedFrom(input);
503     }
504     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseDelimitedFrom(
505         java.io.InputStream input,
506         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
507         throws java.io.IOException {
508       return PARSER.parseDelimitedFrom(input, extensionRegistry);
509     }
510     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
511         com.google.protobuf.CodedInputStream input)
512         throws java.io.IOException {
513       return PARSER.parseFrom(input);
514     }
515     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
516         com.google.protobuf.CodedInputStream input,
517         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
518         throws java.io.IOException {
519       return PARSER.parseFrom(input, extensionRegistry);
520     }
521
522     public static Builder newBuilder() { return Builder.create(); }
523     public Builder newBuilderForType() { return newBuilder(); }
524     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply prototype) {
525       return newBuilder().mergeFrom(prototype);
526     }
527     public Builder toBuilder() { return newBuilder(this); }
528
529     @java.lang.Override
530     protected Builder newBuilderForType(
531         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
532       Builder builder = new Builder(parent);
533       return builder;
534     }
535     /**
536      * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply}
537      *
538      * <pre>
539      ** reply to the CloseDataChangeListenerRegistration request
540      * </pre>
541      */
542     public static final class Builder extends
543         com.google.protobuf.GeneratedMessage.Builder<Builder>
544        implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReplyOrBuilder {
545       public static final com.google.protobuf.Descriptors.Descriptor
546           getDescriptor() {
547         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
548       }
549
550       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
551           internalGetFieldAccessorTable() {
552         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable
553             .ensureFieldAccessorsInitialized(
554                 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.Builder.class);
555       }
556
557       // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.newBuilder()
558       private Builder() {
559         maybeForceBuilderInitialization();
560       }
561
562       private Builder(
563           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
564         super(parent);
565         maybeForceBuilderInitialization();
566       }
567       private void maybeForceBuilderInitialization() {
568         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
569         }
570       }
571       private static Builder create() {
572         return new Builder();
573       }
574
575       public Builder clear() {
576         super.clear();
577         return this;
578       }
579
580       public Builder clone() {
581         return create().mergeFrom(buildPartial());
582       }
583
584       public com.google.protobuf.Descriptors.Descriptor
585           getDescriptorForType() {
586         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
587       }
588
589       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply getDefaultInstanceForType() {
590         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.getDefaultInstance();
591       }
592
593       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply build() {
594         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply result = buildPartial();
595         if (!result.isInitialized()) {
596           throw newUninitializedMessageException(result);
597         }
598         return result;
599       }
600
601       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply buildPartial() {
602         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply(this);
603         onBuilt();
604         return result;
605       }
606
607       public Builder mergeFrom(com.google.protobuf.Message other) {
608         if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply) {
609           return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply)other);
610         } else {
611           super.mergeFrom(other);
612           return this;
613         }
614       }
615
616       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply other) {
617         if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.getDefaultInstance()) return this;
618         this.mergeUnknownFields(other.getUnknownFields());
619         return this;
620       }
621
622       public final boolean isInitialized() {
623         return true;
624       }
625
626       public Builder mergeFrom(
627           com.google.protobuf.CodedInputStream input,
628           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
629           throws java.io.IOException {
630         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parsedMessage = null;
631         try {
632           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
633         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
634           parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply) e.getUnfinishedMessage();
635           throw e;
636         } finally {
637           if (parsedMessage != null) {
638             mergeFrom(parsedMessage);
639           }
640         }
641         return this;
642       }
643
644       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply)
645     }
646
647     static {
648       defaultInstance = new CloseDataChangeListenerRegistrationReply(true);
649       defaultInstance.initFields();
650     }
651
652     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply)
653   }
654
655   public interface RegisterChangeListenerOrBuilder
656       extends com.google.protobuf.MessageOrBuilder {
657
658     // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
659     /**
660      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
661      */
662     boolean hasInstanceIdentifierPath();
663     /**
664      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
665      */
666     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
667     /**
668      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
669      */
670     org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
671
672     // required string dataChangeListenerActorPath = 2;
673     /**
674      * <code>required string dataChangeListenerActorPath = 2;</code>
675      */
676     boolean hasDataChangeListenerActorPath();
677     /**
678      * <code>required string dataChangeListenerActorPath = 2;</code>
679      */
680     java.lang.String getDataChangeListenerActorPath();
681     /**
682      * <code>required string dataChangeListenerActorPath = 2;</code>
683      */
684     com.google.protobuf.ByteString
685         getDataChangeListenerActorPathBytes();
686
687     // required int32 dataChangeScope = 3;
688     /**
689      * <code>required int32 dataChangeScope = 3;</code>
690      */
691     boolean hasDataChangeScope();
692     /**
693      * <code>required int32 dataChangeScope = 3;</code>
694      */
695     int getDataChangeScope();
696   }
697   /**
698    * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
699    */
700   public static final class RegisterChangeListener extends
701       com.google.protobuf.GeneratedMessage
702       implements RegisterChangeListenerOrBuilder {
703     // Use RegisterChangeListener.newBuilder() to construct.
704     private RegisterChangeListener(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
705       super(builder);
706       this.unknownFields = builder.getUnknownFields();
707     }
708     private RegisterChangeListener(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
709
710     private static final RegisterChangeListener defaultInstance;
711     public static RegisterChangeListener getDefaultInstance() {
712       return defaultInstance;
713     }
714
715     public RegisterChangeListener getDefaultInstanceForType() {
716       return defaultInstance;
717     }
718
719     private final com.google.protobuf.UnknownFieldSet unknownFields;
720     @java.lang.Override
721     public final com.google.protobuf.UnknownFieldSet
722         getUnknownFields() {
723       return this.unknownFields;
724     }
725     private RegisterChangeListener(
726         com.google.protobuf.CodedInputStream input,
727         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
728         throws com.google.protobuf.InvalidProtocolBufferException {
729       initFields();
730       int mutable_bitField0_ = 0;
731       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
732           com.google.protobuf.UnknownFieldSet.newBuilder();
733       try {
734         boolean done = false;
735         while (!done) {
736           int tag = input.readTag();
737           switch (tag) {
738             case 0:
739               done = true;
740               break;
741             default: {
742               if (!parseUnknownField(input, unknownFields,
743                                      extensionRegistry, tag)) {
744                 done = true;
745               }
746               break;
747             }
748             case 10: {
749               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
750               if (((bitField0_ & 0x00000001) == 0x00000001)) {
751                 subBuilder = instanceIdentifierPath_.toBuilder();
752               }
753               instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
754               if (subBuilder != null) {
755                 subBuilder.mergeFrom(instanceIdentifierPath_);
756                 instanceIdentifierPath_ = subBuilder.buildPartial();
757               }
758               bitField0_ |= 0x00000001;
759               break;
760             }
761             case 18: {
762               bitField0_ |= 0x00000002;
763               dataChangeListenerActorPath_ = input.readBytes();
764               break;
765             }
766             case 24: {
767               bitField0_ |= 0x00000004;
768               dataChangeScope_ = input.readInt32();
769               break;
770             }
771           }
772         }
773       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
774         throw e.setUnfinishedMessage(this);
775       } catch (java.io.IOException e) {
776         throw new com.google.protobuf.InvalidProtocolBufferException(
777             e.getMessage()).setUnfinishedMessage(this);
778       } finally {
779         this.unknownFields = unknownFields.build();
780         makeExtensionsImmutable();
781       }
782     }
783     public static final com.google.protobuf.Descriptors.Descriptor
784         getDescriptor() {
785       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
786     }
787
788     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
789         internalGetFieldAccessorTable() {
790       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
791           .ensureFieldAccessorsInitialized(
792               org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
793     }
794
795     public static com.google.protobuf.Parser<RegisterChangeListener> PARSER =
796         new com.google.protobuf.AbstractParser<RegisterChangeListener>() {
797       public RegisterChangeListener parsePartialFrom(
798           com.google.protobuf.CodedInputStream input,
799           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
800           throws com.google.protobuf.InvalidProtocolBufferException {
801         return new RegisterChangeListener(input, extensionRegistry);
802       }
803     };
804
805     @java.lang.Override
806     public com.google.protobuf.Parser<RegisterChangeListener> getParserForType() {
807       return PARSER;
808     }
809
810     private int bitField0_;
811     // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
812     public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
813     private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
814     /**
815      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
816      */
817     public boolean hasInstanceIdentifierPath() {
818       return ((bitField0_ & 0x00000001) == 0x00000001);
819     }
820     /**
821      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
822      */
823     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
824       return instanceIdentifierPath_;
825     }
826     /**
827      * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
828      */
829     public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
830       return instanceIdentifierPath_;
831     }
832
833     // required string dataChangeListenerActorPath = 2;
834     public static final int DATACHANGELISTENERACTORPATH_FIELD_NUMBER = 2;
835     private java.lang.Object dataChangeListenerActorPath_;
836     /**
837      * <code>required string dataChangeListenerActorPath = 2;</code>
838      */
839     public boolean hasDataChangeListenerActorPath() {
840       return ((bitField0_ & 0x00000002) == 0x00000002);
841     }
842     /**
843      * <code>required string dataChangeListenerActorPath = 2;</code>
844      */
845     public java.lang.String getDataChangeListenerActorPath() {
846       java.lang.Object ref = dataChangeListenerActorPath_;
847       if (ref instanceof java.lang.String) {
848         return (java.lang.String) ref;
849       } else {
850         com.google.protobuf.ByteString bs =
851             (com.google.protobuf.ByteString) ref;
852         java.lang.String s = bs.toStringUtf8();
853         if (bs.isValidUtf8()) {
854           dataChangeListenerActorPath_ = s;
855         }
856         return s;
857       }
858     }
859     /**
860      * <code>required string dataChangeListenerActorPath = 2;</code>
861      */
862     public com.google.protobuf.ByteString
863         getDataChangeListenerActorPathBytes() {
864       java.lang.Object ref = dataChangeListenerActorPath_;
865       if (ref instanceof java.lang.String) {
866         com.google.protobuf.ByteString b =
867             com.google.protobuf.ByteString.copyFromUtf8(
868                 (java.lang.String) ref);
869         dataChangeListenerActorPath_ = b;
870         return b;
871       } else {
872         return (com.google.protobuf.ByteString) ref;
873       }
874     }
875
876     // required int32 dataChangeScope = 3;
877     public static final int DATACHANGESCOPE_FIELD_NUMBER = 3;
878     private int dataChangeScope_;
879     /**
880      * <code>required int32 dataChangeScope = 3;</code>
881      */
882     public boolean hasDataChangeScope() {
883       return ((bitField0_ & 0x00000004) == 0x00000004);
884     }
885     /**
886      * <code>required int32 dataChangeScope = 3;</code>
887      */
888     public int getDataChangeScope() {
889       return dataChangeScope_;
890     }
891
892     private void initFields() {
893       instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
894       dataChangeListenerActorPath_ = "";
895       dataChangeScope_ = 0;
896     }
897     private byte memoizedIsInitialized = -1;
898     public final boolean isInitialized() {
899       byte isInitialized = memoizedIsInitialized;
900       if (isInitialized != -1) return isInitialized == 1;
901
902       if (!hasInstanceIdentifierPath()) {
903         memoizedIsInitialized = 0;
904         return false;
905       }
906       if (!hasDataChangeListenerActorPath()) {
907         memoizedIsInitialized = 0;
908         return false;
909       }
910       if (!hasDataChangeScope()) {
911         memoizedIsInitialized = 0;
912         return false;
913       }
914       if (!getInstanceIdentifierPath().isInitialized()) {
915         memoizedIsInitialized = 0;
916         return false;
917       }
918       memoizedIsInitialized = 1;
919       return true;
920     }
921
922     public void writeTo(com.google.protobuf.CodedOutputStream output)
923                         throws java.io.IOException {
924       getSerializedSize();
925       if (((bitField0_ & 0x00000001) == 0x00000001)) {
926         output.writeMessage(1, instanceIdentifierPath_);
927       }
928       if (((bitField0_ & 0x00000002) == 0x00000002)) {
929         output.writeBytes(2, getDataChangeListenerActorPathBytes());
930       }
931       if (((bitField0_ & 0x00000004) == 0x00000004)) {
932         output.writeInt32(3, dataChangeScope_);
933       }
934       getUnknownFields().writeTo(output);
935     }
936
937     private int memoizedSerializedSize = -1;
938     public int getSerializedSize() {
939       int size = memoizedSerializedSize;
940       if (size != -1) return size;
941
942       size = 0;
943       if (((bitField0_ & 0x00000001) == 0x00000001)) {
944         size += com.google.protobuf.CodedOutputStream
945           .computeMessageSize(1, instanceIdentifierPath_);
946       }
947       if (((bitField0_ & 0x00000002) == 0x00000002)) {
948         size += com.google.protobuf.CodedOutputStream
949           .computeBytesSize(2, getDataChangeListenerActorPathBytes());
950       }
951       if (((bitField0_ & 0x00000004) == 0x00000004)) {
952         size += com.google.protobuf.CodedOutputStream
953           .computeInt32Size(3, dataChangeScope_);
954       }
955       size += getUnknownFields().getSerializedSize();
956       memoizedSerializedSize = size;
957       return size;
958     }
959
960     private static final long serialVersionUID = 0L;
961     @java.lang.Override
962     protected java.lang.Object writeReplace()
963         throws java.io.ObjectStreamException {
964       return super.writeReplace();
965     }
966
967     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
968         com.google.protobuf.ByteString data)
969         throws com.google.protobuf.InvalidProtocolBufferException {
970       return PARSER.parseFrom(data);
971     }
972     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
973         com.google.protobuf.ByteString data,
974         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
975         throws com.google.protobuf.InvalidProtocolBufferException {
976       return PARSER.parseFrom(data, extensionRegistry);
977     }
978     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(byte[] data)
979         throws com.google.protobuf.InvalidProtocolBufferException {
980       return PARSER.parseFrom(data);
981     }
982     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
983         byte[] data,
984         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
985         throws com.google.protobuf.InvalidProtocolBufferException {
986       return PARSER.parseFrom(data, extensionRegistry);
987     }
988     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(java.io.InputStream input)
989         throws java.io.IOException {
990       return PARSER.parseFrom(input);
991     }
992     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
993         java.io.InputStream input,
994         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
995         throws java.io.IOException {
996       return PARSER.parseFrom(input, extensionRegistry);
997     }
998     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(java.io.InputStream input)
999         throws java.io.IOException {
1000       return PARSER.parseDelimitedFrom(input);
1001     }
1002     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(
1003         java.io.InputStream input,
1004         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1005         throws java.io.IOException {
1006       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1007     }
1008     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1009         com.google.protobuf.CodedInputStream input)
1010         throws java.io.IOException {
1011       return PARSER.parseFrom(input);
1012     }
1013     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1014         com.google.protobuf.CodedInputStream input,
1015         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1016         throws java.io.IOException {
1017       return PARSER.parseFrom(input, extensionRegistry);
1018     }
1019
1020     public static Builder newBuilder() { return Builder.create(); }
1021     public Builder newBuilderForType() { return newBuilder(); }
1022     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener prototype) {
1023       return newBuilder().mergeFrom(prototype);
1024     }
1025     public Builder toBuilder() { return newBuilder(this); }
1026
1027     @java.lang.Override
1028     protected Builder newBuilderForType(
1029         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1030       Builder builder = new Builder(parent);
1031       return builder;
1032     }
1033     /**
1034      * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
1035      */
1036     public static final class Builder extends
1037         com.google.protobuf.GeneratedMessage.Builder<Builder>
1038        implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerOrBuilder {
1039       public static final com.google.protobuf.Descriptors.Descriptor
1040           getDescriptor() {
1041         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1042       }
1043
1044       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1045           internalGetFieldAccessorTable() {
1046         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
1047             .ensureFieldAccessorsInitialized(
1048                 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
1049       }
1050
1051       // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.newBuilder()
1052       private Builder() {
1053         maybeForceBuilderInitialization();
1054       }
1055
1056       private Builder(
1057           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1058         super(parent);
1059         maybeForceBuilderInitialization();
1060       }
1061       private void maybeForceBuilderInitialization() {
1062         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1063           getInstanceIdentifierPathFieldBuilder();
1064         }
1065       }
1066       private static Builder create() {
1067         return new Builder();
1068       }
1069
1070       public Builder clear() {
1071         super.clear();
1072         if (instanceIdentifierPathBuilder_ == null) {
1073           instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1074         } else {
1075           instanceIdentifierPathBuilder_.clear();
1076         }
1077         bitField0_ = (bitField0_ & ~0x00000001);
1078         dataChangeListenerActorPath_ = "";
1079         bitField0_ = (bitField0_ & ~0x00000002);
1080         dataChangeScope_ = 0;
1081         bitField0_ = (bitField0_ & ~0x00000004);
1082         return this;
1083       }
1084
1085       public Builder clone() {
1086         return create().mergeFrom(buildPartial());
1087       }
1088
1089       public com.google.protobuf.Descriptors.Descriptor
1090           getDescriptorForType() {
1091         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1092       }
1093
1094       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener getDefaultInstanceForType() {
1095         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance();
1096       }
1097
1098       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener build() {
1099         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = buildPartial();
1100         if (!result.isInitialized()) {
1101           throw newUninitializedMessageException(result);
1102         }
1103         return result;
1104       }
1105
1106       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener buildPartial() {
1107         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener(this);
1108         int from_bitField0_ = bitField0_;
1109         int to_bitField0_ = 0;
1110         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1111           to_bitField0_ |= 0x00000001;
1112         }
1113         if (instanceIdentifierPathBuilder_ == null) {
1114           result.instanceIdentifierPath_ = instanceIdentifierPath_;
1115         } else {
1116           result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
1117         }
1118         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1119           to_bitField0_ |= 0x00000002;
1120         }
1121         result.dataChangeListenerActorPath_ = dataChangeListenerActorPath_;
1122         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1123           to_bitField0_ |= 0x00000004;
1124         }
1125         result.dataChangeScope_ = dataChangeScope_;
1126         result.bitField0_ = to_bitField0_;
1127         onBuilt();
1128         return result;
1129       }
1130
1131       public Builder mergeFrom(com.google.protobuf.Message other) {
1132         if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) {
1133           return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener)other);
1134         } else {
1135           super.mergeFrom(other);
1136           return this;
1137         }
1138       }
1139
1140       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener other) {
1141         if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance()) return this;
1142         if (other.hasInstanceIdentifierPath()) {
1143           mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
1144         }
1145         if (other.hasDataChangeListenerActorPath()) {
1146           bitField0_ |= 0x00000002;
1147           dataChangeListenerActorPath_ = other.dataChangeListenerActorPath_;
1148           onChanged();
1149         }
1150         if (other.hasDataChangeScope()) {
1151           setDataChangeScope(other.getDataChangeScope());
1152         }
1153         this.mergeUnknownFields(other.getUnknownFields());
1154         return this;
1155       }
1156
1157       public final boolean isInitialized() {
1158         if (!hasInstanceIdentifierPath()) {
1159
1160           return false;
1161         }
1162         if (!hasDataChangeListenerActorPath()) {
1163
1164           return false;
1165         }
1166         if (!hasDataChangeScope()) {
1167
1168           return false;
1169         }
1170         if (!getInstanceIdentifierPath().isInitialized()) {
1171
1172           return false;
1173         }
1174         return true;
1175       }
1176
1177       public Builder mergeFrom(
1178           com.google.protobuf.CodedInputStream input,
1179           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1180           throws java.io.IOException {
1181         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parsedMessage = null;
1182         try {
1183           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1184         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1185           parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) e.getUnfinishedMessage();
1186           throw e;
1187         } finally {
1188           if (parsedMessage != null) {
1189             mergeFrom(parsedMessage);
1190           }
1191         }
1192         return this;
1193       }
1194       private int bitField0_;
1195
1196       // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
1197       private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1198       private com.google.protobuf.SingleFieldBuilder<
1199           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathBuilder_;
1200       /**
1201        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1202        */
1203       public boolean hasInstanceIdentifierPath() {
1204         return ((bitField0_ & 0x00000001) == 0x00000001);
1205       }
1206       /**
1207        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1208        */
1209       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
1210         if (instanceIdentifierPathBuilder_ == null) {
1211           return instanceIdentifierPath_;
1212         } else {
1213           return instanceIdentifierPathBuilder_.getMessage();
1214         }
1215       }
1216       /**
1217        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1218        */
1219       public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1220         if (instanceIdentifierPathBuilder_ == null) {
1221           if (value == null) {
1222             throw new NullPointerException();
1223           }
1224           instanceIdentifierPath_ = value;
1225           onChanged();
1226         } else {
1227           instanceIdentifierPathBuilder_.setMessage(value);
1228         }
1229         bitField0_ |= 0x00000001;
1230         return this;
1231       }
1232       /**
1233        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1234        */
1235       public Builder setInstanceIdentifierPath(
1236           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
1237         if (instanceIdentifierPathBuilder_ == null) {
1238           instanceIdentifierPath_ = builderForValue.build();
1239           onChanged();
1240         } else {
1241           instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
1242         }
1243         bitField0_ |= 0x00000001;
1244         return this;
1245       }
1246       /**
1247        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1248        */
1249       public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1250         if (instanceIdentifierPathBuilder_ == null) {
1251           if (((bitField0_ & 0x00000001) == 0x00000001) &&
1252               instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
1253             instanceIdentifierPath_ =
1254               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
1255           } else {
1256             instanceIdentifierPath_ = value;
1257           }
1258           onChanged();
1259         } else {
1260           instanceIdentifierPathBuilder_.mergeFrom(value);
1261         }
1262         bitField0_ |= 0x00000001;
1263         return this;
1264       }
1265       /**
1266        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1267        */
1268       public Builder clearInstanceIdentifierPath() {
1269         if (instanceIdentifierPathBuilder_ == null) {
1270           instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1271           onChanged();
1272         } else {
1273           instanceIdentifierPathBuilder_.clear();
1274         }
1275         bitField0_ = (bitField0_ & ~0x00000001);
1276         return this;
1277       }
1278       /**
1279        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1280        */
1281       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
1282         bitField0_ |= 0x00000001;
1283         onChanged();
1284         return getInstanceIdentifierPathFieldBuilder().getBuilder();
1285       }
1286       /**
1287        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1288        */
1289       public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
1290         if (instanceIdentifierPathBuilder_ != null) {
1291           return instanceIdentifierPathBuilder_.getMessageOrBuilder();
1292         } else {
1293           return instanceIdentifierPath_;
1294         }
1295       }
1296       /**
1297        * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1298        */
1299       private com.google.protobuf.SingleFieldBuilder<
1300           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
1301           getInstanceIdentifierPathFieldBuilder() {
1302         if (instanceIdentifierPathBuilder_ == null) {
1303           instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1304               org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
1305                   instanceIdentifierPath_,
1306                   getParentForChildren(),
1307                   isClean());
1308           instanceIdentifierPath_ = null;
1309         }
1310         return instanceIdentifierPathBuilder_;
1311       }
1312
1313       // required string dataChangeListenerActorPath = 2;
1314       private java.lang.Object dataChangeListenerActorPath_ = "";
1315       /**
1316        * <code>required string dataChangeListenerActorPath = 2;</code>
1317        */
1318       public boolean hasDataChangeListenerActorPath() {
1319         return ((bitField0_ & 0x00000002) == 0x00000002);
1320       }
1321       /**
1322        * <code>required string dataChangeListenerActorPath = 2;</code>
1323        */
1324       public java.lang.String getDataChangeListenerActorPath() {
1325         java.lang.Object ref = dataChangeListenerActorPath_;
1326         if (!(ref instanceof java.lang.String)) {
1327           java.lang.String s = ((com.google.protobuf.ByteString) ref)
1328               .toStringUtf8();
1329           dataChangeListenerActorPath_ = s;
1330           return s;
1331         } else {
1332           return (java.lang.String) ref;
1333         }
1334       }
1335       /**
1336        * <code>required string dataChangeListenerActorPath = 2;</code>
1337        */
1338       public com.google.protobuf.ByteString
1339           getDataChangeListenerActorPathBytes() {
1340         java.lang.Object ref = dataChangeListenerActorPath_;
1341         if (ref instanceof String) {
1342           com.google.protobuf.ByteString b =
1343               com.google.protobuf.ByteString.copyFromUtf8(
1344                   (java.lang.String) ref);
1345           dataChangeListenerActorPath_ = b;
1346           return b;
1347         } else {
1348           return (com.google.protobuf.ByteString) ref;
1349         }
1350       }
1351       /**
1352        * <code>required string dataChangeListenerActorPath = 2;</code>
1353        */
1354       public Builder setDataChangeListenerActorPath(
1355           java.lang.String value) {
1356         if (value == null) {
1357     throw new NullPointerException();
1358   }
1359   bitField0_ |= 0x00000002;
1360         dataChangeListenerActorPath_ = value;
1361         onChanged();
1362         return this;
1363       }
1364       /**
1365        * <code>required string dataChangeListenerActorPath = 2;</code>
1366        */
1367       public Builder clearDataChangeListenerActorPath() {
1368         bitField0_ = (bitField0_ & ~0x00000002);
1369         dataChangeListenerActorPath_ = getDefaultInstance().getDataChangeListenerActorPath();
1370         onChanged();
1371         return this;
1372       }
1373       /**
1374        * <code>required string dataChangeListenerActorPath = 2;</code>
1375        */
1376       public Builder setDataChangeListenerActorPathBytes(
1377           com.google.protobuf.ByteString value) {
1378         if (value == null) {
1379     throw new NullPointerException();
1380   }
1381   bitField0_ |= 0x00000002;
1382         dataChangeListenerActorPath_ = value;
1383         onChanged();
1384         return this;
1385       }
1386
1387       // required int32 dataChangeScope = 3;
1388       private int dataChangeScope_ ;
1389       /**
1390        * <code>required int32 dataChangeScope = 3;</code>
1391        */
1392       public boolean hasDataChangeScope() {
1393         return ((bitField0_ & 0x00000004) == 0x00000004);
1394       }
1395       /**
1396        * <code>required int32 dataChangeScope = 3;</code>
1397        */
1398       public int getDataChangeScope() {
1399         return dataChangeScope_;
1400       }
1401       /**
1402        * <code>required int32 dataChangeScope = 3;</code>
1403        */
1404       public Builder setDataChangeScope(int value) {
1405         bitField0_ |= 0x00000004;
1406         dataChangeScope_ = value;
1407         onChanged();
1408         return this;
1409       }
1410       /**
1411        * <code>required int32 dataChangeScope = 3;</code>
1412        */
1413       public Builder clearDataChangeScope() {
1414         bitField0_ = (bitField0_ & ~0x00000004);
1415         dataChangeScope_ = 0;
1416         onChanged();
1417         return this;
1418       }
1419
1420       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1421     }
1422
1423     static {
1424       defaultInstance = new RegisterChangeListener(true);
1425       defaultInstance.initFields();
1426     }
1427
1428     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1429   }
1430
1431   public interface RegisterChangeListenerReplyOrBuilder
1432       extends com.google.protobuf.MessageOrBuilder {
1433
1434     // required string listenerRegistrationPath = 1;
1435     /**
1436      * <code>required string listenerRegistrationPath = 1;</code>
1437      */
1438     boolean hasListenerRegistrationPath();
1439     /**
1440      * <code>required string listenerRegistrationPath = 1;</code>
1441      */
1442     java.lang.String getListenerRegistrationPath();
1443     /**
1444      * <code>required string listenerRegistrationPath = 1;</code>
1445      */
1446     com.google.protobuf.ByteString
1447         getListenerRegistrationPathBytes();
1448   }
1449   /**
1450    * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1451    *
1452    * <pre>
1453    **
1454    * This is the reply for the RegisterChangeListener message
1455    * It contains the listenerRegistration actor path
1456    * that can be used to unregister the listener
1457    * </pre>
1458    */
1459   public static final class RegisterChangeListenerReply extends
1460       com.google.protobuf.GeneratedMessage
1461       implements RegisterChangeListenerReplyOrBuilder {
1462     // Use RegisterChangeListenerReply.newBuilder() to construct.
1463     private RegisterChangeListenerReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1464       super(builder);
1465       this.unknownFields = builder.getUnknownFields();
1466     }
1467     private RegisterChangeListenerReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1468
1469     private static final RegisterChangeListenerReply defaultInstance;
1470     public static RegisterChangeListenerReply getDefaultInstance() {
1471       return defaultInstance;
1472     }
1473
1474     public RegisterChangeListenerReply getDefaultInstanceForType() {
1475       return defaultInstance;
1476     }
1477
1478     private final com.google.protobuf.UnknownFieldSet unknownFields;
1479     @java.lang.Override
1480     public final com.google.protobuf.UnknownFieldSet
1481         getUnknownFields() {
1482       return this.unknownFields;
1483     }
1484     private RegisterChangeListenerReply(
1485         com.google.protobuf.CodedInputStream input,
1486         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1487         throws com.google.protobuf.InvalidProtocolBufferException {
1488       initFields();
1489       int mutable_bitField0_ = 0;
1490       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1491           com.google.protobuf.UnknownFieldSet.newBuilder();
1492       try {
1493         boolean done = false;
1494         while (!done) {
1495           int tag = input.readTag();
1496           switch (tag) {
1497             case 0:
1498               done = true;
1499               break;
1500             default: {
1501               if (!parseUnknownField(input, unknownFields,
1502                                      extensionRegistry, tag)) {
1503                 done = true;
1504               }
1505               break;
1506             }
1507             case 10: {
1508               bitField0_ |= 0x00000001;
1509               listenerRegistrationPath_ = input.readBytes();
1510               break;
1511             }
1512           }
1513         }
1514       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1515         throw e.setUnfinishedMessage(this);
1516       } catch (java.io.IOException e) {
1517         throw new com.google.protobuf.InvalidProtocolBufferException(
1518             e.getMessage()).setUnfinishedMessage(this);
1519       } finally {
1520         this.unknownFields = unknownFields.build();
1521         makeExtensionsImmutable();
1522       }
1523     }
1524     public static final com.google.protobuf.Descriptors.Descriptor
1525         getDescriptor() {
1526       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1527     }
1528
1529     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1530         internalGetFieldAccessorTable() {
1531       return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1532           .ensureFieldAccessorsInitialized(
1533               org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1534     }
1535
1536     public static com.google.protobuf.Parser<RegisterChangeListenerReply> PARSER =
1537         new com.google.protobuf.AbstractParser<RegisterChangeListenerReply>() {
1538       public RegisterChangeListenerReply parsePartialFrom(
1539           com.google.protobuf.CodedInputStream input,
1540           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1541           throws com.google.protobuf.InvalidProtocolBufferException {
1542         return new RegisterChangeListenerReply(input, extensionRegistry);
1543       }
1544     };
1545
1546     @java.lang.Override
1547     public com.google.protobuf.Parser<RegisterChangeListenerReply> getParserForType() {
1548       return PARSER;
1549     }
1550
1551     private int bitField0_;
1552     // required string listenerRegistrationPath = 1;
1553     public static final int LISTENERREGISTRATIONPATH_FIELD_NUMBER = 1;
1554     private java.lang.Object listenerRegistrationPath_;
1555     /**
1556      * <code>required string listenerRegistrationPath = 1;</code>
1557      */
1558     public boolean hasListenerRegistrationPath() {
1559       return ((bitField0_ & 0x00000001) == 0x00000001);
1560     }
1561     /**
1562      * <code>required string listenerRegistrationPath = 1;</code>
1563      */
1564     public java.lang.String getListenerRegistrationPath() {
1565       java.lang.Object ref = listenerRegistrationPath_;
1566       if (ref instanceof java.lang.String) {
1567         return (java.lang.String) ref;
1568       } else {
1569         com.google.protobuf.ByteString bs =
1570             (com.google.protobuf.ByteString) ref;
1571         java.lang.String s = bs.toStringUtf8();
1572         if (bs.isValidUtf8()) {
1573           listenerRegistrationPath_ = s;
1574         }
1575         return s;
1576       }
1577     }
1578     /**
1579      * <code>required string listenerRegistrationPath = 1;</code>
1580      */
1581     public com.google.protobuf.ByteString
1582         getListenerRegistrationPathBytes() {
1583       java.lang.Object ref = listenerRegistrationPath_;
1584       if (ref instanceof java.lang.String) {
1585         com.google.protobuf.ByteString b =
1586             com.google.protobuf.ByteString.copyFromUtf8(
1587                 (java.lang.String) ref);
1588         listenerRegistrationPath_ = b;
1589         return b;
1590       } else {
1591         return (com.google.protobuf.ByteString) ref;
1592       }
1593     }
1594
1595     private void initFields() {
1596       listenerRegistrationPath_ = "";
1597     }
1598     private byte memoizedIsInitialized = -1;
1599     public final boolean isInitialized() {
1600       byte isInitialized = memoizedIsInitialized;
1601       if (isInitialized != -1) return isInitialized == 1;
1602
1603       if (!hasListenerRegistrationPath()) {
1604         memoizedIsInitialized = 0;
1605         return false;
1606       }
1607       memoizedIsInitialized = 1;
1608       return true;
1609     }
1610
1611     public void writeTo(com.google.protobuf.CodedOutputStream output)
1612                         throws java.io.IOException {
1613       getSerializedSize();
1614       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1615         output.writeBytes(1, getListenerRegistrationPathBytes());
1616       }
1617       getUnknownFields().writeTo(output);
1618     }
1619
1620     private int memoizedSerializedSize = -1;
1621     public int getSerializedSize() {
1622       int size = memoizedSerializedSize;
1623       if (size != -1) return size;
1624
1625       size = 0;
1626       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1627         size += com.google.protobuf.CodedOutputStream
1628           .computeBytesSize(1, getListenerRegistrationPathBytes());
1629       }
1630       size += getUnknownFields().getSerializedSize();
1631       memoizedSerializedSize = size;
1632       return size;
1633     }
1634
1635     private static final long serialVersionUID = 0L;
1636     @java.lang.Override
1637     protected java.lang.Object writeReplace()
1638         throws java.io.ObjectStreamException {
1639       return super.writeReplace();
1640     }
1641
1642     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1643         com.google.protobuf.ByteString data)
1644         throws com.google.protobuf.InvalidProtocolBufferException {
1645       return PARSER.parseFrom(data);
1646     }
1647     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1648         com.google.protobuf.ByteString data,
1649         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1650         throws com.google.protobuf.InvalidProtocolBufferException {
1651       return PARSER.parseFrom(data, extensionRegistry);
1652     }
1653     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(byte[] data)
1654         throws com.google.protobuf.InvalidProtocolBufferException {
1655       return PARSER.parseFrom(data);
1656     }
1657     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1658         byte[] data,
1659         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1660         throws com.google.protobuf.InvalidProtocolBufferException {
1661       return PARSER.parseFrom(data, extensionRegistry);
1662     }
1663     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(java.io.InputStream input)
1664         throws java.io.IOException {
1665       return PARSER.parseFrom(input);
1666     }
1667     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1668         java.io.InputStream input,
1669         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1670         throws java.io.IOException {
1671       return PARSER.parseFrom(input, extensionRegistry);
1672     }
1673     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(java.io.InputStream input)
1674         throws java.io.IOException {
1675       return PARSER.parseDelimitedFrom(input);
1676     }
1677     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(
1678         java.io.InputStream input,
1679         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1680         throws java.io.IOException {
1681       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1682     }
1683     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1684         com.google.protobuf.CodedInputStream input)
1685         throws java.io.IOException {
1686       return PARSER.parseFrom(input);
1687     }
1688     public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1689         com.google.protobuf.CodedInputStream input,
1690         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1691         throws java.io.IOException {
1692       return PARSER.parseFrom(input, extensionRegistry);
1693     }
1694
1695     public static Builder newBuilder() { return Builder.create(); }
1696     public Builder newBuilderForType() { return newBuilder(); }
1697     public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply prototype) {
1698       return newBuilder().mergeFrom(prototype);
1699     }
1700     public Builder toBuilder() { return newBuilder(this); }
1701
1702     @java.lang.Override
1703     protected Builder newBuilderForType(
1704         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1705       Builder builder = new Builder(parent);
1706       return builder;
1707     }
1708     /**
1709      * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1710      *
1711      * <pre>
1712      **
1713      * This is the reply for the RegisterChangeListener message
1714      * It contains the listenerRegistration actor path
1715      * that can be used to unregister the listener
1716      * </pre>
1717      */
1718     public static final class Builder extends
1719         com.google.protobuf.GeneratedMessage.Builder<Builder>
1720        implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReplyOrBuilder {
1721       public static final com.google.protobuf.Descriptors.Descriptor
1722           getDescriptor() {
1723         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1724       }
1725
1726       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1727           internalGetFieldAccessorTable() {
1728         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1729             .ensureFieldAccessorsInitialized(
1730                 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1731       }
1732
1733       // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.newBuilder()
1734       private Builder() {
1735         maybeForceBuilderInitialization();
1736       }
1737
1738       private Builder(
1739           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1740         super(parent);
1741         maybeForceBuilderInitialization();
1742       }
1743       private void maybeForceBuilderInitialization() {
1744         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1745         }
1746       }
1747       private static Builder create() {
1748         return new Builder();
1749       }
1750
1751       public Builder clear() {
1752         super.clear();
1753         listenerRegistrationPath_ = "";
1754         bitField0_ = (bitField0_ & ~0x00000001);
1755         return this;
1756       }
1757
1758       public Builder clone() {
1759         return create().mergeFrom(buildPartial());
1760       }
1761
1762       public com.google.protobuf.Descriptors.Descriptor
1763           getDescriptorForType() {
1764         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1765       }
1766
1767       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply getDefaultInstanceForType() {
1768         return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance();
1769       }
1770
1771       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply build() {
1772         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = buildPartial();
1773         if (!result.isInitialized()) {
1774           throw newUninitializedMessageException(result);
1775         }
1776         return result;
1777       }
1778
1779       public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply buildPartial() {
1780         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply(this);
1781         int from_bitField0_ = bitField0_;
1782         int to_bitField0_ = 0;
1783         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1784           to_bitField0_ |= 0x00000001;
1785         }
1786         result.listenerRegistrationPath_ = listenerRegistrationPath_;
1787         result.bitField0_ = to_bitField0_;
1788         onBuilt();
1789         return result;
1790       }
1791
1792       public Builder mergeFrom(com.google.protobuf.Message other) {
1793         if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) {
1794           return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply)other);
1795         } else {
1796           super.mergeFrom(other);
1797           return this;
1798         }
1799       }
1800
1801       public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply other) {
1802         if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance()) return this;
1803         if (other.hasListenerRegistrationPath()) {
1804           bitField0_ |= 0x00000001;
1805           listenerRegistrationPath_ = other.listenerRegistrationPath_;
1806           onChanged();
1807         }
1808         this.mergeUnknownFields(other.getUnknownFields());
1809         return this;
1810       }
1811
1812       public final boolean isInitialized() {
1813         if (!hasListenerRegistrationPath()) {
1814
1815           return false;
1816         }
1817         return true;
1818       }
1819
1820       public Builder mergeFrom(
1821           com.google.protobuf.CodedInputStream input,
1822           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1823           throws java.io.IOException {
1824         org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parsedMessage = null;
1825         try {
1826           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1827         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1828           parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) e.getUnfinishedMessage();
1829           throw e;
1830         } finally {
1831           if (parsedMessage != null) {
1832             mergeFrom(parsedMessage);
1833           }
1834         }
1835         return this;
1836       }
1837       private int bitField0_;
1838
1839       // required string listenerRegistrationPath = 1;
1840       private java.lang.Object listenerRegistrationPath_ = "";
1841       /**
1842        * <code>required string listenerRegistrationPath = 1;</code>
1843        */
1844       public boolean hasListenerRegistrationPath() {
1845         return ((bitField0_ & 0x00000001) == 0x00000001);
1846       }
1847       /**
1848        * <code>required string listenerRegistrationPath = 1;</code>
1849        */
1850       public java.lang.String getListenerRegistrationPath() {
1851         java.lang.Object ref = listenerRegistrationPath_;
1852         if (!(ref instanceof java.lang.String)) {
1853           java.lang.String s = ((com.google.protobuf.ByteString) ref)
1854               .toStringUtf8();
1855           listenerRegistrationPath_ = s;
1856           return s;
1857         } else {
1858           return (java.lang.String) ref;
1859         }
1860       }
1861       /**
1862        * <code>required string listenerRegistrationPath = 1;</code>
1863        */
1864       public com.google.protobuf.ByteString
1865           getListenerRegistrationPathBytes() {
1866         java.lang.Object ref = listenerRegistrationPath_;
1867         if (ref instanceof String) {
1868           com.google.protobuf.ByteString b =
1869               com.google.protobuf.ByteString.copyFromUtf8(
1870                   (java.lang.String) ref);
1871           listenerRegistrationPath_ = b;
1872           return b;
1873         } else {
1874           return (com.google.protobuf.ByteString) ref;
1875         }
1876       }
1877       /**
1878        * <code>required string listenerRegistrationPath = 1;</code>
1879        */
1880       public Builder setListenerRegistrationPath(
1881           java.lang.String value) {
1882         if (value == null) {
1883     throw new NullPointerException();
1884   }
1885   bitField0_ |= 0x00000001;
1886         listenerRegistrationPath_ = value;
1887         onChanged();
1888         return this;
1889       }
1890       /**
1891        * <code>required string listenerRegistrationPath = 1;</code>
1892        */
1893       public Builder clearListenerRegistrationPath() {
1894         bitField0_ = (bitField0_ & ~0x00000001);
1895         listenerRegistrationPath_ = getDefaultInstance().getListenerRegistrationPath();
1896         onChanged();
1897         return this;
1898       }
1899       /**
1900        * <code>required string listenerRegistrationPath = 1;</code>
1901        */
1902       public Builder setListenerRegistrationPathBytes(
1903           com.google.protobuf.ByteString value) {
1904         if (value == null) {
1905     throw new NullPointerException();
1906   }
1907   bitField0_ |= 0x00000001;
1908         listenerRegistrationPath_ = value;
1909         onChanged();
1910         return this;
1911       }
1912
1913       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1914     }
1915
1916     static {
1917       defaultInstance = new RegisterChangeListenerReply(true);
1918       defaultInstance.initFields();
1919     }
1920
1921     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1922   }
1923
1924   private static com.google.protobuf.Descriptors.Descriptor
1925     internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
1926   private static
1927     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1928       internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable;
1929   private static com.google.protobuf.Descriptors.Descriptor
1930     internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
1931   private static
1932     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1933       internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable;
1934   private static com.google.protobuf.Descriptors.Descriptor
1935     internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1936   private static
1937     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1938       internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable;
1939   private static com.google.protobuf.Descriptors.Descriptor
1940     internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1941   private static
1942     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1943       internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable;
1944
1945   public static com.google.protobuf.Descriptors.FileDescriptor
1946       getDescriptor() {
1947     return descriptor;
1948   }
1949   private static com.google.protobuf.Descriptors.FileDescriptor
1950       descriptor;
1951   static {
1952     java.lang.String[] descriptorData = {
1953       "\n\032ListenerRegistration.proto\022!org.openda" +
1954       "ylight.controller.mdsal\032\014Common.proto\"%\n" +
1955       "#CloseDataChangeListenerRegistration\"*\n(" +
1956       "CloseDataChangeListenerRegistrationReply" +
1957       "\"\255\001\n\026RegisterChangeListener\022U\n\026instanceI" +
1958       "dentifierPath\030\001 \002(\01325.org.opendaylight.c" +
1959       "ontroller.mdsal.InstanceIdentifier\022#\n\033da" +
1960       "taChangeListenerActorPath\030\002 \002(\t\022\027\n\017dataC" +
1961       "hangeScope\030\003 \002(\005\"?\n\033RegisterChangeListen" +
1962       "erReply\022 \n\030listenerRegistrationPath\030\001 \002(",
1963       "\tB[\n;org.opendaylight.controller.protobu" +
1964       "ff.messages.registrationB\034ListenerRegist" +
1965       "rationMessages"
1966     };
1967     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1968       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1969         public com.google.protobuf.ExtensionRegistry assignDescriptors(
1970             com.google.protobuf.Descriptors.FileDescriptor root) {
1971           descriptor = root;
1972           internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor =
1973             getDescriptor().getMessageTypes().get(0);
1974           internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable = new
1975             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1976               internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor,
1977               new java.lang.String[] { });
1978           internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor =
1979             getDescriptor().getMessageTypes().get(1);
1980           internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable = new
1981             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1982               internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor,
1983               new java.lang.String[] { });
1984           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor =
1985             getDescriptor().getMessageTypes().get(2);
1986           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable = new
1987             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1988               internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor,
1989               new java.lang.String[] { "InstanceIdentifierPath", "DataChangeListenerActorPath", "DataChangeScope", });
1990           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor =
1991             getDescriptor().getMessageTypes().get(3);
1992           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable = new
1993             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1994               internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor,
1995               new java.lang.String[] { "ListenerRegistrationPath", });
1996           return null;
1997         }
1998       };
1999     com.google.protobuf.Descriptors.FileDescriptor
2000       .internalBuildGeneratedFileFrom(descriptorData,
2001         new com.google.protobuf.Descriptors.FileDescriptor[] {
2002           org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
2003         }, assigner);
2004   }
2005
2006   // @@protoc_insertion_point(outer_class_scope)
2007 }