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();
688 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
690 public static final class RegisterChangeListener extends
691 com.google.protobuf.GeneratedMessage
692 implements RegisterChangeListenerOrBuilder {
693 // Use RegisterChangeListener.newBuilder() to construct.
694 private RegisterChangeListener(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
696 this.unknownFields = builder.getUnknownFields();
698 private RegisterChangeListener(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
700 private static final RegisterChangeListener defaultInstance;
701 public static RegisterChangeListener getDefaultInstance() {
702 return defaultInstance;
705 public RegisterChangeListener getDefaultInstanceForType() {
706 return defaultInstance;
709 private final com.google.protobuf.UnknownFieldSet unknownFields;
711 public final com.google.protobuf.UnknownFieldSet
713 return this.unknownFields;
715 private RegisterChangeListener(
716 com.google.protobuf.CodedInputStream input,
717 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
718 throws com.google.protobuf.InvalidProtocolBufferException {
720 int mutable_bitField0_ = 0;
721 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
722 com.google.protobuf.UnknownFieldSet.newBuilder();
724 boolean done = false;
726 int tag = input.readTag();
732 if (!parseUnknownField(input, unknownFields,
733 extensionRegistry, tag)) {
739 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
740 if (((bitField0_ & 0x00000001) == 0x00000001)) {
741 subBuilder = instanceIdentifierPath_.toBuilder();
743 instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
744 if (subBuilder != null) {
745 subBuilder.mergeFrom(instanceIdentifierPath_);
746 instanceIdentifierPath_ = subBuilder.buildPartial();
748 bitField0_ |= 0x00000001;
752 bitField0_ |= 0x00000002;
753 dataChangeListenerActorPath_ = input.readBytes();
757 bitField0_ |= 0x00000004;
758 dataChangeScope_ = input.readInt32();
763 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
764 throw e.setUnfinishedMessage(this);
765 } catch (java.io.IOException e) {
766 throw new com.google.protobuf.InvalidProtocolBufferException(
767 e.getMessage()).setUnfinishedMessage(this);
769 this.unknownFields = unknownFields.build();
770 makeExtensionsImmutable();
773 public static final com.google.protobuf.Descriptors.Descriptor
775 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
778 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
779 internalGetFieldAccessorTable() {
780 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
781 .ensureFieldAccessorsInitialized(
782 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
785 public static com.google.protobuf.Parser<RegisterChangeListener> PARSER =
786 new com.google.protobuf.AbstractParser<RegisterChangeListener>() {
787 public RegisterChangeListener parsePartialFrom(
788 com.google.protobuf.CodedInputStream input,
789 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
790 throws com.google.protobuf.InvalidProtocolBufferException {
791 return new RegisterChangeListener(input, extensionRegistry);
796 public com.google.protobuf.Parser<RegisterChangeListener> getParserForType() {
800 private int bitField0_;
801 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
802 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
803 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
805 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
807 public boolean hasInstanceIdentifierPath() {
808 return ((bitField0_ & 0x00000001) == 0x00000001);
811 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
813 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
814 return instanceIdentifierPath_;
817 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
819 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
820 return instanceIdentifierPath_;
823 // required string dataChangeListenerActorPath = 2;
824 public static final int DATACHANGELISTENERACTORPATH_FIELD_NUMBER = 2;
825 private java.lang.Object dataChangeListenerActorPath_;
827 * <code>required string dataChangeListenerActorPath = 2;</code>
829 public boolean hasDataChangeListenerActorPath() {
830 return ((bitField0_ & 0x00000002) == 0x00000002);
833 * <code>required string dataChangeListenerActorPath = 2;</code>
835 public java.lang.String getDataChangeListenerActorPath() {
836 java.lang.Object ref = dataChangeListenerActorPath_;
837 if (ref instanceof java.lang.String) {
838 return (java.lang.String) ref;
840 com.google.protobuf.ByteString bs =
841 (com.google.protobuf.ByteString) ref;
842 java.lang.String s = bs.toStringUtf8();
843 if (bs.isValidUtf8()) {
844 dataChangeListenerActorPath_ = s;
850 * <code>required string dataChangeListenerActorPath = 2;</code>
852 public com.google.protobuf.ByteString
853 getDataChangeListenerActorPathBytes() {
854 java.lang.Object ref = dataChangeListenerActorPath_;
855 if (ref instanceof java.lang.String) {
856 com.google.protobuf.ByteString b =
857 com.google.protobuf.ByteString.copyFromUtf8(
858 (java.lang.String) ref);
859 dataChangeListenerActorPath_ = b;
862 return (com.google.protobuf.ByteString) ref;
866 // required int32 dataChangeScope = 3;
867 public static final int DATACHANGESCOPE_FIELD_NUMBER = 3;
868 private int dataChangeScope_;
870 * <code>required int32 dataChangeScope = 3;</code>
872 public boolean hasDataChangeScope() {
873 return ((bitField0_ & 0x00000004) == 0x00000004);
876 * <code>required int32 dataChangeScope = 3;</code>
878 public int getDataChangeScope() {
879 return dataChangeScope_;
882 private void initFields() {
883 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
884 dataChangeListenerActorPath_ = "";
885 dataChangeScope_ = 0;
887 private byte memoizedIsInitialized = -1;
888 public final boolean isInitialized() {
889 byte isInitialized = memoizedIsInitialized;
890 if (isInitialized != -1) return isInitialized == 1;
892 if (!hasInstanceIdentifierPath()) {
893 memoizedIsInitialized = 0;
896 if (!hasDataChangeListenerActorPath()) {
897 memoizedIsInitialized = 0;
900 if (!hasDataChangeScope()) {
901 memoizedIsInitialized = 0;
904 if (!getInstanceIdentifierPath().isInitialized()) {
905 memoizedIsInitialized = 0;
908 memoizedIsInitialized = 1;
912 public void writeTo(com.google.protobuf.CodedOutputStream output)
913 throws java.io.IOException {
915 if (((bitField0_ & 0x00000001) == 0x00000001)) {
916 output.writeMessage(1, instanceIdentifierPath_);
918 if (((bitField0_ & 0x00000002) == 0x00000002)) {
919 output.writeBytes(2, getDataChangeListenerActorPathBytes());
921 if (((bitField0_ & 0x00000004) == 0x00000004)) {
922 output.writeInt32(3, dataChangeScope_);
924 getUnknownFields().writeTo(output);
927 private int memoizedSerializedSize = -1;
928 public int getSerializedSize() {
929 int size = memoizedSerializedSize;
930 if (size != -1) return size;
933 if (((bitField0_ & 0x00000001) == 0x00000001)) {
934 size += com.google.protobuf.CodedOutputStream
935 .computeMessageSize(1, instanceIdentifierPath_);
937 if (((bitField0_ & 0x00000002) == 0x00000002)) {
938 size += com.google.protobuf.CodedOutputStream
939 .computeBytesSize(2, getDataChangeListenerActorPathBytes());
941 if (((bitField0_ & 0x00000004) == 0x00000004)) {
942 size += com.google.protobuf.CodedOutputStream
943 .computeInt32Size(3, dataChangeScope_);
945 size += getUnknownFields().getSerializedSize();
946 memoizedSerializedSize = size;
950 private static final long serialVersionUID = 0L;
952 protected java.lang.Object writeReplace()
953 throws java.io.ObjectStreamException {
954 return super.writeReplace();
957 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
958 com.google.protobuf.ByteString data)
959 throws com.google.protobuf.InvalidProtocolBufferException {
960 return PARSER.parseFrom(data);
962 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
963 com.google.protobuf.ByteString data,
964 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
965 throws com.google.protobuf.InvalidProtocolBufferException {
966 return PARSER.parseFrom(data, extensionRegistry);
968 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(byte[] data)
969 throws com.google.protobuf.InvalidProtocolBufferException {
970 return PARSER.parseFrom(data);
972 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
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(java.io.InputStream input)
979 throws java.io.IOException {
980 return PARSER.parseFrom(input);
982 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
983 java.io.InputStream input,
984 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
985 throws java.io.IOException {
986 return PARSER.parseFrom(input, extensionRegistry);
988 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(java.io.InputStream input)
989 throws java.io.IOException {
990 return PARSER.parseDelimitedFrom(input);
992 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseDelimitedFrom(
993 java.io.InputStream input,
994 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
995 throws java.io.IOException {
996 return PARSER.parseDelimitedFrom(input, extensionRegistry);
998 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
999 com.google.protobuf.CodedInputStream input)
1000 throws java.io.IOException {
1001 return PARSER.parseFrom(input);
1003 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parseFrom(
1004 com.google.protobuf.CodedInputStream input,
1005 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1006 throws java.io.IOException {
1007 return PARSER.parseFrom(input, extensionRegistry);
1010 public static Builder newBuilder() { return Builder.create(); }
1011 public Builder newBuilderForType() { return newBuilder(); }
1012 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener prototype) {
1013 return newBuilder().mergeFrom(prototype);
1015 public Builder toBuilder() { return newBuilder(this); }
1018 protected Builder newBuilderForType(
1019 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1020 Builder builder = new Builder(parent);
1024 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
1026 public static final class Builder extends
1027 com.google.protobuf.GeneratedMessage.Builder<Builder>
1028 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerOrBuilder {
1029 public static final com.google.protobuf.Descriptors.Descriptor
1031 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1034 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1035 internalGetFieldAccessorTable() {
1036 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable
1037 .ensureFieldAccessorsInitialized(
1038 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.Builder.class);
1041 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.newBuilder()
1043 maybeForceBuilderInitialization();
1047 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1049 maybeForceBuilderInitialization();
1051 private void maybeForceBuilderInitialization() {
1052 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1053 getInstanceIdentifierPathFieldBuilder();
1056 private static Builder create() {
1057 return new Builder();
1060 public Builder clear() {
1062 if (instanceIdentifierPathBuilder_ == null) {
1063 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1065 instanceIdentifierPathBuilder_.clear();
1067 bitField0_ = (bitField0_ & ~0x00000001);
1068 dataChangeListenerActorPath_ = "";
1069 bitField0_ = (bitField0_ & ~0x00000002);
1070 dataChangeScope_ = 0;
1071 bitField0_ = (bitField0_ & ~0x00000004);
1075 public Builder clone() {
1076 return create().mergeFrom(buildPartial());
1079 public com.google.protobuf.Descriptors.Descriptor
1080 getDescriptorForType() {
1081 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1084 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener getDefaultInstanceForType() {
1085 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance();
1088 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener build() {
1089 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = buildPartial();
1090 if (!result.isInitialized()) {
1091 throw newUninitializedMessageException(result);
1096 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener buildPartial() {
1097 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener(this);
1098 int from_bitField0_ = bitField0_;
1099 int to_bitField0_ = 0;
1100 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1101 to_bitField0_ |= 0x00000001;
1103 if (instanceIdentifierPathBuilder_ == null) {
1104 result.instanceIdentifierPath_ = instanceIdentifierPath_;
1106 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
1108 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1109 to_bitField0_ |= 0x00000002;
1111 result.dataChangeListenerActorPath_ = dataChangeListenerActorPath_;
1112 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1113 to_bitField0_ |= 0x00000004;
1115 result.dataChangeScope_ = dataChangeScope_;
1116 result.bitField0_ = to_bitField0_;
1121 public Builder mergeFrom(com.google.protobuf.Message other) {
1122 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) {
1123 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener)other);
1125 super.mergeFrom(other);
1130 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener other) {
1131 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener.getDefaultInstance()) return this;
1132 if (other.hasInstanceIdentifierPath()) {
1133 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
1135 if (other.hasDataChangeListenerActorPath()) {
1136 bitField0_ |= 0x00000002;
1137 dataChangeListenerActorPath_ = other.dataChangeListenerActorPath_;
1140 if (other.hasDataChangeScope()) {
1141 setDataChangeScope(other.getDataChangeScope());
1143 this.mergeUnknownFields(other.getUnknownFields());
1147 public final boolean isInitialized() {
1148 if (!hasInstanceIdentifierPath()) {
1152 if (!hasDataChangeListenerActorPath()) {
1156 if (!hasDataChangeScope()) {
1160 if (!getInstanceIdentifierPath().isInitialized()) {
1167 public Builder mergeFrom(
1168 com.google.protobuf.CodedInputStream input,
1169 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1170 throws java.io.IOException {
1171 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener parsedMessage = null;
1173 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1174 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1175 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListener) e.getUnfinishedMessage();
1178 if (parsedMessage != null) {
1179 mergeFrom(parsedMessage);
1184 private int bitField0_;
1186 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
1187 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1188 private com.google.protobuf.SingleFieldBuilder<
1189 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathBuilder_;
1191 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1193 public boolean hasInstanceIdentifierPath() {
1194 return ((bitField0_ & 0x00000001) == 0x00000001);
1197 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1199 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
1200 if (instanceIdentifierPathBuilder_ == null) {
1201 return instanceIdentifierPath_;
1203 return instanceIdentifierPathBuilder_.getMessage();
1207 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1209 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1210 if (instanceIdentifierPathBuilder_ == null) {
1211 if (value == null) {
1212 throw new NullPointerException();
1214 instanceIdentifierPath_ = value;
1217 instanceIdentifierPathBuilder_.setMessage(value);
1219 bitField0_ |= 0x00000001;
1223 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1225 public Builder setInstanceIdentifierPath(
1226 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
1227 if (instanceIdentifierPathBuilder_ == null) {
1228 instanceIdentifierPath_ = builderForValue.build();
1231 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
1233 bitField0_ |= 0x00000001;
1237 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1239 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1240 if (instanceIdentifierPathBuilder_ == null) {
1241 if (((bitField0_ & 0x00000001) == 0x00000001) &&
1242 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
1243 instanceIdentifierPath_ =
1244 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
1246 instanceIdentifierPath_ = value;
1250 instanceIdentifierPathBuilder_.mergeFrom(value);
1252 bitField0_ |= 0x00000001;
1256 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1258 public Builder clearInstanceIdentifierPath() {
1259 if (instanceIdentifierPathBuilder_ == null) {
1260 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1263 instanceIdentifierPathBuilder_.clear();
1265 bitField0_ = (bitField0_ & ~0x00000001);
1269 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1271 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
1272 bitField0_ |= 0x00000001;
1274 return getInstanceIdentifierPathFieldBuilder().getBuilder();
1277 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1279 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
1280 if (instanceIdentifierPathBuilder_ != null) {
1281 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
1283 return instanceIdentifierPath_;
1287 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
1289 private com.google.protobuf.SingleFieldBuilder<
1290 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
1291 getInstanceIdentifierPathFieldBuilder() {
1292 if (instanceIdentifierPathBuilder_ == null) {
1293 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1294 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
1295 instanceIdentifierPath_,
1296 getParentForChildren(),
1298 instanceIdentifierPath_ = null;
1300 return instanceIdentifierPathBuilder_;
1303 // required string dataChangeListenerActorPath = 2;
1304 private java.lang.Object dataChangeListenerActorPath_ = "";
1306 * <code>required string dataChangeListenerActorPath = 2;</code>
1308 public boolean hasDataChangeListenerActorPath() {
1309 return ((bitField0_ & 0x00000002) == 0x00000002);
1312 * <code>required string dataChangeListenerActorPath = 2;</code>
1314 public java.lang.String getDataChangeListenerActorPath() {
1315 java.lang.Object ref = dataChangeListenerActorPath_;
1316 if (!(ref instanceof java.lang.String)) {
1317 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1319 dataChangeListenerActorPath_ = s;
1322 return (java.lang.String) ref;
1326 * <code>required string dataChangeListenerActorPath = 2;</code>
1328 public com.google.protobuf.ByteString
1329 getDataChangeListenerActorPathBytes() {
1330 java.lang.Object ref = dataChangeListenerActorPath_;
1331 if (ref instanceof String) {
1332 com.google.protobuf.ByteString b =
1333 com.google.protobuf.ByteString.copyFromUtf8(
1334 (java.lang.String) ref);
1335 dataChangeListenerActorPath_ = b;
1338 return (com.google.protobuf.ByteString) ref;
1342 * <code>required string dataChangeListenerActorPath = 2;</code>
1344 public Builder setDataChangeListenerActorPath(
1345 java.lang.String value) {
1346 if (value == null) {
1347 throw new NullPointerException();
1349 bitField0_ |= 0x00000002;
1350 dataChangeListenerActorPath_ = value;
1355 * <code>required string dataChangeListenerActorPath = 2;</code>
1357 public Builder clearDataChangeListenerActorPath() {
1358 bitField0_ = (bitField0_ & ~0x00000002);
1359 dataChangeListenerActorPath_ = getDefaultInstance().getDataChangeListenerActorPath();
1364 * <code>required string dataChangeListenerActorPath = 2;</code>
1366 public Builder setDataChangeListenerActorPathBytes(
1367 com.google.protobuf.ByteString value) {
1368 if (value == null) {
1369 throw new NullPointerException();
1371 bitField0_ |= 0x00000002;
1372 dataChangeListenerActorPath_ = value;
1377 // required int32 dataChangeScope = 3;
1378 private int dataChangeScope_ ;
1380 * <code>required int32 dataChangeScope = 3;</code>
1382 public boolean hasDataChangeScope() {
1383 return ((bitField0_ & 0x00000004) == 0x00000004);
1386 * <code>required int32 dataChangeScope = 3;</code>
1388 public int getDataChangeScope() {
1389 return dataChangeScope_;
1392 * <code>required int32 dataChangeScope = 3;</code>
1394 public Builder setDataChangeScope(int value) {
1395 bitField0_ |= 0x00000004;
1396 dataChangeScope_ = value;
1401 * <code>required int32 dataChangeScope = 3;</code>
1403 public Builder clearDataChangeScope() {
1404 bitField0_ = (bitField0_ & ~0x00000004);
1405 dataChangeScope_ = 0;
1410 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1414 defaultInstance = new RegisterChangeListener(true);
1415 defaultInstance.initFields();
1418 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
1421 public interface RegisterChangeListenerReplyOrBuilder
1422 extends com.google.protobuf.MessageOrBuilder {
1424 // required string listenerRegistrationPath = 1;
1426 * <code>required string listenerRegistrationPath = 1;</code>
1428 boolean hasListenerRegistrationPath();
1430 * <code>required string listenerRegistrationPath = 1;</code>
1432 java.lang.String getListenerRegistrationPath();
1434 * <code>required string listenerRegistrationPath = 1;</code>
1436 com.google.protobuf.ByteString
1437 getListenerRegistrationPathBytes();
1440 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1444 * This is the reply for the RegisterChangeListener message
1445 * It contains the listenerRegistration actor path
1446 * that can be used to unregister the listener
1449 public static final class RegisterChangeListenerReply extends
1450 com.google.protobuf.GeneratedMessage
1451 implements RegisterChangeListenerReplyOrBuilder {
1452 // Use RegisterChangeListenerReply.newBuilder() to construct.
1453 private RegisterChangeListenerReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1455 this.unknownFields = builder.getUnknownFields();
1457 private RegisterChangeListenerReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1459 private static final RegisterChangeListenerReply defaultInstance;
1460 public static RegisterChangeListenerReply getDefaultInstance() {
1461 return defaultInstance;
1464 public RegisterChangeListenerReply getDefaultInstanceForType() {
1465 return defaultInstance;
1468 private final com.google.protobuf.UnknownFieldSet unknownFields;
1470 public final com.google.protobuf.UnknownFieldSet
1471 getUnknownFields() {
1472 return this.unknownFields;
1474 private RegisterChangeListenerReply(
1475 com.google.protobuf.CodedInputStream input,
1476 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1477 throws com.google.protobuf.InvalidProtocolBufferException {
1479 int mutable_bitField0_ = 0;
1480 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1481 com.google.protobuf.UnknownFieldSet.newBuilder();
1483 boolean done = false;
1485 int tag = input.readTag();
1491 if (!parseUnknownField(input, unknownFields,
1492 extensionRegistry, tag)) {
1498 bitField0_ |= 0x00000001;
1499 listenerRegistrationPath_ = input.readBytes();
1504 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1505 throw e.setUnfinishedMessage(this);
1506 } catch (java.io.IOException e) {
1507 throw new com.google.protobuf.InvalidProtocolBufferException(
1508 e.getMessage()).setUnfinishedMessage(this);
1510 this.unknownFields = unknownFields.build();
1511 makeExtensionsImmutable();
1514 public static final com.google.protobuf.Descriptors.Descriptor
1516 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1519 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1520 internalGetFieldAccessorTable() {
1521 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1522 .ensureFieldAccessorsInitialized(
1523 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1526 public static com.google.protobuf.Parser<RegisterChangeListenerReply> PARSER =
1527 new com.google.protobuf.AbstractParser<RegisterChangeListenerReply>() {
1528 public RegisterChangeListenerReply parsePartialFrom(
1529 com.google.protobuf.CodedInputStream input,
1530 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1531 throws com.google.protobuf.InvalidProtocolBufferException {
1532 return new RegisterChangeListenerReply(input, extensionRegistry);
1537 public com.google.protobuf.Parser<RegisterChangeListenerReply> getParserForType() {
1541 private int bitField0_;
1542 // required string listenerRegistrationPath = 1;
1543 public static final int LISTENERREGISTRATIONPATH_FIELD_NUMBER = 1;
1544 private java.lang.Object listenerRegistrationPath_;
1546 * <code>required string listenerRegistrationPath = 1;</code>
1548 public boolean hasListenerRegistrationPath() {
1549 return ((bitField0_ & 0x00000001) == 0x00000001);
1552 * <code>required string listenerRegistrationPath = 1;</code>
1554 public java.lang.String getListenerRegistrationPath() {
1555 java.lang.Object ref = listenerRegistrationPath_;
1556 if (ref instanceof java.lang.String) {
1557 return (java.lang.String) ref;
1559 com.google.protobuf.ByteString bs =
1560 (com.google.protobuf.ByteString) ref;
1561 java.lang.String s = bs.toStringUtf8();
1562 if (bs.isValidUtf8()) {
1563 listenerRegistrationPath_ = s;
1569 * <code>required string listenerRegistrationPath = 1;</code>
1571 public com.google.protobuf.ByteString
1572 getListenerRegistrationPathBytes() {
1573 java.lang.Object ref = listenerRegistrationPath_;
1574 if (ref instanceof java.lang.String) {
1575 com.google.protobuf.ByteString b =
1576 com.google.protobuf.ByteString.copyFromUtf8(
1577 (java.lang.String) ref);
1578 listenerRegistrationPath_ = b;
1581 return (com.google.protobuf.ByteString) ref;
1585 private void initFields() {
1586 listenerRegistrationPath_ = "";
1588 private byte memoizedIsInitialized = -1;
1589 public final boolean isInitialized() {
1590 byte isInitialized = memoizedIsInitialized;
1591 if (isInitialized != -1) return isInitialized == 1;
1593 if (!hasListenerRegistrationPath()) {
1594 memoizedIsInitialized = 0;
1597 memoizedIsInitialized = 1;
1601 public void writeTo(com.google.protobuf.CodedOutputStream output)
1602 throws java.io.IOException {
1603 getSerializedSize();
1604 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1605 output.writeBytes(1, getListenerRegistrationPathBytes());
1607 getUnknownFields().writeTo(output);
1610 private int memoizedSerializedSize = -1;
1611 public int getSerializedSize() {
1612 int size = memoizedSerializedSize;
1613 if (size != -1) return size;
1616 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1617 size += com.google.protobuf.CodedOutputStream
1618 .computeBytesSize(1, getListenerRegistrationPathBytes());
1620 size += getUnknownFields().getSerializedSize();
1621 memoizedSerializedSize = size;
1625 private static final long serialVersionUID = 0L;
1627 protected java.lang.Object writeReplace()
1628 throws java.io.ObjectStreamException {
1629 return super.writeReplace();
1632 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1633 com.google.protobuf.ByteString data)
1634 throws com.google.protobuf.InvalidProtocolBufferException {
1635 return PARSER.parseFrom(data);
1637 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1638 com.google.protobuf.ByteString data,
1639 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1640 throws com.google.protobuf.InvalidProtocolBufferException {
1641 return PARSER.parseFrom(data, extensionRegistry);
1643 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(byte[] data)
1644 throws com.google.protobuf.InvalidProtocolBufferException {
1645 return PARSER.parseFrom(data);
1647 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
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(java.io.InputStream input)
1654 throws java.io.IOException {
1655 return PARSER.parseFrom(input);
1657 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1658 java.io.InputStream input,
1659 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1660 throws java.io.IOException {
1661 return PARSER.parseFrom(input, extensionRegistry);
1663 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(java.io.InputStream input)
1664 throws java.io.IOException {
1665 return PARSER.parseDelimitedFrom(input);
1667 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseDelimitedFrom(
1668 java.io.InputStream input,
1669 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1670 throws java.io.IOException {
1671 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1673 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1674 com.google.protobuf.CodedInputStream input)
1675 throws java.io.IOException {
1676 return PARSER.parseFrom(input);
1678 public static org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parseFrom(
1679 com.google.protobuf.CodedInputStream input,
1680 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1681 throws java.io.IOException {
1682 return PARSER.parseFrom(input, extensionRegistry);
1685 public static Builder newBuilder() { return Builder.create(); }
1686 public Builder newBuilderForType() { return newBuilder(); }
1687 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply prototype) {
1688 return newBuilder().mergeFrom(prototype);
1690 public Builder toBuilder() { return newBuilder(this); }
1693 protected Builder newBuilderForType(
1694 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1695 Builder builder = new Builder(parent);
1699 * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListenerReply}
1703 * This is the reply for the RegisterChangeListener message
1704 * It contains the listenerRegistration actor path
1705 * that can be used to unregister the listener
1708 public static final class Builder extends
1709 com.google.protobuf.GeneratedMessage.Builder<Builder>
1710 implements org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReplyOrBuilder {
1711 public static final com.google.protobuf.Descriptors.Descriptor
1713 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1716 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1717 internalGetFieldAccessorTable() {
1718 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable
1719 .ensureFieldAccessorsInitialized(
1720 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.class, org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.Builder.class);
1723 // Construct using org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.newBuilder()
1725 maybeForceBuilderInitialization();
1729 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1731 maybeForceBuilderInitialization();
1733 private void maybeForceBuilderInitialization() {
1734 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1737 private static Builder create() {
1738 return new Builder();
1741 public Builder clear() {
1743 listenerRegistrationPath_ = "";
1744 bitField0_ = (bitField0_ & ~0x00000001);
1748 public Builder clone() {
1749 return create().mergeFrom(buildPartial());
1752 public com.google.protobuf.Descriptors.Descriptor
1753 getDescriptorForType() {
1754 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1757 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply getDefaultInstanceForType() {
1758 return org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance();
1761 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply build() {
1762 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = buildPartial();
1763 if (!result.isInitialized()) {
1764 throw newUninitializedMessageException(result);
1769 public org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply buildPartial() {
1770 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply result = new org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply(this);
1771 int from_bitField0_ = bitField0_;
1772 int to_bitField0_ = 0;
1773 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1774 to_bitField0_ |= 0x00000001;
1776 result.listenerRegistrationPath_ = listenerRegistrationPath_;
1777 result.bitField0_ = to_bitField0_;
1782 public Builder mergeFrom(com.google.protobuf.Message other) {
1783 if (other instanceof org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) {
1784 return mergeFrom((org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply)other);
1786 super.mergeFrom(other);
1791 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply other) {
1792 if (other == org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply.getDefaultInstance()) return this;
1793 if (other.hasListenerRegistrationPath()) {
1794 bitField0_ |= 0x00000001;
1795 listenerRegistrationPath_ = other.listenerRegistrationPath_;
1798 this.mergeUnknownFields(other.getUnknownFields());
1802 public final boolean isInitialized() {
1803 if (!hasListenerRegistrationPath()) {
1810 public Builder mergeFrom(
1811 com.google.protobuf.CodedInputStream input,
1812 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1813 throws java.io.IOException {
1814 org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply parsedMessage = null;
1816 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1817 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1818 parsedMessage = (org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages.RegisterChangeListenerReply) e.getUnfinishedMessage();
1821 if (parsedMessage != null) {
1822 mergeFrom(parsedMessage);
1827 private int bitField0_;
1829 // required string listenerRegistrationPath = 1;
1830 private java.lang.Object listenerRegistrationPath_ = "";
1832 * <code>required string listenerRegistrationPath = 1;</code>
1834 public boolean hasListenerRegistrationPath() {
1835 return ((bitField0_ & 0x00000001) == 0x00000001);
1838 * <code>required string listenerRegistrationPath = 1;</code>
1840 public java.lang.String getListenerRegistrationPath() {
1841 java.lang.Object ref = listenerRegistrationPath_;
1842 if (!(ref instanceof java.lang.String)) {
1843 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1845 listenerRegistrationPath_ = s;
1848 return (java.lang.String) ref;
1852 * <code>required string listenerRegistrationPath = 1;</code>
1854 public com.google.protobuf.ByteString
1855 getListenerRegistrationPathBytes() {
1856 java.lang.Object ref = listenerRegistrationPath_;
1857 if (ref instanceof String) {
1858 com.google.protobuf.ByteString b =
1859 com.google.protobuf.ByteString.copyFromUtf8(
1860 (java.lang.String) ref);
1861 listenerRegistrationPath_ = b;
1864 return (com.google.protobuf.ByteString) ref;
1868 * <code>required string listenerRegistrationPath = 1;</code>
1870 public Builder setListenerRegistrationPath(
1871 java.lang.String value) {
1872 if (value == null) {
1873 throw new NullPointerException();
1875 bitField0_ |= 0x00000001;
1876 listenerRegistrationPath_ = value;
1881 * <code>required string listenerRegistrationPath = 1;</code>
1883 public Builder clearListenerRegistrationPath() {
1884 bitField0_ = (bitField0_ & ~0x00000001);
1885 listenerRegistrationPath_ = getDefaultInstance().getListenerRegistrationPath();
1890 * <code>required string listenerRegistrationPath = 1;</code>
1892 public Builder setListenerRegistrationPathBytes(
1893 com.google.protobuf.ByteString value) {
1894 if (value == null) {
1895 throw new NullPointerException();
1897 bitField0_ |= 0x00000001;
1898 listenerRegistrationPath_ = value;
1903 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1907 defaultInstance = new RegisterChangeListenerReply(true);
1908 defaultInstance.initFields();
1911 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.RegisterChangeListenerReply)
1914 private static com.google.protobuf.Descriptors.Descriptor
1915 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor;
1917 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1918 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable;
1919 private static com.google.protobuf.Descriptors.Descriptor
1920 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor;
1922 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1923 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable;
1924 private static com.google.protobuf.Descriptors.Descriptor
1925 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor;
1927 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1928 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable;
1929 private static com.google.protobuf.Descriptors.Descriptor
1930 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor;
1932 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1933 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable;
1935 public static com.google.protobuf.Descriptors.FileDescriptor
1939 private static com.google.protobuf.Descriptors.FileDescriptor
1942 java.lang.String[] descriptorData = {
1943 "\n\032ListenerRegistration.proto\022!org.openda" +
1944 "ylight.controller.mdsal\032\014Common.proto\"%\n" +
1945 "#CloseDataChangeListenerRegistration\"*\n(" +
1946 "CloseDataChangeListenerRegistrationReply" +
1947 "\"\255\001\n\026RegisterChangeListener\022U\n\026instanceI" +
1948 "dentifierPath\030\001 \002(\01325.org.opendaylight.c" +
1949 "ontroller.mdsal.InstanceIdentifier\022#\n\033da" +
1950 "taChangeListenerActorPath\030\002 \002(\t\022\027\n\017dataC" +
1951 "hangeScope\030\003 \002(\005\"?\n\033RegisterChangeListen" +
1952 "erReply\022 \n\030listenerRegistrationPath\030\001 \002(",
1953 "\tB[\n;org.opendaylight.controller.protobu" +
1954 "ff.messages.registrationB\034ListenerRegist" +
1957 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1958 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1959 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1960 com.google.protobuf.Descriptors.FileDescriptor root) {
1962 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor =
1963 getDescriptor().getMessageTypes().get(0);
1964 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_fieldAccessorTable = new
1965 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1966 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistration_descriptor,
1967 new java.lang.String[] { });
1968 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor =
1969 getDescriptor().getMessageTypes().get(1);
1970 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_fieldAccessorTable = new
1971 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1972 internal_static_org_opendaylight_controller_mdsal_CloseDataChangeListenerRegistrationReply_descriptor,
1973 new java.lang.String[] { });
1974 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor =
1975 getDescriptor().getMessageTypes().get(2);
1976 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable = new
1977 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1978 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor,
1979 new java.lang.String[] { "InstanceIdentifierPath", "DataChangeListenerActorPath", "DataChangeScope", });
1980 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor =
1981 getDescriptor().getMessageTypes().get(3);
1982 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable = new
1983 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1984 internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor,
1985 new java.lang.String[] { "ListenerRegistrationPath", });
1989 com.google.protobuf.Descriptors.FileDescriptor
1990 .internalBuildGeneratedFileFrom(descriptorData,
1991 new com.google.protobuf.Descriptors.FileDescriptor[] {
1992 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
1996 // @@protoc_insertion_point(outer_class_scope)