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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.