1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ListenerRegistration.proto
4 package org.opendaylight.controller.protobuff.messages.registration;
6 public final class ListenerRegistrationMessages {
7 private ListenerRegistrationMessages() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface CloseDataChangeListenerRegistrationOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
15 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration}
18 ** used when a listener needs to be unregistered
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) {
27 this.unknownFields = builder.getUnknownFields();
29 private CloseDataChangeListenerRegistration(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
31 private static final CloseDataChangeListenerRegistration defaultInstance;
32 public static CloseDataChangeListenerRegistration getDefaultInstance() {
33 return defaultInstance;
36 public CloseDataChangeListenerRegistration getDefaultInstanceForType() {
37 return defaultInstance;
40 private final com.google.protobuf.UnknownFieldSet unknownFields;
42 public final com.google.protobuf.UnknownFieldSet
44 return this.unknownFields;
46 private CloseDataChangeListenerRegistration(
47 com.google.protobuf.CodedInputStream input,
48 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
49 throws com.google.protobuf.InvalidProtocolBufferException {
51 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
52 com.google.protobuf.UnknownFieldSet.newBuilder();
56 int tag = input.readTag();
62 if (!parseUnknownField(input, unknownFields,
63 extensionRegistry, tag)) {
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);
76 this.unknownFields = unknownFields.build();
77 makeExtensionsImmutable();
80 public static final com.google.protobuf.Descriptors.Descriptor
82 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
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);
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);
103 public com.google.protobuf.Parser<CloseDataChangeListenerRegistration> getParserForType() {
107 private void initFields() {
109 private byte memoizedIsInitialized = -1;
110 public final boolean isInitialized() {
111 byte isInitialized = memoizedIsInitialized;
112 if (isInitialized != -1) return isInitialized == 1;
114 memoizedIsInitialized = 1;
118 public void writeTo(com.google.protobuf.CodedOutputStream output)
119 throws java.io.IOException {
121 getUnknownFields().writeTo(output);
124 private int memoizedSerializedSize = -1;
125 public int getSerializedSize() {
126 int size = memoizedSerializedSize;
127 if (size != -1) return size;
130 size += getUnknownFields().getSerializedSize();
131 memoizedSerializedSize = size;
135 private static final long serialVersionUID = 0L;
137 protected java.lang.Object writeReplace()
138 throws java.io.ObjectStreamException {
139 return super.writeReplace();
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);
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);
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);
157 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration parseFrom(
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(java.io.InputStream input)
164 throws java.io.IOException {
165 return PARSER.parseFrom(input);
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);
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);
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);
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);
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);
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);
200 public Builder toBuilder() { return newBuilder(this); }
203 protected Builder newBuilderForType(
204 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
205 Builder builder = new Builder(parent);
209 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration}
212 ** used when a listener needs to be unregistered
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
220 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
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);
230 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.newBuilder()
232 maybeForceBuilderInitialization();
236 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
238 maybeForceBuilderInitialization();
240 private void maybeForceBuilderInitialization() {
241 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
244 private static Builder create() {
245 return new Builder();
248 public Builder clear() {
253 public Builder clone() {
254 return create().mergeFrom(buildPartial());
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;
262 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration getDefaultInstanceForType() {
263 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistration.getDefaultInstance();
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);
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);
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);
284 super.mergeFrom(other);
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());
295 public final boolean isInitialized() {
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;
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();
310 if (parsedMessage != null) {
311 mergeFrom(parsedMessage);
317 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration)
321 defaultInstance = new CloseDataChangeListenerRegistration(true);
322 defaultInstance.initFields();
325 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistration)
328 public interface CloseDataChangeListenerRegistrationReplyOrBuilder
329 extends com.google.protobuf.MessageOrBuilder {
332 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply}
335 ** reply to the CloseDataChangeListenerRegistration request
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) {
344 this.unknownFields = builder.getUnknownFields();
346 private CloseDataChangeListenerRegistrationReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
348 private static final CloseDataChangeListenerRegistrationReply defaultInstance;
349 public static CloseDataChangeListenerRegistrationReply getDefaultInstance() {
350 return defaultInstance;
353 public CloseDataChangeListenerRegistrationReply getDefaultInstanceForType() {
354 return defaultInstance;
357 private final com.google.protobuf.UnknownFieldSet unknownFields;
359 public final com.google.protobuf.UnknownFieldSet
361 return this.unknownFields;
363 private CloseDataChangeListenerRegistrationReply(
364 com.google.protobuf.CodedInputStream input,
365 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
366 throws com.google.protobuf.InvalidProtocolBufferException {
368 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
369 com.google.protobuf.UnknownFieldSet.newBuilder();
371 boolean done = false;
373 int tag = input.readTag();
379 if (!parseUnknownField(input, unknownFields,
380 extensionRegistry, tag)) {
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);
393 this.unknownFields = unknownFields.build();
394 makeExtensionsImmutable();
397 public static final com.google.protobuf.Descriptors.Descriptor
399 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
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);
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);
420 public com.google.protobuf.Parser<CloseDataChangeListenerRegistrationReply> getParserForType() {
424 private void initFields() {
426 private byte memoizedIsInitialized = -1;
427 public final boolean isInitialized() {
428 byte isInitialized = memoizedIsInitialized;
429 if (isInitialized != -1) return isInitialized == 1;
431 memoizedIsInitialized = 1;
435 public void writeTo(com.google.protobuf.CodedOutputStream output)
436 throws java.io.IOException {
438 getUnknownFields().writeTo(output);
441 private int memoizedSerializedSize = -1;
442 public int getSerializedSize() {
443 int size = memoizedSerializedSize;
444 if (size != -1) return size;
447 size += getUnknownFields().getSerializedSize();
448 memoizedSerializedSize = size;
452 private static final long serialVersionUID = 0L;
454 protected java.lang.Object writeReplace()
455 throws java.io.ObjectStreamException {
456 return super.writeReplace();
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);
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);
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);
474 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply parseFrom(
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(java.io.InputStream input)
481 throws java.io.IOException {
482 return PARSER.parseFrom(input);
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);
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);
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);
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);
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);
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);
517 public Builder toBuilder() { return newBuilder(this); }
520 protected Builder newBuilderForType(
521 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
522 Builder builder = new Builder(parent);
526 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply}
529 ** reply to the CloseDataChangeListenerRegistration request
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
537 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
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);
547 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.newBuilder()
549 maybeForceBuilderInitialization();
553 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
555 maybeForceBuilderInitialization();
557 private void maybeForceBuilderInitialization() {
558 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
561 private static Builder create() {
562 return new Builder();
565 public Builder clear() {
570 public Builder clone() {
571 return create().mergeFrom(buildPartial());
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;
579 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply getDefaultInstanceForType() {
580 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.CloseDataChangeListenerRegistrationReply.getDefaultInstance();
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);
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);
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);
601 super.mergeFrom(other);
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());
612 public final boolean isInitialized() {
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;
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();
627 if (parsedMessage != null) {
628 mergeFrom(parsedMessage);
634 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply)
638 defaultInstance = new CloseDataChangeListenerRegistrationReply(true);
639 defaultInstance.initFields();
642 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseDataChangeListenerRegistrationReply)
645 public interface RegisterChangeListenerOrBuilder
646 extends com.google.protobuf.MessageOrBuilder {
648 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
650 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
652 boolean hasInstanceIdentifierPath();
654 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
656 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
658 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
660 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
662 // required string dataChangeListenerActorPath = 2;
664 * <code>required string dataChangeListenerActorPath = 2;</code>
666 boolean hasDataChangeListenerActorPath();
668 * <code>required string dataChangeListenerActorPath = 2;</code>
670 java.lang.String getDataChangeListenerActorPath();
672 * <code>required string dataChangeListenerActorPath = 2;</code>
674 com.google.protobuf.ByteString
675 getDataChangeListenerActorPathBytes();
677 // required int32 dataChangeScope = 3;
679 * <code>required int32 dataChangeScope = 3;</code>
681 boolean hasDataChangeScope();
683 * <code>required int32 dataChangeScope = 3;</code>
685 int getDataChangeScope();
687 // optional bool registerOnAllInstances = 4;
689 * <code>optional bool registerOnAllInstances = 4;</code>
691 boolean hasRegisterOnAllInstances();
693 * <code>optional bool registerOnAllInstances = 4;</code>
695 boolean getRegisterOnAllInstances();
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();
772 bitField0_ |= 0x00000008;
773 registerOnAllInstances_ = input.readBool();
778 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
779 throw e.setUnfinishedMessage(this);
780 } catch (java.io.IOException e) {
781 throw new com.google.protobuf.InvalidProtocolBufferException(
782 e.getMessage()).setUnfinishedMessage(this);
784 this.unknownFields = unknownFields.build();
785 makeExtensionsImmutable();
788 public static final com.google.protobuf.Descriptors.Descriptor
790 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
793 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
794 internalGetFieldAccessorTable() {
795 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
796 .ensureFieldAccessorsInitialized(
797 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
800 public static com.google.protobuf.Parser<RegisterChangeListener> PARSER =
801 new com.google.protobuf.AbstractParser<RegisterChangeListener>() {
802 public RegisterChangeListener parsePartialFrom(
803 com.google.protobuf.CodedInputStream input,
804 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
805 throws com.google.protobuf.InvalidProtocolBufferException {
806 return new RegisterChangeListener(input, extensionRegistry);
811 public com.google.protobuf.Parser<RegisterChangeListener> getParserForType() {
815 private int bitField0_;
816 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
817 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
818 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
820 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
822 public boolean hasInstanceIdentifierPath() {
823 return ((bitField0_ & 0x00000001) == 0x00000001);
826 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
828 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
829 return instanceIdentifierPath_;
832 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
834 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
835 return instanceIdentifierPath_;
838 // required string dataChangeListenerActorPath = 2;
839 public static final int DATACHANGELISTENERACTORPATH_FIELD_NUMBER = 2;
840 private java.lang.Object dataChangeListenerActorPath_;
842 * <code>required string dataChangeListenerActorPath = 2;</code>
844 public boolean hasDataChangeListenerActorPath() {
845 return ((bitField0_ & 0x00000002) == 0x00000002);
848 * <code>required string dataChangeListenerActorPath = 2;</code>
850 public java.lang.String getDataChangeListenerActorPath() {
851 java.lang.Object ref = dataChangeListenerActorPath_;
852 if (ref instanceof java.lang.String) {
853 return (java.lang.String) ref;
855 com.google.protobuf.ByteString bs =
856 (com.google.protobuf.ByteString) ref;
857 java.lang.String s = bs.toStringUtf8();
858 if (bs.isValidUtf8()) {
859 dataChangeListenerActorPath_ = s;
865 * <code>required string dataChangeListenerActorPath = 2;</code>
867 public com.google.protobuf.ByteString
868 getDataChangeListenerActorPathBytes() {
869 java.lang.Object ref = dataChangeListenerActorPath_;
870 if (ref instanceof java.lang.String) {
871 com.google.protobuf.ByteString b =
872 com.google.protobuf.ByteString.copyFromUtf8(
873 (java.lang.String) ref);
874 dataChangeListenerActorPath_ = b;
877 return (com.google.protobuf.ByteString) ref;
881 // required int32 dataChangeScope = 3;
882 public static final int DATACHANGESCOPE_FIELD_NUMBER = 3;
883 private int dataChangeScope_;
885 * <code>required int32 dataChangeScope = 3;</code>
887 public boolean hasDataChangeScope() {
888 return ((bitField0_ & 0x00000004) == 0x00000004);
891 * <code>required int32 dataChangeScope = 3;</code>
893 public int getDataChangeScope() {
894 return dataChangeScope_;
897 // optional bool registerOnAllInstances = 4;
898 public static final int REGISTERONALLINSTANCES_FIELD_NUMBER = 4;
899 private boolean registerOnAllInstances_;
901 * <code>optional bool registerOnAllInstances = 4;</code>
903 public boolean hasRegisterOnAllInstances() {
904 return ((bitField0_ & 0x00000008) == 0x00000008);
907 * <code>optional bool registerOnAllInstances = 4;</code>
909 public boolean getRegisterOnAllInstances() {
910 return registerOnAllInstances_;
913 private void initFields() {
914 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
915 dataChangeListenerActorPath_ = "";
916 dataChangeScope_ = 0;
917 registerOnAllInstances_ = false;
919 private byte memoizedIsInitialized = -1;
920 public final boolean isInitialized() {
921 byte isInitialized = memoizedIsInitialized;
922 if (isInitialized != -1) return isInitialized == 1;
924 if (!hasInstanceIdentifierPath()) {
925 memoizedIsInitialized = 0;
928 if (!hasDataChangeListenerActorPath()) {
929 memoizedIsInitialized = 0;
932 if (!hasDataChangeScope()) {
933 memoizedIsInitialized = 0;
936 if (!getInstanceIdentifierPath().isInitialized()) {
937 memoizedIsInitialized = 0;
940 memoizedIsInitialized = 1;
944 public void writeTo(com.google.protobuf.CodedOutputStream output)
945 throws java.io.IOException {
947 if (((bitField0_ & 0x00000001) == 0x00000001)) {
948 output.writeMessage(1, instanceIdentifierPath_);
950 if (((bitField0_ & 0x00000002) == 0x00000002)) {
951 output.writeBytes(2, getDataChangeListenerActorPathBytes());
953 if (((bitField0_ & 0x00000004) == 0x00000004)) {
954 output.writeInt32(3, dataChangeScope_);
956 if (((bitField0_ & 0x00000008) == 0x00000008)) {
957 output.writeBool(4, registerOnAllInstances_);
959 getUnknownFields().writeTo(output);
962 private int memoizedSerializedSize = -1;
963 public int getSerializedSize() {
964 int size = memoizedSerializedSize;
965 if (size != -1) return size;
968 if (((bitField0_ & 0x00000001) == 0x00000001)) {
969 size += com.google.protobuf.CodedOutputStream
970 .computeMessageSize(1, instanceIdentifierPath_);
972 if (((bitField0_ & 0x00000002) == 0x00000002)) {
973 size += com.google.protobuf.CodedOutputStream
974 .computeBytesSize(2, getDataChangeListenerActorPathBytes());
976 if (((bitField0_ & 0x00000004) == 0x00000004)) {
977 size += com.google.protobuf.CodedOutputStream
978 .computeInt32Size(3, dataChangeScope_);
980 if (((bitField0_ & 0x00000008) == 0x00000008)) {
981 size += com.google.protobuf.CodedOutputStream
982 .computeBoolSize(4, registerOnAllInstances_);
984 size += getUnknownFields().getSerializedSize();
985 memoizedSerializedSize = size;
989 private static final long serialVersionUID = 0L;
991 protected java.lang.Object writeReplace()
992 throws java.io.ObjectStreamException {
993 return super.writeReplace();
996 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
997 com.google.protobuf.ByteString data)
998 throws com.google.protobuf.InvalidProtocolBufferException {
999 return PARSER.parseFrom(data);
1001 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1002 com.google.protobuf.ByteString data,
1003 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1004 throws com.google.protobuf.InvalidProtocolBufferException {
1005 return PARSER.parseFrom(data, extensionRegistry);
1007 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(byte[] data)
1008 throws com.google.protobuf.InvalidProtocolBufferException {
1009 return PARSER.parseFrom(data);
1011 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1013 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1014 throws com.google.protobuf.InvalidProtocolBufferException {
1015 return PARSER.parseFrom(data, extensionRegistry);
1017 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(java.io.InputStream input)
1018 throws java.io.IOException {
1019 return PARSER.parseFrom(input);
1021 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1022 java.io.InputStream input,
1023 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1024 throws java.io.IOException {
1025 return PARSER.parseFrom(input, extensionRegistry);
1027 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(java.io.InputStream input)
1028 throws java.io.IOException {
1029 return PARSER.parseDelimitedFrom(input);
1031 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(
1032 java.io.InputStream input,
1033 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1034 throws java.io.IOException {
1035 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1037 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1038 com.google.protobuf.CodedInputStream input)
1039 throws java.io.IOException {
1040 return PARSER.parseFrom(input);
1042 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1043 com.google.protobuf.CodedInputStream input,
1044 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1045 throws java.io.IOException {
1046 return PARSER.parseFrom(input, extensionRegistry);
1049 public static Builder newBuilder() { return Builder.create(); }
1050 public Builder newBuilderForType() { return newBuilder(); }
1051 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener prototype) {
1052 return newBuilder().mergeFrom(prototype);
1054 public Builder toBuilder() { return newBuilder(this); }
1057 protected Builder newBuilderForType(
1058 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1059 Builder builder = new Builder(parent);
1063 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
1065 public static final class Builder extends
1066 com.google.protobuf.GeneratedMessage.Builder<Builder>
1067 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerOrBuilder {
1068 public static final com.google.protobuf.Descriptors.Descriptor
1070 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1073 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1074 internalGetFieldAccessorTable() {
1075 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
1076 .ensureFieldAccessorsInitialized(
1077 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
1080 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.newBuilder()
1082 maybeForceBuilderInitialization();
1086 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1088 maybeForceBuilderInitialization();
1090 private void maybeForceBuilderInitialization() {
1091 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1092 getInstanceIdentifierPathFieldBuilder();
1095 private static Builder create() {
1096 return new Builder();
1099 public Builder clear() {
1101 if (instanceIdentifierPathBuilder_ == null) {
1102 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1104 instanceIdentifierPathBuilder_.clear();
1106 bitField0_ = (bitField0_ & ~0x00000001);
1107 dataChangeListenerActorPath_ = "";
1108 bitField0_ = (bitField0_ & ~0x00000002);
1109 dataChangeScope_ = 0;
1110 bitField0_ = (bitField0_ & ~0x00000004);
1111 registerOnAllInstances_ = false;
1112 bitField0_ = (bitField0_ & ~0x00000008);
1116 public Builder clone() {
1117 return create().mergeFrom(buildPartial());
1120 public com.google.protobuf.Descriptors.Descriptor
1121 getDescriptorForType() {
1122 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1125 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener getDefaultInstanceForType() {
1126 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance();
1129 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener build() {
1130 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = buildPartial();
1131 if (!result.isInitialized()) {
1132 throw newUninitializedMessageException(result);
1137 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener buildPartial() {
1138 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener(this);
1139 int from_bitField0_ = bitField0_;
1140 int to_bitField0_ = 0;
1141 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1142 to_bitField0_ |= 0x00000001;
1144 if (instanceIdentifierPathBuilder_ == null) {
1145 result.instanceIdentifierPath_ = instanceIdentifierPath_;
1147 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
1149 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1150 to_bitField0_ |= 0x00000002;
1152 result.dataChangeListenerActorPath_ = dataChangeListenerActorPath_;
1153 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1154 to_bitField0_ |= 0x00000004;
1156 result.dataChangeScope_ = dataChangeScope_;
1157 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1158 to_bitField0_ |= 0x00000008;
1160 result.registerOnAllInstances_ = registerOnAllInstances_;
1161 result.bitField0_ = to_bitField0_;
1166 public Builder mergeFrom(com.google.protobuf.Message other) {
1167 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) {
1168 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener)other);
1170 super.mergeFrom(other);
1175 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener other) {
1176 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance()) return this;
1177 if (other.hasInstanceIdentifierPath()) {
1178 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
1180 if (other.hasDataChangeListenerActorPath()) {
1181 bitField0_ |= 0x00000002;
1182 dataChangeListenerActorPath_ = other.dataChangeListenerActorPath_;
1185 if (other.hasDataChangeScope()) {
1186 setDataChangeScope(other.getDataChangeScope());
1188 if (other.hasRegisterOnAllInstances()) {
1189 setRegisterOnAllInstances(other.getRegisterOnAllInstances());
1191 this.mergeUnknownFields(other.getUnknownFields());
1195 public final boolean isInitialized() {
1196 if (!hasInstanceIdentifierPath()) {
1200 if (!hasDataChangeListenerActorPath()) {
1204 if (!hasDataChangeScope()) {
1208 if (!getInstanceIdentifierPath().isInitialized()) {
1215 public Builder mergeFrom(
1216 com.google.protobuf.CodedInputStream input,
1217 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1218 throws java.io.IOException {
1219 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parsedMessage = null;
1221 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1222 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1223 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) e.getUnfinishedMessage();
1226 if (parsedMessage != null) {
1227 mergeFrom(parsedMessage);
1232 private int bitField0_;
1234 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
1235 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1236 private com.google.protobuf.SingleFieldBuilder<
1237 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_;
1239 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1241 public boolean hasInstanceIdentifierPath() {
1242 return ((bitField0_ & 0x00000001) == 0x00000001);
1245 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1247 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
1248 if (instanceIdentifierPathBuilder_ == null) {
1249 return instanceIdentifierPath_;
1251 return instanceIdentifierPathBuilder_.getMessage();
1255 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1257 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1258 if (instanceIdentifierPathBuilder_ == null) {
1259 if (value == null) {
1260 throw new NullPointerException();
1262 instanceIdentifierPath_ = value;
1265 instanceIdentifierPathBuilder_.setMessage(value);
1267 bitField0_ |= 0x00000001;
1271 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1273 public Builder setInstanceIdentifierPath(
1274 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
1275 if (instanceIdentifierPathBuilder_ == null) {
1276 instanceIdentifierPath_ = builderForValue.build();
1279 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
1281 bitField0_ |= 0x00000001;
1285 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1287 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1288 if (instanceIdentifierPathBuilder_ == null) {
1289 if (((bitField0_ & 0x00000001) == 0x00000001) &&
1290 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
1291 instanceIdentifierPath_ =
1292 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
1294 instanceIdentifierPath_ = value;
1298 instanceIdentifierPathBuilder_.mergeFrom(value);
1300 bitField0_ |= 0x00000001;
1304 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1306 public Builder clearInstanceIdentifierPath() {
1307 if (instanceIdentifierPathBuilder_ == null) {
1308 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1311 instanceIdentifierPathBuilder_.clear();
1313 bitField0_ = (bitField0_ & ~0x00000001);
1317 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1319 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
1320 bitField0_ |= 0x00000001;
1322 return getInstanceIdentifierPathFieldBuilder().getBuilder();
1325 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1327 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
1328 if (instanceIdentifierPathBuilder_ != null) {
1329 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
1331 return instanceIdentifierPath_;
1335 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1337 private com.google.protobuf.SingleFieldBuilder<
1338 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>
1339 getInstanceIdentifierPathFieldBuilder() {
1340 if (instanceIdentifierPathBuilder_ == null) {
1341 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1342 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>(
1343 instanceIdentifierPath_,
1344 getParentForChildren(),
1346 instanceIdentifierPath_ = null;
1348 return instanceIdentifierPathBuilder_;
1351 // required string dataChangeListenerActorPath = 2;
1352 private java.lang.Object dataChangeListenerActorPath_ = "";
1354 * <code>required string dataChangeListenerActorPath = 2;</code>
1356 public boolean hasDataChangeListenerActorPath() {
1357 return ((bitField0_ & 0x00000002) == 0x00000002);
1360 * <code>required string dataChangeListenerActorPath = 2;</code>
1362 public java.lang.String getDataChangeListenerActorPath() {
1363 java.lang.Object ref = dataChangeListenerActorPath_;
1364 if (!(ref instanceof java.lang.String)) {
1365 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1367 dataChangeListenerActorPath_ = s;
1370 return (java.lang.String) ref;
1374 * <code>required string dataChangeListenerActorPath = 2;</code>
1376 public com.google.protobuf.ByteString
1377 getDataChangeListenerActorPathBytes() {
1378 java.lang.Object ref = dataChangeListenerActorPath_;
1379 if (ref instanceof String) {
1380 com.google.protobuf.ByteString b =
1381 com.google.protobuf.ByteString.copyFromUtf8(
1382 (java.lang.String) ref);
1383 dataChangeListenerActorPath_ = b;
1386 return (com.google.protobuf.ByteString) ref;
1390 * <code>required string dataChangeListenerActorPath = 2;</code>
1392 public Builder setDataChangeListenerActorPath(
1393 java.lang.String value) {
1394 if (value == null) {
1395 throw new NullPointerException();
1397 bitField0_ |= 0x00000002;
1398 dataChangeListenerActorPath_ = value;
1403 * <code>required string dataChangeListenerActorPath = 2;</code>
1405 public Builder clearDataChangeListenerActorPath() {
1406 bitField0_ = (bitField0_ & ~0x00000002);
1407 dataChangeListenerActorPath_ = getDefaultInstance().getDataChangeListenerActorPath();
1412 * <code>required string dataChangeListenerActorPath = 2;</code>
1414 public Builder setDataChangeListenerActorPathBytes(
1415 com.google.protobuf.ByteString value) {
1416 if (value == null) {
1417 throw new NullPointerException();
1419 bitField0_ |= 0x00000002;
1420 dataChangeListenerActorPath_ = value;
1425 // required int32 dataChangeScope = 3;
1426 private int dataChangeScope_ ;
1428 * <code>required int32 dataChangeScope = 3;</code>
1430 public boolean hasDataChangeScope() {
1431 return ((bitField0_ & 0x00000004) == 0x00000004);
1434 * <code>required int32 dataChangeScope = 3;</code>
1436 public int getDataChangeScope() {
1437 return dataChangeScope_;
1440 * <code>required int32 dataChangeScope = 3;</code>
1442 public Builder setDataChangeScope(int value) {
1443 bitField0_ |= 0x00000004;
1444 dataChangeScope_ = value;
1449 * <code>required int32 dataChangeScope = 3;</code>
1451 public Builder clearDataChangeScope() {
1452 bitField0_ = (bitField0_ & ~0x00000004);
1453 dataChangeScope_ = 0;
1458 // optional bool registerOnAllInstances = 4;
1459 private boolean registerOnAllInstances_ ;
1461 * <code>optional bool registerOnAllInstances = 4;</code>
1463 public boolean hasRegisterOnAllInstances() {
1464 return ((bitField0_ & 0x00000008) == 0x00000008);
1467 * <code>optional bool registerOnAllInstances = 4;</code>
1469 public boolean getRegisterOnAllInstances() {
1470 return registerOnAllInstances_;
1473 * <code>optional bool registerOnAllInstances = 4;</code>
1475 public Builder setRegisterOnAllInstances(boolean value) {
1476 bitField0_ |= 0x00000008;
1477 registerOnAllInstances_ = value;
1482 * <code>optional bool registerOnAllInstances = 4;</code>
1484 public Builder clearRegisterOnAllInstances() {
1485 bitField0_ = (bitField0_ & ~0x00000008);
1486 registerOnAllInstances_ = false;
1491 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1495 defaultInstance = new RegisterChangeListener(true);
1496 defaultInstance.initFields();
1499 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1502 public interface RegisterChangeListenerReplyOrBuilder
1503 extends com.google.protobuf.MessageOrBuilder {
1505 // required string listenerRegistrationPath = 1;
1507 * <code>required string listenerRegistrationPath = 1;</code>
1509 boolean hasListenerRegistrationPath();
1511 * <code>required string listenerRegistrationPath = 1;</code>
1513 java.lang.String getListenerRegistrationPath();
1515 * <code>required string listenerRegistrationPath = 1;</code>
1517 com.google.protobuf.ByteString
1518 getListenerRegistrationPathBytes();
1521 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1525 * This is the reply for the RegisterChangeListener message
1526 * It contains the listenerRegistration actor path
1527 * that can be used to unregister the listener
1530 public static final class RegisterChangeListenerReply extends
1531 com.google.protobuf.GeneratedMessage
1532 implements RegisterChangeListenerReplyOrBuilder {
1533 // Use RegisterChangeListenerReply.newBuilder() to construct.
1534 private RegisterChangeListenerReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1536 this.unknownFields = builder.getUnknownFields();
1538 private RegisterChangeListenerReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1540 private static final RegisterChangeListenerReply defaultInstance;
1541 public static RegisterChangeListenerReply getDefaultInstance() {
1542 return defaultInstance;
1545 public RegisterChangeListenerReply getDefaultInstanceForType() {
1546 return defaultInstance;
1549 private final com.google.protobuf.UnknownFieldSet unknownFields;
1551 public final com.google.protobuf.UnknownFieldSet
1552 getUnknownFields() {
1553 return this.unknownFields;
1555 private RegisterChangeListenerReply(
1556 com.google.protobuf.CodedInputStream input,
1557 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1558 throws com.google.protobuf.InvalidProtocolBufferException {
1560 int mutable_bitField0_ = 0;
1561 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1562 com.google.protobuf.UnknownFieldSet.newBuilder();
1564 boolean done = false;
1566 int tag = input.readTag();
1572 if (!parseUnknownField(input, unknownFields,
1573 extensionRegistry, tag)) {
1579 bitField0_ |= 0x00000001;
1580 listenerRegistrationPath_ = input.readBytes();
1585 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1586 throw e.setUnfinishedMessage(this);
1587 } catch (java.io.IOException e) {
1588 throw new com.google.protobuf.InvalidProtocolBufferException(
1589 e.getMessage()).setUnfinishedMessage(this);
1591 this.unknownFields = unknownFields.build();
1592 makeExtensionsImmutable();
1595 public static final com.google.protobuf.Descriptors.Descriptor
1597 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1600 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1601 internalGetFieldAccessorTable() {
1602 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1603 .ensureFieldAccessorsInitialized(
1604 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1607 public static com.google.protobuf.Parser<RegisterChangeListenerReply> PARSER =
1608 new com.google.protobuf.AbstractParser<RegisterChangeListenerReply>() {
1609 public RegisterChangeListenerReply parsePartialFrom(
1610 com.google.protobuf.CodedInputStream input,
1611 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1612 throws com.google.protobuf.InvalidProtocolBufferException {
1613 return new RegisterChangeListenerReply(input, extensionRegistry);
1618 public com.google.protobuf.Parser<RegisterChangeListenerReply> getParserForType() {
1622 private int bitField0_;
1623 // required string listenerRegistrationPath = 1;
1624 public static final int LISTENERREGISTRATIONPATH_FIELD_NUMBER = 1;
1625 private java.lang.Object listenerRegistrationPath_;
1627 * <code>required string listenerRegistrationPath = 1;</code>
1629 public boolean hasListenerRegistrationPath() {
1630 return ((bitField0_ & 0x00000001) == 0x00000001);
1633 * <code>required string listenerRegistrationPath = 1;</code>
1635 public java.lang.String getListenerRegistrationPath() {
1636 java.lang.Object ref = listenerRegistrationPath_;
1637 if (ref instanceof java.lang.String) {
1638 return (java.lang.String) ref;
1640 com.google.protobuf.ByteString bs =
1641 (com.google.protobuf.ByteString) ref;
1642 java.lang.String s = bs.toStringUtf8();
1643 if (bs.isValidUtf8()) {
1644 listenerRegistrationPath_ = s;
1650 * <code>required string listenerRegistrationPath = 1;</code>
1652 public com.google.protobuf.ByteString
1653 getListenerRegistrationPathBytes() {
1654 java.lang.Object ref = listenerRegistrationPath_;
1655 if (ref instanceof java.lang.String) {
1656 com.google.protobuf.ByteString b =
1657 com.google.protobuf.ByteString.copyFromUtf8(
1658 (java.lang.String) ref);
1659 listenerRegistrationPath_ = b;
1662 return (com.google.protobuf.ByteString) ref;
1666 private void initFields() {
1667 listenerRegistrationPath_ = "";
1669 private byte memoizedIsInitialized = -1;
1670 public final boolean isInitialized() {
1671 byte isInitialized = memoizedIsInitialized;
1672 if (isInitialized != -1) return isInitialized == 1;
1674 if (!hasListenerRegistrationPath()) {
1675 memoizedIsInitialized = 0;
1678 memoizedIsInitialized = 1;
1682 public void writeTo(com.google.protobuf.CodedOutputStream output)
1683 throws java.io.IOException {
1684 getSerializedSize();
1685 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1686 output.writeBytes(1, getListenerRegistrationPathBytes());
1688 getUnknownFields().writeTo(output);
1691 private int memoizedSerializedSize = -1;
1692 public int getSerializedSize() {
1693 int size = memoizedSerializedSize;
1694 if (size != -1) return size;
1697 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1698 size += com.google.protobuf.CodedOutputStream
1699 .computeBytesSize(1, getListenerRegistrationPathBytes());
1701 size += getUnknownFields().getSerializedSize();
1702 memoizedSerializedSize = size;
1706 private static final long serialVersionUID = 0L;
1708 protected java.lang.Object writeReplace()
1709 throws java.io.ObjectStreamException {
1710 return super.writeReplace();
1713 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1714 com.google.protobuf.ByteString data)
1715 throws com.google.protobuf.InvalidProtocolBufferException {
1716 return PARSER.parseFrom(data);
1718 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1719 com.google.protobuf.ByteString data,
1720 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1721 throws com.google.protobuf.InvalidProtocolBufferException {
1722 return PARSER.parseFrom(data, extensionRegistry);
1724 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(byte[] data)
1725 throws com.google.protobuf.InvalidProtocolBufferException {
1726 return PARSER.parseFrom(data);
1728 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1730 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1731 throws com.google.protobuf.InvalidProtocolBufferException {
1732 return PARSER.parseFrom(data, extensionRegistry);
1734 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(java.io.InputStream input)
1735 throws java.io.IOException {
1736 return PARSER.parseFrom(input);
1738 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1739 java.io.InputStream input,
1740 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1741 throws java.io.IOException {
1742 return PARSER.parseFrom(input, extensionRegistry);
1744 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(java.io.InputStream input)
1745 throws java.io.IOException {
1746 return PARSER.parseDelimitedFrom(input);
1748 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(
1749 java.io.InputStream input,
1750 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1751 throws java.io.IOException {
1752 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1754 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1755 com.google.protobuf.CodedInputStream input)
1756 throws java.io.IOException {
1757 return PARSER.parseFrom(input);
1759 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1760 com.google.protobuf.CodedInputStream input,
1761 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1762 throws java.io.IOException {
1763 return PARSER.parseFrom(input, extensionRegistry);
1766 public static Builder newBuilder() { return Builder.create(); }
1767 public Builder newBuilderForType() { return newBuilder(); }
1768 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply prototype) {
1769 return newBuilder().mergeFrom(prototype);
1771 public Builder toBuilder() { return newBuilder(this); }
1774 protected Builder newBuilderForType(
1775 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1776 Builder builder = new Builder(parent);
1780 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1784 * This is the reply for the RegisterChangeListener message
1785 * It contains the listenerRegistration actor path
1786 * that can be used to unregister the listener
1789 public static final class Builder extends
1790 com.google.protobuf.GeneratedMessage.Builder<Builder>
1791 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReplyOrBuilder {
1792 public static final com.google.protobuf.Descriptors.Descriptor
1794 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1797 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1798 internalGetFieldAccessorTable() {
1799 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1800 .ensureFieldAccessorsInitialized(
1801 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1804 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.newBuilder()
1806 maybeForceBuilderInitialization();
1810 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1812 maybeForceBuilderInitialization();
1814 private void maybeForceBuilderInitialization() {
1815 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1818 private static Builder create() {
1819 return new Builder();
1822 public Builder clear() {
1824 listenerRegistrationPath_ = "";
1825 bitField0_ = (bitField0_ & ~0x00000001);
1829 public Builder clone() {
1830 return create().mergeFrom(buildPartial());
1833 public com.google.protobuf.Descriptors.Descriptor
1834 getDescriptorForType() {
1835 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1838 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply getDefaultInstanceForType() {
1839 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance();
1842 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply build() {
1843 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = buildPartial();
1844 if (!result.isInitialized()) {
1845 throw newUninitializedMessageException(result);
1850 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply buildPartial() {
1851 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply(this);
1852 int from_bitField0_ = bitField0_;
1853 int to_bitField0_ = 0;
1854 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1855 to_bitField0_ |= 0x00000001;
1857 result.listenerRegistrationPath_ = listenerRegistrationPath_;
1858 result.bitField0_ = to_bitField0_;
1863 public Builder mergeFrom(com.google.protobuf.Message other) {
1864 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) {
1865 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply)other);
1867 super.mergeFrom(other);
1872 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply other) {
1873 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance()) return this;
1874 if (other.hasListenerRegistrationPath()) {
1875 bitField0_ |= 0x00000001;
1876 listenerRegistrationPath_ = other.listenerRegistrationPath_;
1879 this.mergeUnknownFields(other.getUnknownFields());
1883 public final boolean isInitialized() {
1884 if (!hasListenerRegistrationPath()) {
1891 public Builder mergeFrom(
1892 com.google.protobuf.CodedInputStream input,
1893 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1894 throws java.io.IOException {
1895 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parsedMessage = null;
1897 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1898 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1899 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) e.getUnfinishedMessage();
1902 if (parsedMessage != null) {
1903 mergeFrom(parsedMessage);
1908 private int bitField0_;
1910 // required string listenerRegistrationPath = 1;
1911 private java.lang.Object listenerRegistrationPath_ = "";
1913 * <code>required string listenerRegistrationPath = 1;</code>
1915 public boolean hasListenerRegistrationPath() {
1916 return ((bitField0_ & 0x00000001) == 0x00000001);
1919 * <code>required string listenerRegistrationPath = 1;</code>
1921 public java.lang.String getListenerRegistrationPath() {
1922 java.lang.Object ref = listenerRegistrationPath_;
1923 if (!(ref instanceof java.lang.String)) {
1924 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1926 listenerRegistrationPath_ = s;
1929 return (java.lang.String) ref;
1933 * <code>required string listenerRegistrationPath = 1;</code>
1935 public com.google.protobuf.ByteString
1936 getListenerRegistrationPathBytes() {
1937 java.lang.Object ref = listenerRegistrationPath_;
1938 if (ref instanceof String) {
1939 com.google.protobuf.ByteString b =
1940 com.google.protobuf.ByteString.copyFromUtf8(
1941 (java.lang.String) ref);
1942 listenerRegistrationPath_ = b;
1945 return (com.google.protobuf.ByteString) ref;
1949 * <code>required string listenerRegistrationPath = 1;</code>
1951 public Builder setListenerRegistrationPath(
1952 java.lang.String value) {
1953 if (value == null) {
1954 throw new NullPointerException();
1956 bitField0_ |= 0x00000001;
1957 listenerRegistrationPath_ = value;
1962 * <code>required string listenerRegistrationPath = 1;</code>
1964 public Builder clearListenerRegistrationPath() {
1965 bitField0_ = (bitField0_ & ~0x00000001);
1966 listenerRegistrationPath_ = getDefaultInstance().getListenerRegistrationPath();
1971 * <code>required string listenerRegistrationPath = 1;</code>
1973 public Builder setListenerRegistrationPathBytes(
1974 com.google.protobuf.ByteString value) {
1975 if (value == null) {
1976 throw new NullPointerException();
1978 bitField0_ |= 0x00000001;
1979 listenerRegistrationPath_ = value;
1984 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1988 defaultInstance = new RegisterChangeListenerReply(true);
1989 defaultInstance.initFields();
1992 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1995 private static com.google.protobuf.Descriptors.Descriptor
1996 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
1998 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1999 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable;
2000 private static com.google.protobuf.Descriptors.Descriptor
2001 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
2003 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2004 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable;
2005 private static com.google.protobuf.Descriptors.Descriptor
2006 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
2008 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2009 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable;
2010 private static com.google.protobuf.Descriptors.Descriptor
2011 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
2013 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2014 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable;
2016 public static com.google.protobuf.Descriptors.FileDescriptor
2020 private static com.google.protobuf.Descriptors.FileDescriptor
2023 java.lang.String[] descriptorData = {
2024 "\n\032ListenerRegistration.proto\022!org.openda" +
2025 "ylight.controller.mdsal\032\014Common.proto\"%\n" +
2026 "#CloseDataChangeListenerRegistration\"*\n(" +
2027 "CloseDataChangeListenerRegistrationReply" +
2028 "\"\315\001\n\026RegisterChangeListener\022U\n\026instanceI" +
2029 "dentifierPath\030\001 \002(\01325.org.opendaylight.c" +
2030 "ontroller.mdsal.InstanceIdentifier\022#\n\033da" +
2031 "taChangeListenerActorPath\030\002 \002(\t\022\027\n\017dataC" +
2032 "hangeScope\030\003 \002(\005\022\036\n\026registerOnAllInstanc" +
2033 "es\030\004 \001(\010\"?\n\033RegisterChangeListenerReply\022",
2034 " \n\030listenerRegistrationPath\030\001 \002(\tB[\n;org" +
2035 ".opendaylight.controller.protobuff.messa" +
2036 "ges.registrationB\034ListenerRegistrationMe" +
2039 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
2040 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
2041 public com.google.protobuf.ExtensionRegistry assignDescriptors(
2042 com.google.protobuf.Descriptors.FileDescriptor root) {
2044 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor =
2045 getDescriptor().getMessageTypes().get(0);
2046 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable = new
2047 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2048 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor,
2049 new java.lang.String[] { });
2050 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor =
2051 getDescriptor().getMessageTypes().get(1);
2052 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable = new
2053 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2054 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor,
2055 new java.lang.String[] { });
2056 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor =
2057 getDescriptor().getMessageTypes().get(2);
2058 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable = new
2059 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2060 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor,
2061 new java.lang.String[] { "InstanceIdentifierPath", "DataChangeListenerActorPath", "DataChangeScope", "RegisterOnAllInstances", });
2062 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor =
2063 getDescriptor().getMessageTypes().get(3);
2064 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable = new
2065 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2066 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor,
2067 new java.lang.String[] { "ListenerRegistrationPath", });
2071 com.google.protobuf.Descriptors.FileDescriptor
2072 .internalBuildGeneratedFileFrom(descriptorData,
2073 new com.google.protobuf.Descriptors.FileDescriptor[] {
2074 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
2078 // @@protoc_insertion_point(outer_class_scope)