Remove DataChangeListener protobuff messages
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / protobuff / messages / registration / ListenerRegistrationMessages.java
index 77cbd4da46c811e43a3a2692a40f007ab51e5097..77f5ddb4f2072b07e81d9618a8d34b2a41674501 100644 (file)
@@ -683,6 +683,16 @@ public final class ListenerRegistrationMessages {
      * <code>required int32 dataChangeScope = 3;</code>
      */
     int getDataChangeScope();
+
+    // optional bool registerOnAllInstances = 4;
+    /**
+     * <code>optional bool registerOnAllInstances = 4;</code>
+     */
+    boolean hasRegisterOnAllInstances();
+    /**
+     * <code>optional bool registerOnAllInstances = 4;</code>
+     */
+    boolean getRegisterOnAllInstances();
   }
   /**
    * Protobuf type {@code org.opendaylight.controller.mdsal.RegisterChangeListener}
@@ -758,6 +768,11 @@ public final class ListenerRegistrationMessages {
               dataChangeScope_ = input.readInt32();
               break;
             }
+            case 32: {
+              bitField0_ |= 0x00000008;
+              registerOnAllInstances_ = input.readBool();
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -879,10 +894,27 @@ public final class ListenerRegistrationMessages {
       return dataChangeScope_;
     }
 
+    // optional bool registerOnAllInstances = 4;
+    public static final int REGISTERONALLINSTANCES_FIELD_NUMBER = 4;
+    private boolean registerOnAllInstances_;
+    /**
+     * <code>optional bool registerOnAllInstances = 4;</code>
+     */
+    public boolean hasRegisterOnAllInstances() {
+      return ((bitField0_ & 0x00000008) == 0x00000008);
+    }
+    /**
+     * <code>optional bool registerOnAllInstances = 4;</code>
+     */
+    public boolean getRegisterOnAllInstances() {
+      return registerOnAllInstances_;
+    }
+
     private void initFields() {
       instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
       dataChangeListenerActorPath_ = "";
       dataChangeScope_ = 0;
+      registerOnAllInstances_ = false;
     }
     private byte memoizedIsInitialized = -1;
     public final boolean isInitialized() {
@@ -921,6 +953,9 @@ public final class ListenerRegistrationMessages {
       if (((bitField0_ & 0x00000004) == 0x00000004)) {
         output.writeInt32(3, dataChangeScope_);
       }
+      if (((bitField0_ & 0x00000008) == 0x00000008)) {
+        output.writeBool(4, registerOnAllInstances_);
+      }
       getUnknownFields().writeTo(output);
     }
 
@@ -942,6 +977,10 @@ public final class ListenerRegistrationMessages {
         size += com.google.protobuf.CodedOutputStream
           .computeInt32Size(3, dataChangeScope_);
       }
+      if (((bitField0_ & 0x00000008) == 0x00000008)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(4, registerOnAllInstances_);
+      }
       size += getUnknownFields().getSerializedSize();
       memoizedSerializedSize = size;
       return size;
@@ -1069,6 +1108,8 @@ public final class ListenerRegistrationMessages {
         bitField0_ = (bitField0_ & ~0x00000002);
         dataChangeScope_ = 0;
         bitField0_ = (bitField0_ & ~0x00000004);
+        registerOnAllInstances_ = false;
+        bitField0_ = (bitField0_ & ~0x00000008);
         return this;
       }
 
@@ -1113,6 +1154,10 @@ public final class ListenerRegistrationMessages {
           to_bitField0_ |= 0x00000004;
         }
         result.dataChangeScope_ = dataChangeScope_;
+        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+          to_bitField0_ |= 0x00000008;
+        }
+        result.registerOnAllInstances_ = registerOnAllInstances_;
         result.bitField0_ = to_bitField0_;
         onBuilt();
         return result;
@@ -1140,6 +1185,9 @@ public final class ListenerRegistrationMessages {
         if (other.hasDataChangeScope()) {
           setDataChangeScope(other.getDataChangeScope());
         }
+        if (other.hasRegisterOnAllInstances()) {
+          setRegisterOnAllInstances(other.getRegisterOnAllInstances());
+        }
         this.mergeUnknownFields(other.getUnknownFields());
         return this;
       }
@@ -1407,6 +1455,39 @@ public final class ListenerRegistrationMessages {
         return this;
       }
 
+      // optional bool registerOnAllInstances = 4;
+      private boolean registerOnAllInstances_ ;
+      /**
+       * <code>optional bool registerOnAllInstances = 4;</code>
+       */
+      public boolean hasRegisterOnAllInstances() {
+        return ((bitField0_ & 0x00000008) == 0x00000008);
+      }
+      /**
+       * <code>optional bool registerOnAllInstances = 4;</code>
+       */
+      public boolean getRegisterOnAllInstances() {
+        return registerOnAllInstances_;
+      }
+      /**
+       * <code>optional bool registerOnAllInstances = 4;</code>
+       */
+      public Builder setRegisterOnAllInstances(boolean value) {
+        bitField0_ |= 0x00000008;
+        registerOnAllInstances_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>optional bool registerOnAllInstances = 4;</code>
+       */
+      public Builder clearRegisterOnAllInstances() {
+        bitField0_ = (bitField0_ & ~0x00000008);
+        registerOnAllInstances_ = false;
+        onChanged();
+        return this;
+      }
+
       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.RegisterChangeListener)
     }
 
@@ -1944,15 +2025,16 @@ public final class ListenerRegistrationMessages {
       "ylight.controller.mdsal\032\014Common.proto\"%\n" +
       "#CloseDataChangeListenerRegistration\"*\n(" +
       "CloseDataChangeListenerRegistrationReply" +
-      "\"\255\001\n\026RegisterChangeListener\022U\n\026instanceI" +
+      "\"\315\001\n\026RegisterChangeListener\022U\n\026instanceI" +
       "dentifierPath\030\001 \002(\01325.org.opendaylight.c" +
       "ontroller.mdsal.InstanceIdentifier\022#\n\033da" +
       "taChangeListenerActorPath\030\002 \002(\t\022\027\n\017dataC" +
-      "hangeScope\030\003 \002(\005\"?\n\033RegisterChangeListen" +
-      "erReply\022 \n\030listenerRegistrationPath\030\001 \002(",
-      "\tB[\n;org.opendaylight.controller.protobu" +
-      "ff.messages.registrationB\034ListenerRegist" +
-      "rationMessages"
+      "hangeScope\030\003 \002(\005\022\036\n\026registerOnAllInstanc" +
+      "es\030\004 \001(\010\"?\n\033RegisterChangeListenerReply\022",
+      " \n\030listenerRegistrationPath\030\001 \002(\tB[\n;org" +
+      ".opendaylight.controller.protobuff.messa" +
+      "ges.registrationB\034ListenerRegistrationMe" +
+      "ssages"
     };
     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -1976,7 +2058,7 @@ public final class ListenerRegistrationMessages {
           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_fieldAccessorTable = new
             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
               internal_static_org_opendaylight_controller_mdsal_RegisterChangeListener_descriptor,
-              new java.lang.String[] { "InstanceIdentifierPath", "DataChangeListenerActorPath", "DataChangeScope", });
+              new java.lang.String[] { "InstanceIdentifierPath", "DataChangeListenerActorPath", "DataChangeScope", "RegisterOnAllInstances", });
           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_descriptor =
             getDescriptor().getMessageTypes().get(3);
           internal_static_org_opendaylight_controller_mdsal_RegisterChangeListenerReply_fieldAccessorTable = new