X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotobuff%2Fmessages%2Fcommon%2FNormalizedNodeMessages.java;h=f732701d2f3a9e95e341e12e199744351e758034;hp=3926bc7dc347d611a67854ab14015734424d749b;hb=bc6aa356568dac2dca17cfce807df1e2a947e5bf;hpb=351a78c9840c5b98a478b91ffd50befad998eb0e
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 3926bc7dc3..f732701d2f 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
@@ -840,6 +840,78 @@ public final class NormalizedNodeMessages {
* optional int32 type = 3;
*/
int getType();
+
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ /**
+ * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ *
+ * Specific values + *+ */ + boolean hasInstanceIdentifierValue(); + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue(); + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder(); + + // repeated string bitsValue = 5; + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + java.util.List
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + int getBitsValueCount(); + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + java.lang.String getBitsValue(int index); + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + com.google.protobuf.ByteString + getBitsValueBytes(int index); + + // optional bytes bytesValue = 6; + /** + *
optional bytes bytesValue = 6;
+ */
+ boolean hasBytesValue();
+ /**
+ * optional bytes bytesValue = 6;
+ */
+ com.google.protobuf.ByteString getBytesValue();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
@@ -915,6 +987,32 @@ public final class NormalizedNodeMessages {
type_ = input.readInt32();
break;
}
+ case 34: {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = instanceIdentifierValue_.toBuilder();
+ }
+ instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(instanceIdentifierValue_);
+ instanceIdentifierValue_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000010;
+ }
+ bitsValue_.add(input.readBytes());
+ break;
+ }
+ case 50: {
+ bitField0_ |= 0x00000010;
+ bytesValue_ = input.readBytes();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -923,6 +1021,9 @@ public final class NormalizedNodeMessages {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
+ if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -1036,16 +1137,121 @@ public final class NormalizedNodeMessages {
return type_;
}
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 4;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
+ /**
+ * optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + public boolean hasInstanceIdentifierValue() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() { + return instanceIdentifierValue_; + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() { + return instanceIdentifierValue_; + } + + // repeated string bitsValue = 5; + public static final int BITSVALUE_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList bitsValue_; + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public java.util.List
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public int getBitsValueCount() { + return bitsValue_.size(); + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public java.lang.String getBitsValue(int index) { + return bitsValue_.get(index); + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public com.google.protobuf.ByteString + getBitsValueBytes(int index) { + return bitsValue_.getByteString(index); + } + + // optional bytes bytesValue = 6; + public static final int BYTESVALUE_FIELD_NUMBER = 6; + private com.google.protobuf.ByteString bytesValue_; + /** + *
optional bytes bytesValue = 6;
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * optional bytes bytesValue = 6;
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+
private void initFields() {
name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
value_ = "";
type_ = 0;
+ instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
+ if (hasInstanceIdentifierValue()) {
+ if (!getInstanceIdentifierValue().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
memoizedIsInitialized = 1;
return true;
}
@@ -1062,6 +1268,15 @@ public final class NormalizedNodeMessages {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, type_);
}
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeMessage(4, instanceIdentifierValue_);
+ }
+ for (int i = 0; i < bitsValue_.size(); i++) {
+ output.writeBytes(5, bitsValue_.getByteString(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeBytes(6, bytesValue_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1083,6 +1298,23 @@ public final class NormalizedNodeMessages {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, type_);
}
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, instanceIdentifierValue_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < bitsValue_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(bitsValue_.getByteString(i));
+ }
+ size += dataSize;
+ size += 1 * getBitsValueList().size();
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(6, bytesValue_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -1192,6 +1424,7 @@ public final class NormalizedNodeMessages {
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getNameFieldBuilder();
+ getInstanceIdentifierValueFieldBuilder();
}
}
private static Builder create() {
@@ -1210,6 +1443,16 @@ public final class NormalizedNodeMessages {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ } else {
+ instanceIdentifierValueBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@@ -1254,6 +1497,24 @@ public final class NormalizedNodeMessages {
to_bitField0_ |= 0x00000004;
}
result.type_ = type_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ if (instanceIdentifierValueBuilder_ == null) {
+ result.instanceIdentifierValue_ = instanceIdentifierValue_;
+ } else {
+ result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ bitsValue_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.bitsValue_ = bitsValue_;
+ if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.bytesValue_ = bytesValue_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -1281,11 +1542,33 @@ public final class NormalizedNodeMessages {
if (other.hasType()) {
setType(other.getType());
}
+ if (other.hasInstanceIdentifierValue()) {
+ mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
+ }
+ if (!other.bitsValue_.isEmpty()) {
+ if (bitsValue_.isEmpty()) {
+ bitsValue_ = other.bitsValue_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ ensureBitsValueIsMutable();
+ bitsValue_.addAll(other.bitsValue_);
+ }
+ onChanged();
+ }
+ if (other.hasBytesValue()) {
+ setBytesValue(other.getBytesValue());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
+ if (hasInstanceIdentifierValue()) {
+ if (!getInstanceIdentifierValue().isInitialized()) {
+
+ return false;
+ }
+ }
return true;
}
@@ -1415,8 +1698,7 @@ public final class NormalizedNodeMessages {
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>(
+ nameBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
name_,
getParentForChildren(),
isClean());
@@ -1532,6 +1814,323 @@ public final class NormalizedNodeMessages {
return this;
}
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ 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 = 4;
+ *
+ * + * Specific values + *+ */ + public boolean hasInstanceIdentifierValue() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * 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 = 4;
+ *
+ * + * 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_ |= 0x00000008; + return this; + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * 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_ |= 0x00000008; + return this; + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) { + if (instanceIdentifierValueBuilder_ == null) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + 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_ |= 0x00000008; + return this; + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + public Builder clearInstanceIdentifierValue() { + if (instanceIdentifierValueBuilder_ == null) { + instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance(); + onChanged(); + } else { + instanceIdentifierValueBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getInstanceIdentifierValueFieldBuilder().getBuilder(); + } + /** + *
optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ *
+ * + * Specific values + *+ */ + 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 = 4;
+ *
+ * + * 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<>( + instanceIdentifierValue_, + getParentForChildren(), + isClean()); + instanceIdentifierValue_ = null; + } + return instanceIdentifierValueBuilder_; + } + + // repeated string bitsValue = 5; + private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBitsValueIsMutable() { + if (!((bitField0_ & 0x00000010) == 0x00000010)) { + bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_); + bitField0_ |= 0x00000010; + } + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public java.util.List
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public int getBitsValueCount() { + return bitsValue_.size(); + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public java.lang.String getBitsValue(int index) { + return bitsValue_.get(index); + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public com.google.protobuf.ByteString + getBitsValueBytes(int index) { + return bitsValue_.getByteString(index); + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public Builder setBitsValue( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBitsValueIsMutable(); + bitsValue_.set(index, value); + onChanged(); + return this; + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public Builder addBitsValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBitsValueIsMutable(); + bitsValue_.add(value); + onChanged(); + return this; + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public Builder addAllBitsValue( + java.lang.Iterable
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public Builder clearBitsValue() { + bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
repeated string bitsValue = 5;
+ *
+ * + * intValueType = Bits + *+ */ + public Builder addBitsValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBitsValueIsMutable(); + bitsValue_.add(value); + onChanged(); + return this; + } + + // optional bytes bytesValue = 6; + private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY; + /** + *
optional bytes bytesValue = 6;
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * optional bytes bytesValue = 6;
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+ /**
+ * optional bytes bytesValue = 6;
+ */
+ public Builder setBytesValue(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
+ bytesValue_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bytes bytesValue = 6;
+ */
+ public Builder clearBytesValue() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ bytesValue_ = getDefaultInstance().getBytesValue();
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
}
@@ -2532,7 +3131,7 @@ public final class NormalizedNodeMessages {
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- attribute_ = new java.util.ArrayListrepeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + java.util.List
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + int getCodeCount(); + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + java.lang.String getCode(int index); + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + com.google.protobuf.ByteString + getCodeBytes(int index); } /** * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier} @@ -4230,12 +4882,20 @@ public final class NormalizedNodeMessages { } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - arguments_ = new java.util.ArrayList
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public java.util.List
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public int getCodeCount() { + return code_.size(); + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public java.lang.String getCode(int index) { + return code_.get(index); + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public com.google.protobuf.ByteString + getCodeBytes(int index) { + return code_.getByteString(index); + } + private void initFields() { arguments_ = java.util.Collections.emptyList(); + code_ = com.google.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -4338,6 +5056,9 @@ public final class NormalizedNodeMessages { for (int i = 0; i < arguments_.size(); i++) { output.writeMessage(1, arguments_.get(i)); } + for (int i = 0; i < code_.size(); i++) { + output.writeBytes(2, code_.getByteString(i)); + } getUnknownFields().writeTo(output); } @@ -4351,6 +5072,15 @@ public final class NormalizedNodeMessages { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, arguments_.get(i)); } + { + 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; return size; @@ -4474,6 +5204,8 @@ public final class NormalizedNodeMessages { } else { argumentsBuilder_.clear(); } + code_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -4510,6 +5242,12 @@ public final class NormalizedNodeMessages { } else { result.arguments_ = argumentsBuilder_.build(); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + code_ = new com.google.protobuf.UnmodifiableLazyStringList( + code_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.code_ = code_; onBuilt(); return result; } @@ -4551,6 +5289,16 @@ public final class NormalizedNodeMessages { } } } + if (!other.code_.isEmpty()) { + if (code_.isEmpty()) { + code_ = other.code_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureCodeIsMutable(); + code_.addAll(other.code_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -4589,7 +5337,7 @@ public final class NormalizedNodeMessages { java.util.Collections.emptyList(); private void ensureArgumentsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - arguments_ = new java.util.ArrayList
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public java.util.List
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public int getCodeCount() { + return code_.size(); + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public java.lang.String getCode(int index) { + return code_.get(index); + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public com.google.protobuf.ByteString + getCodeBytes(int index) { + return code_.getByteString(index); + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public Builder setCode( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCodeIsMutable(); + code_.set(index, value); + onChanged(); + return this; + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public Builder addCode( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCodeIsMutable(); + code_.add(value); + onChanged(); + return this; + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public Builder addAllCode( + java.lang.Iterable
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + public Builder clearCode() { + code_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
repeated string code = 2;
+ *
+ * + * A list of string codes which can be used for any repeated strings in the path args. This is + * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode, + * that contains the codes. + *+ */ + 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.InstanceIdentifier) } @@ -5123,6 +6017,16 @@ public final class NormalizedNodeMessages { */ com.google.protobuf.ByteString getCodeBytes(int index); + + // optional bytes bytesValue = 13; + /** + *
optional bytes bytesValue = 13;
+ */
+ boolean hasBytesValue();
+ /**
+ * optional bytes bytesValue = 13;
+ */
+ com.google.protobuf.ByteString getBytesValue();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.Node}
@@ -5205,7 +6109,7 @@ public final class NormalizedNodeMessages {
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
- attributes_ = new java.util.ArrayListoptional bytes bytesValue = 13;
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ /**
+ * optional bytes bytesValue = 13;
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+
private void initFields() {
path_ = "";
type_ = "";
@@ -5796,6 +6721,7 @@ public final class NormalizedNodeMessages {
instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -5869,6 +6795,9 @@ public final class NormalizedNodeMessages {
for (int i = 0; i < code_.size(); i++) {
output.writeBytes(12, code_.getByteString(i));
}
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ output.writeBytes(13, bytesValue_);
+ }
getUnknownFields().writeTo(output);
}
@@ -5936,6 +6865,10 @@ public final class NormalizedNodeMessages {
size += dataSize;
size += 1 * getCodeList().size();
}
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(13, bytesValue_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -6096,6 +7029,8 @@ public final class NormalizedNodeMessages {
bitField0_ = (bitField0_ & ~0x00000400);
code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000800);
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
@@ -6194,6 +7129,10 @@ public final class NormalizedNodeMessages {
bitField0_ = (bitField0_ & ~0x00000800);
}
result.code_ = code_;
+ if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ to_bitField0_ |= 0x00000100;
+ }
+ result.bytesValue_ = bytesValue_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -6314,6 +7253,9 @@ public final class NormalizedNodeMessages {
}
onChanged();
}
+ if (other.hasBytesValue()) {
+ setBytesValue(other.getBytesValue());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -6668,8 +7610,7 @@ public final class NormalizedNodeMessages {
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>(
+ pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
pathArgument_,
getParentForChildren(),
isClean());
@@ -6716,7 +7657,7 @@ public final class NormalizedNodeMessages {
java.util.Collections.emptyList();
private void ensureAttributesIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
- attributes_ = new java.util.ArrayListoptional bytes bytesValue = 13;
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00001000) == 0x00001000);
+ }
+ /**
+ * optional bytes bytesValue = 13;
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+ /**
+ * optional bytes bytesValue = 13;
+ */
+ public Builder setBytesValue(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00001000;
+ bytesValue_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bytes bytesValue = 13;
+ */
+ public Builder clearBytesValue() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ bytesValue_ = getDefaultInstance().getBytesValue();
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
}
@@ -8496,8 +9470,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>
getNormalizedNodeFieldBuilder() {
if (normalizedNodeBuilder_ == null) {
- normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- 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>(
+ normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
normalizedNode_,
getParentForChildren(),
isClean());
@@ -9106,8 +10079,7 @@ public final class NormalizedNodeMessages {
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>
getInstanceIdentifierPathFieldBuilder() {
if (instanceIdentifierPathBuilder_ == null) {
- instanceIdentifierPathBuilder_ = 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>(
+ instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
instanceIdentifierPath_,
getParentForChildren(),
isClean());
@@ -9223,8 +10195,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>
getNormalizedNodeFieldBuilder() {
if (normalizedNodeBuilder_ == null) {
- normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- 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>(
+ normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<>(
normalizedNode_,
getParentForChildren(),
isClean());
@@ -9325,7 +10296,7 @@ public final class NormalizedNodeMessages {
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- mapEntries_ = new java.util.ArrayList