X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fdatachange%2Fnotification%2FDataChangeListenerMessages.java;fp=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fdatachange%2Fnotification%2FDataChangeListenerMessages.java;h=5e9e454006b72bdc1a7a6500191d7248e4d5e63f;hb=673b6a8aa6e70ce3752af61611abf57152cd58fd;hp=0000000000000000000000000000000000000000;hpb=51f3a232788992c173ded1bc06e11b9f4ff26091;p=controller.git diff --git a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/cluster/datastore/datachange/notification/DataChangeListenerMessages.java b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/cluster/datastore/datachange/notification/DataChangeListenerMessages.java new file mode 100644 index 0000000000..5e9e454006 --- /dev/null +++ b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/cluster/datastore/datachange/notification/DataChangeListenerMessages.java @@ -0,0 +1,1213 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DataChangeListener.proto + +package org.opendaylight.controller.cluster.datastore.datachange.notification; + +public final class DataChangeListenerMessages { + private DataChangeListenerMessages() {} + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) {} + + public interface DataChangedOrBuilder extends + com.google.protobuf.MessageOrBuilder { + + // repeated string instanceIdentifierPathArguments = 1; + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + java.util.List getInstanceIdentifierPathArgumentsList(); + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + int getInstanceIdentifierPathArgumentsCount(); + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + java.lang.String getInstanceIdentifierPathArguments(int index); + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + com.google.protobuf.ByteString getInstanceIdentifierPathArgumentsBytes( + int index); + + // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + boolean hasNormalizedNodeXml(); + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNodeXml(); + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeXmlOrBuilder(); + } + /** + * Protobuf type {@code org.opendaylight.controller.mdsal.DataChanged} + */ + public static final class DataChanged extends + com.google.protobuf.GeneratedMessage implements DataChangedOrBuilder { + // Use DataChanged.newBuilder() to construct. + private DataChanged(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + + private DataChanged(boolean noInit) { + this.unknownFields = + com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + + private static final DataChanged defaultInstance; + + public static DataChanged getDefaultInstance() { + return defaultInstance; + } + + public DataChanged getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DataChanged(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, extensionRegistry, + tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + instanceIdentifierPathArguments_ = + new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + instanceIdentifierPathArguments_.add(input.readBytes()); + break; + } + case 18: { + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder subBuilder = + null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = normalizedNodeXml_.toBuilder(); + } + normalizedNodeXml_ = + input + .readMessage( + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(normalizedNodeXml_); + normalizedNodeXml_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + instanceIdentifierPathArguments_ = + new com.google.protobuf.UnmodifiableLazyStringList( + instanceIdentifierPathArguments_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChanged_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChanged_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged.class, + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public DataChanged parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataChanged(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // repeated string instanceIdentifierPathArguments = 1; + public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList instanceIdentifierPathArguments_; + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public java.util.List getInstanceIdentifierPathArgumentsList() { + return instanceIdentifierPathArguments_; + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public int getInstanceIdentifierPathArgumentsCount() { + return instanceIdentifierPathArguments_.size(); + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public java.lang.String getInstanceIdentifierPathArguments(int index) { + return instanceIdentifierPathArguments_.get(index); + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public com.google.protobuf.ByteString getInstanceIdentifierPathArgumentsBytes( + int index) { + return instanceIdentifierPathArguments_.getByteString(index); + } + + // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + public static final int NORMALIZEDNODEXML_FIELD_NUMBER = 2; + private org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml normalizedNodeXml_; + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public boolean hasNormalizedNodeXml() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNodeXml() { + return normalizedNodeXml_; + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeXmlOrBuilder() { + return normalizedNodeXml_; + } + + private void initFields() { + instanceIdentifierPathArguments_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + normalizedNodeXml_ = + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml + .getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) + return isInitialized == 1; + + if (!hasNormalizedNodeXml()) { + memoizedIsInitialized = 0; + return false; + } + if (!getNormalizedNodeXml().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < instanceIdentifierPathArguments_.size(); i++) { + output.writeBytes(1, instanceIdentifierPathArguments_.getByteString(i)); + } + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(2, normalizedNodeXml_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) + return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < instanceIdentifierPathArguments_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(instanceIdentifierPathArguments_ + .getByteString(i)); + } + size += dataSize; + size += 1 * getInstanceIdentifierPathArgumentsList().size(); + } + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, + normalizedNodeXml_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + java.io.InputStream input) throws java.io.IOException { + return PARSER.parseFrom(input); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return PARSER.parseFrom(input); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged prototype) { + return newBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return newBuilder(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code org.opendaylight.controller.mdsal.DataChanged} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChanged_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChanged_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged.class, + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged.Builder.class); + } + + // Construct using + // org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getNormalizedNodeXmlFieldBuilder(); + } + } + + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + instanceIdentifierPathArguments_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (normalizedNodeXmlBuilder_ == null) { + normalizedNodeXml_ = + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml + .getDefaultInstance(); + } else { + normalizedNodeXmlBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChanged_descriptor; + } + + public org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged getDefaultInstanceForType() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged + .getDefaultInstance(); + } + + public org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged build() { + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged buildPartial() { + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged result = + new org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + instanceIdentifierPathArguments_ = + new com.google.protobuf.UnmodifiableLazyStringList( + instanceIdentifierPathArguments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.instanceIdentifierPathArguments_ = + instanceIdentifierPathArguments_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000001; + } + if (normalizedNodeXmlBuilder_ == null) { + result.normalizedNodeXml_ = normalizedNodeXml_; + } else { + result.normalizedNodeXml_ = normalizedNodeXmlBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged) { + return mergeFrom((org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged other) { + if (other == org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged + .getDefaultInstance()) + return this; + if (!other.instanceIdentifierPathArguments_.isEmpty()) { + if (instanceIdentifierPathArguments_.isEmpty()) { + instanceIdentifierPathArguments_ = + other.instanceIdentifierPathArguments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInstanceIdentifierPathArgumentsIsMutable(); + instanceIdentifierPathArguments_ + .addAll(other.instanceIdentifierPathArguments_); + } + onChanged(); + } + if (other.hasNormalizedNodeXml()) { + mergeNormalizedNodeXml(other.getNormalizedNodeXml()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + if (!hasNormalizedNodeXml()) { + + return false; + } + if (!getNormalizedNodeXml().isInitialized()) { + + return false; + } + return true; + } + + public Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChanged) e + .getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + // repeated string instanceIdentifierPathArguments = 1; + private com.google.protobuf.LazyStringList instanceIdentifierPathArguments_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureInstanceIdentifierPathArgumentsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + instanceIdentifierPathArguments_ = + new com.google.protobuf.LazyStringArrayList( + instanceIdentifierPathArguments_); + bitField0_ |= 0x00000001; + } + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public java.util.List getInstanceIdentifierPathArgumentsList() { + return java.util.Collections + .unmodifiableList(instanceIdentifierPathArguments_); + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public int getInstanceIdentifierPathArgumentsCount() { + return instanceIdentifierPathArguments_.size(); + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public java.lang.String getInstanceIdentifierPathArguments(int index) { + return instanceIdentifierPathArguments_.get(index); + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public com.google.protobuf.ByteString getInstanceIdentifierPathArgumentsBytes( + int index) { + return instanceIdentifierPathArguments_.getByteString(index); + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public Builder setInstanceIdentifierPathArguments(int index, + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstanceIdentifierPathArgumentsIsMutable(); + instanceIdentifierPathArguments_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public Builder addInstanceIdentifierPathArguments(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstanceIdentifierPathArgumentsIsMutable(); + instanceIdentifierPathArguments_.add(value); + onChanged(); + return this; + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public Builder addAllInstanceIdentifierPathArguments( + java.lang.Iterable values) { + ensureInstanceIdentifierPathArgumentsIsMutable(); + super.addAll(values, instanceIdentifierPathArguments_); + onChanged(); + return this; + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public Builder clearInstanceIdentifierPathArguments() { + instanceIdentifierPathArguments_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * repeated string instanceIdentifierPathArguments = 1; + */ + public Builder addInstanceIdentifierPathArgumentsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstanceIdentifierPathArgumentsIsMutable(); + instanceIdentifierPathArguments_.add(value); + onChanged(); + return this; + } + + // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + private org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml normalizedNodeXml_ = + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml + .getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder normalizedNodeXmlBuilder_; + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public boolean hasNormalizedNodeXml() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNodeXml() { + if (normalizedNodeXmlBuilder_ == null) { + return normalizedNodeXml_; + } else { + return normalizedNodeXmlBuilder_.getMessage(); + } + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public Builder setNormalizedNodeXml( + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml value) { + if (normalizedNodeXmlBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + normalizedNodeXml_ = value; + onChanged(); + } else { + normalizedNodeXmlBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public Builder setNormalizedNodeXml( + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder builderForValue) { + if (normalizedNodeXmlBuilder_ == null) { + normalizedNodeXml_ = builderForValue.build(); + onChanged(); + } else { + normalizedNodeXmlBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public Builder mergeNormalizedNodeXml( + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml value) { + if (normalizedNodeXmlBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002) + && normalizedNodeXml_ != org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml + .getDefaultInstance()) { + normalizedNodeXml_ = + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml + .newBuilder(normalizedNodeXml_).mergeFrom(value) + .buildPartial(); + } else { + normalizedNodeXml_ = value; + } + onChanged(); + } else { + normalizedNodeXmlBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public Builder clearNormalizedNodeXml() { + if (normalizedNodeXmlBuilder_ == null) { + normalizedNodeXml_ = + org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml + .getDefaultInstance(); + onChanged(); + } else { + normalizedNodeXmlBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder getNormalizedNodeXmlBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getNormalizedNodeXmlFieldBuilder().getBuilder(); + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeXmlOrBuilder() { + if (normalizedNodeXmlBuilder_ != null) { + return normalizedNodeXmlBuilder_.getMessageOrBuilder(); + } else { + return normalizedNodeXml_; + } + } + + /** + * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNodeXml = 2; + */ + private com.google.protobuf.SingleFieldBuilder getNormalizedNodeXmlFieldBuilder() { + if (normalizedNodeXmlBuilder_ == null) { + normalizedNodeXmlBuilder_ = + new com.google.protobuf.SingleFieldBuilder( + normalizedNodeXml_, getParentForChildren(), isClean()); + normalizedNodeXml_ = null; + } + return normalizedNodeXmlBuilder_; + } + + // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataChanged) + } + + static { + defaultInstance = new DataChanged(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataChanged) + } + + public interface DataChangedReplyOrBuilder extends + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code org.opendaylight.controller.mdsal.DataChangedReply} + */ + public static final class DataChangedReply extends + com.google.protobuf.GeneratedMessage implements DataChangedReplyOrBuilder { + // Use DataChangedReply.newBuilder() to construct. + private DataChangedReply( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + + private DataChangedReply(boolean noInit) { + this.unknownFields = + com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + + private static final DataChangedReply defaultInstance; + + public static DataChangedReply getDefaultInstance() { + return defaultInstance; + } + + public DataChangedReply getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DataChangedReply(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, extensionRegistry, + tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChangedReply_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChangedReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply.class, + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public DataChangedReply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataChangedReply(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private void initFields() {} + + private byte memoizedIsInitialized = -1; + + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) + return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) + return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + java.io.InputStream input) throws java.io.IOException { + return PARSER.parseFrom(input); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return PARSER.parseFrom(input); + } + + public static org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply prototype) { + return newBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return newBuilder(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code org.opendaylight.controller.mdsal.DataChangedReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChangedReply_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChangedReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply.class, + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply.Builder.class); + } + + // Construct using + // org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.internal_static_org_opendaylight_controller_mdsal_DataChangedReply_descriptor; + } + + public org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply getDefaultInstanceForType() { + return org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply + .getDefaultInstance(); + } + + public org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply build() { + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply buildPartial() { + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply result = + new org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply( + this); + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply) { + return mergeFrom((org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply other) { + if (other == org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply + .getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (org.opendaylight.controller.cluster.datastore.datachange.notification.DataChangeListenerMessages.DataChangedReply) e + .getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataChangedReply) + } + + static { + defaultInstance = new DataChangedReply(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataChangedReply) + } + + private static com.google.protobuf.Descriptors.Descriptor internal_static_org_opendaylight_controller_mdsal_DataChanged_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_opendaylight_controller_mdsal_DataChanged_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor internal_static_org_opendaylight_controller_mdsal_DataChangedReply_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_opendaylight_controller_mdsal_DataChangedReply_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { + java.lang.String[] descriptorData = + {"\n\030DataChangeListener.proto\022!org.opendayl" + + "ight.controller.mdsal\032\032SimpleNormalizedN" + + "ode.proto\"\207\001\n\013DataChanged\022\'\n\037instanceIde" + + "ntifierPathArguments\030\001 \003(\t\022O\n\021normalized" + + "NodeXml\030\002 \002(\01324.org.opendaylight.control" + + "ler.mdsal.NormalizedNodeXml\"\022\n\020DataChang" + + "edReplyBc\nEorg.opendaylight.controller.c" + + "luster.datastore.datachange.notification" + + "B\032DataChangeListenerMessages"}; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + internal_static_org_opendaylight_controller_mdsal_DataChanged_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_org_opendaylight_controller_mdsal_DataChanged_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_org_opendaylight_controller_mdsal_DataChanged_descriptor, + new java.lang.String[] {"InstanceIdentifierPathArguments", + "NormalizedNodeXml",}); + internal_static_org_opendaylight_controller_mdsal_DataChangedReply_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_org_opendaylight_controller_mdsal_DataChangedReply_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_org_opendaylight_controller_mdsal_DataChangedReply_descriptor, + new java.lang.String[] {}); + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[]{org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage + .getDescriptor(),}, assigner); + } + + // @@protoc_insertion_point(outer_class_scope) +}