X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotobuff%2Fmessages%2Ftransaction%2FShardTransactionMessages.java;h=8dbb28acb0f42abe54e041d4e307b0940d218743;hb=fe4049d34de103016d11f3a9050853c6380646d3;hp=cabcf859da95e63fbc404c9482f4167cf129f522;hpb=0aa399ccfc04185ba555b2cae72035b399b3ade8;p=controller.git
diff --git a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/protobuff/messages/transaction/ShardTransactionMessages.java b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/protobuff/messages/transaction/ShardTransactionMessages.java
index cabcf859da..8dbb28acb0 100644
--- a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/protobuff/messages/transaction/ShardTransactionMessages.java
+++ b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/java/org/opendaylight/controller/protobuff/messages/transaction/ShardTransactionMessages.java
@@ -938,20 +938,35 @@ public final class ShardTransactionMessages {
public interface CreateTransactionReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // required string transactionPath = 1;
+ // required string transactionActorPath = 1;
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- boolean hasTransactionPath();
+ boolean hasTransactionActorPath();
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- java.lang.String getTransactionPath();
+ java.lang.String getTransactionActorPath();
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
com.google.protobuf.ByteString
- getTransactionPathBytes();
+ getTransactionActorPathBytes();
+
+ // required string transactionId = 2;
+ /**
+ * required string transactionId = 2;
+ */
+ boolean hasTransactionId();
+ /**
+ * required string transactionId = 2;
+ */
+ java.lang.String getTransactionId();
+ /**
+ * required string transactionId = 2;
+ */
+ com.google.protobuf.ByteString
+ getTransactionIdBytes();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
@@ -1006,7 +1021,12 @@ public final class ShardTransactionMessages {
}
case 10: {
bitField0_ |= 0x00000001;
- transactionPath_ = input.readBytes();
+ transactionActorPath_ = input.readBytes();
+ break;
+ }
+ case 18: {
+ bitField0_ |= 0x00000002;
+ transactionId_ = input.readBytes();
break;
}
}
@@ -1049,20 +1069,63 @@ public final class ShardTransactionMessages {
}
private int bitField0_;
- // required string transactionPath = 1;
- public static final int TRANSACTIONPATH_FIELD_NUMBER = 1;
- private java.lang.Object transactionPath_;
+ // required string transactionActorPath = 1;
+ public static final int TRANSACTIONACTORPATH_FIELD_NUMBER = 1;
+ private java.lang.Object transactionActorPath_;
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- public boolean hasTransactionPath() {
+ public boolean hasTransactionActorPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
+ */
+ public java.lang.String getTransactionActorPath() {
+ java.lang.Object ref = transactionActorPath_;
+ 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()) {
+ transactionActorPath_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string transactionActorPath = 1;
+ */
+ public com.google.protobuf.ByteString
+ getTransactionActorPathBytes() {
+ java.lang.Object ref = transactionActorPath_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ transactionActorPath_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ // required string transactionId = 2;
+ public static final int TRANSACTIONID_FIELD_NUMBER = 2;
+ private java.lang.Object transactionId_;
+ /**
+ * required string transactionId = 2;
+ */
+ public boolean hasTransactionId() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required string transactionId = 2;
*/
- public java.lang.String getTransactionPath() {
- java.lang.Object ref = transactionPath_;
+ public java.lang.String getTransactionId() {
+ java.lang.Object ref = transactionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
@@ -1070,22 +1133,22 @@ public final class ShardTransactionMessages {
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
- transactionPath_ = s;
+ transactionId_ = s;
}
return s;
}
}
/**
- * required string transactionPath = 1;
+ * required string transactionId = 2;
*/
public com.google.protobuf.ByteString
- getTransactionPathBytes() {
- java.lang.Object ref = transactionPath_;
+ getTransactionIdBytes() {
+ java.lang.Object ref = transactionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- transactionPath_ = b;
+ transactionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -1093,14 +1156,19 @@ public final class ShardTransactionMessages {
}
private void initFields() {
- transactionPath_ = "";
+ transactionActorPath_ = "";
+ transactionId_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
- if (!hasTransactionPath()) {
+ if (!hasTransactionActorPath()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasTransactionId()) {
memoizedIsInitialized = 0;
return false;
}
@@ -1112,7 +1180,10 @@ public final class ShardTransactionMessages {
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getTransactionPathBytes());
+ output.writeBytes(1, getTransactionActorPathBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, getTransactionIdBytes());
}
getUnknownFields().writeTo(output);
}
@@ -1125,7 +1196,11 @@ public final class ShardTransactionMessages {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getTransactionPathBytes());
+ .computeBytesSize(1, getTransactionActorPathBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(2, getTransactionIdBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
@@ -1243,8 +1318,10 @@ public final class ShardTransactionMessages {
public Builder clear() {
super.clear();
- transactionPath_ = "";
+ transactionActorPath_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
+ transactionId_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -1276,7 +1353,11 @@ public final class ShardTransactionMessages {
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
- result.transactionPath_ = transactionPath_;
+ result.transactionActorPath_ = transactionActorPath_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.transactionId_ = transactionId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -1293,9 +1374,14 @@ public final class ShardTransactionMessages {
public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply other) {
if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance()) return this;
- if (other.hasTransactionPath()) {
+ if (other.hasTransactionActorPath()) {
bitField0_ |= 0x00000001;
- transactionPath_ = other.transactionPath_;
+ transactionActorPath_ = other.transactionActorPath_;
+ onChanged();
+ }
+ if (other.hasTransactionId()) {
+ bitField0_ |= 0x00000002;
+ transactionId_ = other.transactionId_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -1303,7 +1389,11 @@ public final class ShardTransactionMessages {
}
public final boolean isInitialized() {
- if (!hasTransactionPath()) {
+ if (!hasTransactionActorPath()) {
+
+ return false;
+ }
+ if (!hasTransactionId()) {
return false;
}
@@ -1329,76 +1419,150 @@ public final class ShardTransactionMessages {
}
private int bitField0_;
- // required string transactionPath = 1;
- private java.lang.Object transactionPath_ = "";
+ // required string transactionActorPath = 1;
+ private java.lang.Object transactionActorPath_ = "";
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- public boolean hasTransactionPath() {
+ public boolean hasTransactionActorPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- public java.lang.String getTransactionPath() {
- java.lang.Object ref = transactionPath_;
+ public java.lang.String getTransactionActorPath() {
+ java.lang.Object ref = transactionActorPath_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
- transactionPath_ = s;
+ transactionActorPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
public com.google.protobuf.ByteString
- getTransactionPathBytes() {
- java.lang.Object ref = transactionPath_;
+ getTransactionActorPathBytes() {
+ java.lang.Object ref = transactionActorPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- transactionPath_ = b;
+ transactionActorPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- public Builder setTransactionPath(
+ public Builder setTransactionActorPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
- transactionPath_ = value;
+ transactionActorPath_ = value;
onChanged();
return this;
}
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- public Builder clearTransactionPath() {
+ public Builder clearTransactionActorPath() {
bitField0_ = (bitField0_ & ~0x00000001);
- transactionPath_ = getDefaultInstance().getTransactionPath();
+ transactionActorPath_ = getDefaultInstance().getTransactionActorPath();
onChanged();
return this;
}
/**
- * required string transactionPath = 1;
+ * required string transactionActorPath = 1;
*/
- public Builder setTransactionPathBytes(
+ public Builder setTransactionActorPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
- transactionPath_ = value;
+ transactionActorPath_ = value;
+ onChanged();
+ return this;
+ }
+
+ // required string transactionId = 2;
+ private java.lang.Object transactionId_ = "";
+ /**
+ * required string transactionId = 2;
+ */
+ public boolean hasTransactionId() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required string transactionId = 2;
+ */
+ public java.lang.String getTransactionId() {
+ java.lang.Object ref = transactionId_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ transactionId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string transactionId = 2;
+ */
+ public com.google.protobuf.ByteString
+ getTransactionIdBytes() {
+ java.lang.Object ref = transactionId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ transactionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string transactionId = 2;
+ */
+ public Builder setTransactionId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ transactionId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string transactionId = 2;
+ */
+ public Builder clearTransactionId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ transactionId_ = getDefaultInstance().getTransactionId();
+ onChanged();
+ return this;
+ }
+ /**
+ * required string transactionId = 2;
+ */
+ public Builder setTransactionIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ transactionId_ = value;
onChanged();
return this;
}
@@ -2205,25 +2369,20 @@ public final class ShardTransactionMessages {
public interface DeleteDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // repeated string instanceIdentifierPathArguments = 1;
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- java.util.List
- getInstanceIdentifierPathArgumentsList();
+ // required string instanceIdentifierPathArguments = 1;
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- int getInstanceIdentifierPathArgumentsCount();
+ boolean hasInstanceIdentifierPathArguments();
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- java.lang.String getInstanceIdentifierPathArguments(int index);
+ java.lang.String getInstanceIdentifierPathArguments();
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
com.google.protobuf.ByteString
- getInstanceIdentifierPathArgumentsBytes(int index);
+ getInstanceIdentifierPathArgumentsBytes();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.DeleteData}
@@ -2277,11 +2436,8 @@ public final class ShardTransactionMessages {
break;
}
case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000001;
- }
- instanceIdentifierPathArguments_.add(input.readBytes());
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = input.readBytes();
break;
}
}
@@ -2292,9 +2448,6 @@ public final class ShardTransactionMessages {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.UnmodifiableLazyStringList(instanceIdentifierPathArguments_);
- }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -2326,44 +2479,62 @@ public final class ShardTransactionMessages {
return PARSER;
}
- // repeated string instanceIdentifierPathArguments = 1;
+ private int bitField0_;
+ // required string instanceIdentifierPathArguments = 1;
public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
- private com.google.protobuf.LazyStringList instanceIdentifierPathArguments_;
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public java.util.List
- getInstanceIdentifierPathArgumentsList() {
- return instanceIdentifierPathArguments_;
- }
+ private java.lang.Object instanceIdentifierPathArguments_;
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public int getInstanceIdentifierPathArgumentsCount() {
- return instanceIdentifierPathArguments_.size();
+ public boolean hasInstanceIdentifierPathArguments() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public java.lang.String getInstanceIdentifierPathArguments(int index) {
- return instanceIdentifierPathArguments_.get(index);
+ public java.lang.String getInstanceIdentifierPathArguments() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ 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()) {
+ instanceIdentifierPathArguments_ = s;
+ }
+ return s;
+ }
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public com.google.protobuf.ByteString
- getInstanceIdentifierPathArgumentsBytes(int index) {
- return instanceIdentifierPathArguments_.getByteString(index);
+ getInstanceIdentifierPathArgumentsBytes() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceIdentifierPathArguments_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
private void initFields() {
- instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ instanceIdentifierPathArguments_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
+ if (!hasInstanceIdentifierPathArguments()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
memoizedIsInitialized = 1;
return true;
}
@@ -2371,8 +2542,8 @@ public final class ShardTransactionMessages {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
- for (int i = 0; i < instanceIdentifierPathArguments_.size(); i++) {
- output.writeBytes(1, instanceIdentifierPathArguments_.getByteString(i));
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getInstanceIdentifierPathArgumentsBytes());
}
getUnknownFields().writeTo(output);
}
@@ -2383,14 +2554,9 @@ public final class ShardTransactionMessages {
if (size != -1) return size;
size = 0;
- {
- int dataSize = 0;
- for (int i = 0; i < instanceIdentifierPathArguments_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(instanceIdentifierPathArguments_.getByteString(i));
- }
- size += dataSize;
- size += 1 * getInstanceIdentifierPathArgumentsList().size();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, getInstanceIdentifierPathArgumentsBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
@@ -2508,7 +2674,7 @@ public final class ShardTransactionMessages {
public Builder clear() {
super.clear();
- instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ instanceIdentifierPathArguments_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -2537,12 +2703,12 @@ public final class ShardTransactionMessages {
public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DeleteData buildPartial() {
org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DeleteData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DeleteData(this);
int from_bitField0_ = bitField0_;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.UnmodifiableLazyStringList(
- instanceIdentifierPathArguments_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
}
result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
+ result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2558,14 +2724,9 @@ public final class ShardTransactionMessages {
public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DeleteData other) {
if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DeleteData.getDefaultInstance()) return this;
- if (!other.instanceIdentifierPathArguments_.isEmpty()) {
- if (instanceIdentifierPathArguments_.isEmpty()) {
- instanceIdentifierPathArguments_ = other.instanceIdentifierPathArguments_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.addAll(other.instanceIdentifierPathArguments_);
- }
+ if (other.hasInstanceIdentifierPathArguments()) {
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = other.instanceIdentifierPathArguments_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -2573,6 +2734,10 @@ public final class ShardTransactionMessages {
}
public final boolean isInitialized() {
+ if (!hasInstanceIdentifierPathArguments()) {
+
+ return false;
+ }
return true;
}
@@ -2595,95 +2760,76 @@ public final class ShardTransactionMessages {
}
private int bitField0_;
- // repeated string instanceIdentifierPathArguments = 1;
- private com.google.protobuf.LazyStringList instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureInstanceIdentifierPathArgumentsIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.LazyStringArrayList(instanceIdentifierPathArguments_);
- bitField0_ |= 0x00000001;
- }
- }
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public java.util.List
- getInstanceIdentifierPathArgumentsList() {
- return java.util.Collections.unmodifiableList(instanceIdentifierPathArguments_);
- }
+ // required string instanceIdentifierPathArguments = 1;
+ private java.lang.Object instanceIdentifierPathArguments_ = "";
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public int getInstanceIdentifierPathArgumentsCount() {
- return instanceIdentifierPathArguments_.size();
+ public boolean hasInstanceIdentifierPathArguments() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public java.lang.String getInstanceIdentifierPathArguments(int index) {
- return instanceIdentifierPathArguments_.get(index);
+ public java.lang.String getInstanceIdentifierPathArguments() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ instanceIdentifierPathArguments_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public com.google.protobuf.ByteString
- getInstanceIdentifierPathArgumentsBytes(int index) {
- return instanceIdentifierPathArguments_.getByteString(index);
+ getInstanceIdentifierPathArgumentsBytes() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceIdentifierPathArguments_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public Builder setInstanceIdentifierPathArguments(
- int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public Builder addInstanceIdentifierPathArguments(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public Builder addAllInstanceIdentifierPathArguments(
- java.lang.Iterable values) {
- ensureInstanceIdentifierPathArgumentsIsMutable();
- super.addAll(values, instanceIdentifierPathArguments_);
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = value;
onChanged();
return this;
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public Builder clearInstanceIdentifierPathArguments() {
- instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
+ instanceIdentifierPathArguments_ = getDefaultInstance().getInstanceIdentifierPathArguments();
onChanged();
return this;
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public Builder addInstanceIdentifierPathArgumentsBytes(
+ public Builder setInstanceIdentifierPathArgumentsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.add(value);
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = value;
onChanged();
return this;
}
@@ -3490,19 +3636,19 @@ public final class ShardTransactionMessages {
public interface ReadDataReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
boolean hasNormalizedNode();
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNode();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeOrBuilder();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.ReadDataReply}
@@ -3556,11 +3702,11 @@ public final class ShardTransactionMessages {
break;
}
case 10: {
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder subBuilder = null;
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = normalizedNode_.toBuilder();
}
- normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.PARSER, extensionRegistry);
+ normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(normalizedNode_);
normalizedNode_ = subBuilder.buildPartial();
@@ -3608,43 +3754,41 @@ public final class ShardTransactionMessages {
}
private int bitField0_;
- // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
public static final int NORMALIZEDNODE_FIELD_NUMBER = 1;
- private org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml normalizedNode_;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
public boolean hasNormalizedNode() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNode() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
return normalizedNode_;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeOrBuilder() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
return normalizedNode_;
}
private void initFields() {
- normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
- if (!hasNormalizedNode()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getNormalizedNode().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
+ if (hasNormalizedNode()) {
+ if (!getNormalizedNode().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
}
memoizedIsInitialized = 1;
return true;
@@ -3787,7 +3931,7 @@ public final class ShardTransactionMessages {
public Builder clear() {
super.clear();
if (normalizedNodeBuilder_ == null) {
- normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
} else {
normalizedNodeBuilder_.clear();
}
@@ -3852,13 +3996,11 @@ public final class ShardTransactionMessages {
}
public final boolean isInitialized() {
- if (!hasNormalizedNode()) {
-
- return false;
- }
- if (!getNormalizedNode().isInitialized()) {
+ if (hasNormalizedNode()) {
+ if (!getNormalizedNode().isInitialized()) {
- return false;
+ return false;
+ }
}
return true;
}
@@ -3882,20 +4024,20 @@ public final class ShardTransactionMessages {
}
private int bitField0_;
- // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
- private org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder> normalizedNodeBuilder_;
+ 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_;
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
public boolean hasNormalizedNode() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNode() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
if (normalizedNodeBuilder_ == null) {
return normalizedNode_;
} else {
@@ -3903,9 +4045,9 @@ public final class ShardTransactionMessages {
}
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml value) {
+ public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
if (normalizedNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
@@ -3919,10 +4061,10 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
public Builder setNormalizedNode(
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder builderForValue) {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
if (normalizedNodeBuilder_ == null) {
normalizedNode_ = builderForValue.build();
onChanged();
@@ -3933,14 +4075,14 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml value) {
+ public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
if (normalizedNodeBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
- normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance()) {
+ normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
normalizedNode_ =
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
} else {
normalizedNode_ = value;
}
@@ -3952,11 +4094,11 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
public Builder clearNormalizedNode() {
if (normalizedNodeBuilder_ == null) {
- normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
onChanged();
} else {
normalizedNodeBuilder_.clear();
@@ -3965,17 +4107,17 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder getNormalizedNodeBuilder() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getNormalizedNodeFieldBuilder().getBuilder();
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeOrBuilder() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
if (normalizedNodeBuilder_ != null) {
return normalizedNodeBuilder_.getMessageOrBuilder();
} else {
@@ -3983,14 +4125,14 @@ public final class ShardTransactionMessages {
}
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 1;
+ * optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder>
+ 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.SimpleNormalizedNodeMessage.NormalizedNodeXml, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder>(
+ 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>(
normalizedNode_,
getParentForChildren(),
isClean());
@@ -4013,59 +4155,1050 @@ public final class ShardTransactionMessages {
public interface WriteDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // repeated string instanceIdentifierPathArguments = 1;
+ // required string instanceIdentifierPathArguments = 1;
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- java.util.List
- getInstanceIdentifierPathArgumentsList();
+ boolean hasInstanceIdentifierPathArguments();
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- int getInstanceIdentifierPathArgumentsCount();
+ java.lang.String getInstanceIdentifierPathArguments();
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- java.lang.String getInstanceIdentifierPathArguments(int index);
+ com.google.protobuf.ByteString
+ getInstanceIdentifierPathArgumentsBytes();
+
+ // required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ boolean hasNormalizedNode();
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
+ }
+ /**
+ * Protobuf type {@code org.opendaylight.controller.mdsal.WriteData}
+ */
+ public static final class WriteData extends
+ com.google.protobuf.GeneratedMessage
+ implements WriteDataOrBuilder {
+ // Use WriteData.newBuilder() to construct.
+ private WriteData(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private WriteData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final WriteData defaultInstance;
+ public static WriteData getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public WriteData getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private WriteData(
+ 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: {
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = input.readBytes();
+ break;
+ }
+ case 18: {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = normalizedNode_.toBuilder();
+ }
+ normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(normalizedNode_);
+ normalizedNode_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ 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.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public WriteData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new WriteData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // required string instanceIdentifierPathArguments = 1;
+ public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
+ private java.lang.Object instanceIdentifierPathArguments_;
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public boolean hasInstanceIdentifierPathArguments() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public java.lang.String getInstanceIdentifierPathArguments() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ 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()) {
+ instanceIdentifierPathArguments_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public com.google.protobuf.ByteString
+ getInstanceIdentifierPathArgumentsBytes() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceIdentifierPathArguments_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ // required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public boolean hasNormalizedNode() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
+ return normalizedNode_;
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
+ return normalizedNode_;
+ }
+
+ private void initFields() {
+ instanceIdentifierPathArguments_ = "";
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasInstanceIdentifierPathArguments()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasNormalizedNode()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getNormalizedNode().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getInstanceIdentifierPathArgumentsBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(2, normalizedNode_);
+ }
+ 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
+ .computeBytesSize(1, getInstanceIdentifierPathArgumentsBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, normalizedNode_);
+ }
+ 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.transaction.ShardTransactionMessages.WriteData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData 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.transaction.ShardTransactionMessages.WriteData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData 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.transaction.ShardTransactionMessages.WriteData parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData 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.transaction.ShardTransactionMessages.WriteData parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData 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.transaction.ShardTransactionMessages.WriteData parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData 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.transaction.ShardTransactionMessages.WriteData 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.WriteData}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder
+ implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.Builder.class);
+ }
+
+ // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getNormalizedNodeFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ instanceIdentifierPathArguments_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ if (normalizedNodeBuilder_ == null) {
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
+ } else {
+ normalizedNodeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_descriptor;
+ }
+
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData getDefaultInstanceForType() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.getDefaultInstance();
+ }
+
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData build() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData buildPartial() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ if (normalizedNodeBuilder_ == null) {
+ result.normalizedNode_ = normalizedNode_;
+ } else {
+ result.normalizedNode_ = normalizedNodeBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData) {
+ return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData other) {
+ if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.getDefaultInstance()) return this;
+ if (other.hasInstanceIdentifierPathArguments()) {
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = other.instanceIdentifierPathArguments_;
+ onChanged();
+ }
+ if (other.hasNormalizedNode()) {
+ mergeNormalizedNode(other.getNormalizedNode());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasInstanceIdentifierPathArguments()) {
+
+ return false;
+ }
+ if (!hasNormalizedNode()) {
+
+ return false;
+ }
+ if (!getNormalizedNode().isInitialized()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // required string instanceIdentifierPathArguments = 1;
+ private java.lang.Object instanceIdentifierPathArguments_ = "";
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public boolean hasInstanceIdentifierPathArguments() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public java.lang.String getInstanceIdentifierPathArguments() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ instanceIdentifierPathArguments_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public com.google.protobuf.ByteString
+ getInstanceIdentifierPathArgumentsBytes() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceIdentifierPathArguments_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public Builder setInstanceIdentifierPathArguments(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public Builder clearInstanceIdentifierPathArguments() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ instanceIdentifierPathArguments_ = getDefaultInstance().getInstanceIdentifierPathArguments();
+ onChanged();
+ return this;
+ }
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ public Builder setInstanceIdentifierPathArgumentsBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = value;
+ onChanged();
+ return this;
+ }
+
+ // required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
+ private 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_;
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public boolean hasNormalizedNode() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
+ if (normalizedNodeBuilder_ == null) {
+ return normalizedNode_;
+ } else {
+ return normalizedNodeBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
+ if (normalizedNodeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ normalizedNode_ = value;
+ onChanged();
+ } else {
+ normalizedNodeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public Builder setNormalizedNode(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
+ if (normalizedNodeBuilder_ == null) {
+ normalizedNode_ = builderForValue.build();
+ onChanged();
+ } else {
+ normalizedNodeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
+ if (normalizedNodeBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
+ normalizedNode_ =
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
+ } else {
+ normalizedNode_ = value;
+ }
+ onChanged();
+ } else {
+ normalizedNodeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public Builder clearNormalizedNode() {
+ if (normalizedNodeBuilder_ == null) {
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
+ onChanged();
+ } else {
+ normalizedNodeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getNormalizedNodeFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
+ if (normalizedNodeBuilder_ != null) {
+ return normalizedNodeBuilder_.getMessageOrBuilder();
+ } else {
+ return normalizedNode_;
+ }
+ }
+ /**
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ */
+ private 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>
+ 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>(
+ normalizedNode_,
+ getParentForChildren(),
+ isClean());
+ normalizedNode_ = null;
+ }
+ return normalizedNodeBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.WriteData)
+ }
+
+ static {
+ defaultInstance = new WriteData(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.WriteData)
+ }
+
+ public interface WriteDataReplyOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ }
+ /**
+ * Protobuf type {@code org.opendaylight.controller.mdsal.WriteDataReply}
+ */
+ public static final class WriteDataReply extends
+ com.google.protobuf.GeneratedMessage
+ implements WriteDataReplyOrBuilder {
+ // Use WriteDataReply.newBuilder() to construct.
+ private WriteDataReply(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private WriteDataReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final WriteDataReply defaultInstance;
+ public static WriteDataReply getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public WriteDataReply getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private WriteDataReply(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public WriteDataReply parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new WriteDataReply(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private void initFields() {
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply 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.transaction.ShardTransactionMessages.WriteDataReply 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.WriteDataReply}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder
+ implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReplyOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.Builder.class);
+ }
+
+ // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor;
+ }
+
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply getDefaultInstanceForType() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.getDefaultInstance();
+ }
+
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply build() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply buildPartial() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply(this);
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply) {
+ return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply other) {
+ if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.getDefaultInstance()) return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.WriteDataReply)
+ }
+
+ static {
+ defaultInstance = new WriteDataReply(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.WriteDataReply)
+ }
+
+ public interface MergeDataOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required string instanceIdentifierPathArguments = 1;
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ boolean hasInstanceIdentifierPathArguments();
+ /**
+ * required string instanceIdentifierPathArguments = 1;
+ */
+ java.lang.String getInstanceIdentifierPathArguments();
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
com.google.protobuf.ByteString
- getInstanceIdentifierPathArgumentsBytes(int index);
+ getInstanceIdentifierPathArgumentsBytes();
- // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ // required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
boolean hasNormalizedNode();
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNode();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeOrBuilder();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
}
/**
- * Protobuf type {@code org.opendaylight.controller.mdsal.WriteData}
+ * Protobuf type {@code org.opendaylight.controller.mdsal.MergeData}
*/
- public static final class WriteData extends
+ public static final class MergeData extends
com.google.protobuf.GeneratedMessage
- implements WriteDataOrBuilder {
- // Use WriteData.newBuilder() to construct.
- private WriteData(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ implements MergeDataOrBuilder {
+ // Use MergeData.newBuilder() to construct.
+ private MergeData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
- private WriteData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+ private MergeData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
- private static final WriteData defaultInstance;
- public static WriteData getDefaultInstance() {
+ private static final MergeData defaultInstance;
+ public static MergeData getDefaultInstance() {
return defaultInstance;
}
- public WriteData getDefaultInstanceForType() {
+ public MergeData getDefaultInstanceForType() {
return defaultInstance;
}
@@ -4075,7 +5208,7 @@ public final class ShardTransactionMessages {
getUnknownFields() {
return this.unknownFields;
}
- private WriteData(
+ private MergeData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -4099,24 +5232,21 @@ public final class ShardTransactionMessages {
break;
}
case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000001;
- }
- instanceIdentifierPathArguments_.add(input.readBytes());
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = input.readBytes();
break;
}
case 18: {
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder subBuilder = null;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = normalizedNode_.toBuilder();
}
- normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.PARSER, extensionRegistry);
+ normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(normalizedNode_);
normalizedNode_ = subBuilder.buildPartial();
}
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
break;
}
}
@@ -4127,102 +5257,116 @@ public final class ShardTransactionMessages {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.UnmodifiableLazyStringList(instanceIdentifierPathArguments_);
- }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_descriptor;
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_fieldAccessorTable
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.Builder.class);
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.Builder.class);
}
- public static com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
- public WriteData parsePartialFrom(
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public MergeData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new WriteData(input, extensionRegistry);
+ return new MergeData(input, extensionRegistry);
}
};
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
- // repeated string instanceIdentifierPathArguments = 1;
+ // required string instanceIdentifierPathArguments = 1;
public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
- private com.google.protobuf.LazyStringList instanceIdentifierPathArguments_;
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public java.util.List
- getInstanceIdentifierPathArgumentsList() {
- return instanceIdentifierPathArguments_;
- }
+ private java.lang.Object instanceIdentifierPathArguments_;
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public int getInstanceIdentifierPathArgumentsCount() {
- return instanceIdentifierPathArguments_.size();
+ public boolean hasInstanceIdentifierPathArguments() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public java.lang.String getInstanceIdentifierPathArguments(int index) {
- return instanceIdentifierPathArguments_.get(index);
+ public java.lang.String getInstanceIdentifierPathArguments() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ 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()) {
+ instanceIdentifierPathArguments_ = s;
+ }
+ return s;
+ }
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public com.google.protobuf.ByteString
- getInstanceIdentifierPathArgumentsBytes(int index) {
- return instanceIdentifierPathArguments_.getByteString(index);
+ getInstanceIdentifierPathArgumentsBytes() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceIdentifierPathArguments_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
- // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ // required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
- private org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml normalizedNode_;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
public boolean hasNormalizedNode() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNode() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
return normalizedNode_;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeOrBuilder() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
return normalizedNode_;
}
private void initFields() {
- instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ instanceIdentifierPathArguments_ = "";
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
+ if (!hasInstanceIdentifierPathArguments()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
if (!hasNormalizedNode()) {
memoizedIsInitialized = 0;
return false;
@@ -4238,10 +5382,10 @@ public final class ShardTransactionMessages {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
- for (int i = 0; i < instanceIdentifierPathArguments_.size(); i++) {
- output.writeBytes(1, instanceIdentifierPathArguments_.getByteString(i));
- }
if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getInstanceIdentifierPathArgumentsBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, normalizedNode_);
}
getUnknownFields().writeTo(output);
@@ -4253,16 +5397,11 @@ public final class ShardTransactionMessages {
if (size != -1) return size;
size = 0;
- {
- int dataSize = 0;
- for (int i = 0; i < instanceIdentifierPathArguments_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(instanceIdentifierPathArguments_.getByteString(i));
- }
- size += dataSize;
- size += 1 * getInstanceIdentifierPathArgumentsList().size();
- }
if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, getInstanceIdentifierPathArgumentsBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, normalizedNode_);
}
@@ -4278,53 +5417,53 @@ public final class ShardTransactionMessages {
return super.writeReplace();
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData 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.transaction.ShardTransactionMessages.WriteData parseFrom(byte[] data)
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData 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.transaction.ShardTransactionMessages.WriteData parseFrom(java.io.InputStream input)
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData 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.transaction.ShardTransactionMessages.WriteData parseDelimitedFrom(java.io.InputStream input)
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parseDelimitedFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData 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.transaction.ShardTransactionMessages.WriteData parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -4333,7 +5472,7 @@ public final class ShardTransactionMessages {
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData prototype) {
+ public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@@ -4345,24 +5484,24 @@ public final class ShardTransactionMessages {
return builder;
}
/**
- * Protobuf type {@code org.opendaylight.controller.mdsal.WriteData}
+ * Protobuf type {@code org.opendaylight.controller.mdsal.MergeData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
- implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataOrBuilder {
+ implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_descriptor;
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_fieldAccessorTable
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.Builder.class);
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.Builder.class);
}
- // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.newBuilder()
+ // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -4383,10 +5522,10 @@ public final class ShardTransactionMessages {
public Builder clear() {
super.clear();
- instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ instanceIdentifierPathArguments_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (normalizedNodeBuilder_ == null) {
- normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
} else {
normalizedNodeBuilder_.clear();
}
@@ -4400,33 +5539,31 @@ public final class ShardTransactionMessages {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteData_descriptor;
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeData_descriptor;
}
- public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData getDefaultInstanceForType() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.getDefaultInstance();
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData getDefaultInstanceForType() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.getDefaultInstance();
}
- public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData build() {
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData result = buildPartial();
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData build() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData buildPartial() {
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData(this);
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData buildPartial() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.UnmodifiableLazyStringList(
- instanceIdentifierPathArguments_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
}
result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000001;
+ to_bitField0_ |= 0x00000002;
}
if (normalizedNodeBuilder_ == null) {
result.normalizedNode_ = normalizedNode_;
@@ -4439,24 +5576,19 @@ public final class ShardTransactionMessages {
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData) {
- return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData)other);
+ if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData) {
+ return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData other) {
- if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData.getDefaultInstance()) return this;
- if (!other.instanceIdentifierPathArguments_.isEmpty()) {
- if (instanceIdentifierPathArguments_.isEmpty()) {
- instanceIdentifierPathArguments_ = other.instanceIdentifierPathArguments_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.addAll(other.instanceIdentifierPathArguments_);
- }
+ public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData other) {
+ if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData.getDefaultInstance()) return this;
+ if (other.hasInstanceIdentifierPathArguments()) {
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = other.instanceIdentifierPathArguments_;
onChanged();
}
if (other.hasNormalizedNode()) {
@@ -4467,6 +5599,10 @@ public final class ShardTransactionMessages {
}
public final boolean isInitialized() {
+ if (!hasInstanceIdentifierPathArguments()) {
+
+ return false;
+ }
if (!hasNormalizedNode()) {
return false;
@@ -4482,11 +5618,11 @@ public final class ShardTransactionMessages {
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData parsedMessage = null;
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteData) e.getUnfinishedMessage();
+ parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -4497,113 +5633,94 @@ public final class ShardTransactionMessages {
}
private int bitField0_;
- // repeated string instanceIdentifierPathArguments = 1;
- private com.google.protobuf.LazyStringList instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureInstanceIdentifierPathArgumentsIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
- instanceIdentifierPathArguments_ = new com.google.protobuf.LazyStringArrayList(instanceIdentifierPathArguments_);
- bitField0_ |= 0x00000001;
- }
- }
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public java.util.List
- getInstanceIdentifierPathArgumentsList() {
- return java.util.Collections.unmodifiableList(instanceIdentifierPathArguments_);
- }
+ // required string instanceIdentifierPathArguments = 1;
+ private java.lang.Object instanceIdentifierPathArguments_ = "";
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public int getInstanceIdentifierPathArgumentsCount() {
- return instanceIdentifierPathArguments_.size();
+ public boolean hasInstanceIdentifierPathArguments() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public java.lang.String getInstanceIdentifierPathArguments(int index) {
- return instanceIdentifierPathArguments_.get(index);
+ public java.lang.String getInstanceIdentifierPathArguments() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ instanceIdentifierPathArguments_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public com.google.protobuf.ByteString
- getInstanceIdentifierPathArgumentsBytes(int index) {
- return instanceIdentifierPathArguments_.getByteString(index);
+ getInstanceIdentifierPathArgumentsBytes() {
+ java.lang.Object ref = instanceIdentifierPathArguments_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceIdentifierPathArguments_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public Builder setInstanceIdentifierPathArguments(
- int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public Builder addInstanceIdentifierPathArguments(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated string instanceIdentifierPathArguments = 1;
- */
- public Builder addAllInstanceIdentifierPathArguments(
- java.lang.Iterable values) {
- ensureInstanceIdentifierPathArgumentsIsMutable();
- super.addAll(values, instanceIdentifierPathArguments_);
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = value;
onChanged();
return this;
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
public Builder clearInstanceIdentifierPathArguments() {
- instanceIdentifierPathArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
+ instanceIdentifierPathArguments_ = getDefaultInstance().getInstanceIdentifierPathArguments();
onChanged();
return this;
}
/**
- * repeated string instanceIdentifierPathArguments = 1;
+ * required string instanceIdentifierPathArguments = 1;
*/
- public Builder addInstanceIdentifierPathArgumentsBytes(
+ public Builder setInstanceIdentifierPathArgumentsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- ensureInstanceIdentifierPathArgumentsIsMutable();
- instanceIdentifierPathArguments_.add(value);
+ bitField0_ |= 0x00000001;
+ instanceIdentifierPathArguments_ = value;
onChanged();
return this;
}
- // required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
- private org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ // required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder> normalizedNodeBuilder_;
+ 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_;
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
public boolean hasNormalizedNode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getNormalizedNode() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
if (normalizedNodeBuilder_ == null) {
return normalizedNode_;
} else {
@@ -4611,9 +5728,9 @@ public final class ShardTransactionMessages {
}
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml value) {
+ public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
if (normalizedNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
@@ -4627,10 +5744,10 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
public Builder setNormalizedNode(
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder builderForValue) {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
if (normalizedNodeBuilder_ == null) {
normalizedNode_ = builderForValue.build();
onChanged();
@@ -4641,14 +5758,14 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml value) {
+ public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
if (normalizedNodeBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
- normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance()) {
+ normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
normalizedNode_ =
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
} else {
normalizedNode_ = value;
}
@@ -4660,11 +5777,11 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
public Builder clearNormalizedNode() {
if (normalizedNodeBuilder_ == null) {
- normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.getDefaultInstance();
+ normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
onChanged();
} else {
normalizedNodeBuilder_.clear();
@@ -4673,17 +5790,17 @@ public final class ShardTransactionMessages {
return this;
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder getNormalizedNodeBuilder() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getNormalizedNodeFieldBuilder().getBuilder();
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
- public org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder getNormalizedNodeOrBuilder() {
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
if (normalizedNodeBuilder_ != null) {
return normalizedNodeBuilder_.getMessageOrBuilder();
} else {
@@ -4691,14 +5808,14 @@ public final class ShardTransactionMessages {
}
}
/**
- * required .org.opendaylight.controller.mdsal.NormalizedNodeXml normalizedNode = 2;
+ * required .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder>
+ 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.SimpleNormalizedNodeMessage.NormalizedNodeXml, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder, org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder>(
+ 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>(
normalizedNode_,
getParentForChildren(),
isClean());
@@ -4707,39 +5824,39 @@ public final class ShardTransactionMessages {
return normalizedNodeBuilder_;
}
- // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.WriteData)
+ // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.MergeData)
}
static {
- defaultInstance = new WriteData(true);
+ defaultInstance = new MergeData(true);
defaultInstance.initFields();
}
- // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.WriteData)
+ // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.MergeData)
}
- public interface WriteDataReplyOrBuilder
+ public interface MergeDataReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
/**
- * Protobuf type {@code org.opendaylight.controller.mdsal.WriteDataReply}
+ * Protobuf type {@code org.opendaylight.controller.mdsal.MergeDataReply}
*/
- public static final class WriteDataReply extends
+ public static final class MergeDataReply extends
com.google.protobuf.GeneratedMessage
- implements WriteDataReplyOrBuilder {
- // Use WriteDataReply.newBuilder() to construct.
- private WriteDataReply(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ implements MergeDataReplyOrBuilder {
+ // Use MergeDataReply.newBuilder() to construct.
+ private MergeDataReply(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
- private WriteDataReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+ private MergeDataReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
- private static final WriteDataReply defaultInstance;
- public static WriteDataReply getDefaultInstance() {
+ private static final MergeDataReply defaultInstance;
+ public static MergeDataReply getDefaultInstance() {
return defaultInstance;
}
- public WriteDataReply getDefaultInstanceForType() {
+ public MergeDataReply getDefaultInstanceForType() {
return defaultInstance;
}
@@ -4749,7 +5866,7 @@ public final class ShardTransactionMessages {
getUnknownFields() {
return this.unknownFields;
}
- private WriteDataReply(
+ private MergeDataReply(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -4785,28 +5902,28 @@ public final class ShardTransactionMessages {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor;
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeDataReply_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_fieldAccessorTable
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeDataReply_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.Builder.class);
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.Builder.class);
}
- public static com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
- public WriteDataReply parsePartialFrom(
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public MergeDataReply parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new WriteDataReply(input, extensionRegistry);
+ return new MergeDataReply(input, extensionRegistry);
}
};
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@@ -4845,53 +5962,53 @@ public final class ShardTransactionMessages {
return super.writeReplace();
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseFrom(byte[] data)
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseFrom(java.io.InputStream input)
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseDelimitedFrom(java.io.InputStream input)
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseDelimitedFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply 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.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parseFrom(
+ public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -4900,7 +6017,7 @@ public final class ShardTransactionMessages {
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply prototype) {
+ public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@@ -4912,24 +6029,24 @@ public final class ShardTransactionMessages {
return builder;
}
/**
- * Protobuf type {@code org.opendaylight.controller.mdsal.WriteDataReply}
+ * Protobuf type {@code org.opendaylight.controller.mdsal.MergeDataReply}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
- implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReplyOrBuilder {
+ implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReplyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor;
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeDataReply_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_fieldAccessorTable
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeDataReply_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.Builder.class);
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.Builder.class);
}
- // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.newBuilder()
+ // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -4958,38 +6075,38 @@ public final class ShardTransactionMessages {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor;
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_MergeDataReply_descriptor;
}
- public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply getDefaultInstanceForType() {
- return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.getDefaultInstance();
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply getDefaultInstanceForType() {
+ return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.getDefaultInstance();
}
- public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply build() {
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply result = buildPartial();
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply build() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply buildPartial() {
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply(this);
+ public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply buildPartial() {
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply) {
- return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply)other);
+ if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply) {
+ return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply other) {
- if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply.getDefaultInstance()) return this;
+ public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply other) {
+ if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -5002,11 +6119,11 @@ public final class ShardTransactionMessages {
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply parsedMessage = null;
+ org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.WriteDataReply) e.getUnfinishedMessage();
+ parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.MergeDataReply) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -5016,15 +6133,15 @@ public final class ShardTransactionMessages {
return this;
}
- // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.WriteDataReply)
+ // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.MergeDataReply)
}
static {
- defaultInstance = new WriteDataReply(true);
+ defaultInstance = new MergeDataReply(true);
defaultInstance.initFields();
}
- // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.WriteDataReply)
+ // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.MergeDataReply)
}
private static com.google.protobuf.Descriptors.Descriptor
@@ -5087,6 +6204,16 @@ public final class ShardTransactionMessages {
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_opendaylight_controller_mdsal_WriteDataReply_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_opendaylight_controller_mdsal_MergeData_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_opendaylight_controller_mdsal_MergeData_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_opendaylight_controller_mdsal_MergeDataReply_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_opendaylight_controller_mdsal_MergeDataReply_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
@@ -5097,24 +6224,27 @@ public final class ShardTransactionMessages {
static {
java.lang.String[] descriptorData = {
"\n\026ShardTransaction.proto\022!org.opendaylig" +
- "ht.controller.mdsal\032\032SimpleNormalizedNod" +
- "e.proto\"\022\n\020CloseTransaction\"\027\n\025CloseTran" +
- "sactionReply\"\023\n\021CreateTransaction\"1\n\026Cre" +
- "ateTransactionReply\022\027\n\017transactionPath\030\001" +
- " \002(\t\"\022\n\020ReadyTransaction\"*\n\025ReadyTransac" +
- "tionReply\022\021\n\tactorPath\030\001 \002(\t\"5\n\nDeleteDa" +
- "ta\022\'\n\037instanceIdentifierPathArguments\030\001 " +
- "\003(\t\"\021\n\017DeleteDataReply\"3\n\010ReadData\022\'\n\037in" +
- "stanceIdentifierPathArguments\030\001 \002(\t\"]\n\rR",
- "eadDataReply\022L\n\016normalizedNode\030\001 \002(\01324.o" +
- "rg.opendaylight.controller.mdsal.Normali" +
- "zedNodeXml\"\202\001\n\tWriteData\022\'\n\037instanceIden" +
- "tifierPathArguments\030\001 \003(\t\022L\n\016normalizedN" +
- "ode\030\002 \002(\01324.org.opendaylight.controller." +
- "mdsal.NormalizedNodeXml\"\020\n\016WriteDataRepl" +
- "yBV\n:org.opendaylight.controller.protobu" +
- "ff.messages.transactionB\030ShardTransactio" +
- "nMessages"
+ "ht.controller.mdsal\032\014Common.proto\"\022\n\020Clo" +
+ "seTransaction\"\027\n\025CloseTransactionReply\"\023" +
+ "\n\021CreateTransaction\"M\n\026CreateTransaction" +
+ "Reply\022\034\n\024transactionActorPath\030\001 \002(\t\022\025\n\rt" +
+ "ransactionId\030\002 \002(\t\"\022\n\020ReadyTransaction\"*" +
+ "\n\025ReadyTransactionReply\022\021\n\tactorPath\030\001 \002" +
+ "(\t\"5\n\nDeleteData\022\'\n\037instanceIdentifierPa" +
+ "thArguments\030\001 \002(\t\"\021\n\017DeleteDataReply\"3\n\010" +
+ "ReadData\022\'\n\037instanceIdentifierPathArgume",
+ "nts\030\001 \002(\t\"P\n\rReadDataReply\022?\n\016normalized" +
+ "Node\030\001 \001(\0132\'.org.opendaylight.controller" +
+ ".mdsal.Node\"u\n\tWriteData\022\'\n\037instanceIden" +
+ "tifierPathArguments\030\001 \002(\t\022?\n\016normalizedN" +
+ "ode\030\002 \002(\0132\'.org.opendaylight.controller." +
+ "mdsal.Node\"\020\n\016WriteDataReply\"u\n\tMergeDat" +
+ "a\022\'\n\037instanceIdentifierPathArguments\030\001 \002" +
+ "(\t\022?\n\016normalizedNode\030\002 \002(\0132\'.org.openday" +
+ "light.controller.mdsal.Node\"\020\n\016MergeData" +
+ "ReplyBV\n:org.opendaylight.controller.pro",
+ "tobuff.messages.transactionB\030ShardTransa" +
+ "ctionMessages"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -5144,7 +6274,7 @@ public final class ShardTransactionMessages {
internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor,
- new java.lang.String[] { "TransactionPath", });
+ new java.lang.String[] { "TransactionActorPath", "TransactionId", });
internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_fieldAccessorTable = new
@@ -5193,13 +6323,25 @@ public final class ShardTransactionMessages {
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_WriteDataReply_descriptor,
new java.lang.String[] { });
+ internal_static_org_opendaylight_controller_mdsal_MergeData_descriptor =
+ getDescriptor().getMessageTypes().get(12);
+ internal_static_org_opendaylight_controller_mdsal_MergeData_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_opendaylight_controller_mdsal_MergeData_descriptor,
+ new java.lang.String[] { "InstanceIdentifierPathArguments", "NormalizedNode", });
+ internal_static_org_opendaylight_controller_mdsal_MergeDataReply_descriptor =
+ getDescriptor().getMessageTypes().get(13);
+ internal_static_org_opendaylight_controller_mdsal_MergeDataReply_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_opendaylight_controller_mdsal_MergeDataReply_descriptor,
+ new java.lang.String[] { });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- org.opendaylight.controller.protobuff.messages.common.SimpleNormalizedNodeMessage.getDescriptor(),
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
}, assigner);
}