X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotobuff%2Fmessages%2Fcommon%2FNormalizedNodeMessages.java;h=3926bc7dc347d611a67854ab14015734424d749b;hb=refs%2Fchanges%2F68%2F10268%2F9;hp=35c2940be3e05aa9e03d8c922ecffde2cd0e823a;hpb=c911a187bdcd6160c1929e53466cd9de681c2098;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java index 35c2940be3..3926bc7dc3 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/protobuff/messages/common/NormalizedNodeMessages.java @@ -799,23 +799,809 @@ public final class NormalizedNodeMessages { // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Attribute) } + public interface PathArgumentAttributeOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .org.opendaylight.controller.mdsal.QName name = 1; + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + boolean hasName(); + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName(); + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder(); + + // optional string value = 2; + /** + * optional string value = 2; + */ + boolean hasValue(); + /** + * optional string value = 2; + */ + java.lang.String getValue(); + /** + * optional string value = 2; + */ + com.google.protobuf.ByteString + getValueBytes(); + + // optional int32 type = 3; + /** + * optional int32 type = 3; + */ + boolean hasType(); + /** + * optional int32 type = 3; + */ + int getType(); + } + /** + * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute} + */ + public static final class PathArgumentAttribute extends + com.google.protobuf.GeneratedMessage + implements PathArgumentAttributeOrBuilder { + // Use PathArgumentAttribute.newBuilder() to construct. + private PathArgumentAttribute(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private PathArgumentAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final PathArgumentAttribute defaultInstance; + public static PathArgumentAttribute getDefaultInstance() { + return defaultInstance; + } + + public PathArgumentAttribute getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PathArgumentAttribute( + 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: { + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = name_.toBuilder(); + } + name_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(name_); + name_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + bitField0_ |= 0x00000002; + value_ = input.readBytes(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + type_ = input.readInt32(); + 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.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PathArgumentAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PathArgumentAttribute(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional .org.opendaylight.controller.mdsal.QName name = 1; + public static final int NAME_FIELD_NUMBER = 1; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_; + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() { + return name_; + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() { + return name_; + } + + // optional string value = 2; + public static final int VALUE_FIELD_NUMBER = 2; + private java.lang.Object value_; + /** + * optional string value = 2; + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string value = 2; + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + value_ = s; + } + return s; + } + } + /** + * optional string value = 2; + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional int32 type = 3; + public static final int TYPE_FIELD_NUMBER = 3; + private int type_; + /** + * optional int32 type = 3; + */ + public boolean hasType() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 type = 3; + */ + public int getType() { + return type_; + } + + private void initFields() { + name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + value_ = ""; + type_ = 0; + } + 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(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, name_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getValueBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeInt32(3, type_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, name_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getValueBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, type_); + } + 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.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute 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.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute 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.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute 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.PathArgumentAttribute} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class); + } + + // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getNameFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (nameBuilder_ == null) { + name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + } else { + nameBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + value_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + type_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor; + } + + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getDefaultInstanceForType() { + return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance(); + } + + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute build() { + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute buildPartial() { + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + if (nameBuilder_ == null) { + result.name_ = name_; + } else { + result.name_ = nameBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.value_ = value_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.type_ = type_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) { + return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute other) { + if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()) return this; + if (other.hasName()) { + mergeName(other.getName()); + } + if (other.hasValue()) { + bitField0_ |= 0x00000002; + value_ = other.value_; + onChanged(); + } + if (other.hasType()) { + setType(other.getType()); + } + 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.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional .org.opendaylight.controller.mdsal.QName name = 1; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> nameBuilder_; + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() { + if (nameBuilder_ == null) { + return name_; + } else { + return nameBuilder_.getMessage(); + } + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public Builder setName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) { + if (nameBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + onChanged(); + } else { + nameBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public Builder setName( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) { + if (nameBuilder_ == null) { + name_ = builderForValue.build(); + onChanged(); + } else { + nameBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public Builder mergeName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) { + if (nameBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + name_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) { + name_ = + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(name_).mergeFrom(value).buildPartial(); + } else { + name_ = value; + } + onChanged(); + } else { + nameBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public Builder clearName() { + if (nameBuilder_ == null) { + name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + onChanged(); + } else { + nameBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNameBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getNameFieldBuilder().getBuilder(); + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() { + if (nameBuilder_ != null) { + return nameBuilder_.getMessageOrBuilder(); + } else { + return name_; + } + } + /** + * optional .org.opendaylight.controller.mdsal.QName name = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> + getNameFieldBuilder() { + if (nameBuilder_ == null) { + nameBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>( + name_, + getParentForChildren(), + isClean()); + name_ = null; + } + return nameBuilder_; + } + + // optional string value = 2; + private java.lang.Object value_ = ""; + /** + * optional string value = 2; + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string value = 2; + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string value = 2; + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string value = 2; + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + /** + * optional string value = 2; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = getDefaultInstance().getValue(); + onChanged(); + return this; + } + /** + * optional string value = 2; + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + + // optional int32 type = 3; + private int type_ ; + /** + * optional int32 type = 3; + */ + public boolean hasType() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 type = 3; + */ + public int getType() { + return type_; + } + /** + * optional int32 type = 3; + */ + public Builder setType(int value) { + bitField0_ |= 0x00000004; + type_ = value; + onChanged(); + return this; + } + /** + * optional int32 type = 3; + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000004); + type_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute) + } + + static { + defaultInstance = new PathArgumentAttribute(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute) + } + public interface QNameOrBuilder extends com.google.protobuf.MessageOrBuilder { - // required string value = 1; + // optional string value = 1; + /** + * optional string value = 1; + * + *
+     * @deprecated
+     * 
+ */ + boolean hasValue(); + /** + * optional string value = 1; + * + *
+     * @deprecated
+     * 
+ */ + java.lang.String getValue(); + /** + * optional string value = 1; + * + *
+     * @deprecated
+     * 
+ */ + com.google.protobuf.ByteString + getValueBytes(); + + // optional int32 namespace = 2; /** - * required string value = 1; + * optional int32 namespace = 2; */ - boolean hasValue(); + boolean hasNamespace(); /** - * required string value = 1; + * optional int32 namespace = 2; */ - java.lang.String getValue(); + int getNamespace(); + + // optional int32 revision = 3; /** - * required string value = 1; + * optional int32 revision = 3; */ - com.google.protobuf.ByteString - getValueBytes(); + boolean hasRevision(); + /** + * optional int32 revision = 3; + */ + int getRevision(); + + // optional int32 localName = 4; + /** + * optional int32 localName = 4; + */ + boolean hasLocalName(); + /** + * optional int32 localName = 4; + */ + int getLocalName(); } /** * Protobuf type {@code org.opendaylight.controller.mdsal.QName} @@ -873,6 +1659,21 @@ public final class NormalizedNodeMessages { value_ = input.readBytes(); break; } + case 16: { + bitField0_ |= 0x00000002; + namespace_ = input.readInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + revision_ = input.readInt32(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + localName_ = input.readInt32(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -913,17 +1714,25 @@ public final class NormalizedNodeMessages { } private int bitField0_; - // required string value = 1; + // optional string value = 1; public static final int VALUE_FIELD_NUMBER = 1; private java.lang.Object value_; /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ public boolean hasValue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -940,7 +1749,11 @@ public final class NormalizedNodeMessages { } } /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ public com.google.protobuf.ByteString getValueBytes() { @@ -956,18 +1769,65 @@ public final class NormalizedNodeMessages { } } + // optional int32 namespace = 2; + public static final int NAMESPACE_FIELD_NUMBER = 2; + private int namespace_; + /** + * optional int32 namespace = 2; + */ + public boolean hasNamespace() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 namespace = 2; + */ + public int getNamespace() { + return namespace_; + } + + // optional int32 revision = 3; + public static final int REVISION_FIELD_NUMBER = 3; + private int revision_; + /** + * optional int32 revision = 3; + */ + public boolean hasRevision() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 revision = 3; + */ + public int getRevision() { + return revision_; + } + + // optional int32 localName = 4; + public static final int LOCALNAME_FIELD_NUMBER = 4; + private int localName_; + /** + * optional int32 localName = 4; + */ + public boolean hasLocalName() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 localName = 4; + */ + public int getLocalName() { + return localName_; + } + private void initFields() { value_ = ""; + namespace_ = 0; + revision_ = 0; + localName_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasValue()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } @@ -978,6 +1838,15 @@ public final class NormalizedNodeMessages { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getValueBytes()); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, namespace_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeInt32(3, revision_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeInt32(4, localName_); + } getUnknownFields().writeTo(output); } @@ -991,6 +1860,18 @@ public final class NormalizedNodeMessages { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getValueBytes()); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, namespace_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, revision_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, localName_); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -1109,6 +1990,12 @@ public final class NormalizedNodeMessages { super.clear(); value_ = ""; bitField0_ = (bitField0_ & ~0x00000001); + namespace_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + revision_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + localName_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -1141,6 +2028,18 @@ public final class NormalizedNodeMessages { to_bitField0_ |= 0x00000001; } result.value_ = value_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.namespace_ = namespace_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.revision_ = revision_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.localName_ = localName_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -1162,15 +2061,20 @@ public final class NormalizedNodeMessages { value_ = other.value_; onChanged(); } + if (other.hasNamespace()) { + setNamespace(other.getNamespace()); + } + if (other.hasRevision()) { + setRevision(other.getRevision()); + } + if (other.hasLocalName()) { + setLocalName(other.getLocalName()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { - if (!hasValue()) { - - return false; - } return true; } @@ -1193,16 +2097,24 @@ public final class NormalizedNodeMessages { } private int bitField0_; - // required string value = 1; + // optional string value = 1; private java.lang.Object value_ = ""; /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public boolean hasValue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -1216,7 +2128,11 @@ public final class NormalizedNodeMessages { } } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public com.google.protobuf.ByteString getValueBytes() { @@ -1232,7 +2148,11 @@ public final class NormalizedNodeMessages { } } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public Builder setValue( java.lang.String value) { @@ -1245,7 +2165,11 @@ public final class NormalizedNodeMessages { return this; } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1254,7 +2178,11 @@ public final class NormalizedNodeMessages { return this; } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public Builder setValueBytes( com.google.protobuf.ByteString value) { @@ -1267,6 +2195,105 @@ public final class NormalizedNodeMessages { return this; } + // optional int32 namespace = 2; + private int namespace_ ; + /** + * optional int32 namespace = 2; + */ + public boolean hasNamespace() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 namespace = 2; + */ + public int getNamespace() { + return namespace_; + } + /** + * optional int32 namespace = 2; + */ + public Builder setNamespace(int value) { + bitField0_ |= 0x00000002; + namespace_ = value; + onChanged(); + return this; + } + /** + * optional int32 namespace = 2; + */ + public Builder clearNamespace() { + bitField0_ = (bitField0_ & ~0x00000002); + namespace_ = 0; + onChanged(); + return this; + } + + // optional int32 revision = 3; + private int revision_ ; + /** + * optional int32 revision = 3; + */ + public boolean hasRevision() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 revision = 3; + */ + public int getRevision() { + return revision_; + } + /** + * optional int32 revision = 3; + */ + public Builder setRevision(int value) { + bitField0_ |= 0x00000004; + revision_ = value; + onChanged(); + return this; + } + /** + * optional int32 revision = 3; + */ + public Builder clearRevision() { + bitField0_ = (bitField0_ & ~0x00000004); + revision_ = 0; + onChanged(); + return this; + } + + // optional int32 localName = 4; + private int localName_ ; + /** + * optional int32 localName = 4; + */ + public boolean hasLocalName() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 localName = 4; + */ + public int getLocalName() { + return localName_; + } + /** + * optional int32 localName = 4; + */ + public Builder setLocalName(int value) { + bitField0_ |= 0x00000008; + localName_ = value; + onChanged(); + return this; + } + /** + * optional int32 localName = 4; + */ + public Builder clearLocalName() { + bitField0_ = (bitField0_ & ~0x00000008); + localName_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.QName) } @@ -1281,17 +2308,29 @@ public final class NormalizedNodeMessages { public interface PathArgumentOrBuilder extends com.google.protobuf.MessageOrBuilder { - // required string value = 1; + // optional string value = 1; /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ boolean hasValue(); /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ java.lang.String getValue(); /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ com.google.protobuf.ByteString getValueBytes(); @@ -1301,7 +2340,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-     *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+     * @deprecated
      * 
*/ boolean hasType(); @@ -1309,7 +2348,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-     *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+     * @deprecated
      * 
*/ java.lang.String getType(); @@ -1317,7 +2356,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-     *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+     * @deprecated
      * 
*/ com.google.protobuf.ByteString @@ -1337,30 +2376,85 @@ public final class NormalizedNodeMessages { */ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder(); - // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + java.util.List + getAttributeList(); + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index); + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + int getAttributeCount(); + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + java.util.List + getAttributeOrBuilderList(); + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder( + int index); + + // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ java.util.List getAttributesList(); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ int getAttributesCount(); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ java.util.List getAttributesOrBuilderList(); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder( int index); + + // optional int32 intType = 6; + /** + * optional int32 intType = 6; + */ + boolean hasIntType(); + /** + * optional int32 intType = 6; + */ + int getIntType(); } /** * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument} @@ -1438,12 +2532,25 @@ public final class NormalizedNodeMessages { } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - attributes_ = new java.util.ArrayList(); + attribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } + attribute_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.PARSER, extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + attributes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry)); break; } + case 48: { + bitField0_ |= 0x00000008; + intType_ = input.readInt32(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1453,6 +2560,9 @@ public final class NormalizedNodeMessages { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + attribute_ = java.util.Collections.unmodifiableList(attribute_); + } + if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); } this.unknownFields = unknownFields.build(); @@ -1487,17 +2597,25 @@ public final class NormalizedNodeMessages { } private int bitField0_; - // required string value = 1; + // optional string value = 1; public static final int VALUE_FIELD_NUMBER = 1; private java.lang.Object value_; /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ public boolean hasValue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -1514,7 +2632,11 @@ public final class NormalizedNodeMessages { } } /** - * required string value = 1; + * optional string value = 1; + * + *
+     * @deprecated
+     * 
*/ public com.google.protobuf.ByteString getValueBytes() { @@ -1537,7 +2659,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-     *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+     * @deprecated
      * 
*/ public boolean hasType() { @@ -1547,7 +2669,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-     *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+     * @deprecated
      * 
*/ public java.lang.String getType() { @@ -1568,7 +2690,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-     *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+     * @deprecated
      * 
*/ public com.google.protobuf.ByteString @@ -1584,86 +2706,150 @@ public final class NormalizedNodeMessages { return (com.google.protobuf.ByteString) ref; } } - - // optional .org.opendaylight.controller.mdsal.QName nodeType = 3; - public static final int NODETYPE_FIELD_NUMBER = 3; - private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_; + + // optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + public static final int NODETYPE_FIELD_NUMBER = 3; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_; + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public boolean hasNodeType() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() { + return nodeType_; + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() { + return nodeType_; + } + + // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + public static final int ATTRIBUTE_FIELD_NUMBER = 4; + private java.util.List attribute_; + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public java.util.List getAttributeList() { + return attribute_; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public java.util.List + getAttributeOrBuilderList() { + return attribute_; + } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public boolean hasNodeType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + public int getAttributeCount() { + return attribute_.size(); } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() { - return nodeType_; + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) { + return attribute_.get(index); } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() { - return nodeType_; + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder( + int index) { + return attribute_.get(index); } - // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; - public static final int ATTRIBUTES_FIELD_NUMBER = 4; + // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + public static final int ATTRIBUTES_FIELD_NUMBER = 5; private java.util.List attributes_; /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ public java.util.List getAttributesList() { return attributes_; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ public java.util.List getAttributesOrBuilderList() { return attributes_; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ public int getAttributesCount() { return attributes_.size(); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) { return attributes_.get(index); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+     * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+     * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder( int index) { return attributes_.get(index); } + // optional int32 intType = 6; + public static final int INTTYPE_FIELD_NUMBER = 6; + private int intType_; + /** + * optional int32 intType = 6; + */ + public boolean hasIntType() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 intType = 6; + */ + public int getIntType() { + return intType_; + } + private void initFields() { value_ = ""; type_ = ""; nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + attribute_ = java.util.Collections.emptyList(); attributes_ = java.util.Collections.emptyList(); + intType_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasValue()) { - memoizedIsInitialized = 0; - return false; - } - if (hasNodeType()) { - if (!getNodeType().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } for (int i = 0; i < getAttributesCount(); i++) { if (!getAttributes(i).isInitialized()) { memoizedIsInitialized = 0; @@ -1686,8 +2872,14 @@ public final class NormalizedNodeMessages { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, nodeType_); } + for (int i = 0; i < attribute_.size(); i++) { + output.writeMessage(4, attribute_.get(i)); + } for (int i = 0; i < attributes_.size(); i++) { - output.writeMessage(4, attributes_.get(i)); + output.writeMessage(5, attributes_.get(i)); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeInt32(6, intType_); } getUnknownFields().writeTo(output); } @@ -1710,9 +2902,17 @@ public final class NormalizedNodeMessages { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, nodeType_); } + for (int i = 0; i < attribute_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, attribute_.get(i)); + } for (int i = 0; i < attributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, attributes_.get(i)); + .computeMessageSize(5, attributes_.get(i)); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, intType_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -1823,6 +3023,7 @@ public final class NormalizedNodeMessages { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getNodeTypeFieldBuilder(); + getAttributeFieldBuilder(); getAttributesFieldBuilder(); } } @@ -1842,12 +3043,20 @@ public final class NormalizedNodeMessages { nodeTypeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); + if (attributeBuilder_ == null) { + attribute_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + attributeBuilder_.clear(); + } if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { attributesBuilder_.clear(); } + intType_ = 0; + bitField0_ = (bitField0_ & ~0x00000020); return this; } @@ -1892,15 +3101,28 @@ public final class NormalizedNodeMessages { } else { result.nodeType_ = nodeTypeBuilder_.build(); } - if (attributesBuilder_ == null) { + if (attributeBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { - attributes_ = java.util.Collections.unmodifiableList(attributes_); + attribute_ = java.util.Collections.unmodifiableList(attribute_); bitField0_ = (bitField0_ & ~0x00000008); } + result.attribute_ = attribute_; + } else { + result.attribute_ = attributeBuilder_.build(); + } + if (attributesBuilder_ == null) { + if (((bitField0_ & 0x00000010) == 0x00000010)) { + attributes_ = java.util.Collections.unmodifiableList(attributes_); + bitField0_ = (bitField0_ & ~0x00000010); + } result.attributes_ = attributes_; } else { result.attributes_ = attributesBuilder_.build(); } + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000008; + } + result.intType_ = intType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -1930,11 +3152,37 @@ public final class NormalizedNodeMessages { if (other.hasNodeType()) { mergeNodeType(other.getNodeType()); } + if (attributeBuilder_ == null) { + if (!other.attribute_.isEmpty()) { + if (attribute_.isEmpty()) { + attribute_ = other.attribute_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureAttributeIsMutable(); + attribute_.addAll(other.attribute_); + } + onChanged(); + } + } else { + if (!other.attribute_.isEmpty()) { + if (attributeBuilder_.isEmpty()) { + attributeBuilder_.dispose(); + attributeBuilder_ = null; + attribute_ = other.attribute_; + bitField0_ = (bitField0_ & ~0x00000008); + attributeBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getAttributeFieldBuilder() : null; + } else { + attributeBuilder_.addAllMessages(other.attribute_); + } + } + } if (attributesBuilder_ == null) { if (!other.attributes_.isEmpty()) { if (attributes_.isEmpty()) { attributes_ = other.attributes_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAttributesIsMutable(); attributes_.addAll(other.attributes_); @@ -1947,7 +3195,7 @@ public final class NormalizedNodeMessages { attributesBuilder_.dispose(); attributesBuilder_ = null; attributes_ = other.attributes_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); attributesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttributesFieldBuilder() : null; @@ -1956,21 +3204,14 @@ public final class NormalizedNodeMessages { } } } + if (other.hasIntType()) { + setIntType(other.getIntType()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { - if (!hasValue()) { - - return false; - } - if (hasNodeType()) { - if (!getNodeType().isInitialized()) { - - return false; - } - } for (int i = 0; i < getAttributesCount(); i++) { if (!getAttributes(i).isInitialized()) { @@ -1999,16 +3240,24 @@ public final class NormalizedNodeMessages { } private int bitField0_; - // required string value = 1; + // optional string value = 1; private java.lang.Object value_ = ""; /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public boolean hasValue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -2022,7 +3271,11 @@ public final class NormalizedNodeMessages { } } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public com.google.protobuf.ByteString getValueBytes() { @@ -2038,7 +3291,11 @@ public final class NormalizedNodeMessages { } } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public Builder setValue( java.lang.String value) { @@ -2051,7 +3308,11 @@ public final class NormalizedNodeMessages { return this; } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2060,7 +3321,11 @@ public final class NormalizedNodeMessages { return this; } /** - * required string value = 1; + * optional string value = 1; + * + *
+       * @deprecated
+       * 
*/ public Builder setValueBytes( com.google.protobuf.ByteString value) { @@ -2079,7 +3344,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-       *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+       * @deprecated
        * 
*/ public boolean hasType() { @@ -2089,7 +3354,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-       *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+       * @deprecated
        * 
*/ public java.lang.String getType() { @@ -2107,7 +3372,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-       *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+       * @deprecated
        * 
*/ public com.google.protobuf.ByteString @@ -2127,7 +3392,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-       *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+       * @deprecated
        * 
*/ public Builder setType( @@ -2144,7 +3409,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-       *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+       * @deprecated
        * 
*/ public Builder clearType() { @@ -2157,7 +3422,7 @@ public final class NormalizedNodeMessages { * optional string type = 2; * *
-       *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+       * @deprecated
        * 
*/ public Builder setTypeBytes( @@ -2216,85 +3481,325 @@ public final class NormalizedNodeMessages { nodeType_ = builderForValue.build(); onChanged(); } else { - nodeTypeBuilder_.setMessage(builderForValue.build()); + nodeTypeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public Builder mergeNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) { + if (nodeTypeBuilder_ == null) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + nodeType_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) { + nodeType_ = + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(nodeType_).mergeFrom(value).buildPartial(); + } else { + nodeType_ = value; + } + onChanged(); + } else { + nodeTypeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public Builder clearNodeType() { + if (nodeTypeBuilder_ == null) { + nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + onChanged(); + } else { + nodeTypeBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNodeTypeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getNodeTypeFieldBuilder().getBuilder(); + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() { + if (nodeTypeBuilder_ != null) { + return nodeTypeBuilder_.getMessageOrBuilder(); + } else { + return nodeType_; + } + } + /** + * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> + getNodeTypeFieldBuilder() { + if (nodeTypeBuilder_ == null) { + nodeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>( + nodeType_, + getParentForChildren(), + isClean()); + nodeType_ = null; + } + return nodeTypeBuilder_; + } + + // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + private java.util.List attribute_ = + java.util.Collections.emptyList(); + private void ensureAttributeIsMutable() { + if (!((bitField0_ & 0x00000008) == 0x00000008)) { + attribute_ = new java.util.ArrayList(attribute_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder> attributeBuilder_; + + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public java.util.List getAttributeList() { + if (attributeBuilder_ == null) { + return java.util.Collections.unmodifiableList(attribute_); + } else { + return attributeBuilder_.getMessageList(); + } + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public int getAttributeCount() { + if (attributeBuilder_ == null) { + return attribute_.size(); + } else { + return attributeBuilder_.getCount(); + } + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) { + if (attributeBuilder_ == null) { + return attribute_.get(index); + } else { + return attributeBuilder_.getMessage(index); + } + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder setAttribute( + int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) { + if (attributeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttributeIsMutable(); + attribute_.set(index, value); + onChanged(); + } else { + attributeBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder setAttribute( + int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) { + if (attributeBuilder_ == null) { + ensureAttributeIsMutable(); + attribute_.set(index, builderForValue.build()); + onChanged(); + } else { + attributeBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder addAttribute(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) { + if (attributeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttributeIsMutable(); + attribute_.add(value); + onChanged(); + } else { + attributeBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder addAttribute( + int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) { + if (attributeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttributeIsMutable(); + attribute_.add(index, value); + onChanged(); + } else { + attributeBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder addAttribute( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) { + if (attributeBuilder_ == null) { + ensureAttributeIsMutable(); + attribute_.add(builderForValue.build()); + onChanged(); + } else { + attributeBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder addAttribute( + int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) { + if (attributeBuilder_ == null) { + ensureAttributeIsMutable(); + attribute_.add(index, builderForValue.build()); + onChanged(); + } else { + attributeBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public Builder addAllAttribute( + java.lang.Iterable values) { + if (attributeBuilder_ == null) { + ensureAttributeIsMutable(); + super.addAll(values, attribute_); + onChanged(); + } else { + attributeBuilder_.addAllMessages(values); } - bitField0_ |= 0x00000004; return this; } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public Builder mergeNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) { - if (nodeTypeBuilder_ == null) { - if (((bitField0_ & 0x00000004) == 0x00000004) && - nodeType_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) { - nodeType_ = - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(nodeType_).mergeFrom(value).buildPartial(); - } else { - nodeType_ = value; - } + public Builder clearAttribute() { + if (attributeBuilder_ == null) { + attribute_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { - nodeTypeBuilder_.mergeFrom(value); + attributeBuilder_.clear(); } - bitField0_ |= 0x00000004; return this; } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public Builder clearNodeType() { - if (nodeTypeBuilder_ == null) { - nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance(); + public Builder removeAttribute(int index) { + if (attributeBuilder_ == null) { + ensureAttributeIsMutable(); + attribute_.remove(index); onChanged(); } else { - nodeTypeBuilder_.clear(); + attributeBuilder_.remove(index); } - bitField0_ = (bitField0_ & ~0x00000004); return this; } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNodeTypeBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getNodeTypeFieldBuilder().getBuilder(); + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder getAttributeBuilder( + int index) { + return getAttributeFieldBuilder().getBuilder(index); } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() { - if (nodeTypeBuilder_ != null) { - return nodeTypeBuilder_.getMessageOrBuilder(); + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder( + int index) { + if (attributeBuilder_ == null) { + return attribute_.get(index); } else { + return attributeBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public java.util.List + getAttributeOrBuilderList() { + if (attributeBuilder_ != null) { + return attributeBuilder_.getMessageOrBuilderList(); } else { - return nodeType_; + return java.util.Collections.unmodifiableList(attribute_); } } /** - * optional .org.opendaylight.controller.mdsal.QName nodeType = 3; + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; */ - private com.google.protobuf.SingleFieldBuilder< - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> - getNodeTypeFieldBuilder() { - if (nodeTypeBuilder_ == null) { - nodeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>( - nodeType_, + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder() { + return getAttributeFieldBuilder().addBuilder( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()); + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder( + int index) { + return getAttributeFieldBuilder().addBuilder( + index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()); + } + /** + * repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4; + */ + public java.util.List + getAttributeBuilderList() { + return getAttributeFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder> + getAttributeFieldBuilder() { + if (attributeBuilder_ == null) { + attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>( + attribute_, + ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); - nodeType_ = null; + attribute_ = null; } - return nodeTypeBuilder_; + return attributeBuilder_; } - // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; private java.util.List attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000010) == 0x00000010)) { attributes_ = new java.util.ArrayList(attributes_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; } } @@ -2302,7 +3807,11 @@ public final class NormalizedNodeMessages { org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder> attributesBuilder_; /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public java.util.List getAttributesList() { if (attributesBuilder_ == null) { @@ -2312,7 +3821,11 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -2322,7 +3835,11 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -2332,7 +3849,11 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder setAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) { @@ -2349,7 +3870,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder setAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) { @@ -2363,7 +3888,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) { if (attributesBuilder_ == null) { @@ -2379,7 +3908,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder addAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) { @@ -2396,7 +3929,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder addAttributes( org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) { @@ -2410,7 +3947,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder addAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) { @@ -2424,7 +3965,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder addAllAttributes( java.lang.Iterable values) { @@ -2438,12 +3983,16 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder clearAttributes() { if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { attributesBuilder_.clear(); @@ -2451,7 +4000,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -2464,14 +4017,22 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder( int index) { @@ -2481,7 +4042,11 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public java.util.List getAttributesOrBuilderList() { @@ -2492,14 +4057,22 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() { return getAttributesFieldBuilder().addBuilder( org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder( int index) { @@ -2507,7 +4080,11 @@ public final class NormalizedNodeMessages { index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + * + *
+       * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+       * 
*/ public java.util.List getAttributesBuilderList() { @@ -2520,7 +4097,7 @@ public final class NormalizedNodeMessages { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>( attributes_, - ((bitField0_ & 0x00000008) == 0x00000008), + ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); attributes_ = null; @@ -2528,6 +4105,39 @@ public final class NormalizedNodeMessages { return attributesBuilder_; } + // optional int32 intType = 6; + private int intType_ ; + /** + * optional int32 intType = 6; + */ + public boolean hasIntType() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional int32 intType = 6; + */ + public int getIntType() { + return intType_; + } + /** + * optional int32 intType = 6; + */ + public Builder setIntType(int value) { + bitField0_ |= 0x00000020; + intType_ = value; + onChanged(); + return this; + } + /** + * optional int32 intType = 6; + */ + public Builder clearIntType() { + bitField0_ = (bitField0_ & ~0x00000020); + intType_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgument) } @@ -3231,14 +4841,26 @@ public final class NormalizedNodeMessages { // optional string path = 1; /** * optional string path = 1; + * + *
+     * @deprecated(use pathArgument)
+     * 
*/ boolean hasPath(); /** * optional string path = 1; + * + *
+     * @deprecated(use pathArgument)
+     * 
*/ java.lang.String getPath(); /** * optional string path = 1; + * + *
+     * @deprecated(use pathArgument)
+     * 
*/ com.google.protobuf.ByteString getPathBytes(); @@ -3246,131 +4868,261 @@ public final class NormalizedNodeMessages { // optional string type = 2; /** * optional string type = 2; + * + *
+     * @deprecated(use intType)
+     * 
*/ boolean hasType(); /** * optional string type = 2; + * + *
+     * @deprecated(use intType)
+     * 
*/ java.lang.String getType(); /** * optional string type = 2; + * + *
+     * @deprecated(use intType)
+     * 
*/ com.google.protobuf.ByteString getTypeBytes(); - // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + boolean hasPathArgument(); + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument(); + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder(); + + // optional int32 intType = 4; + /** + * optional int32 intType = 4; + */ + boolean hasIntType(); + /** + * optional int32 intType = 4; + */ + int getIntType(); + + // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ java.util.List getAttributesList(); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ int getAttributesCount(); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ java.util.List getAttributesOrBuilderList(); /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder( int index); - // repeated .org.opendaylight.controller.mdsal.Node child = 4; + // repeated .org.opendaylight.controller.mdsal.Node child = 6; /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ java.util.List getChildList(); /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index); /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ int getChildCount(); /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ java.util.List getChildOrBuilderList(); /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder( int index); - // optional string value = 5; + // optional string value = 7; /** - * optional string value = 5; + * optional string value = 7; */ boolean hasValue(); /** - * optional string value = 5; + * optional string value = 7; */ java.lang.String getValue(); /** - * optional string value = 5; + * optional string value = 7; */ com.google.protobuf.ByteString getValueBytes(); - // optional string valueType = 6; + // optional string valueType = 8; /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+     * @deprecated(use intValueType)
+     * 
*/ boolean hasValueType(); /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+     * @deprecated(use intValueType)
+     * 
*/ java.lang.String getValueType(); /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+     * @deprecated(use intValueType)
+     * 
*/ com.google.protobuf.ByteString getValueTypeBytes(); - // repeated string bitsValue = 7; + // optional int32 intValueType = 9; + /** + * optional int32 intValueType = 9; + * + *
+     * instead of valueType
+     * 
+ */ + boolean hasIntValueType(); + /** + * optional int32 intValueType = 9; + * + *
+     * instead of valueType
+     * 
+ */ + int getIntValueType(); + + // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+     * Specific values
+     * 
+ */ + boolean hasInstanceIdentifierValue(); + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+     * Specific values
+     * 
+ */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue(); + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+     * Specific values
+     * 
+ */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder(); + + // repeated string bitsValue = 11; /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ java.util.List getBitsValueList(); /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ int getBitsValueCount(); /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ java.lang.String getBitsValue(int index); /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ com.google.protobuf.ByteString getBitsValueBytes(int index); - // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + // repeated string code = 12; /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
*/ - boolean hasInstanceIdentifierValue(); + java.util.List + getCodeList(); /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
*/ - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue(); + int getCodeCount(); /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
*/ - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder(); + java.lang.String getCode(int index); + /** + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
+ */ + com.google.protobuf.ByteString + getCodeBytes(int index); } /** * Protobuf type {@code org.opendaylight.controller.mdsal.Node} @@ -3434,42 +5186,57 @@ public final class NormalizedNodeMessages { break; } case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = pathArgument_.toBuilder(); + } + pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pathArgument_); + pathArgument_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 32: { + bitField0_ |= 0x00000008; + intType_ = input.readInt32(); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { attributes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000010; } attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry)); break; } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + case 50: { + if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { child_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000020; } child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry)); break; } - case 42: { - bitField0_ |= 0x00000004; + case 58: { + bitField0_ |= 0x00000010; value_ = input.readBytes(); break; } - case 50: { - bitField0_ |= 0x00000008; + case 66: { + bitField0_ |= 0x00000020; valueType_ = input.readBytes(); break; } - case 58: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - bitsValue_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; - } - bitsValue_.add(input.readBytes()); + case 72: { + bitField0_ |= 0x00000040; + intValueType_ = input.readInt32(); break; } - case 66: { + case 82: { org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = instanceIdentifierValue_.toBuilder(); } instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry); @@ -3477,7 +5244,23 @@ public final class NormalizedNodeMessages { subBuilder.mergeFrom(instanceIdentifierValue_); instanceIdentifierValue_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000080; + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + bitsValue_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000400; + } + bitsValue_.add(input.readBytes()); + break; + } + case 98: { + if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { + code_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000800; + } + code_.add(input.readBytes()); break; } } @@ -3488,15 +5271,18 @@ public final class NormalizedNodeMessages { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { child_ = java.util.Collections.unmodifiableList(child_); } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_); } + if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { + code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -3534,12 +5320,20 @@ public final class NormalizedNodeMessages { private java.lang.Object path_; /** * optional string path = 1; + * + *
+     * @deprecated(use pathArgument)
+     * 
*/ public boolean hasPath() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string path = 1; + * + *
+     * @deprecated(use pathArgument)
+     * 
*/ public java.lang.String getPath() { java.lang.Object ref = path_; @@ -3557,6 +5351,10 @@ public final class NormalizedNodeMessages { } /** * optional string path = 1; + * + *
+     * @deprecated(use pathArgument)
+     * 
*/ public com.google.protobuf.ByteString getPathBytes() { @@ -3577,12 +5375,20 @@ public final class NormalizedNodeMessages { private java.lang.Object type_; /** * optional string type = 2; + * + *
+     * @deprecated(use intType)
+     * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string type = 2; + * + *
+     * @deprecated(use intType)
+     * 
*/ public java.lang.String getType() { java.lang.Object ref = type_; @@ -3600,6 +5406,10 @@ public final class NormalizedNodeMessages { } /** * optional string type = 2; + * + *
+     * @deprecated(use intType)
+     * 
*/ public com.google.protobuf.ByteString getTypeBytes() { @@ -3615,89 +5425,127 @@ public final class NormalizedNodeMessages { } } - // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; - public static final int ATTRIBUTES_FIELD_NUMBER = 3; + // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + public static final int PATHARGUMENT_FIELD_NUMBER = 3; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_; + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public boolean hasPathArgument() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() { + return pathArgument_; + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() { + return pathArgument_; + } + + // optional int32 intType = 4; + public static final int INTTYPE_FIELD_NUMBER = 4; + private int intType_; + /** + * optional int32 intType = 4; + */ + public boolean hasIntType() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 intType = 4; + */ + public int getIntType() { + return intType_; + } + + // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; + public static final int ATTRIBUTES_FIELD_NUMBER = 5; private java.util.List attributes_; /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public java.util.List getAttributesList() { return attributes_; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public java.util.List getAttributesOrBuilderList() { return attributes_; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public int getAttributesCount() { return attributes_.size(); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) { return attributes_.get(index); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder( int index) { return attributes_.get(index); } - // repeated .org.opendaylight.controller.mdsal.Node child = 4; - public static final int CHILD_FIELD_NUMBER = 4; + // repeated .org.opendaylight.controller.mdsal.Node child = 6; + public static final int CHILD_FIELD_NUMBER = 6; private java.util.List child_; /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public java.util.List getChildList() { return child_; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public java.util.List getChildOrBuilderList() { return child_; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public int getChildCount() { return child_.size(); } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) { return child_.get(index); } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder( int index) { return child_.get(index); } - // optional string value = 5; - public static final int VALUE_FIELD_NUMBER = 5; + // optional string value = 7; + public static final int VALUE_FIELD_NUMBER = 7; private java.lang.Object value_; /** - * optional string value = 5; + * optional string value = 7; */ public boolean hasValue() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * optional string value = 5; + * optional string value = 7; */ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -3714,7 +5562,7 @@ public final class NormalizedNodeMessages { } } /** - * optional string value = 5; + * optional string value = 7; */ public com.google.protobuf.ByteString getValueBytes() { @@ -3730,17 +5578,25 @@ public final class NormalizedNodeMessages { } } - // optional string valueType = 6; - public static final int VALUETYPE_FIELD_NUMBER = 6; + // optional string valueType = 8; + public static final int VALUETYPE_FIELD_NUMBER = 8; private java.lang.Object valueType_; /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+     * @deprecated(use intValueType)
+     * 
*/ public boolean hasValueType() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+     * @deprecated(use intValueType)
+     * 
*/ public java.lang.String getValueType() { java.lang.Object ref = valueType_; @@ -3757,7 +5613,11 @@ public final class NormalizedNodeMessages { } } /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+     * @deprecated(use intValueType)
+     * 
*/ public com.google.protobuf.ByteString getValueTypeBytes() { @@ -3773,73 +5633,181 @@ public final class NormalizedNodeMessages { } } - // repeated string bitsValue = 7; - public static final int BITSVALUE_FIELD_NUMBER = 7; + // optional int32 intValueType = 9; + public static final int INTVALUETYPE_FIELD_NUMBER = 9; + private int intValueType_; + /** + * optional int32 intValueType = 9; + * + *
+     * instead of valueType
+     * 
+ */ + public boolean hasIntValueType() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional int32 intValueType = 9; + * + *
+     * instead of valueType
+     * 
+ */ + public int getIntValueType() { + return intValueType_; + } + + // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_; + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+     * Specific values
+     * 
+ */ + public boolean hasInstanceIdentifierValue() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+     * Specific values
+     * 
+ */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() { + return instanceIdentifierValue_; + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+     * Specific values
+     * 
+ */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() { + return instanceIdentifierValue_; + } + + // repeated string bitsValue = 11; + public static final int BITSVALUE_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList bitsValue_; /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ public java.util.List getBitsValueList() { return bitsValue_; } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ public int getBitsValueCount() { return bitsValue_.size(); } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ public java.lang.String getBitsValue(int index) { return bitsValue_.get(index); } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+     * intValueType = Bits
+     * 
*/ public com.google.protobuf.ByteString getBitsValueBytes(int index) { return bitsValue_.getByteString(index); } - // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; - public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 8; - private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_; + // repeated string code = 12; + public static final int CODE_FIELD_NUMBER = 12; + private com.google.protobuf.LazyStringList code_; /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
*/ - public boolean hasInstanceIdentifierValue() { - return ((bitField0_ & 0x00000010) == 0x00000010); + public java.util.List + getCodeList() { + return code_; + } + /** + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
+ */ + public int getCodeCount() { + return code_.size(); } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
*/ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() { - return instanceIdentifierValue_; + public java.lang.String getCode(int index) { + return code_.get(index); } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+     * A list of string codes which can be used for any repeated strings in the NormalizedNode
+     * 
*/ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() { - return instanceIdentifierValue_; + public com.google.protobuf.ByteString + getCodeBytes(int index) { + return code_.getByteString(index); } private void initFields() { path_ = ""; type_ = ""; + pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance(); + intType_ = 0; attributes_ = java.util.Collections.emptyList(); child_ = java.util.Collections.emptyList(); value_ = ""; valueType_ = ""; - bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; + intValueType_ = 0; instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); + bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; + code_ = com.google.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; + if (hasPathArgument()) { + if (!getPathArgument().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } for (int i = 0; i < getAttributesCount(); i++) { if (!getAttributes(i).isInitialized()) { memoizedIsInitialized = 0; @@ -3871,23 +5839,35 @@ public final class NormalizedNodeMessages { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTypeBytes()); } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeMessage(3, pathArgument_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeInt32(4, intType_); + } for (int i = 0; i < attributes_.size(); i++) { - output.writeMessage(3, attributes_.get(i)); + output.writeMessage(5, attributes_.get(i)); } for (int i = 0; i < child_.size(); i++) { - output.writeMessage(4, child_.get(i)); + output.writeMessage(6, child_.get(i)); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(5, getValueBytes()); + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeBytes(7, getValueBytes()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(6, getValueTypeBytes()); + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeBytes(8, getValueTypeBytes()); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeInt32(9, intValueType_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeMessage(10, instanceIdentifierValue_); } for (int i = 0; i < bitsValue_.size(); i++) { - output.writeBytes(7, bitsValue_.getByteString(i)); + output.writeBytes(11, bitsValue_.getByteString(i)); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeMessage(8, instanceIdentifierValue_); + for (int i = 0; i < code_.size(); i++) { + output.writeBytes(12, code_.getByteString(i)); } getUnknownFields().writeTo(output); } @@ -3906,21 +5886,37 @@ public final class NormalizedNodeMessages { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getTypeBytes()); } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, pathArgument_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, intType_); + } for (int i = 0; i < attributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attributes_.get(i)); + .computeMessageSize(5, attributes_.get(i)); } for (int i = 0; i < child_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, child_.get(i)); + .computeMessageSize(6, child_.get(i)); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getValueBytes()); + .computeBytesSize(7, getValueBytes()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getValueTypeBytes()); + .computeBytesSize(8, getValueTypeBytes()); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, intValueType_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, instanceIdentifierValue_); } { int dataSize = 0; @@ -3931,9 +5927,14 @@ public final class NormalizedNodeMessages { size += dataSize; size += 1 * getBitsValueList().size(); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, instanceIdentifierValue_); + { + int dataSize = 0; + for (int i = 0; i < code_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(code_.getByteString(i)); + } + size += dataSize; + size += 1 * getCodeList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -4043,6 +6044,7 @@ public final class NormalizedNodeMessages { } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getPathArgumentFieldBuilder(); getAttributesFieldBuilder(); getChildFieldBuilder(); getInstanceIdentifierValueFieldBuilder(); @@ -4058,30 +6060,42 @@ public final class NormalizedNodeMessages { bitField0_ = (bitField0_ & ~0x00000001); type_ = ""; bitField0_ = (bitField0_ & ~0x00000002); + if (pathArgumentBuilder_ == null) { + pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance(); + } else { + pathArgumentBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + intType_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } else { attributesBuilder_.clear(); } if (childBuilder_ == null) { child_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } else { childBuilder_.clear(); } value_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - valueType_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); + valueType_ = ""; + bitField0_ = (bitField0_ & ~0x00000080); + intValueType_ = 0; + bitField0_ = (bitField0_ & ~0x00000100); if (instanceIdentifierValueBuilder_ == null) { instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); } else { instanceIdentifierValueBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000200); + bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000400); + code_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -4118,46 +6132,68 @@ public final class NormalizedNodeMessages { to_bitField0_ |= 0x00000002; } result.type_ = type_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + if (pathArgumentBuilder_ == null) { + result.pathArgument_ = pathArgument_; + } else { + result.pathArgument_ = pathArgumentBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.intType_ = intType_; if (attributesBuilder_ == null) { - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000010) == 0x00000010)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } result.attributes_ = attributes_; } else { result.attributes_ = attributesBuilder_.build(); } if (childBuilder_ == null) { - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000020) == 0x00000020)) { child_ = java.util.Collections.unmodifiableList(child_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } result.child_ = child_; } else { result.child_ = childBuilder_.build(); } - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000004; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000010; } result.value_ = value_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000008; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000020; } result.valueType_ = valueType_; - if (((bitField0_ & 0x00000040) == 0x00000040)) { - bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList( - bitsValue_); - bitField0_ = (bitField0_ & ~0x00000040); + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000040; } - result.bitsValue_ = bitsValue_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000010; + result.intValueType_ = intValueType_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000080; } if (instanceIdentifierValueBuilder_ == null) { result.instanceIdentifierValue_ = instanceIdentifierValue_; } else { result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build(); } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList( + bitsValue_); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.bitsValue_ = bitsValue_; + if (((bitField0_ & 0x00000800) == 0x00000800)) { + code_ = new com.google.protobuf.UnmodifiableLazyStringList( + code_); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.code_ = code_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -4184,11 +6220,17 @@ public final class NormalizedNodeMessages { type_ = other.type_; onChanged(); } + if (other.hasPathArgument()) { + mergePathArgument(other.getPathArgument()); + } + if (other.hasIntType()) { + setIntType(other.getIntType()); + } if (attributesBuilder_ == null) { if (!other.attributes_.isEmpty()) { if (attributes_.isEmpty()) { attributes_ = other.attributes_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAttributesIsMutable(); attributes_.addAll(other.attributes_); @@ -4201,7 +6243,7 @@ public final class NormalizedNodeMessages { attributesBuilder_.dispose(); attributesBuilder_ = null; attributes_ = other.attributes_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); attributesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttributesFieldBuilder() : null; @@ -4214,7 +6256,7 @@ public final class NormalizedNodeMessages { if (!other.child_.isEmpty()) { if (child_.isEmpty()) { child_ = other.child_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } else { ensureChildIsMutable(); child_.addAll(other.child_); @@ -4227,7 +6269,7 @@ public final class NormalizedNodeMessages { childBuilder_.dispose(); childBuilder_ = null; child_ = other.child_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); childBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChildFieldBuilder() : null; @@ -4237,33 +6279,52 @@ public final class NormalizedNodeMessages { } } if (other.hasValue()) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; value_ = other.value_; onChanged(); } if (other.hasValueType()) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; valueType_ = other.valueType_; onChanged(); } + if (other.hasIntValueType()) { + setIntValueType(other.getIntValueType()); + } + if (other.hasInstanceIdentifierValue()) { + mergeInstanceIdentifierValue(other.getInstanceIdentifierValue()); + } if (!other.bitsValue_.isEmpty()) { if (bitsValue_.isEmpty()) { bitsValue_ = other.bitsValue_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000400); } else { ensureBitsValueIsMutable(); bitsValue_.addAll(other.bitsValue_); } onChanged(); } - if (other.hasInstanceIdentifierValue()) { - mergeInstanceIdentifierValue(other.getInstanceIdentifierValue()); + if (!other.code_.isEmpty()) { + if (code_.isEmpty()) { + code_ = other.code_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureCodeIsMutable(); + code_.addAll(other.code_); + } + onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { + if (hasPathArgument()) { + if (!getPathArgument().isInitialized()) { + + return false; + } + } for (int i = 0; i < getAttributesCount(); i++) { if (!getAttributes(i).isInitialized()) { @@ -4308,12 +6369,20 @@ public final class NormalizedNodeMessages { private java.lang.Object path_ = ""; /** * optional string path = 1; + * + *
+       * @deprecated(use pathArgument)
+       * 
*/ public boolean hasPath() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string path = 1; + * + *
+       * @deprecated(use pathArgument)
+       * 
*/ public java.lang.String getPath() { java.lang.Object ref = path_; @@ -4328,6 +6397,10 @@ public final class NormalizedNodeMessages { } /** * optional string path = 1; + * + *
+       * @deprecated(use pathArgument)
+       * 
*/ public com.google.protobuf.ByteString getPathBytes() { @@ -4344,6 +6417,10 @@ public final class NormalizedNodeMessages { } /** * optional string path = 1; + * + *
+       * @deprecated(use pathArgument)
+       * 
*/ public Builder setPath( java.lang.String value) { @@ -4357,6 +6434,10 @@ public final class NormalizedNodeMessages { } /** * optional string path = 1; + * + *
+       * @deprecated(use pathArgument)
+       * 
*/ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4366,6 +6447,10 @@ public final class NormalizedNodeMessages { } /** * optional string path = 1; + * + *
+       * @deprecated(use pathArgument)
+       * 
*/ public Builder setPathBytes( com.google.protobuf.ByteString value) { @@ -4382,12 +6467,20 @@ public final class NormalizedNodeMessages { private java.lang.Object type_ = ""; /** * optional string type = 2; + * + *
+       * @deprecated(use intType)
+       * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string type = 2; + * + *
+       * @deprecated(use intType)
+       * 
*/ public java.lang.String getType() { java.lang.Object ref = type_; @@ -4402,6 +6495,10 @@ public final class NormalizedNodeMessages { } /** * optional string type = 2; + * + *
+       * @deprecated(use intType)
+       * 
*/ public com.google.protobuf.ByteString getTypeBytes() { @@ -4418,6 +6515,10 @@ public final class NormalizedNodeMessages { } /** * optional string type = 2; + * + *
+       * @deprecated(use intType)
+       * 
*/ public Builder setType( java.lang.String value) { @@ -4431,6 +6532,10 @@ public final class NormalizedNodeMessages { } /** * optional string type = 2; + * + *
+       * @deprecated(use intType)
+       * 
*/ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4440,6 +6545,10 @@ public final class NormalizedNodeMessages { } /** * optional string type = 2; + * + *
+       * @deprecated(use intType)
+       * 
*/ public Builder setTypeBytes( com.google.protobuf.ByteString value) { @@ -4452,13 +6561,163 @@ public final class NormalizedNodeMessages { return this; } - // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder> pathArgumentBuilder_; + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public boolean hasPathArgument() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() { + if (pathArgumentBuilder_ == null) { + return pathArgument_; + } else { + return pathArgumentBuilder_.getMessage(); + } + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) { + if (pathArgumentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pathArgument_ = value; + onChanged(); + } else { + pathArgumentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public Builder setPathArgument( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) { + if (pathArgumentBuilder_ == null) { + pathArgument_ = builderForValue.build(); + onChanged(); + } else { + pathArgumentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) { + if (pathArgumentBuilder_ == null) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) { + pathArgument_ = + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial(); + } else { + pathArgument_ = value; + } + onChanged(); + } else { + pathArgumentBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public Builder clearPathArgument() { + if (pathArgumentBuilder_ == null) { + pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance(); + onChanged(); + } else { + pathArgumentBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getPathArgumentFieldBuilder().getBuilder(); + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() { + if (pathArgumentBuilder_ != null) { + return pathArgumentBuilder_.getMessageOrBuilder(); + } else { + return pathArgument_; + } + } + /** + * optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder> + getPathArgumentFieldBuilder() { + if (pathArgumentBuilder_ == null) { + pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>( + pathArgument_, + getParentForChildren(), + isClean()); + pathArgument_ = null; + } + return pathArgumentBuilder_; + } + + // optional int32 intType = 4; + private int intType_ ; + /** + * optional int32 intType = 4; + */ + public boolean hasIntType() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 intType = 4; + */ + public int getIntType() { + return intType_; + } + /** + * optional int32 intType = 4; + */ + public Builder setIntType(int value) { + bitField0_ |= 0x00000008; + intType_ = value; + onChanged(); + return this; + } + /** + * optional int32 intType = 4; + */ + public Builder clearIntType() { + bitField0_ = (bitField0_ & ~0x00000008); + intType_ = 0; + onChanged(); + return this; + } + + // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; private java.util.List attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000010) == 0x00000010)) { attributes_ = new java.util.ArrayList(attributes_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; } } @@ -4466,7 +6725,7 @@ public final class NormalizedNodeMessages { org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder> attributesBuilder_; /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public java.util.List getAttributesList() { if (attributesBuilder_ == null) { @@ -4476,7 +6735,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -4486,7 +6745,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -4496,7 +6755,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder setAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) { @@ -4513,7 +6772,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder setAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) { @@ -4527,7 +6786,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) { if (attributesBuilder_ == null) { @@ -4543,7 +6802,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder addAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) { @@ -4560,7 +6819,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder addAttributes( org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) { @@ -4574,7 +6833,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder addAttributes( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) { @@ -4588,7 +6847,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder addAllAttributes( java.lang.Iterable values) { @@ -4602,12 +6861,12 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { attributesBuilder_.clear(); @@ -4615,7 +6874,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -4628,14 +6887,14 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder( int index) { @@ -4645,7 +6904,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public java.util.List getAttributesOrBuilderList() { @@ -4656,14 +6915,14 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() { return getAttributesFieldBuilder().addBuilder( org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder( int index) { @@ -4671,7 +6930,7 @@ public final class NormalizedNodeMessages { index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()); } /** - * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3; + * repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5; */ public java.util.List getAttributesBuilderList() { @@ -4684,7 +6943,7 @@ public final class NormalizedNodeMessages { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>( attributes_, - ((bitField0_ & 0x00000004) == 0x00000004), + ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); attributes_ = null; @@ -4692,13 +6951,13 @@ public final class NormalizedNodeMessages { return attributesBuilder_; } - // repeated .org.opendaylight.controller.mdsal.Node child = 4; + // repeated .org.opendaylight.controller.mdsal.Node child = 6; private java.util.List child_ = java.util.Collections.emptyList(); private void ensureChildIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000020) == 0x00000020)) { child_ = new java.util.ArrayList(child_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; } } @@ -4706,7 +6965,7 @@ public final class NormalizedNodeMessages { org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> childBuilder_; /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public java.util.List getChildList() { if (childBuilder_ == null) { @@ -4716,7 +6975,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public int getChildCount() { if (childBuilder_ == null) { @@ -4726,7 +6985,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) { if (childBuilder_ == null) { @@ -4736,7 +6995,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder setChild( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) { @@ -4753,7 +7012,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder setChild( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) { @@ -4767,7 +7026,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) { if (childBuilder_ == null) { @@ -4783,7 +7042,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder addChild( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) { @@ -4800,7 +7059,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder addChild( org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) { @@ -4814,7 +7073,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder addChild( int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) { @@ -4828,7 +7087,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder addAllChild( java.lang.Iterable values) { @@ -4842,12 +7101,12 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder clearChild() { if (childBuilder_ == null) { child_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { childBuilder_.clear(); @@ -4855,7 +7114,7 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public Builder removeChild(int index) { if (childBuilder_ == null) { @@ -4868,14 +7127,14 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder( int index) { return getChildFieldBuilder().getBuilder(index); } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder( int index) { @@ -4885,7 +7144,7 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public java.util.List getChildOrBuilderList() { @@ -4896,14 +7155,14 @@ public final class NormalizedNodeMessages { } } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() { return getChildFieldBuilder().addBuilder( org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()); } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder( int index) { @@ -4911,7 +7170,7 @@ public final class NormalizedNodeMessages { index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()); } /** - * repeated .org.opendaylight.controller.mdsal.Node child = 4; + * repeated .org.opendaylight.controller.mdsal.Node child = 6; */ public java.util.List getChildBuilderList() { @@ -4924,7 +7183,7 @@ public final class NormalizedNodeMessages { childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>( child_, - ((bitField0_ & 0x00000008) == 0x00000008), + ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); child_ = null; @@ -4932,16 +7191,16 @@ public final class NormalizedNodeMessages { return childBuilder_; } - // optional string value = 5; + // optional string value = 7; private java.lang.Object value_ = ""; /** - * optional string value = 5; + * optional string value = 7; */ public boolean hasValue() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * optional string value = 5; + * optional string value = 7; */ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -4955,7 +7214,7 @@ public final class NormalizedNodeMessages { } } /** - * optional string value = 5; + * optional string value = 7; */ public com.google.protobuf.ByteString getValueBytes() { @@ -4971,51 +7230,59 @@ public final class NormalizedNodeMessages { } } /** - * optional string value = 5; + * optional string value = 7; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; value_ = value; onChanged(); return this; } /** - * optional string value = 5; + * optional string value = 7; */ public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * optional string value = 5; + * optional string value = 7; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; value_ = value; onChanged(); return this; } - // optional string valueType = 6; + // optional string valueType = 8; private java.lang.Object valueType_ = ""; /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+       * @deprecated(use intValueType)
+       * 
*/ public boolean hasValueType() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000080) == 0x00000080); } /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+       * @deprecated(use intValueType)
+       * 
*/ public java.lang.String getValueType() { java.lang.Object ref = valueType_; @@ -5029,93 +7296,331 @@ public final class NormalizedNodeMessages { } } /** - * optional string valueType = 6; + * optional string valueType = 8; + * + *
+       * @deprecated(use intValueType)
+       * 
+ */ + public com.google.protobuf.ByteString + getValueTypeBytes() { + java.lang.Object ref = valueType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + valueType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string valueType = 8; + * + *
+       * @deprecated(use intValueType)
+       * 
+ */ + public Builder setValueType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + valueType_ = value; + onChanged(); + return this; + } + /** + * optional string valueType = 8; + * + *
+       * @deprecated(use intValueType)
+       * 
+ */ + public Builder clearValueType() { + bitField0_ = (bitField0_ & ~0x00000080); + valueType_ = getDefaultInstance().getValueType(); + onChanged(); + return this; + } + /** + * optional string valueType = 8; + * + *
+       * @deprecated(use intValueType)
+       * 
+ */ + public Builder setValueTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + valueType_ = value; + onChanged(); + return this; + } + + // optional int32 intValueType = 9; + private int intValueType_ ; + /** + * optional int32 intValueType = 9; + * + *
+       * instead of valueType
+       * 
+ */ + public boolean hasIntValueType() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional int32 intValueType = 9; + * + *
+       * instead of valueType
+       * 
+ */ + public int getIntValueType() { + return intValueType_; + } + /** + * optional int32 intValueType = 9; + * + *
+       * instead of valueType
+       * 
+ */ + public Builder setIntValueType(int value) { + bitField0_ |= 0x00000100; + intValueType_ = value; + onChanged(); + return this; + } + /** + * optional int32 intValueType = 9; + * + *
+       * instead of valueType
+       * 
+ */ + public Builder clearIntValueType() { + bitField0_ = (bitField0_ & ~0x00000100); + intValueType_ = 0; + onChanged(); + return this; + } + + // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + 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> instanceIdentifierValueBuilder_; + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
+ */ + public boolean hasInstanceIdentifierValue() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
+ */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() { + if (instanceIdentifierValueBuilder_ == null) { + return instanceIdentifierValue_; + } else { + return instanceIdentifierValueBuilder_.getMessage(); + } + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
+ */ + public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) { + if (instanceIdentifierValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + instanceIdentifierValue_ = value; + onChanged(); + } else { + instanceIdentifierValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
+ */ + public Builder setInstanceIdentifierValue( + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) { + if (instanceIdentifierValueBuilder_ == null) { + instanceIdentifierValue_ = builderForValue.build(); + onChanged(); + } else { + instanceIdentifierValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
*/ - public com.google.protobuf.ByteString - getValueTypeBytes() { - java.lang.Object ref = valueType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - valueType_ = b; - return b; + public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) { + if (instanceIdentifierValueBuilder_ == null) { + if (((bitField0_ & 0x00000200) == 0x00000200) && + instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) { + instanceIdentifierValue_ = + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial(); + } else { + instanceIdentifierValue_ = value; + } + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + instanceIdentifierValueBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000200; + return this; } /** - * optional string valueType = 6; + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
*/ - public Builder setValueType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - valueType_ = value; - onChanged(); + public Builder clearInstanceIdentifierValue() { + if (instanceIdentifierValueBuilder_ == null) { + instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); + onChanged(); + } else { + instanceIdentifierValueBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000200); return this; } /** - * optional string valueType = 6; + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
*/ - public Builder clearValueType() { - bitField0_ = (bitField0_ & ~0x00000020); - valueType_ = getDefaultInstance().getValueType(); + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() { + bitField0_ |= 0x00000200; onChanged(); - return this; + return getInstanceIdentifierValueFieldBuilder().getBuilder(); } /** - * optional string valueType = 6; + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
*/ - public Builder setValueTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - valueType_ = value; - onChanged(); - return this; + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() { + if (instanceIdentifierValueBuilder_ != null) { + return instanceIdentifierValueBuilder_.getMessageOrBuilder(); + } else { + return instanceIdentifierValue_; + } + } + /** + * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10; + * + *
+       * Specific values
+       * 
+ */ + private com.google.protobuf.SingleFieldBuilder< + 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> + getInstanceIdentifierValueFieldBuilder() { + if (instanceIdentifierValueBuilder_ == null) { + instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + 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>( + instanceIdentifierValue_, + getParentForChildren(), + isClean()); + instanceIdentifierValue_ = null; + } + return instanceIdentifierValueBuilder_; } - // repeated string bitsValue = 7; + // repeated string bitsValue = 11; private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBitsValueIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { + if (!((bitField0_ & 0x00000400) == 0x00000400)) { bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000400; } } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public java.util.List getBitsValueList() { return java.util.Collections.unmodifiableList(bitsValue_); } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public int getBitsValueCount() { return bitsValue_.size(); } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public java.lang.String getBitsValue(int index) { return bitsValue_.get(index); } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public com.google.protobuf.ByteString getBitsValueBytes(int index) { return bitsValue_.getByteString(index); } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public Builder setBitsValue( int index, java.lang.String value) { @@ -5128,7 +7633,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public Builder addBitsValue( java.lang.String value) { @@ -5141,7 +7650,11 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public Builder addAllBitsValue( java.lang.Iterable values) { @@ -5151,16 +7664,24 @@ public final class NormalizedNodeMessages { return this; } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public Builder clearBitsValue() { bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** - * repeated string bitsValue = 7; + * repeated string bitsValue = 11; + * + *
+       * intValueType = Bits
+       * 
*/ public Builder addBitsValueBytes( com.google.protobuf.ByteString value) { @@ -5173,121 +7694,133 @@ public final class NormalizedNodeMessages { return this; } - // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; - private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - 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> instanceIdentifierValueBuilder_; + // repeated string code = 12; + private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCodeIsMutable() { + if (!((bitField0_ & 0x00000800) == 0x00000800)) { + code_ = new com.google.protobuf.LazyStringArrayList(code_); + bitField0_ |= 0x00000800; + } + } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public boolean hasInstanceIdentifierValue() { - return ((bitField0_ & 0x00000080) == 0x00000080); + public java.util.List + getCodeList() { + return java.util.Collections.unmodifiableList(code_); } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() { - if (instanceIdentifierValueBuilder_ == null) { - return instanceIdentifierValue_; - } else { - return instanceIdentifierValueBuilder_.getMessage(); - } + public int getCodeCount() { + return code_.size(); } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) { - if (instanceIdentifierValueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - instanceIdentifierValue_ = value; - onChanged(); - } else { - instanceIdentifierValueBuilder_.setMessage(value); - } - bitField0_ |= 0x00000080; - return this; + public java.lang.String getCode(int index) { + return code_.get(index); } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public Builder setInstanceIdentifierValue( - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) { - if (instanceIdentifierValueBuilder_ == null) { - instanceIdentifierValue_ = builderForValue.build(); - onChanged(); - } else { - instanceIdentifierValueBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000080; - return this; + public com.google.protobuf.ByteString + getCodeBytes(int index) { + return code_.getByteString(index); } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) { - if (instanceIdentifierValueBuilder_ == null) { - if (((bitField0_ & 0x00000080) == 0x00000080) && - instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) { - instanceIdentifierValue_ = - org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial(); - } else { - instanceIdentifierValue_ = value; - } - onChanged(); - } else { - instanceIdentifierValueBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000080; + public Builder setCode( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCodeIsMutable(); + code_.set(index, value); + onChanged(); return this; } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public Builder clearInstanceIdentifierValue() { - if (instanceIdentifierValueBuilder_ == null) { - instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); - onChanged(); - } else { - instanceIdentifierValueBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); + public Builder addCode( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCodeIsMutable(); + code_.add(value); + onChanged(); return this; } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() { - bitField0_ |= 0x00000080; + public Builder addAllCode( + java.lang.Iterable values) { + ensureCodeIsMutable(); + super.addAll(values, code_); onChanged(); - return getInstanceIdentifierValueFieldBuilder().getBuilder(); + return this; } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() { - if (instanceIdentifierValueBuilder_ != null) { - return instanceIdentifierValueBuilder_.getMessageOrBuilder(); - } else { - return instanceIdentifierValue_; - } + public Builder clearCode() { + code_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; } /** - * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8; + * repeated string code = 12; + * + *
+       * A list of string codes which can be used for any repeated strings in the NormalizedNode
+       * 
*/ - private com.google.protobuf.SingleFieldBuilder< - 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> - getInstanceIdentifierValueFieldBuilder() { - if (instanceIdentifierValueBuilder_ == null) { - instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< - 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>( - instanceIdentifierValue_, - getParentForChildren(), - isClean()); - instanceIdentifierValue_ = null; - } - return instanceIdentifierValueBuilder_; + public Builder addCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCodeIsMutable(); + code_.add(value); + onChanged(); + return this; } // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node) @@ -7402,6 +9935,11 @@ public final class NormalizedNodeMessages { private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_org_opendaylight_controller_mdsal_QName_descriptor; private static @@ -7448,32 +9986,42 @@ public final class NormalizedNodeMessages { java.lang.String[] descriptorData = { "\n\014Common.proto\022!org.opendaylight.control" + "ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" + - "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"\026\n\005QName\022\r\n\005va" + - "lue\030\001 \002(\t\"\251\001\n\014PathArgument\022\r\n\005value\030\001 \002(" + - "\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeType\030\003 \001(\0132(.org." + - "opendaylight.controller.mdsal.QName\022@\n\na" + - "ttributes\030\004 \003(\0132,.org.opendaylight.contr" + - "oller.mdsal.Attribute\"X\n\022InstanceIdentif" + - "ier\022B\n\targuments\030\001 \003(\0132/.org.opendayligh" + - "t.controller.mdsal.PathArgument\"\251\002\n\004Node", - "\022\014\n\004path\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022@\n\nattribut" + - "es\030\003 \003(\0132,.org.opendaylight.controller.m" + - "dsal.Attribute\0226\n\005child\030\004 \003(\0132\'.org.open" + - "daylight.controller.mdsal.Node\022\r\n\005value\030" + - "\005 \001(\t\022\021\n\tvalueType\030\006 \001(\t\022\021\n\tbitsValue\030\007 " + - "\003(\t\022V\n\027instanceIdentifierValue\030\010 \001(\01325.o" + - "rg.opendaylight.controller.mdsal.Instanc" + - "eIdentifier\"`\n\tContainer\022\022\n\nparentPath\030\001" + - " \002(\t\022?\n\016normalizedNode\030\002 \001(\0132\'.org.opend" + - "aylight.controller.mdsal.Node\"\246\001\n\014NodeMa", - "pEntry\022U\n\026instanceIdentifierPath\030\001 \002(\01325" + - ".org.opendaylight.controller.mdsal.Insta" + - "nceIdentifier\022?\n\016normalizedNode\030\002 \001(\0132\'." + - "org.opendaylight.controller.mdsal.Node\"N" + - "\n\007NodeMap\022C\n\nmapEntries\030\001 \003(\0132/.org.open" + - "daylight.controller.mdsal.NodeMapEntryBO" + - "\n5org.opendaylight.controller.protobuff." + - "messages.commonB\026NormalizedNodeMessages" + "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"l\n\025PathArgumen" + + "tAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayli" + + "ght.controller.mdsal.QName\022\r\n\005value\030\002 \001(" + + "\t\022\014\n\004type\030\003 \001(\005\"N\n\005QName\022\r\n\005value\030\001 \001(\t\022" + + "\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003 \001(\005\022\021\n\t" + + "localName\030\004 \001(\005\"\207\002\n\014PathArgument\022\r\n\005valu" + + "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeType\030\003 \001(\0132" + + "(.org.opendaylight.controller.mdsal.QNam", + "e\022K\n\tattribute\030\004 \003(\01328.org.opendaylight." + + "controller.mdsal.PathArgumentAttribute\022@" + + "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" + + "ntroller.mdsal.Attribute\022\017\n\007intType\030\006 \001(" + + "\005\"X\n\022InstanceIdentifier\022B\n\targuments\030\001 \003" + + "(\0132/.org.opendaylight.controller.mdsal.P" + + "athArgument\"\245\003\n\004Node\022\014\n\004path\030\001 \001(\t\022\014\n\004ty" + + "pe\030\002 \001(\t\022E\n\014pathArgument\030\003 \001(\0132/.org.ope" + + "ndaylight.controller.mdsal.PathArgument\022" + + "\017\n\007intType\030\004 \001(\005\022@\n\nattributes\030\005 \003(\0132,.o", + "rg.opendaylight.controller.mdsal.Attribu" + + "te\0226\n\005child\030\006 \003(\0132\'.org.opendaylight.con" + + "troller.mdsal.Node\022\r\n\005value\030\007 \001(\t\022\021\n\tval" + + "ueType\030\010 \001(\t\022\024\n\014intValueType\030\t \001(\005\022V\n\027in" + + "stanceIdentifierValue\030\n \001(\01325.org.openda" + + "ylight.controller.mdsal.InstanceIdentifi" + + "er\022\021\n\tbitsValue\030\013 \003(\t\022\014\n\004code\030\014 \003(\t\"`\n\tC" + + "ontainer\022\022\n\nparentPath\030\001 \002(\t\022?\n\016normaliz" + + "edNode\030\002 \001(\0132\'.org.opendaylight.controll" + + "er.mdsal.Node\"\246\001\n\014NodeMapEntry\022U\n\026instan", + "ceIdentifierPath\030\001 \002(\01325.org.opendayligh" + + "t.controller.mdsal.InstanceIdentifier\022?\n" + + "\016normalizedNode\030\002 \001(\0132\'.org.opendaylight" + + ".controller.mdsal.Node\"N\n\007NodeMap\022C\n\nmap" + + "Entries\030\001 \003(\0132/.org.opendaylight.control" + + "ler.mdsal.NodeMapEntryBO\n5org.opendaylig" + + "ht.controller.protobuff.messages.commonB" + + "\026NormalizedNodeMessages" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -7486,44 +10034,50 @@ public final class NormalizedNodeMessages { com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor, new java.lang.String[] { "Name", "Value", "Type", }); - internal_static_org_opendaylight_controller_mdsal_QName_descriptor = + internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor, + new java.lang.String[] { "Name", "Value", "Type", }); + internal_static_org_opendaylight_controller_mdsal_QName_descriptor = + getDescriptor().getMessageTypes().get(2); internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_QName_descriptor, - new java.lang.String[] { "Value", }); + new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", }); internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageTypes().get(3); internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor, - new java.lang.String[] { "Value", "Type", "NodeType", "Attributes", }); + new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", }); internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(4); internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor, new java.lang.String[] { "Arguments", }); internal_static_org_opendaylight_controller_mdsal_Node_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(5); internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_Node_descriptor, - new java.lang.String[] { "Path", "Type", "Attributes", "Child", "Value", "ValueType", "BitsValue", "InstanceIdentifierValue", }); + new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", }); internal_static_org_opendaylight_controller_mdsal_Container_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(6); internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_Container_descriptor, new java.lang.String[] { "ParentPath", "NormalizedNode", }); internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(7); internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor, new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", }); internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(8); internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,