* <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}
dataChangeScope_ = input.readInt32();
break;
}
+ case 32: {
+ bitField0_ |= 0x00000008;
+ registerOnAllInstances_ = input.readBool();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
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() {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, dataChangeScope_);
}
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeBool(4, registerOnAllInstances_);
+ }
getUnknownFields().writeTo(output);
}
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;
bitField0_ = (bitField0_ & ~0x00000002);
dataChangeScope_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
+ registerOnAllInstances_ = false;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
to_bitField0_ |= 0x00000004;
}
result.dataChangeScope_ = dataChangeScope_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.registerOnAllInstances_ = registerOnAllInstances_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
if (other.hasDataChangeScope()) {
setDataChangeScope(other.getDataChangeScope());
}
+ if (other.hasRegisterOnAllInstances()) {
+ setRegisterOnAllInstances(other.getRegisterOnAllInstances());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
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)
}
"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() {
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