3 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 // Generated by the protocol buffer compiler. DO NOT EDIT!
12 // source: ListenerRegistration.proto
14 package org.opendaylight.controller.protobuff.messages.registration;
16 public final class ListenerRegistrationMessages {
17 private ListenerRegistrationMessages() {}
18 public static void registerAllExtensions(
19 com.google.protobuf.ExtensionRegistry registry) {
21 public interface CloseDataChangeListenerRegistrationOrBuilder
22 extends com.google.protobuf.MessageOrBuilder {
25 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration}
28 ** used when a listener needs to be unregistered
31 public static final class CloseDataChangeListenerRegistration extends
32 com.google.protobuf.GeneratedMessage
33 implements CloseDataChangeListenerRegistrationOrBuilder {
34 // Use CloseDataChangeListenerRegistration.newBuilder() to construct.
35 private CloseDataChangeListenerRegistration(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
37 this.unknownFields = builder.getUnknownFields();
39 private CloseDataChangeListenerRegistration(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
41 private static final CloseDataChangeListenerRegistration defaultInstance;
42 public static CloseDataChangeListenerRegistration getDefaultInstance() {
43 return defaultInstance;
46 public CloseDataChangeListenerRegistration getDefaultInstanceForType() {
47 return defaultInstance;
50 private final com.google.protobuf.UnknownFieldSet unknownFields;
52 public final com.google.protobuf.UnknownFieldSet
54 return this.unknownFields;
56 private CloseDataChangeListenerRegistration(
57 com.google.protobuf.CodedInputStream input,
58 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
59 throws com.google.protobuf.InvalidProtocolBufferException {
61 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
62 com.google.protobuf.UnknownFieldSet.newBuilder();
66 int tag = input.readTag();
72 if (!parseUnknownField(input, unknownFields,
73 extensionRegistry, tag)) {
80 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
81 throw e.setUnfinishedMessage(this);
82 } catch (java.io.IOException e) {
83 throw new com.google.protobuf.InvalidProtocolBufferException(
84 e.getMessage()).setUnfinishedMessage(this);
86 this.unknownFields = unknownFields.build();
87 makeExtensionsImmutable();
90 public static final com.google.protobuf.Descriptors.Descriptor
92 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
95 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
96 internalGetFieldAccessorTable() {
97 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable
98 .ensureFieldAccessorsInitialized(
99 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.Builder.class);
102 public static com.google.protobuf.Parser<CloseDataChangeListenerRegistration> PARSER =
103 new com.google.protobuf.AbstractParser<CloseDataChangeListenerRegistration>() {
104 public CloseDataChangeListenerRegistration parsePartialFrom(
105 com.google.protobuf.CodedInputStream input,
106 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
107 throws com.google.protobuf.InvalidProtocolBufferException {
108 return new CloseDataChangeListenerRegistration(input, extensionRegistry);
113 public com.google.protobuf.Parser<CloseDataChangeListenerRegistration> getParserForType() {
117 private void initFields() {
119 private byte memoizedIsInitialized = -1;
120 public final boolean isInitialized() {
121 byte isInitialized = memoizedIsInitialized;
122 if (isInitialized != -1) return isInitialized == 1;
124 memoizedIsInitialized = 1;
128 public void writeTo(com.google.protobuf.CodedOutputStream output)
129 throws java.io.IOException {
131 getUnknownFields().writeTo(output);
134 private int memoizedSerializedSize = -1;
135 public int getSerializedSize() {
136 int size = memoizedSerializedSize;
137 if (size != -1) return size;
140 size += getUnknownFields().getSerializedSize();
141 memoizedSerializedSize = size;
145 private static final long serialVersionUID = 0L;
147 protected java.lang.Object writeReplace()
148 throws java.io.ObjectStreamException {
149 return super.writeReplace();
152 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
153 com.google.protobuf.ByteString data)
154 throws com.google.protobuf.InvalidProtocolBufferException {
155 return PARSER.parseFrom(data);
157 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
158 com.google.protobuf.ByteString data,
159 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
160 throws com.google.protobuf.InvalidProtocolBufferException {
161 return PARSER.parseFrom(data, extensionRegistry);
163 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(byte[] data)
164 throws com.google.protobuf.InvalidProtocolBufferException {
165 return PARSER.parseFrom(data);
167 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
169 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
170 throws com.google.protobuf.InvalidProtocolBufferException {
171 return PARSER.parseFrom(data, extensionRegistry);
173 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(java.io.InputStream input)
174 throws java.io.IOException {
175 return PARSER.parseFrom(input);
177 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
178 java.io.InputStream input,
179 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
180 throws java.io.IOException {
181 return PARSER.parseFrom(input, extensionRegistry);
183 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseDelimitedFrom(java.io.InputStream input)
184 throws java.io.IOException {
185 return PARSER.parseDelimitedFrom(input);
187 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseDelimitedFrom(
188 java.io.InputStream input,
189 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
190 throws java.io.IOException {
191 return PARSER.parseDelimitedFrom(input, extensionRegistry);
193 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
194 com.google.protobuf.CodedInputStream input)
195 throws java.io.IOException {
196 return PARSER.parseFrom(input);
198 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
199 com.google.protobuf.CodedInputStream input,
200 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
201 throws java.io.IOException {
202 return PARSER.parseFrom(input, extensionRegistry);
205 public static Builder newBuilder() { return Builder.create(); }
206 public Builder newBuilderForType() { return newBuilder(); }
207 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration prototype) {
208 return newBuilder().mergeFrom(prototype);
210 public Builder toBuilder() { return newBuilder(this); }
213 protected Builder newBuilderForType(
214 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
215 Builder builder = new Builder(parent);
219 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration}
222 ** used when a listener needs to be unregistered
225 public static final class Builder extends
226 com.google.protobuf.GeneratedMessage.Builder<Builder>
227 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationOrBuilder {
228 public static final com.google.protobuf.Descriptors.Descriptor
230 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
233 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
234 internalGetFieldAccessorTable() {
235 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable
236 .ensureFieldAccessorsInitialized(
237 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.Builder.class);
240 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.newBuilder()
242 maybeForceBuilderInitialization();
246 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
248 maybeForceBuilderInitialization();
250 private void maybeForceBuilderInitialization() {
251 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
254 private static Builder create() {
255 return new Builder();
258 public Builder clear() {
263 public Builder clone() {
264 return create().mergeFrom(buildPartial());
267 public com.google.protobuf.Descriptors.Descriptor
268 getDescriptorForType() {
269 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
272 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration getDefaultInstanceForType() {
273 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.getDefaultInstance();
276 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration build() {
277 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration result = buildPartial();
278 if (!result.isInitialized()) {
279 throw newUninitializedMessageException(result);
284 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration buildPartial() {
285 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration(this);
290 public Builder mergeFrom(com.google.protobuf.Message other) {
291 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration) {
292 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration)other);
294 super.mergeFrom(other);
299 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration other) {
300 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.getDefaultInstance()) return this;
301 this.mergeUnknownFields(other.getUnknownFields());
305 public final boolean isInitialized() {
309 public Builder mergeFrom(
310 com.google.protobuf.CodedInputStream input,
311 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
312 throws java.io.IOException {
313 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parsedMessage = null;
315 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
316 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
317 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration) e.getUnfinishedMessage();
320 if (parsedMessage != null) {
321 mergeFrom(parsedMessage);
327 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration)
331 defaultInstance = new CloseDataChangeListenerRegistration(true);
332 defaultInstance.initFields();
335 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration)
338 public interface CloseDataChangeListenerRegistrationReplyOrBuilder
339 extends com.google.protobuf.MessageOrBuilder {
342 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply}
345 ** reply to the CloseDataChangeListenerRegistration request
348 public static final class CloseDataChangeListenerRegistrationReply extends
349 com.google.protobuf.GeneratedMessage
350 implements CloseDataChangeListenerRegistrationReplyOrBuilder {
351 // Use CloseDataChangeListenerRegistrationReply.newBuilder() to construct.
352 private CloseDataChangeListenerRegistrationReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
354 this.unknownFields = builder.getUnknownFields();
356 private CloseDataChangeListenerRegistrationReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
358 private static final CloseDataChangeListenerRegistrationReply defaultInstance;
359 public static CloseDataChangeListenerRegistrationReply getDefaultInstance() {
360 return defaultInstance;
363 public CloseDataChangeListenerRegistrationReply getDefaultInstanceForType() {
364 return defaultInstance;
367 private final com.google.protobuf.UnknownFieldSet unknownFields;
369 public final com.google.protobuf.UnknownFieldSet
371 return this.unknownFields;
373 private CloseDataChangeListenerRegistrationReply(
374 com.google.protobuf.CodedInputStream input,
375 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
376 throws com.google.protobuf.InvalidProtocolBufferException {
378 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
379 com.google.protobuf.UnknownFieldSet.newBuilder();
381 boolean done = false;
383 int tag = input.readTag();
389 if (!parseUnknownField(input, unknownFields,
390 extensionRegistry, tag)) {
397 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
398 throw e.setUnfinishedMessage(this);
399 } catch (java.io.IOException e) {
400 throw new com.google.protobuf.InvalidProtocolBufferException(
401 e.getMessage()).setUnfinishedMessage(this);
403 this.unknownFields = unknownFields.build();
404 makeExtensionsImmutable();
407 public static final com.google.protobuf.Descriptors.Descriptor
409 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
412 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
413 internalGetFieldAccessorTable() {
414 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable
415 .ensureFieldAccessorsInitialized(
416 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.Builder.class);
419 public static com.google.protobuf.Parser<CloseDataChangeListenerRegistrationReply> PARSER =
420 new com.google.protobuf.AbstractParser<CloseDataChangeListenerRegistrationReply>() {
421 public CloseDataChangeListenerRegistrationReply parsePartialFrom(
422 com.google.protobuf.CodedInputStream input,
423 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
424 throws com.google.protobuf.InvalidProtocolBufferException {
425 return new CloseDataChangeListenerRegistrationReply(input, extensionRegistry);
430 public com.google.protobuf.Parser<CloseDataChangeListenerRegistrationReply> getParserForType() {
434 private void initFields() {
436 private byte memoizedIsInitialized = -1;
437 public final boolean isInitialized() {
438 byte isInitialized = memoizedIsInitialized;
439 if (isInitialized != -1) return isInitialized == 1;
441 memoizedIsInitialized = 1;
445 public void writeTo(com.google.protobuf.CodedOutputStream output)
446 throws java.io.IOException {
448 getUnknownFields().writeTo(output);
451 private int memoizedSerializedSize = -1;
452 public int getSerializedSize() {
453 int size = memoizedSerializedSize;
454 if (size != -1) return size;
457 size += getUnknownFields().getSerializedSize();
458 memoizedSerializedSize = size;
462 private static final long serialVersionUID = 0L;
464 protected java.lang.Object writeReplace()
465 throws java.io.ObjectStreamException {
466 return super.writeReplace();
469 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
470 com.google.protobuf.ByteString data)
471 throws com.google.protobuf.InvalidProtocolBufferException {
472 return PARSER.parseFrom(data);
474 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
475 com.google.protobuf.ByteString data,
476 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
477 throws com.google.protobuf.InvalidProtocolBufferException {
478 return PARSER.parseFrom(data, extensionRegistry);
480 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(byte[] data)
481 throws com.google.protobuf.InvalidProtocolBufferException {
482 return PARSER.parseFrom(data);
484 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
486 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
487 throws com.google.protobuf.InvalidProtocolBufferException {
488 return PARSER.parseFrom(data, extensionRegistry);
490 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(java.io.InputStream input)
491 throws java.io.IOException {
492 return PARSER.parseFrom(input);
494 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
495 java.io.InputStream input,
496 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
497 throws java.io.IOException {
498 return PARSER.parseFrom(input, extensionRegistry);
500 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseDelimitedFrom(java.io.InputStream input)
501 throws java.io.IOException {
502 return PARSER.parseDelimitedFrom(input);
504 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseDelimitedFrom(
505 java.io.InputStream input,
506 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
507 throws java.io.IOException {
508 return PARSER.parseDelimitedFrom(input, extensionRegistry);
510 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
511 com.google.protobuf.CodedInputStream input)
512 throws java.io.IOException {
513 return PARSER.parseFrom(input);
515 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
516 com.google.protobuf.CodedInputStream input,
517 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
518 throws java.io.IOException {
519 return PARSER.parseFrom(input, extensionRegistry);
522 public static Builder newBuilder() { return Builder.create(); }
523 public Builder newBuilderForType() { return newBuilder(); }
524 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply prototype) {
525 return newBuilder().mergeFrom(prototype);
527 public Builder toBuilder() { return newBuilder(this); }
530 protected Builder newBuilderForType(
531 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
532 Builder builder = new Builder(parent);
536 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply}
539 ** reply to the CloseDataChangeListenerRegistration request
542 public static final class Builder extends
543 com.google.protobuf.GeneratedMessage.Builder<Builder>
544 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReplyOrBuilder {
545 public static final com.google.protobuf.Descriptors.Descriptor
547 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
550 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
551 internalGetFieldAccessorTable() {
552 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable
553 .ensureFieldAccessorsInitialized(
554 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.Builder.class);
557 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.newBuilder()
559 maybeForceBuilderInitialization();
563 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
565 maybeForceBuilderInitialization();
567 private void maybeForceBuilderInitialization() {
568 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
571 private static Builder create() {
572 return new Builder();
575 public Builder clear() {
580 public Builder clone() {
581 return create().mergeFrom(buildPartial());
584 public com.google.protobuf.Descriptors.Descriptor
585 getDescriptorForType() {
586 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
589 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply getDefaultInstanceForType() {
590 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.getDefaultInstance();
593 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply build() {
594 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply result = buildPartial();
595 if (!result.isInitialized()) {
596 throw newUninitializedMessageException(result);
601 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply buildPartial() {
602 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply(this);
607 public Builder mergeFrom(com.google.protobuf.Message other) {
608 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply) {
609 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply)other);
611 super.mergeFrom(other);
616 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply other) {
617 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.getDefaultInstance()) return this;
618 this.mergeUnknownFields(other.getUnknownFields());
622 public final boolean isInitialized() {
626 public Builder mergeFrom(
627 com.google.protobuf.CodedInputStream input,
628 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
629 throws java.io.IOException {
630 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parsedMessage = null;
632 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
633 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
634 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply) e.getUnfinishedMessage();
637 if (parsedMessage != null) {
638 mergeFrom(parsedMessage);
644 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply)
648 defaultInstance = new CloseDataChangeListenerRegistrationReply(true);
649 defaultInstance.initFields();
652 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply)
655 public interface RegisterChangeListenerOrBuilder
656 extends com.google.protobuf.MessageOrBuilder {
658 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
660 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
662 boolean hasInstanceIdentifierPath();
664 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
666 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
668 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
670 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
672 // required string dataChangeListenerActorPath = 2;
674 * <code>required string dataChangeListenerActorPath = 2;</code>
676 boolean hasDataChangeListenerActorPath();
678 * <code>required string dataChangeListenerActorPath = 2;</code>
680 java.lang.String getDataChangeListenerActorPath();
682 * <code>required string dataChangeListenerActorPath = 2;</code>
684 com.google.protobuf.ByteString
685 getDataChangeListenerActorPathBytes();
687 // required int32 dataChangeScope = 3;
689 * <code>required int32 dataChangeScope = 3;</code>
691 boolean hasDataChangeScope();
693 * <code>required int32 dataChangeScope = 3;</code>
695 int getDataChangeScope();
698 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
700 public static final class RegisterChangeListener extends
701 com.google.protobuf.GeneratedMessage
702 implements RegisterChangeListenerOrBuilder {
703 // Use RegisterChangeListener.newBuilder() to construct.
704 private RegisterChangeListener(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
706 this.unknownFields = builder.getUnknownFields();
708 private RegisterChangeListener(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
710 private static final RegisterChangeListener defaultInstance;
711 public static RegisterChangeListener getDefaultInstance() {
712 return defaultInstance;
715 public RegisterChangeListener getDefaultInstanceForType() {
716 return defaultInstance;
719 private final com.google.protobuf.UnknownFieldSet unknownFields;
721 public final com.google.protobuf.UnknownFieldSet
723 return this.unknownFields;
725 private RegisterChangeListener(
726 com.google.protobuf.CodedInputStream input,
727 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
728 throws com.google.protobuf.InvalidProtocolBufferException {
730 int mutable_bitField0_ = 0;
731 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
732 com.google.protobuf.UnknownFieldSet.newBuilder();
734 boolean done = false;
736 int tag = input.readTag();
742 if (!parseUnknownField(input, unknownFields,
743 extensionRegistry, tag)) {
749 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
750 if (((bitField0_ & 0x00000001) == 0x00000001)) {
751 subBuilder = instanceIdentifierPath_.toBuilder();
753 instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
754 if (subBuilder != null) {
755 subBuilder.mergeFrom(instanceIdentifierPath_);
756 instanceIdentifierPath_ = subBuilder.buildPartial();
758 bitField0_ |= 0x00000001;
762 bitField0_ |= 0x00000002;
763 dataChangeListenerActorPath_ = input.readBytes();
767 bitField0_ |= 0x00000004;
768 dataChangeScope_ = input.readInt32();
773 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
774 throw e.setUnfinishedMessage(this);
775 } catch (java.io.IOException e) {
776 throw new com.google.protobuf.InvalidProtocolBufferException(
777 e.getMessage()).setUnfinishedMessage(this);
779 this.unknownFields = unknownFields.build();
780 makeExtensionsImmutable();
783 public static final com.google.protobuf.Descriptors.Descriptor
785 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
788 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
789 internalGetFieldAccessorTable() {
790 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
791 .ensureFieldAccessorsInitialized(
792 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
795 public static com.google.protobuf.Parser<RegisterChangeListener> PARSER =
796 new com.google.protobuf.AbstractParser<RegisterChangeListener>() {
797 public RegisterChangeListener parsePartialFrom(
798 com.google.protobuf.CodedInputStream input,
799 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
800 throws com.google.protobuf.InvalidProtocolBufferException {
801 return new RegisterChangeListener(input, extensionRegistry);
806 public com.google.protobuf.Parser<RegisterChangeListener> getParserForType() {
810 private int bitField0_;
811 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
812 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
813 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
815 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
817 public boolean hasInstanceIdentifierPath() {
818 return ((bitField0_ & 0x00000001) == 0x00000001);
821 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
823 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
824 return instanceIdentifierPath_;
827 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
829 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
830 return instanceIdentifierPath_;
833 // required string dataChangeListenerActorPath = 2;
834 public static final int DATACHANGELISTENERACTORPATH_FIELD_NUMBER = 2;
835 private java.lang.Object dataChangeListenerActorPath_;
837 * <code>required string dataChangeListenerActorPath = 2;</code>
839 public boolean hasDataChangeListenerActorPath() {
840 return ((bitField0_ & 0x00000002) == 0x00000002);
843 * <code>required string dataChangeListenerActorPath = 2;</code>
845 public java.lang.String getDataChangeListenerActorPath() {
846 java.lang.Object ref = dataChangeListenerActorPath_;
847 if (ref instanceof java.lang.String) {
848 return (java.lang.String) ref;
850 com.google.protobuf.ByteString bs =
851 (com.google.protobuf.ByteString) ref;
852 java.lang.String s = bs.toStringUtf8();
853 if (bs.isValidUtf8()) {
854 dataChangeListenerActorPath_ = s;
860 * <code>required string dataChangeListenerActorPath = 2;</code>
862 public com.google.protobuf.ByteString
863 getDataChangeListenerActorPathBytes() {
864 java.lang.Object ref = dataChangeListenerActorPath_;
865 if (ref instanceof java.lang.String) {
866 com.google.protobuf.ByteString b =
867 com.google.protobuf.ByteString.copyFromUtf8(
868 (java.lang.String) ref);
869 dataChangeListenerActorPath_ = b;
872 return (com.google.protobuf.ByteString) ref;
876 // required int32 dataChangeScope = 3;
877 public static final int DATACHANGESCOPE_FIELD_NUMBER = 3;
878 private int dataChangeScope_;
880 * <code>required int32 dataChangeScope = 3;</code>
882 public boolean hasDataChangeScope() {
883 return ((bitField0_ & 0x00000004) == 0x00000004);
886 * <code>required int32 dataChangeScope = 3;</code>
888 public int getDataChangeScope() {
889 return dataChangeScope_;
892 private void initFields() {
893 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
894 dataChangeListenerActorPath_ = "";
895 dataChangeScope_ = 0;
897 private byte memoizedIsInitialized = -1;
898 public final boolean isInitialized() {
899 byte isInitialized = memoizedIsInitialized;
900 if (isInitialized != -1) return isInitialized == 1;
902 if (!hasInstanceIdentifierPath()) {
903 memoizedIsInitialized = 0;
906 if (!hasDataChangeListenerActorPath()) {
907 memoizedIsInitialized = 0;
910 if (!hasDataChangeScope()) {
911 memoizedIsInitialized = 0;
914 if (!getInstanceIdentifierPath().isInitialized()) {
915 memoizedIsInitialized = 0;
918 memoizedIsInitialized = 1;
922 public void writeTo(com.google.protobuf.CodedOutputStream output)
923 throws java.io.IOException {
925 if (((bitField0_ & 0x00000001) == 0x00000001)) {
926 output.writeMessage(1, instanceIdentifierPath_);
928 if (((bitField0_ & 0x00000002) == 0x00000002)) {
929 output.writeBytes(2, getDataChangeListenerActorPathBytes());
931 if (((bitField0_ & 0x00000004) == 0x00000004)) {
932 output.writeInt32(3, dataChangeScope_);
934 getUnknownFields().writeTo(output);
937 private int memoizedSerializedSize = -1;
938 public int getSerializedSize() {
939 int size = memoizedSerializedSize;
940 if (size != -1) return size;
943 if (((bitField0_ & 0x00000001) == 0x00000001)) {
944 size += com.google.protobuf.CodedOutputStream
945 .computeMessageSize(1, instanceIdentifierPath_);
947 if (((bitField0_ & 0x00000002) == 0x00000002)) {
948 size += com.google.protobuf.CodedOutputStream
949 .computeBytesSize(2, getDataChangeListenerActorPathBytes());
951 if (((bitField0_ & 0x00000004) == 0x00000004)) {
952 size += com.google.protobuf.CodedOutputStream
953 .computeInt32Size(3, dataChangeScope_);
955 size += getUnknownFields().getSerializedSize();
956 memoizedSerializedSize = size;
960 private static final long serialVersionUID = 0L;
962 protected java.lang.Object writeReplace()
963 throws java.io.ObjectStreamException {
964 return super.writeReplace();
967 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
968 com.google.protobuf.ByteString data)
969 throws com.google.protobuf.InvalidProtocolBufferException {
970 return PARSER.parseFrom(data);
972 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
973 com.google.protobuf.ByteString data,
974 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
975 throws com.google.protobuf.InvalidProtocolBufferException {
976 return PARSER.parseFrom(data, extensionRegistry);
978 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(byte[] data)
979 throws com.google.protobuf.InvalidProtocolBufferException {
980 return PARSER.parseFrom(data);
982 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
984 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
985 throws com.google.protobuf.InvalidProtocolBufferException {
986 return PARSER.parseFrom(data, extensionRegistry);
988 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(java.io.InputStream input)
989 throws java.io.IOException {
990 return PARSER.parseFrom(input);
992 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
993 java.io.InputStream input,
994 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
995 throws java.io.IOException {
996 return PARSER.parseFrom(input, extensionRegistry);
998 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(java.io.InputStream input)
999 throws java.io.IOException {
1000 return PARSER.parseDelimitedFrom(input);
1002 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(
1003 java.io.InputStream input,
1004 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1005 throws java.io.IOException {
1006 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1008 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1009 com.google.protobuf.CodedInputStream input)
1010 throws java.io.IOException {
1011 return PARSER.parseFrom(input);
1013 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1014 com.google.protobuf.CodedInputStream input,
1015 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1016 throws java.io.IOException {
1017 return PARSER.parseFrom(input, extensionRegistry);
1020 public static Builder newBuilder() { return Builder.create(); }
1021 public Builder newBuilderForType() { return newBuilder(); }
1022 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener prototype) {
1023 return newBuilder().mergeFrom(prototype);
1025 public Builder toBuilder() { return newBuilder(this); }
1028 protected Builder newBuilderForType(
1029 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1030 Builder builder = new Builder(parent);
1034 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
1036 public static final class Builder extends
1037 com.google.protobuf.GeneratedMessage.Builder<Builder>
1038 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerOrBuilder {
1039 public static final com.google.protobuf.Descriptors.Descriptor
1041 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1044 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1045 internalGetFieldAccessorTable() {
1046 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
1047 .ensureFieldAccessorsInitialized(
1048 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
1051 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.newBuilder()
1053 maybeForceBuilderInitialization();
1057 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1059 maybeForceBuilderInitialization();
1061 private void maybeForceBuilderInitialization() {
1062 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1063 getInstanceIdentifierPathFieldBuilder();
1066 private static Builder create() {
1067 return new Builder();
1070 public Builder clear() {
1072 if (instanceIdentifierPathBuilder_ == null) {
1073 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1075 instanceIdentifierPathBuilder_.clear();
1077 bitField0_ = (bitField0_ & ~0x00000001);
1078 dataChangeListenerActorPath_ = "";
1079 bitField0_ = (bitField0_ & ~0x00000002);
1080 dataChangeScope_ = 0;
1081 bitField0_ = (bitField0_ & ~0x00000004);
1085 public Builder clone() {
1086 return create().mergeFrom(buildPartial());
1089 public com.google.protobuf.Descriptors.Descriptor
1090 getDescriptorForType() {
1091 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1094 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener getDefaultInstanceForType() {
1095 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance();
1098 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener build() {
1099 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = buildPartial();
1100 if (!result.isInitialized()) {
1101 throw newUninitializedMessageException(result);
1106 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener buildPartial() {
1107 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener(this);
1108 int from_bitField0_ = bitField0_;
1109 int to_bitField0_ = 0;
1110 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1111 to_bitField0_ |= 0x00000001;
1113 if (instanceIdentifierPathBuilder_ == null) {
1114 result.instanceIdentifierPath_ = instanceIdentifierPath_;
1116 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
1118 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1119 to_bitField0_ |= 0x00000002;
1121 result.dataChangeListenerActorPath_ = dataChangeListenerActorPath_;
1122 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1123 to_bitField0_ |= 0x00000004;
1125 result.dataChangeScope_ = dataChangeScope_;
1126 result.bitField0_ = to_bitField0_;
1131 public Builder mergeFrom(com.google.protobuf.Message other) {
1132 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) {
1133 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener)other);
1135 super.mergeFrom(other);
1140 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener other) {
1141 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance()) return this;
1142 if (other.hasInstanceIdentifierPath()) {
1143 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
1145 if (other.hasDataChangeListenerActorPath()) {
1146 bitField0_ |= 0x00000002;
1147 dataChangeListenerActorPath_ = other.dataChangeListenerActorPath_;
1150 if (other.hasDataChangeScope()) {
1151 setDataChangeScope(other.getDataChangeScope());
1153 this.mergeUnknownFields(other.getUnknownFields());
1157 public final boolean isInitialized() {
1158 if (!hasInstanceIdentifierPath()) {
1162 if (!hasDataChangeListenerActorPath()) {
1166 if (!hasDataChangeScope()) {
1170 if (!getInstanceIdentifierPath().isInitialized()) {
1177 public Builder mergeFrom(
1178 com.google.protobuf.CodedInputStream input,
1179 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1180 throws java.io.IOException {
1181 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parsedMessage = null;
1183 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1184 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1185 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) e.getUnfinishedMessage();
1188 if (parsedMessage != null) {
1189 mergeFrom(parsedMessage);
1194 private int bitField0_;
1196 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
1197 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1198 private com.google.protobuf.SingleFieldBuilder<
1199 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathBuilder_;
1201 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1203 public boolean hasInstanceIdentifierPath() {
1204 return ((bitField0_ & 0x00000001) == 0x00000001);
1207 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1209 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
1210 if (instanceIdentifierPathBuilder_ == null) {
1211 return instanceIdentifierPath_;
1213 return instanceIdentifierPathBuilder_.getMessage();
1217 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1219 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1220 if (instanceIdentifierPathBuilder_ == null) {
1221 if (value == null) {
1222 throw new NullPointerException();
1224 instanceIdentifierPath_ = value;
1227 instanceIdentifierPathBuilder_.setMessage(value);
1229 bitField0_ |= 0x00000001;
1233 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1235 public Builder setInstanceIdentifierPath(
1236 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
1237 if (instanceIdentifierPathBuilder_ == null) {
1238 instanceIdentifierPath_ = builderForValue.build();
1241 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
1243 bitField0_ |= 0x00000001;
1247 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1249 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1250 if (instanceIdentifierPathBuilder_ == null) {
1251 if (((bitField0_ & 0x00000001) == 0x00000001) &&
1252 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
1253 instanceIdentifierPath_ =
1254 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
1256 instanceIdentifierPath_ = value;
1260 instanceIdentifierPathBuilder_.mergeFrom(value);
1262 bitField0_ |= 0x00000001;
1266 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1268 public Builder clearInstanceIdentifierPath() {
1269 if (instanceIdentifierPathBuilder_ == null) {
1270 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1273 instanceIdentifierPathBuilder_.clear();
1275 bitField0_ = (bitField0_ & ~0x00000001);
1279 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1281 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
1282 bitField0_ |= 0x00000001;
1284 return getInstanceIdentifierPathFieldBuilder().getBuilder();
1287 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1289 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
1290 if (instanceIdentifierPathBuilder_ != null) {
1291 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
1293 return instanceIdentifierPath_;
1297 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1299 private com.google.protobuf.SingleFieldBuilder<
1300 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
1301 getInstanceIdentifierPathFieldBuilder() {
1302 if (instanceIdentifierPathBuilder_ == null) {
1303 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1304 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
1305 instanceIdentifierPath_,
1306 getParentForChildren(),
1308 instanceIdentifierPath_ = null;
1310 return instanceIdentifierPathBuilder_;
1313 // required string dataChangeListenerActorPath = 2;
1314 private java.lang.Object dataChangeListenerActorPath_ = "";
1316 * <code>required string dataChangeListenerActorPath = 2;</code>
1318 public boolean hasDataChangeListenerActorPath() {
1319 return ((bitField0_ & 0x00000002) == 0x00000002);
1322 * <code>required string dataChangeListenerActorPath = 2;</code>
1324 public java.lang.String getDataChangeListenerActorPath() {
1325 java.lang.Object ref = dataChangeListenerActorPath_;
1326 if (!(ref instanceof java.lang.String)) {
1327 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1329 dataChangeListenerActorPath_ = s;
1332 return (java.lang.String) ref;
1336 * <code>required string dataChangeListenerActorPath = 2;</code>
1338 public com.google.protobuf.ByteString
1339 getDataChangeListenerActorPathBytes() {
1340 java.lang.Object ref = dataChangeListenerActorPath_;
1341 if (ref instanceof String) {
1342 com.google.protobuf.ByteString b =
1343 com.google.protobuf.ByteString.copyFromUtf8(
1344 (java.lang.String) ref);
1345 dataChangeListenerActorPath_ = b;
1348 return (com.google.protobuf.ByteString) ref;
1352 * <code>required string dataChangeListenerActorPath = 2;</code>
1354 public Builder setDataChangeListenerActorPath(
1355 java.lang.String value) {
1356 if (value == null) {
1357 throw new NullPointerException();
1359 bitField0_ |= 0x00000002;
1360 dataChangeListenerActorPath_ = value;
1365 * <code>required string dataChangeListenerActorPath = 2;</code>
1367 public Builder clearDataChangeListenerActorPath() {
1368 bitField0_ = (bitField0_ & ~0x00000002);
1369 dataChangeListenerActorPath_ = getDefaultInstance().getDataChangeListenerActorPath();
1374 * <code>required string dataChangeListenerActorPath = 2;</code>
1376 public Builder setDataChangeListenerActorPathBytes(
1377 com.google.protobuf.ByteString value) {
1378 if (value == null) {
1379 throw new NullPointerException();
1381 bitField0_ |= 0x00000002;
1382 dataChangeListenerActorPath_ = value;
1387 // required int32 dataChangeScope = 3;
1388 private int dataChangeScope_ ;
1390 * <code>required int32 dataChangeScope = 3;</code>
1392 public boolean hasDataChangeScope() {
1393 return ((bitField0_ & 0x00000004) == 0x00000004);
1396 * <code>required int32 dataChangeScope = 3;</code>
1398 public int getDataChangeScope() {
1399 return dataChangeScope_;
1402 * <code>required int32 dataChangeScope = 3;</code>
1404 public Builder setDataChangeScope(int value) {
1405 bitField0_ |= 0x00000004;
1406 dataChangeScope_ = value;
1411 * <code>required int32 dataChangeScope = 3;</code>
1413 public Builder clearDataChangeScope() {
1414 bitField0_ = (bitField0_ & ~0x00000004);
1415 dataChangeScope_ = 0;
1420 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1424 defaultInstance = new RegisterChangeListener(true);
1425 defaultInstance.initFields();
1428 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1431 public interface RegisterChangeListenerReplyOrBuilder
1432 extends com.google.protobuf.MessageOrBuilder {
1434 // required string listenerRegistrationPath = 1;
1436 * <code>required string listenerRegistrationPath = 1;</code>
1438 boolean hasListenerRegistrationPath();
1440 * <code>required string listenerRegistrationPath = 1;</code>
1442 java.lang.String getListenerRegistrationPath();
1444 * <code>required string listenerRegistrationPath = 1;</code>
1446 com.google.protobuf.ByteString
1447 getListenerRegistrationPathBytes();
1450 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1454 * This is the reply for the RegisterChangeListener message
1455 * It contains the listenerRegistration actor path
1456 * that can be used to unregister the listener
1459 public static final class RegisterChangeListenerReply extends
1460 com.google.protobuf.GeneratedMessage
1461 implements RegisterChangeListenerReplyOrBuilder {
1462 // Use RegisterChangeListenerReply.newBuilder() to construct.
1463 private RegisterChangeListenerReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1465 this.unknownFields = builder.getUnknownFields();
1467 private RegisterChangeListenerReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1469 private static final RegisterChangeListenerReply defaultInstance;
1470 public static RegisterChangeListenerReply getDefaultInstance() {
1471 return defaultInstance;
1474 public RegisterChangeListenerReply getDefaultInstanceForType() {
1475 return defaultInstance;
1478 private final com.google.protobuf.UnknownFieldSet unknownFields;
1480 public final com.google.protobuf.UnknownFieldSet
1481 getUnknownFields() {
1482 return this.unknownFields;
1484 private RegisterChangeListenerReply(
1485 com.google.protobuf.CodedInputStream input,
1486 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1487 throws com.google.protobuf.InvalidProtocolBufferException {
1489 int mutable_bitField0_ = 0;
1490 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1491 com.google.protobuf.UnknownFieldSet.newBuilder();
1493 boolean done = false;
1495 int tag = input.readTag();
1501 if (!parseUnknownField(input, unknownFields,
1502 extensionRegistry, tag)) {
1508 bitField0_ |= 0x00000001;
1509 listenerRegistrationPath_ = input.readBytes();
1514 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1515 throw e.setUnfinishedMessage(this);
1516 } catch (java.io.IOException e) {
1517 throw new com.google.protobuf.InvalidProtocolBufferException(
1518 e.getMessage()).setUnfinishedMessage(this);
1520 this.unknownFields = unknownFields.build();
1521 makeExtensionsImmutable();
1524 public static final com.google.protobuf.Descriptors.Descriptor
1526 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1529 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1530 internalGetFieldAccessorTable() {
1531 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1532 .ensureFieldAccessorsInitialized(
1533 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1536 public static com.google.protobuf.Parser<RegisterChangeListenerReply> PARSER =
1537 new com.google.protobuf.AbstractParser<RegisterChangeListenerReply>() {
1538 public RegisterChangeListenerReply parsePartialFrom(
1539 com.google.protobuf.CodedInputStream input,
1540 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1541 throws com.google.protobuf.InvalidProtocolBufferException {
1542 return new RegisterChangeListenerReply(input, extensionRegistry);
1547 public com.google.protobuf.Parser<RegisterChangeListenerReply> getParserForType() {
1551 private int bitField0_;
1552 // required string listenerRegistrationPath = 1;
1553 public static final int LISTENERREGISTRATIONPATH_FIELD_NUMBER = 1;
1554 private java.lang.Object listenerRegistrationPath_;
1556 * <code>required string listenerRegistrationPath = 1;</code>
1558 public boolean hasListenerRegistrationPath() {
1559 return ((bitField0_ & 0x00000001) == 0x00000001);
1562 * <code>required string listenerRegistrationPath = 1;</code>
1564 public java.lang.String getListenerRegistrationPath() {
1565 java.lang.Object ref = listenerRegistrationPath_;
1566 if (ref instanceof java.lang.String) {
1567 return (java.lang.String) ref;
1569 com.google.protobuf.ByteString bs =
1570 (com.google.protobuf.ByteString) ref;
1571 java.lang.String s = bs.toStringUtf8();
1572 if (bs.isValidUtf8()) {
1573 listenerRegistrationPath_ = s;
1579 * <code>required string listenerRegistrationPath = 1;</code>
1581 public com.google.protobuf.ByteString
1582 getListenerRegistrationPathBytes() {
1583 java.lang.Object ref = listenerRegistrationPath_;
1584 if (ref instanceof java.lang.String) {
1585 com.google.protobuf.ByteString b =
1586 com.google.protobuf.ByteString.copyFromUtf8(
1587 (java.lang.String) ref);
1588 listenerRegistrationPath_ = b;
1591 return (com.google.protobuf.ByteString) ref;
1595 private void initFields() {
1596 listenerRegistrationPath_ = "";
1598 private byte memoizedIsInitialized = -1;
1599 public final boolean isInitialized() {
1600 byte isInitialized = memoizedIsInitialized;
1601 if (isInitialized != -1) return isInitialized == 1;
1603 if (!hasListenerRegistrationPath()) {
1604 memoizedIsInitialized = 0;
1607 memoizedIsInitialized = 1;
1611 public void writeTo(com.google.protobuf.CodedOutputStream output)
1612 throws java.io.IOException {
1613 getSerializedSize();
1614 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1615 output.writeBytes(1, getListenerRegistrationPathBytes());
1617 getUnknownFields().writeTo(output);
1620 private int memoizedSerializedSize = -1;
1621 public int getSerializedSize() {
1622 int size = memoizedSerializedSize;
1623 if (size != -1) return size;
1626 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1627 size += com.google.protobuf.CodedOutputStream
1628 .computeBytesSize(1, getListenerRegistrationPathBytes());
1630 size += getUnknownFields().getSerializedSize();
1631 memoizedSerializedSize = size;
1635 private static final long serialVersionUID = 0L;
1637 protected java.lang.Object writeReplace()
1638 throws java.io.ObjectStreamException {
1639 return super.writeReplace();
1642 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1643 com.google.protobuf.ByteString data)
1644 throws com.google.protobuf.InvalidProtocolBufferException {
1645 return PARSER.parseFrom(data);
1647 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1648 com.google.protobuf.ByteString data,
1649 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1650 throws com.google.protobuf.InvalidProtocolBufferException {
1651 return PARSER.parseFrom(data, extensionRegistry);
1653 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(byte[] data)
1654 throws com.google.protobuf.InvalidProtocolBufferException {
1655 return PARSER.parseFrom(data);
1657 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1659 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1660 throws com.google.protobuf.InvalidProtocolBufferException {
1661 return PARSER.parseFrom(data, extensionRegistry);
1663 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(java.io.InputStream input)
1664 throws java.io.IOException {
1665 return PARSER.parseFrom(input);
1667 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1668 java.io.InputStream input,
1669 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1670 throws java.io.IOException {
1671 return PARSER.parseFrom(input, extensionRegistry);
1673 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(java.io.InputStream input)
1674 throws java.io.IOException {
1675 return PARSER.parseDelimitedFrom(input);
1677 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(
1678 java.io.InputStream input,
1679 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1680 throws java.io.IOException {
1681 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1683 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1684 com.google.protobuf.CodedInputStream input)
1685 throws java.io.IOException {
1686 return PARSER.parseFrom(input);
1688 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1689 com.google.protobuf.CodedInputStream input,
1690 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1691 throws java.io.IOException {
1692 return PARSER.parseFrom(input, extensionRegistry);
1695 public static Builder newBuilder() { return Builder.create(); }
1696 public Builder newBuilderForType() { return newBuilder(); }
1697 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply prototype) {
1698 return newBuilder().mergeFrom(prototype);
1700 public Builder toBuilder() { return newBuilder(this); }
1703 protected Builder newBuilderForType(
1704 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1705 Builder builder = new Builder(parent);
1709 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1713 * This is the reply for the RegisterChangeListener message
1714 * It contains the listenerRegistration actor path
1715 * that can be used to unregister the listener
1718 public static final class Builder extends
1719 com.google.protobuf.GeneratedMessage.Builder<Builder>
1720 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReplyOrBuilder {
1721 public static final com.google.protobuf.Descriptors.Descriptor
1723 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1726 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1727 internalGetFieldAccessorTable() {
1728 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1729 .ensureFieldAccessorsInitialized(
1730 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1733 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.newBuilder()
1735 maybeForceBuilderInitialization();
1739 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1741 maybeForceBuilderInitialization();
1743 private void maybeForceBuilderInitialization() {
1744 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1747 private static Builder create() {
1748 return new Builder();
1751 public Builder clear() {
1753 listenerRegistrationPath_ = "";
1754 bitField0_ = (bitField0_ & ~0x00000001);
1758 public Builder clone() {
1759 return create().mergeFrom(buildPartial());
1762 public com.google.protobuf.Descriptors.Descriptor
1763 getDescriptorForType() {
1764 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1767 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply getDefaultInstanceForType() {
1768 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance();
1771 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply build() {
1772 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = buildPartial();
1773 if (!result.isInitialized()) {
1774 throw newUninitializedMessageException(result);
1779 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply buildPartial() {
1780 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply(this);
1781 int from_bitField0_ = bitField0_;
1782 int to_bitField0_ = 0;
1783 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1784 to_bitField0_ |= 0x00000001;
1786 result.listenerRegistrationPath_ = listenerRegistrationPath_;
1787 result.bitField0_ = to_bitField0_;
1792 public Builder mergeFrom(com.google.protobuf.Message other) {
1793 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) {
1794 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply)other);
1796 super.mergeFrom(other);
1801 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply other) {
1802 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance()) return this;
1803 if (other.hasListenerRegistrationPath()) {
1804 bitField0_ |= 0x00000001;
1805 listenerRegistrationPath_ = other.listenerRegistrationPath_;
1808 this.mergeUnknownFields(other.getUnknownFields());
1812 public final boolean isInitialized() {
1813 if (!hasListenerRegistrationPath()) {
1820 public Builder mergeFrom(
1821 com.google.protobuf.CodedInputStream input,
1822 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1823 throws java.io.IOException {
1824 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parsedMessage = null;
1826 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1827 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1828 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) e.getUnfinishedMessage();
1831 if (parsedMessage != null) {
1832 mergeFrom(parsedMessage);
1837 private int bitField0_;
1839 // required string listenerRegistrationPath = 1;
1840 private java.lang.Object listenerRegistrationPath_ = "";
1842 * <code>required string listenerRegistrationPath = 1;</code>
1844 public boolean hasListenerRegistrationPath() {
1845 return ((bitField0_ & 0x00000001) == 0x00000001);
1848 * <code>required string listenerRegistrationPath = 1;</code>
1850 public java.lang.String getListenerRegistrationPath() {
1851 java.lang.Object ref = listenerRegistrationPath_;
1852 if (!(ref instanceof java.lang.String)) {
1853 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1855 listenerRegistrationPath_ = s;
1858 return (java.lang.String) ref;
1862 * <code>required string listenerRegistrationPath = 1;</code>
1864 public com.google.protobuf.ByteString
1865 getListenerRegistrationPathBytes() {
1866 java.lang.Object ref = listenerRegistrationPath_;
1867 if (ref instanceof String) {
1868 com.google.protobuf.ByteString b =
1869 com.google.protobuf.ByteString.copyFromUtf8(
1870 (java.lang.String) ref);
1871 listenerRegistrationPath_ = b;
1874 return (com.google.protobuf.ByteString) ref;
1878 * <code>required string listenerRegistrationPath = 1;</code>
1880 public Builder setListenerRegistrationPath(
1881 java.lang.String value) {
1882 if (value == null) {
1883 throw new NullPointerException();
1885 bitField0_ |= 0x00000001;
1886 listenerRegistrationPath_ = value;
1891 * <code>required string listenerRegistrationPath = 1;</code>
1893 public Builder clearListenerRegistrationPath() {
1894 bitField0_ = (bitField0_ & ~0x00000001);
1895 listenerRegistrationPath_ = getDefaultInstance().getListenerRegistrationPath();
1900 * <code>required string listenerRegistrationPath = 1;</code>
1902 public Builder setListenerRegistrationPathBytes(
1903 com.google.protobuf.ByteString value) {
1904 if (value == null) {
1905 throw new NullPointerException();
1907 bitField0_ |= 0x00000001;
1908 listenerRegistrationPath_ = value;
1913 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1917 defaultInstance = new RegisterChangeListenerReply(true);
1918 defaultInstance.initFields();
1921 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1924 private static com.google.protobuf.Descriptors.Descriptor
1925 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
1927 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1928 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable;
1929 private static com.google.protobuf.Descriptors.Descriptor
1930 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
1932 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1933 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable;
1934 private static com.google.protobuf.Descriptors.Descriptor
1935 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1937 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1938 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable;
1939 private static com.google.protobuf.Descriptors.Descriptor
1940 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1942 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1943 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable;
1945 public static com.google.protobuf.Descriptors.FileDescriptor
1949 private static com.google.protobuf.Descriptors.FileDescriptor
1952 java.lang.String[] descriptorData = {
1953 "\n\032ListenerRegistration.proto\022!org.openda" +
1954 "ylight.controller.mdsal\032\014Common.proto\"%\n" +
1955 "#CloseDataChangeListenerRegistration\"*\n(" +
1956 "CloseDataChangeListenerRegistrationReply" +
1957 "\"\255\001\n\026RegisterChangeListener\022U\n\026instanceI" +
1958 "dentifierPath\030\001 \002(\01325.org.opendaylight.c" +
1959 "ontroller.mdsal.InstanceIdentifier\022#\n\033da" +
1960 "taChangeListenerActorPath\030\002 \002(\t\022\027\n\017dataC" +
1961 "hangeScope\030\003 \002(\005\"?\n\033RegisterChangeListen" +
1962 "erReply\022 \n\030listenerRegistrationPath\030\001 \002(",
1963 "\tB[\n;org.opendaylight.controller.protobu" +
1964 "ff.messages.registrationB\034ListenerRegist" +
1967 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1968 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1969 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1970 com.google.protobuf.Descriptors.FileDescriptor root) {
1972 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor =
1973 getDescriptor().getMessageTypes().get(0);
1974 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable = new
1975 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1976 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor,
1977 new java.lang.String[] { });
1978 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor =
1979 getDescriptor().getMessageTypes().get(1);
1980 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable = new
1981 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1982 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor,
1983 new java.lang.String[] { });
1984 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor =
1985 getDescriptor().getMessageTypes().get(2);
1986 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable = new
1987 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1988 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor,
1989 new java.lang.String[] { "InstanceIdentifierPath", "DataChangeListenerActorPath", "DataChangeScope", });
1990 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor =
1991 getDescriptor().getMessageTypes().get(3);
1992 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable = new
1993 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1994 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor,
1995 new java.lang.String[] { "ListenerRegistrationPath", });
1999 com.google.protobuf.Descriptors.FileDescriptor
2000 .internalBuildGeneratedFileFrom(descriptorData,
2001 new com.google.protobuf.Descriptors.FileDescriptor[] {
2002 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
2006 // @@protoc_insertion_point(outer_class_scope)