// @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Attribute)
}
+ public interface PathArgumentAttributeOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional .org.opendaylight.controller.mdsal.QName name = 1;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ boolean hasName();
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName();
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder();
+
+ // optional string value = 2;
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ boolean hasValue();
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ java.lang.String getValue();
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ com.google.protobuf.ByteString
+ getValueBytes();
+
+ // optional int32 type = 3;
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ boolean hasType();
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ int getType();
+
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ boolean hasInstanceIdentifierValue();
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
+
+ // repeated string bitsValue = 5;
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ java.util.List<java.lang.String>
+ getBitsValueList();
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ int getBitsValueCount();
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ java.lang.String getBitsValue(int index);
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ com.google.protobuf.ByteString
+ getBitsValueBytes(int index);
+
+ // optional bytes bytesValue = 6;
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ boolean hasBytesValue();
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ com.google.protobuf.ByteString getBytesValue();
+ }
+ /**
+ * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
+ */
+ public static final class PathArgumentAttribute extends
+ com.google.protobuf.GeneratedMessage
+ implements PathArgumentAttributeOrBuilder {
+ // Use PathArgumentAttribute.newBuilder() to construct.
+ private PathArgumentAttribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private PathArgumentAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final PathArgumentAttribute defaultInstance;
+ public static PathArgumentAttribute getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public PathArgumentAttribute getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private PathArgumentAttribute(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = name_.toBuilder();
+ }
+ name_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(name_);
+ name_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ bitField0_ |= 0x00000002;
+ value_ = input.readBytes();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ type_ = input.readInt32();
+ break;
+ }
+ case 34: {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = instanceIdentifierValue_.toBuilder();
+ }
+ instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(instanceIdentifierValue_);
+ instanceIdentifierValue_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000010;
+ }
+ bitsValue_.add(input.readBytes());
+ break;
+ }
+ case 50: {
+ bitField0_ |= 0x00000010;
+ bytesValue_ = input.readBytes();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser<PathArgumentAttribute> PARSER =
+ new com.google.protobuf.AbstractParser<PathArgumentAttribute>() {
+ public PathArgumentAttribute parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new PathArgumentAttribute(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<PathArgumentAttribute> getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // optional .org.opendaylight.controller.mdsal.QName name = 1;
+ public static final int NAME_FIELD_NUMBER = 1;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
+ return name_;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
+ return name_;
+ }
+
+ // optional string value = 2;
+ public static final int VALUE_FIELD_NUMBER = 2;
+ private java.lang.Object value_;
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public boolean hasValue() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ value_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public com.google.protobuf.ByteString
+ getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ // optional int32 type = 3;
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private int type_;
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ public int getType() {
+ return type_;
+ }
+
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 4;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public boolean hasInstanceIdentifierValue() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
+ return instanceIdentifierValue_;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
+ return instanceIdentifierValue_;
+ }
+
+ // repeated string bitsValue = 5;
+ public static final int BITSVALUE_FIELD_NUMBER = 5;
+ private com.google.protobuf.LazyStringList bitsValue_;
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public java.util.List<java.lang.String>
+ getBitsValueList() {
+ return bitsValue_;
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public int getBitsValueCount() {
+ return bitsValue_.size();
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public java.lang.String getBitsValue(int index) {
+ return bitsValue_.get(index);
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getBitsValueBytes(int index) {
+ return bitsValue_.getByteString(index);
+ }
+
+ // optional bytes bytesValue = 6;
+ public static final int BYTESVALUE_FIELD_NUMBER = 6;
+ private com.google.protobuf.ByteString bytesValue_;
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+
+ private void initFields() {
+ name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
+ value_ = "";
+ type_ = 0;
+ instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (hasInstanceIdentifierValue()) {
+ if (!getInstanceIdentifierValue().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeMessage(1, name_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, getValueBytes());
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeInt32(3, type_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeMessage(4, instanceIdentifierValue_);
+ }
+ for (int i = 0; i < bitsValue_.size(); i++) {
+ output.writeBytes(5, bitsValue_.getByteString(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeBytes(6, bytesValue_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, name_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(2, getValueBytes());
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, type_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, instanceIdentifierValue_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < bitsValue_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(bitsValue_.getByteString(i));
+ }
+ size += dataSize;
+ size += 1 * getBitsValueList().size();
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(6, bytesValue_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
+ }
+
+ // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getNameFieldBuilder();
+ getInstanceIdentifierValueFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (nameBuilder_ == null) {
+ name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
+ } else {
+ nameBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ value_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ type_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ } else {
+ instanceIdentifierValueBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
+ }
+
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getDefaultInstanceForType() {
+ return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance();
+ }
+
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute build() {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute buildPartial() {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (nameBuilder_ == null) {
+ result.name_ = name_;
+ } else {
+ result.name_ = nameBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.value_ = value_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.type_ = type_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ if (instanceIdentifierValueBuilder_ == null) {
+ result.instanceIdentifierValue_ = instanceIdentifierValue_;
+ } else {
+ result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ bitsValue_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.bitsValue_ = bitsValue_;
+ if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.bytesValue_ = bytesValue_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) {
+ return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute other) {
+ if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()) return this;
+ if (other.hasName()) {
+ mergeName(other.getName());
+ }
+ if (other.hasValue()) {
+ bitField0_ |= 0x00000002;
+ value_ = other.value_;
+ onChanged();
+ }
+ if (other.hasType()) {
+ setType(other.getType());
+ }
+ if (other.hasInstanceIdentifierValue()) {
+ mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
+ }
+ if (!other.bitsValue_.isEmpty()) {
+ if (bitsValue_.isEmpty()) {
+ bitsValue_ = other.bitsValue_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ ensureBitsValueIsMutable();
+ bitsValue_.addAll(other.bitsValue_);
+ }
+ onChanged();
+ }
+ if (other.hasBytesValue()) {
+ setBytesValue(other.getBytesValue());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (hasInstanceIdentifierValue()) {
+ if (!getInstanceIdentifierValue().isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional .org.opendaylight.controller.mdsal.QName name = 1;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder> nameBuilder_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
+ if (nameBuilder_ == null) {
+ return name_;
+ } else {
+ return nameBuilder_.getMessage();
+ }
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public Builder setName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
+ if (nameBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ onChanged();
+ } else {
+ nameBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public Builder setName(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
+ if (nameBuilder_ == null) {
+ name_ = builderForValue.build();
+ onChanged();
+ } else {
+ nameBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public Builder mergeName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
+ if (nameBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ name_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
+ name_ =
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(name_).mergeFrom(value).buildPartial();
+ } else {
+ name_ = value;
+ }
+ onChanged();
+ } else {
+ nameBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public Builder clearName() {
+ if (nameBuilder_ == null) {
+ name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
+ onChanged();
+ } else {
+ nameBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNameBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getNameFieldBuilder().getBuilder();
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
+ if (nameBuilder_ != null) {
+ return nameBuilder_.getMessageOrBuilder();
+ } else {
+ return name_;
+ }
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>
+ getNameFieldBuilder() {
+ if (nameBuilder_ == null) {
+ nameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder>(
+ name_,
+ getParentForChildren(),
+ isClean());
+ name_ = null;
+ }
+ return nameBuilder_;
+ }
+
+ // optional string value = 2;
+ private java.lang.Object value_ = "";
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public boolean hasValue() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ value_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public com.google.protobuf.ByteString
+ getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public Builder setValue(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ value_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public Builder clearValue() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ value_ = getDefaultInstance().getValue();
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string value = 2;</code>
+ */
+ public Builder setValueBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ value_ = value;
+ onChanged();
+ return this;
+ }
+
+ // optional int32 type = 3;
+ private int type_ ;
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ public int getType() {
+ return type_;
+ }
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ public Builder setType(int value) {
+ bitField0_ |= 0x00000004;
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 type = 3;</code>
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierValueBuilder_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public boolean hasInstanceIdentifierValue() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
+ if (instanceIdentifierValueBuilder_ == null) {
+ return instanceIdentifierValue_;
+ } else {
+ return instanceIdentifierValueBuilder_.getMessage();
+ }
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
+ if (instanceIdentifierValueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ instanceIdentifierValue_ = value;
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder setInstanceIdentifierValue(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
+ if (instanceIdentifierValueBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
+ instanceIdentifierValue_ =
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
+ } else {
+ instanceIdentifierValue_ = value;
+ }
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder clearInstanceIdentifierValue() {
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getInstanceIdentifierValueFieldBuilder().getBuilder();
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
+ if (instanceIdentifierValueBuilder_ != null) {
+ return instanceIdentifierValueBuilder_.getMessageOrBuilder();
+ } else {
+ return instanceIdentifierValue_;
+ }
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
+ getInstanceIdentifierValueFieldBuilder() {
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
+ instanceIdentifierValue_,
+ getParentForChildren(),
+ isClean());
+ instanceIdentifierValue_ = null;
+ }
+ return instanceIdentifierValueBuilder_;
+ }
+
+ // repeated string bitsValue = 5;
+ private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureBitsValueIsMutable() {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
+ bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
+ bitField0_ |= 0x00000010;
+ }
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public java.util.List<java.lang.String>
+ getBitsValueList() {
+ return java.util.Collections.unmodifiableList(bitsValue_);
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public int getBitsValueCount() {
+ return bitsValue_.size();
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public java.lang.String getBitsValue(int index) {
+ return bitsValue_.get(index);
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getBitsValueBytes(int index) {
+ return bitsValue_.getByteString(index);
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public Builder setBitsValue(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureBitsValueIsMutable();
+ bitsValue_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public Builder addBitsValue(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureBitsValueIsMutable();
+ bitsValue_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public Builder addAllBitsValue(
+ java.lang.Iterable<java.lang.String> values) {
+ ensureBitsValueIsMutable();
+ super.addAll(values, bitsValue_);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public Builder clearBitsValue() {
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string bitsValue = 5;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
+ */
+ public Builder addBitsValueBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureBitsValueIsMutable();
+ bitsValue_.add(value);
+ onChanged();
+ return this;
+ }
+
+ // optional bytes bytesValue = 6;
+ private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ public Builder setBytesValue(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
+ bytesValue_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional bytes bytesValue = 6;</code>
+ */
+ public Builder clearBytesValue() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ bytesValue_ = getDefaultInstance().getBytesValue();
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
+ }
+
+ static {
+ defaultInstance = new PathArgumentAttribute(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
+ }
+
public interface QNameOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // required string value = 1;
+ // optional string value = 1;
+ /**
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
+ */
+ boolean hasValue();
+ /**
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
+ */
+ java.lang.String getValue();
+ /**
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
+ */
+ com.google.protobuf.ByteString
+ getValueBytes();
+
+ // optional int32 namespace = 2;
/**
- * <code>required string value = 1;</code>
+ * <code>optional int32 namespace = 2;</code>
*/
- boolean hasValue();
+ boolean hasNamespace();
/**
- * <code>required string value = 1;</code>
+ * <code>optional int32 namespace = 2;</code>
*/
- java.lang.String getValue();
+ int getNamespace();
+
+ // optional int32 revision = 3;
/**
- * <code>required string value = 1;</code>
+ * <code>optional int32 revision = 3;</code>
*/
- com.google.protobuf.ByteString
- getValueBytes();
+ boolean hasRevision();
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ int getRevision();
+
+ // optional int32 localName = 4;
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ boolean hasLocalName();
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ int getLocalName();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.QName}
value_ = input.readBytes();
break;
}
+ case 16: {
+ bitField0_ |= 0x00000002;
+ namespace_ = input.readInt32();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ revision_ = input.readInt32();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ localName_ = input.readInt32();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
}
private int bitField0_;
- // required string value = 1;
+ // optional string value = 1;
public static final int VALUE_FIELD_NUMBER = 1;
private java.lang.Object value_;
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
}
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public com.google.protobuf.ByteString
getValueBytes() {
}
}
+ // optional int32 namespace = 2;
+ public static final int NAMESPACE_FIELD_NUMBER = 2;
+ private int namespace_;
+ /**
+ * <code>optional int32 namespace = 2;</code>
+ */
+ public boolean hasNamespace() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional int32 namespace = 2;</code>
+ */
+ public int getNamespace() {
+ return namespace_;
+ }
+
+ // optional int32 revision = 3;
+ public static final int REVISION_FIELD_NUMBER = 3;
+ private int revision_;
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ public boolean hasRevision() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ public int getRevision() {
+ return revision_;
+ }
+
+ // optional int32 localName = 4;
+ public static final int LOCALNAME_FIELD_NUMBER = 4;
+ private int localName_;
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ public boolean hasLocalName() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ public int getLocalName() {
+ return localName_;
+ }
+
private void initFields() {
value_ = "";
+ namespace_ = 0;
+ revision_ = 0;
+ localName_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
memoizedIsInitialized = 1;
return true;
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getValueBytes());
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, namespace_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeInt32(3, revision_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeInt32(4, localName_);
+ }
getUnknownFields().writeTo(output);
}
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getValueBytes());
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, namespace_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, revision_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(4, localName_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
super.clear();
value_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
+ namespace_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ revision_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ localName_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
to_bitField0_ |= 0x00000001;
}
result.value_ = value_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.namespace_ = namespace_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.revision_ = revision_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.localName_ = localName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
value_ = other.value_;
onChanged();
}
+ if (other.hasNamespace()) {
+ setNamespace(other.getNamespace());
+ }
+ if (other.hasRevision()) {
+ setRevision(other.getRevision());
+ }
+ if (other.hasLocalName()) {
+ setLocalName(other.getLocalName());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
- if (!hasValue()) {
-
- return false;
- }
return true;
}
}
private int bitField0_;
- // required string value = 1;
+ // optional string value = 1;
private java.lang.Object value_ = "";
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
}
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public com.google.protobuf.ByteString
getValueBytes() {
}
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public Builder setValue(
java.lang.String value) {
return this;
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
return this;
}
+ // optional int32 namespace = 2;
+ private int namespace_ ;
+ /**
+ * <code>optional int32 namespace = 2;</code>
+ */
+ public boolean hasNamespace() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional int32 namespace = 2;</code>
+ */
+ public int getNamespace() {
+ return namespace_;
+ }
+ /**
+ * <code>optional int32 namespace = 2;</code>
+ */
+ public Builder setNamespace(int value) {
+ bitField0_ |= 0x00000002;
+ namespace_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 namespace = 2;</code>
+ */
+ public Builder clearNamespace() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ namespace_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional int32 revision = 3;
+ private int revision_ ;
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ public boolean hasRevision() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ public int getRevision() {
+ return revision_;
+ }
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ public Builder setRevision(int value) {
+ bitField0_ |= 0x00000004;
+ revision_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 revision = 3;</code>
+ */
+ public Builder clearRevision() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ revision_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional int32 localName = 4;
+ private int localName_ ;
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ public boolean hasLocalName() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ public int getLocalName() {
+ return localName_;
+ }
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ public Builder setLocalName(int value) {
+ bitField0_ |= 0x00000008;
+ localName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 localName = 4;</code>
+ */
+ public Builder clearLocalName() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ localName_ = 0;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.QName)
}
public interface PathArgumentOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // required string value = 1;
+ // optional string value = 1;
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
boolean hasValue();
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
java.lang.String getValue();
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
com.google.protobuf.ByteString
getValueBytes();
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
boolean hasType();
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
java.lang.String getType();
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
com.google.protobuf.ByteString
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder();
- // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;
+ // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>
+ getAttributeList();
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index);
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ int getAttributeCount();
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
+ getAttributeOrBuilderList();
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
+ int index);
+
+ // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
getAttributesList();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
int getAttributesCount();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
getAttributesOrBuilderList();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
int index);
+
+ // optional int32 intType = 6;
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ boolean hasIntType();
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ int getIntType();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
+ attribute_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>();
mutable_bitField0_ |= 0x00000008;
}
+ attribute_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.PARSER, extensionRegistry));
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
+ mutable_bitField0_ |= 0x00000010;
+ }
attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
break;
}
+ case 48: {
+ bitField0_ |= 0x00000008;
+ intType_ = input.readInt32();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ attribute_ = java.util.Collections.unmodifiableList(attribute_);
+ }
+ if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
}
this.unknownFields = unknownFields.build();
}
private int bitField0_;
- // required string value = 1;
+ // optional string value = 1;
public static final int VALUE_FIELD_NUMBER = 1;
private java.lang.Object value_;
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
}
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public com.google.protobuf.ByteString
getValueBytes() {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public boolean hasType() {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public java.lang.String getType() {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public com.google.protobuf.ByteString
return (com.google.protobuf.ByteString) ref;
}
}
-
- // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
- public static final int NODETYPE_FIELD_NUMBER = 3;
- private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_;
+
+ // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
+ public static final int NODETYPE_FIELD_NUMBER = 3;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
+ */
+ public boolean hasNodeType() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
+ return nodeType_;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
+ return nodeType_;
+ }
+
+ // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
+ public static final int ATTRIBUTE_FIELD_NUMBER = 4;
+ private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_;
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
+ return attribute_;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
+ getAttributeOrBuilderList() {
+ return attribute_;
+ }
/**
- * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
*/
- public boolean hasNodeType() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ public int getAttributeCount() {
+ return attribute_.size();
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
- return nodeType_;
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
+ return attribute_.get(index);
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
- return nodeType_;
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
+ int index) {
+ return attribute_.get(index);
}
- // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;
- public static final int ATTRIBUTES_FIELD_NUMBER = 4;
+ // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
+ public static final int ATTRIBUTES_FIELD_NUMBER = 5;
private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
return attributes_;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
getAttributesOrBuilderList() {
return attributes_;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
return attributes_.get(index);
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
int index) {
return attributes_.get(index);
}
+ // optional int32 intType = 6;
+ public static final int INTTYPE_FIELD_NUMBER = 6;
+ private int intType_;
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ public boolean hasIntType() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ public int getIntType() {
+ return intType_;
+ }
+
private void initFields() {
value_ = "";
type_ = "";
nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
+ attribute_ = java.util.Collections.emptyList();
attributes_ = java.util.Collections.emptyList();
+ intType_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasNodeType()) {
- if (!getNodeType().isInitialized()) {
+ for (int i = 0; i < getAttributeCount(); i++) {
+ if (!getAttribute(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, nodeType_);
}
+ for (int i = 0; i < attribute_.size(); i++) {
+ output.writeMessage(4, attribute_.get(i));
+ }
for (int i = 0; i < attributes_.size(); i++) {
- output.writeMessage(4, attributes_.get(i));
+ output.writeMessage(5, attributes_.get(i));
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeInt32(6, intType_);
}
getUnknownFields().writeTo(output);
}
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, nodeType_);
}
+ for (int i = 0; i < attribute_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, attribute_.get(i));
+ }
for (int i = 0; i < attributes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, attributes_.get(i));
+ .computeMessageSize(5, attributes_.get(i));
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(6, intType_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getNodeTypeFieldBuilder();
+ getAttributeFieldBuilder();
getAttributesFieldBuilder();
}
}
nodeTypeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
+ if (attributeBuilder_ == null) {
+ attribute_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ } else {
+ attributeBuilder_.clear();
+ }
if (attributesBuilder_ == null) {
attributes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
attributesBuilder_.clear();
}
+ intType_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
} else {
result.nodeType_ = nodeTypeBuilder_.build();
}
- if (attributesBuilder_ == null) {
+ if (attributeBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
- attributes_ = java.util.Collections.unmodifiableList(attributes_);
+ attribute_ = java.util.Collections.unmodifiableList(attribute_);
bitField0_ = (bitField0_ & ~0x00000008);
}
+ result.attribute_ = attribute_;
+ } else {
+ result.attribute_ = attributeBuilder_.build();
+ }
+ if (attributesBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ attributes_ = java.util.Collections.unmodifiableList(attributes_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
result.attributes_ = attributes_;
} else {
result.attributes_ = attributesBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.intType_ = intType_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
if (other.hasNodeType()) {
mergeNodeType(other.getNodeType());
}
+ if (attributeBuilder_ == null) {
+ if (!other.attribute_.isEmpty()) {
+ if (attribute_.isEmpty()) {
+ attribute_ = other.attribute_;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ } else {
+ ensureAttributeIsMutable();
+ attribute_.addAll(other.attribute_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.attribute_.isEmpty()) {
+ if (attributeBuilder_.isEmpty()) {
+ attributeBuilder_.dispose();
+ attributeBuilder_ = null;
+ attribute_ = other.attribute_;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ attributeBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getAttributeFieldBuilder() : null;
+ } else {
+ attributeBuilder_.addAllMessages(other.attribute_);
+ }
+ }
+ }
if (attributesBuilder_ == null) {
if (!other.attributes_.isEmpty()) {
if (attributes_.isEmpty()) {
attributes_ = other.attributes_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureAttributesIsMutable();
attributes_.addAll(other.attributes_);
attributesBuilder_.dispose();
attributesBuilder_ = null;
attributes_ = other.attributes_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
attributesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributesFieldBuilder() : null;
}
}
}
+ if (other.hasIntType()) {
+ setIntType(other.getIntType());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
- if (!hasValue()) {
-
- return false;
- }
- if (hasNodeType()) {
- if (!getNodeType().isInitialized()) {
+ for (int i = 0; i < getAttributeCount(); i++) {
+ if (!getAttribute(i).isInitialized()) {
return false;
}
}
private int bitField0_;
- // required string value = 1;
+ // optional string value = 1;
private java.lang.Object value_ = "";
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
}
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public com.google.protobuf.ByteString
getValueBytes() {
}
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public Builder setValue(
java.lang.String value) {
return this;
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
- * <code>required string value = 1;</code>
+ * <code>optional string value = 1;</code>
+ *
+ * <pre>
+ * @deprecated
+ * </pre>
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public boolean hasType() {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public java.lang.String getType() {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public com.google.protobuf.ByteString
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public Builder setType(
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public Builder clearType() {
* <code>optional string type = 2;</code>
*
* <pre>
- *NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
+ * @deprecated
* </pre>
*/
public Builder setTypeBytes(
return nodeTypeBuilder_;
}
- // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;
+ // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
+ private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_ =
+ java.util.Collections.emptyList();
+ private void ensureAttributeIsMutable() {
+ if (!((bitField0_ & 0x00000008) == 0x00000008)) {
+ attribute_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>(attribute_);
+ bitField0_ |= 0x00000008;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder> attributeBuilder_;
+
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
+ if (attributeBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(attribute_);
+ } else {
+ return attributeBuilder_.getMessageList();
+ }
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public int getAttributeCount() {
+ if (attributeBuilder_ == null) {
+ return attribute_.size();
+ } else {
+ return attributeBuilder_.getCount();
+ }
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
+ if (attributeBuilder_ == null) {
+ return attribute_.get(index);
+ } else {
+ return attributeBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder setAttribute(
+ int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
+ if (attributeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAttributeIsMutable();
+ attribute_.set(index, value);
+ onChanged();
+ } else {
+ attributeBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder setAttribute(
+ int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
+ if (attributeBuilder_ == null) {
+ ensureAttributeIsMutable();
+ attribute_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ attributeBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder addAttribute(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
+ if (attributeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAttributeIsMutable();
+ attribute_.add(value);
+ onChanged();
+ } else {
+ attributeBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder addAttribute(
+ int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
+ if (attributeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAttributeIsMutable();
+ attribute_.add(index, value);
+ onChanged();
+ } else {
+ attributeBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder addAttribute(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
+ if (attributeBuilder_ == null) {
+ ensureAttributeIsMutable();
+ attribute_.add(builderForValue.build());
+ onChanged();
+ } else {
+ attributeBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder addAttribute(
+ int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
+ if (attributeBuilder_ == null) {
+ ensureAttributeIsMutable();
+ attribute_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ attributeBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder addAllAttribute(
+ java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> values) {
+ if (attributeBuilder_ == null) {
+ ensureAttributeIsMutable();
+ super.addAll(values, attribute_);
+ onChanged();
+ } else {
+ attributeBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder clearAttribute() {
+ if (attributeBuilder_ == null) {
+ attribute_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ } else {
+ attributeBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public Builder removeAttribute(int index) {
+ if (attributeBuilder_ == null) {
+ ensureAttributeIsMutable();
+ attribute_.remove(index);
+ onChanged();
+ } else {
+ attributeBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder getAttributeBuilder(
+ int index) {
+ return getAttributeFieldBuilder().getBuilder(index);
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
+ int index) {
+ if (attributeBuilder_ == null) {
+ return attribute_.get(index); } else {
+ return attributeBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
+ getAttributeOrBuilderList() {
+ if (attributeBuilder_ != null) {
+ return attributeBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(attribute_);
+ }
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder() {
+ return getAttributeFieldBuilder().addBuilder(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder(
+ int index) {
+ return getAttributeFieldBuilder().addBuilder(
+ index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
+ }
+ /**
+ * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
+ */
+ public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder>
+ getAttributeBuilderList() {
+ return getAttributeFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
+ getAttributeFieldBuilder() {
+ if (attributeBuilder_ == null) {
+ attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>(
+ attribute_,
+ ((bitField0_ & 0x00000008) == 0x00000008),
+ getParentForChildren(),
+ isClean());
+ attribute_ = null;
+ }
+ return attributeBuilder_;
+ }
+
+ // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
java.util.Collections.emptyList();
private void ensureAttributesIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
}
}
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder> attributesBuilder_;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
if (attributesBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public int getAttributesCount() {
if (attributesBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
if (attributesBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder setAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder setAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
if (attributesBuilder_ == null) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder addAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder addAttributes(
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder addAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder addAllAttributes(
java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder clearAttributes() {
if (attributesBuilder_ == null) {
attributes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
attributesBuilder_.clear();
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public Builder removeAttributes(int index) {
if (attributesBuilder_ == null) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
int index) {
return getAttributesFieldBuilder().getBuilder(index);
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
int index) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
getAttributesOrBuilderList() {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
return getAttributesFieldBuilder().addBuilder(
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
int index) {
index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
+ *
+ * <pre>
+ * @deprecated For backward compatibility (see InstanceIdentifierUtils)
+ * </pre>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
getAttributesBuilderList() {
attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>(
attributes_,
- ((bitField0_ & 0x00000008) == 0x00000008),
+ ((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
attributes_ = null;
return attributesBuilder_;
}
+ // optional int32 intType = 6;
+ private int intType_ ;
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ public boolean hasIntType() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ public int getIntType() {
+ return intType_;
+ }
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ public Builder setIntType(int value) {
+ bitField0_ |= 0x00000020;
+ intType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 intType = 6;</code>
+ */
+ public Builder clearIntType() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ intType_ = 0;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgument)
}
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
int index);
+
+ // repeated string code = 2;
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ java.util.List<java.lang.String>
+ getCodeList();
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ int getCodeCount();
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ java.lang.String getCode(int index);
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ com.google.protobuf.ByteString
+ getCodeBytes(int index);
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
arguments_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry));
break;
}
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ code_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ code_.add(input.readBytes());
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
arguments_ = java.util.Collections.unmodifiableList(arguments_);
}
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
return arguments_.get(index);
}
+ // repeated string code = 2;
+ public static final int CODE_FIELD_NUMBER = 2;
+ private com.google.protobuf.LazyStringList code_;
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public java.util.List<java.lang.String>
+ getCodeList() {
+ return code_;
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public int getCodeCount() {
+ return code_.size();
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public java.lang.String getCode(int index) {
+ return code_.get(index);
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getCodeBytes(int index) {
+ return code_.getByteString(index);
+ }
+
private void initFields() {
arguments_ = java.util.Collections.emptyList();
+ code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
for (int i = 0; i < arguments_.size(); i++) {
output.writeMessage(1, arguments_.get(i));
}
+ for (int i = 0; i < code_.size(); i++) {
+ output.writeBytes(2, code_.getByteString(i));
+ }
getUnknownFields().writeTo(output);
}
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, arguments_.get(i));
}
+ {
+ int dataSize = 0;
+ for (int i = 0; i < code_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(code_.getByteString(i));
+ }
+ size += dataSize;
+ size += 1 * getCodeList().size();
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
} else {
argumentsBuilder_.clear();
}
+ code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
} else {
result.arguments_ = argumentsBuilder_.build();
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ code_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ code_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.code_ = code_;
onBuilt();
return result;
}
}
}
}
+ if (!other.code_.isEmpty()) {
+ if (code_.isEmpty()) {
+ code_ = other.code_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureCodeIsMutable();
+ code_.addAll(other.code_);
+ }
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
return argumentsBuilder_;
}
+ // repeated string code = 2;
+ private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureCodeIsMutable() {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ code_ = new com.google.protobuf.LazyStringArrayList(code_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public java.util.List<java.lang.String>
+ getCodeList() {
+ return java.util.Collections.unmodifiableList(code_);
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public int getCodeCount() {
+ return code_.size();
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public java.lang.String getCode(int index) {
+ return code_.get(index);
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getCodeBytes(int index) {
+ return code_.getByteString(index);
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public Builder setCode(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCodeIsMutable();
+ code_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public Builder addCode(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCodeIsMutable();
+ code_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public Builder addAllCode(
+ java.lang.Iterable<java.lang.String> values) {
+ ensureCodeIsMutable();
+ super.addAll(values, code_);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public Builder clearCode() {
+ code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>repeated string code = 2;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the path args. This is
+ * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
+ * that contains the codes.
+ * </pre>
+ */
+ public Builder addCodeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCodeIsMutable();
+ code_.add(value);
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
}
// optional string path = 1;
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
boolean hasPath();
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
java.lang.String getPath();
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
com.google.protobuf.ByteString
getPathBytes();
// optional string type = 2;
/**
* <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
*/
boolean hasType();
/**
* <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
*/
java.lang.String getType();
/**
* <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
*/
com.google.protobuf.ByteString
getTypeBytes();
- // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;
+ // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ boolean hasPathArgument();
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument();
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder();
+
+ // optional int32 intType = 4;
+ /**
+ * <code>optional int32 intType = 4;</code>
+ */
+ boolean hasIntType();
+ /**
+ * <code>optional int32 intType = 4;</code>
+ */
+ int getIntType();
+
+ // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
getAttributesList();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
int getAttributesCount();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
getAttributesOrBuilderList();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
int index);
- // repeated .org.opendaylight.controller.mdsal.Node child = 4;
+ // repeated .org.opendaylight.controller.mdsal.Node child = 6;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>
getChildList();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index);
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
int getChildCount();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
getChildOrBuilderList();
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
+ */
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
+ int index);
+
+ // optional string value = 7;
+ /**
+ * <code>optional string value = 7;</code>
+ */
+ boolean hasValue();
+ /**
+ * <code>optional string value = 7;</code>
+ */
+ java.lang.String getValue();
+ /**
+ * <code>optional string value = 7;</code>
+ */
+ com.google.protobuf.ByteString
+ getValueBytes();
+
+ // optional string valueType = 8;
+ /**
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
+ */
+ boolean hasValueType();
+ /**
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
- int index);
-
- // optional string value = 5;
+ java.lang.String getValueType();
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
- boolean hasValue();
+ com.google.protobuf.ByteString
+ getValueTypeBytes();
+
+ // optional int32 intValueType = 9;
/**
- * <code>optional string value = 5;</code>
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
*/
- java.lang.String getValue();
+ boolean hasIntValueType();
/**
- * <code>optional string value = 5;</code>
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
*/
- com.google.protobuf.ByteString
- getValueBytes();
+ int getIntValueType();
- // optional string valueType = 6;
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- boolean hasValueType();
+ boolean hasInstanceIdentifierValue();
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- java.lang.String getValueType();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- com.google.protobuf.ByteString
- getValueTypeBytes();
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
- // repeated string bitsValue = 7;
+ // repeated string bitsValue = 11;
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
java.util.List<java.lang.String>
getBitsValueList();
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
int getBitsValueCount();
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
java.lang.String getBitsValue(int index);
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
com.google.protobuf.ByteString
getBitsValueBytes(int index);
- // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;
+ // repeated string code = 12;
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- boolean hasInstanceIdentifierValue();
+ java.util.List<java.lang.String>
+ getCodeList();
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
+ int getCodeCount();
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
+ java.lang.String getCode(int index);
+ /**
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
+ */
+ com.google.protobuf.ByteString
+ getCodeBytes(int index);
+
+ // optional bytes bytesValue = 13;
+ /**
+ * <code>optional bytes bytesValue = 13;</code>
+ */
+ boolean hasBytesValue();
+ /**
+ * <code>optional bytes bytesValue = 13;</code>
+ */
+ com.google.protobuf.ByteString getBytesValue();
}
/**
* Protobuf type {@code org.opendaylight.controller.mdsal.Node}
break;
}
case 26: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ subBuilder = pathArgument_.toBuilder();
+ }
+ pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(pathArgument_);
+ pathArgument_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000004;
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ intType_ = input.readInt32();
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000010;
}
attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
break;
}
- case 34: {
- if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ case 50: {
+ if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000020;
}
child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry));
break;
}
- case 42: {
- bitField0_ |= 0x00000004;
+ case 58: {
+ bitField0_ |= 0x00000010;
value_ = input.readBytes();
break;
}
- case 50: {
- bitField0_ |= 0x00000008;
+ case 66: {
+ bitField0_ |= 0x00000020;
valueType_ = input.readBytes();
break;
}
- case 58: {
- if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
- bitsValue_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000040;
- }
- bitsValue_.add(input.readBytes());
+ case 72: {
+ bitField0_ |= 0x00000040;
+ intValueType_ = input.readInt32();
break;
}
- case 66: {
+ case 82: {
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = instanceIdentifierValue_.toBuilder();
}
instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
subBuilder.mergeFrom(instanceIdentifierValue_);
instanceIdentifierValue_ = subBuilder.buildPartial();
}
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000080;
+ break;
+ }
+ case 90: {
+ if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
+ bitsValue_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000400;
+ }
+ bitsValue_.add(input.readBytes());
+ break;
+ }
+ case 98: {
+ if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
+ code_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000800;
+ }
+ code_.add(input.readBytes());
+ break;
+ }
+ case 106: {
+ bitField0_ |= 0x00000100;
+ bytesValue_ = input.readBytes();
break;
}
}
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
}
- if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
child_ = java.util.Collections.unmodifiableList(child_);
}
- if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
}
+ if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
+ code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
private java.lang.Object path_;
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
}
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public com.google.protobuf.ByteString
getPathBytes() {
private java.lang.Object type_;
/**
* <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
}
/**
* <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
*/
public com.google.protobuf.ByteString
getTypeBytes() {
}
}
- // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;
- public static final int ATTRIBUTES_FIELD_NUMBER = 3;
+ // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
+ public static final int PATHARGUMENT_FIELD_NUMBER = 3;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public boolean hasPathArgument() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
+ return pathArgument_;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
+ return pathArgument_;
+ }
+
+ // optional int32 intType = 4;
+ public static final int INTTYPE_FIELD_NUMBER = 4;
+ private int intType_;
+ /**
+ * <code>optional int32 intType = 4;</code>
+ */
+ public boolean hasIntType() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional int32 intType = 4;</code>
+ */
+ public int getIntType() {
+ return intType_;
+ }
+
+ // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
+ public static final int ATTRIBUTES_FIELD_NUMBER = 5;
private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
return attributes_;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
getAttributesOrBuilderList() {
return attributes_;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
return attributes_.get(index);
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
int index) {
return attributes_.get(index);
}
- // repeated .org.opendaylight.controller.mdsal.Node child = 4;
- public static final int CHILD_FIELD_NUMBER = 4;
+ // repeated .org.opendaylight.controller.mdsal.Node child = 6;
+ public static final int CHILD_FIELD_NUMBER = 6;
private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
return child_;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
getChildOrBuilderList() {
return child_;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public int getChildCount() {
return child_.size();
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
return child_.get(index);
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
int index) {
return child_.get(index);
}
- // optional string value = 5;
- public static final int VALUE_FIELD_NUMBER = 5;
+ // optional string value = 7;
+ public static final int VALUE_FIELD_NUMBER = 7;
private java.lang.Object value_;
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public boolean hasValue() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
}
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
}
}
- // optional string valueType = 6;
- public static final int VALUETYPE_FIELD_NUMBER = 6;
+ // optional string valueType = 8;
+ public static final int VALUETYPE_FIELD_NUMBER = 8;
private java.lang.Object valueType_;
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
public boolean hasValueType() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
public java.lang.String getValueType() {
java.lang.Object ref = valueType_;
}
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
public com.google.protobuf.ByteString
getValueTypeBytes() {
}
}
- // repeated string bitsValue = 7;
- public static final int BITSVALUE_FIELD_NUMBER = 7;
+ // optional int32 intValueType = 9;
+ public static final int INTVALUETYPE_FIELD_NUMBER = 9;
+ private int intValueType_;
+ /**
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
+ */
+ public boolean hasIntValueType() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ /**
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
+ */
+ public int getIntValueType() {
+ return intValueType_;
+ }
+
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
+ public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public boolean hasInstanceIdentifierValue() {
+ return ((bitField0_ & 0x00000080) == 0x00000080);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
+ return instanceIdentifierValue_;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
+ return instanceIdentifierValue_;
+ }
+
+ // repeated string bitsValue = 11;
+ public static final int BITSVALUE_FIELD_NUMBER = 11;
private com.google.protobuf.LazyStringList bitsValue_;
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public java.util.List<java.lang.String>
getBitsValueList() {
return bitsValue_;
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public int getBitsValueCount() {
return bitsValue_.size();
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public java.lang.String getBitsValue(int index) {
return bitsValue_.get(index);
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public com.google.protobuf.ByteString
getBitsValueBytes(int index) {
return bitsValue_.getByteString(index);
}
- // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;
- public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 8;
- private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
+ // repeated string code = 12;
+ public static final int CODE_FIELD_NUMBER = 12;
+ private com.google.protobuf.LazyStringList code_;
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public boolean hasInstanceIdentifierValue() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ public java.util.List<java.lang.String>
+ getCodeList() {
+ return code_;
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
- return instanceIdentifierValue_;
+ public int getCodeCount() {
+ return code_.size();
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
- return instanceIdentifierValue_;
+ public java.lang.String getCode(int index) {
+ return code_.get(index);
+ }
+ /**
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getCodeBytes(int index) {
+ return code_.getByteString(index);
+ }
+
+ // optional bytes bytesValue = 13;
+ public static final int BYTESVALUE_FIELD_NUMBER = 13;
+ private com.google.protobuf.ByteString bytesValue_;
+ /**
+ * <code>optional bytes bytesValue = 13;</code>
+ */
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ /**
+ * <code>optional bytes bytesValue = 13;</code>
+ */
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
}
private void initFields() {
path_ = "";
type_ = "";
+ pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
+ intType_ = 0;
attributes_ = java.util.Collections.emptyList();
child_ = java.util.Collections.emptyList();
value_ = "";
valueType_ = "";
- bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ intValueType_ = 0;
instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
+ if (hasPathArgument()) {
+ if (!getPathArgument().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
for (int i = 0; i < getAttributesCount(); i++) {
if (!getAttributes(i).isInitialized()) {
memoizedIsInitialized = 0;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getTypeBytes());
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeMessage(3, pathArgument_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeInt32(4, intType_);
+ }
for (int i = 0; i < attributes_.size(); i++) {
- output.writeMessage(3, attributes_.get(i));
+ output.writeMessage(5, attributes_.get(i));
+ }
+ for (int i = 0; i < child_.size(); i++) {
+ output.writeMessage(6, child_.get(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeBytes(7, getValueBytes());
}
- for (int i = 0; i < child_.size(); i++) {
- output.writeMessage(4, child_.get(i));
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeBytes(8, getValueTypeBytes());
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(5, getValueBytes());
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ output.writeInt32(9, intValueType_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(6, getValueTypeBytes());
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ output.writeMessage(10, instanceIdentifierValue_);
}
for (int i = 0; i < bitsValue_.size(); i++) {
- output.writeBytes(7, bitsValue_.getByteString(i));
+ output.writeBytes(11, bitsValue_.getByteString(i));
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(8, instanceIdentifierValue_);
+ for (int i = 0; i < code_.size(); i++) {
+ output.writeBytes(12, code_.getByteString(i));
+ }
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ output.writeBytes(13, bytesValue_);
}
getUnknownFields().writeTo(output);
}
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getTypeBytes());
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, pathArgument_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(4, intType_);
+ }
for (int i = 0; i < attributes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, attributes_.get(i));
+ .computeMessageSize(5, attributes_.get(i));
}
for (int i = 0; i < child_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, child_.get(i));
+ .computeMessageSize(6, child_.get(i));
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getValueBytes());
+ .computeBytesSize(7, getValueBytes());
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(8, getValueTypeBytes());
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(9, intValueType_);
+ }
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(6, getValueTypeBytes());
+ .computeMessageSize(10, instanceIdentifierValue_);
}
{
int dataSize = 0;
size += dataSize;
size += 1 * getBitsValueList().size();
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ {
+ int dataSize = 0;
+ for (int i = 0; i < code_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(code_.getByteString(i));
+ }
+ size += dataSize;
+ size += 1 * getCodeList().size();
+ }
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, instanceIdentifierValue_);
+ .computeBytesSize(13, bytesValue_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getPathArgumentFieldBuilder();
getAttributesFieldBuilder();
getChildFieldBuilder();
getInstanceIdentifierValueFieldBuilder();
bitField0_ = (bitField0_ & ~0x00000001);
type_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
+ if (pathArgumentBuilder_ == null) {
+ pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
+ } else {
+ pathArgumentBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ intType_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000008);
if (attributesBuilder_ == null) {
attributes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
attributesBuilder_.clear();
}
if (childBuilder_ == null) {
child_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
childBuilder_.clear();
}
value_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- valueType_ = "";
- bitField0_ = (bitField0_ & ~0x00000020);
- bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
+ valueType_ = "";
+ bitField0_ = (bitField0_ & ~0x00000080);
+ intValueType_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000100);
if (instanceIdentifierValueBuilder_ == null) {
instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
} else {
instanceIdentifierValueBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000200);
+ bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ bytesValue_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
to_bitField0_ |= 0x00000002;
}
result.type_ = type_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ if (pathArgumentBuilder_ == null) {
+ result.pathArgument_ = pathArgument_;
+ } else {
+ result.pathArgument_ = pathArgumentBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.intType_ = intType_;
if (attributesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
}
result.attributes_ = attributes_;
} else {
result.attributes_ = attributesBuilder_.build();
}
if (childBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
child_ = java.util.Collections.unmodifiableList(child_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000020);
}
result.child_ = child_;
} else {
result.child_ = childBuilder_.build();
}
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000004;
+ if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ to_bitField0_ |= 0x00000010;
}
result.value_ = value_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000008;
+ if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ to_bitField0_ |= 0x00000020;
}
result.valueType_ = valueType_;
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
- bitsValue_);
- bitField0_ = (bitField0_ & ~0x00000040);
+ if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ to_bitField0_ |= 0x00000040;
}
- result.bitsValue_ = bitsValue_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
- to_bitField0_ |= 0x00000010;
+ result.intValueType_ = intValueType_;
+ if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ to_bitField0_ |= 0x00000080;
}
if (instanceIdentifierValueBuilder_ == null) {
result.instanceIdentifierValue_ = instanceIdentifierValue_;
} else {
result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
}
+ if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ bitsValue_);
+ bitField0_ = (bitField0_ & ~0x00000400);
+ }
+ result.bitsValue_ = bitsValue_;
+ if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ code_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ code_);
+ bitField0_ = (bitField0_ & ~0x00000800);
+ }
+ result.code_ = code_;
+ if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ to_bitField0_ |= 0x00000100;
+ }
+ result.bytesValue_ = bytesValue_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
type_ = other.type_;
onChanged();
}
+ if (other.hasPathArgument()) {
+ mergePathArgument(other.getPathArgument());
+ }
+ if (other.hasIntType()) {
+ setIntType(other.getIntType());
+ }
if (attributesBuilder_ == null) {
if (!other.attributes_.isEmpty()) {
if (attributes_.isEmpty()) {
attributes_ = other.attributes_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureAttributesIsMutable();
attributes_.addAll(other.attributes_);
attributesBuilder_.dispose();
attributesBuilder_ = null;
attributes_ = other.attributes_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
attributesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributesFieldBuilder() : null;
if (!other.child_.isEmpty()) {
if (child_.isEmpty()) {
child_ = other.child_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureChildIsMutable();
child_.addAll(other.child_);
childBuilder_.dispose();
childBuilder_ = null;
child_ = other.child_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000020);
childBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getChildFieldBuilder() : null;
}
}
if (other.hasValue()) {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000040;
value_ = other.value_;
onChanged();
}
if (other.hasValueType()) {
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000080;
valueType_ = other.valueType_;
onChanged();
}
+ if (other.hasIntValueType()) {
+ setIntValueType(other.getIntValueType());
+ }
+ if (other.hasInstanceIdentifierValue()) {
+ mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
+ }
if (!other.bitsValue_.isEmpty()) {
if (bitsValue_.isEmpty()) {
bitsValue_ = other.bitsValue_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureBitsValueIsMutable();
bitsValue_.addAll(other.bitsValue_);
}
onChanged();
}
- if (other.hasInstanceIdentifierValue()) {
- mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
+ if (!other.code_.isEmpty()) {
+ if (code_.isEmpty()) {
+ code_ = other.code_;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ } else {
+ ensureCodeIsMutable();
+ code_.addAll(other.code_);
+ }
+ onChanged();
+ }
+ if (other.hasBytesValue()) {
+ setBytesValue(other.getBytesValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
+ if (hasPathArgument()) {
+ if (!getPathArgument().isInitialized()) {
+
+ return false;
+ }
+ }
for (int i = 0; i < getAttributesCount(); i++) {
if (!getAttributes(i).isInitialized()) {
private java.lang.Object path_ = "";
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
}
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public com.google.protobuf.ByteString
getPathBytes() {
}
/**
* <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
*/
public Builder setPath(
java.lang.String value) {
return this;
}
/**
- * <code>optional string path = 1;</code>
+ * <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
+ */
+ public Builder clearPath() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ path_ = getDefaultInstance().getPath();
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string path = 1;</code>
+ *
+ * <pre>
+ * @deprecated(use pathArgument)
+ * </pre>
+ */
+ public Builder setPathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ path_ = value;
+ onChanged();
+ return this;
+ }
+
+ // optional string type = 2;
+ private java.lang.Object type_ = "";
+ /**
+ * <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
+ */
+ public java.lang.String getType() {
+ java.lang.Object ref = type_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ type_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getTypeBytes() {
+ java.lang.Object ref = type_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ type_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
+ */
+ public Builder setType(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ type_ = getDefaultInstance().getType();
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string type = 2;</code>
+ *
+ * <pre>
+ * @deprecated(use intType)
+ * </pre>
+ */
+ public Builder setTypeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ type_ = value;
+ onChanged();
+ return this;
+ }
+
+ // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder> pathArgumentBuilder_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public boolean hasPathArgument() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
+ if (pathArgumentBuilder_ == null) {
+ return pathArgument_;
+ } else {
+ return pathArgumentBuilder_.getMessage();
+ }
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
+ if (pathArgumentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ pathArgument_ = value;
+ onChanged();
+ } else {
+ pathArgumentBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public Builder setPathArgument(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
+ if (pathArgumentBuilder_ == null) {
+ pathArgument_ = builderForValue.build();
+ onChanged();
+ } else {
+ pathArgumentBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
+ */
+ public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
+ if (pathArgumentBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) {
+ pathArgument_ =
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial();
+ } else {
+ pathArgument_ = value;
+ }
+ onChanged();
+ } else {
+ pathArgumentBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
*/
- public Builder clearPath() {
- bitField0_ = (bitField0_ & ~0x00000001);
- path_ = getDefaultInstance().getPath();
- onChanged();
+ public Builder clearPathArgument() {
+ if (pathArgumentBuilder_ == null) {
+ pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
+ onChanged();
+ } else {
+ pathArgumentBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
- * <code>optional string path = 1;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
*/
- public Builder setPathBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- path_ = value;
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() {
+ bitField0_ |= 0x00000004;
onChanged();
- return this;
+ return getPathArgumentFieldBuilder().getBuilder();
}
-
- // optional string type = 2;
- private java.lang.Object type_ = "";
/**
- * <code>optional string type = 2;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
*/
- public boolean hasType() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
+ if (pathArgumentBuilder_ != null) {
+ return pathArgumentBuilder_.getMessageOrBuilder();
+ } else {
+ return pathArgument_;
+ }
}
/**
- * <code>optional string type = 2;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
*/
- public java.lang.String getType() {
- java.lang.Object ref = type_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- type_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
+ getPathArgumentFieldBuilder() {
+ if (pathArgumentBuilder_ == null) {
+ pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>(
+ pathArgument_,
+ getParentForChildren(),
+ isClean());
+ pathArgument_ = null;
}
+ return pathArgumentBuilder_;
}
+
+ // optional int32 intType = 4;
+ private int intType_ ;
/**
- * <code>optional string type = 2;</code>
+ * <code>optional int32 intType = 4;</code>
*/
- public com.google.protobuf.ByteString
- getTypeBytes() {
- java.lang.Object ref = type_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- type_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+ public boolean hasIntType() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
- * <code>optional string type = 2;</code>
+ * <code>optional int32 intType = 4;</code>
*/
- public Builder setType(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- type_ = value;
- onChanged();
- return this;
+ public int getIntType() {
+ return intType_;
}
/**
- * <code>optional string type = 2;</code>
+ * <code>optional int32 intType = 4;</code>
*/
- public Builder clearType() {
- bitField0_ = (bitField0_ & ~0x00000002);
- type_ = getDefaultInstance().getType();
+ public Builder setIntType(int value) {
+ bitField0_ |= 0x00000008;
+ intType_ = value;
onChanged();
return this;
}
/**
- * <code>optional string type = 2;</code>
+ * <code>optional int32 intType = 4;</code>
*/
- public Builder setTypeBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- type_ = value;
+ public Builder clearIntType() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ intType_ = 0;
onChanged();
return this;
}
- // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;
+ // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
java.util.Collections.emptyList();
private void ensureAttributesIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000010;
}
}
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder> attributesBuilder_;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
if (attributesBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public int getAttributesCount() {
if (attributesBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
if (attributesBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder setAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder setAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
if (attributesBuilder_ == null) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder addAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder addAttributes(
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder addAttributes(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder addAllAttributes(
java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder clearAttributes() {
if (attributesBuilder_ == null) {
attributes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
attributesBuilder_.clear();
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public Builder removeAttributes(int index) {
if (attributesBuilder_ == null) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
int index) {
return getAttributesFieldBuilder().getBuilder(index);
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
int index) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
getAttributesOrBuilderList() {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
return getAttributesFieldBuilder().addBuilder(
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
int index) {
index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 3;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
getAttributesBuilderList() {
attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>(
attributes_,
- ((bitField0_ & 0x00000004) == 0x00000004),
+ ((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
attributes_ = null;
return attributesBuilder_;
}
- // repeated .org.opendaylight.controller.mdsal.Node child = 4;
+ // repeated .org.opendaylight.controller.mdsal.Node child = 6;
private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_ =
java.util.Collections.emptyList();
private void ensureChildIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (!((bitField0_ & 0x00000020) == 0x00000020)) {
child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>(child_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000020;
}
}
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> childBuilder_;
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
if (childBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public int getChildCount() {
if (childBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
if (childBuilder_ == null) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder setChild(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder setChild(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
if (childBuilder_ == null) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder addChild(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder addChild(
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder addChild(
int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder addAllChild(
java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> values) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder clearChild() {
if (childBuilder_ == null) {
child_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
childBuilder_.clear();
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public Builder removeChild(int index) {
if (childBuilder_ == null) {
return this;
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder(
int index) {
return getChildFieldBuilder().getBuilder(index);
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
int index) {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
getChildOrBuilderList() {
}
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() {
return getChildFieldBuilder().addBuilder(
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder(
int index) {
index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
}
/**
- * <code>repeated .org.opendaylight.controller.mdsal.Node child = 4;</code>
+ * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
*/
public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder>
getChildBuilderList() {
childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>(
child_,
- ((bitField0_ & 0x00000008) == 0x00000008),
+ ((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
child_ = null;
return childBuilder_;
}
- // optional string value = 5;
+ // optional string value = 7;
private java.lang.Object value_ = "";
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public boolean hasValue() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
}
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
}
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000040;
value_ = value;
onChanged();
return this;
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000040);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
- * <code>optional string value = 5;</code>
+ * <code>optional string value = 7;</code>
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000040;
value_ = value;
onChanged();
return this;
}
- // optional string valueType = 6;
+ // optional string valueType = 8;
private java.lang.Object valueType_ = "";
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
public boolean hasValueType() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
*/
public java.lang.String getValueType() {
java.lang.Object ref = valueType_;
}
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getValueTypeBytes() {
+ java.lang.Object ref = valueType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ valueType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
+ */
+ public Builder setValueType(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000080;
+ valueType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
+ */
+ public Builder clearValueType() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ valueType_ = getDefaultInstance().getValueType();
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string valueType = 8;</code>
+ *
+ * <pre>
+ * @deprecated(use intValueType)
+ * </pre>
+ */
+ public Builder setValueTypeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000080;
+ valueType_ = value;
+ onChanged();
+ return this;
+ }
+
+ // optional int32 intValueType = 9;
+ private int intValueType_ ;
+ /**
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
+ */
+ public boolean hasIntValueType() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ /**
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
+ */
+ public int getIntValueType() {
+ return intValueType_;
+ }
+ /**
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
+ */
+ public Builder setIntValueType(int value) {
+ bitField0_ |= 0x00000100;
+ intValueType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 intValueType = 9;</code>
+ *
+ * <pre>
+ * instead of valueType
+ * </pre>
+ */
+ public Builder clearIntValueType() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ intValueType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
+ private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierValueBuilder_;
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public boolean hasInstanceIdentifierValue() {
+ return ((bitField0_ & 0x00000200) == 0x00000200);
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
+ if (instanceIdentifierValueBuilder_ == null) {
+ return instanceIdentifierValue_;
+ } else {
+ return instanceIdentifierValueBuilder_.getMessage();
+ }
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
+ if (instanceIdentifierValueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ instanceIdentifierValue_ = value;
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000200;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder setInstanceIdentifierValue(
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000200;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
+ */
+ public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
+ if (instanceIdentifierValueBuilder_ == null) {
+ if (((bitField0_ & 0x00000200) == 0x00000200) &&
+ instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
+ instanceIdentifierValue_ =
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
+ } else {
+ instanceIdentifierValue_ = value;
+ }
+ onChanged();
+ } else {
+ instanceIdentifierValueBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000200;
+ return this;
+ }
+ /**
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- public com.google.protobuf.ByteString
- getValueTypeBytes() {
- java.lang.Object ref = valueType_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- valueType_ = b;
- return b;
+ public Builder clearInstanceIdentifierValue() {
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ instanceIdentifierValueBuilder_.clear();
}
+ bitField0_ = (bitField0_ & ~0x00000200);
+ return this;
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- public Builder setValueType(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- valueType_ = value;
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
+ bitField0_ |= 0x00000200;
onChanged();
- return this;
+ return getInstanceIdentifierValueFieldBuilder().getBuilder();
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- public Builder clearValueType() {
- bitField0_ = (bitField0_ & ~0x00000020);
- valueType_ = getDefaultInstance().getValueType();
- onChanged();
- return this;
+ public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
+ if (instanceIdentifierValueBuilder_ != null) {
+ return instanceIdentifierValueBuilder_.getMessageOrBuilder();
+ } else {
+ return instanceIdentifierValue_;
+ }
}
/**
- * <code>optional string valueType = 6;</code>
+ * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
+ *
+ * <pre>
+ * Specific values
+ * </pre>
*/
- public Builder setValueTypeBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- valueType_ = value;
- onChanged();
- return this;
+ private com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
+ getInstanceIdentifierValueFieldBuilder() {
+ if (instanceIdentifierValueBuilder_ == null) {
+ instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
+ instanceIdentifierValue_,
+ getParentForChildren(),
+ isClean());
+ instanceIdentifierValue_ = null;
+ }
+ return instanceIdentifierValueBuilder_;
}
- // repeated string bitsValue = 7;
+ // repeated string bitsValue = 11;
private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBitsValueIsMutable() {
- if (!((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (!((bitField0_ & 0x00000400) == 0x00000400)) {
bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000400;
}
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public java.util.List<java.lang.String>
getBitsValueList() {
return java.util.Collections.unmodifiableList(bitsValue_);
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public int getBitsValueCount() {
return bitsValue_.size();
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public java.lang.String getBitsValue(int index) {
return bitsValue_.get(index);
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public com.google.protobuf.ByteString
getBitsValueBytes(int index) {
return bitsValue_.getByteString(index);
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public Builder setBitsValue(
int index, java.lang.String value) {
return this;
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public Builder addBitsValue(
java.lang.String value) {
return this;
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public Builder addAllBitsValue(
java.lang.Iterable<java.lang.String> values) {
return this;
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public Builder clearBitsValue() {
bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
- * <code>repeated string bitsValue = 7;</code>
+ * <code>repeated string bitsValue = 11;</code>
+ *
+ * <pre>
+ * intValueType = Bits
+ * </pre>
*/
public Builder addBitsValueBytes(
com.google.protobuf.ByteString value) {
return this;
}
- // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;
- private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierValueBuilder_;
+ // repeated string code = 12;
+ private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureCodeIsMutable() {
+ if (!((bitField0_ & 0x00000800) == 0x00000800)) {
+ code_ = new com.google.protobuf.LazyStringArrayList(code_);
+ bitField0_ |= 0x00000800;
+ }
+ }
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public boolean hasInstanceIdentifierValue() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ public java.util.List<java.lang.String>
+ getCodeList() {
+ return java.util.Collections.unmodifiableList(code_);
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
- if (instanceIdentifierValueBuilder_ == null) {
- return instanceIdentifierValue_;
- } else {
- return instanceIdentifierValueBuilder_.getMessage();
- }
+ public int getCodeCount() {
+ return code_.size();
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
- if (instanceIdentifierValueBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- instanceIdentifierValue_ = value;
- onChanged();
- } else {
- instanceIdentifierValueBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
+ public java.lang.String getCode(int index) {
+ return code_.get(index);
+ }
+ /**
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getCodeBytes(int index) {
+ return code_.getByteString(index);
+ }
+ /**
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
+ */
+ public Builder setCode(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCodeIsMutable();
+ code_.set(index, value);
+ onChanged();
return this;
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public Builder setInstanceIdentifierValue(
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
- if (instanceIdentifierValueBuilder_ == null) {
- instanceIdentifierValue_ = builderForValue.build();
- onChanged();
- } else {
- instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
+ public Builder addCode(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCodeIsMutable();
+ code_.add(value);
+ onChanged();
return this;
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
- if (instanceIdentifierValueBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
- instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
- instanceIdentifierValue_ =
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
- } else {
- instanceIdentifierValue_ = value;
- }
- onChanged();
- } else {
- instanceIdentifierValueBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
+ public Builder addAllCode(
+ java.lang.Iterable<java.lang.String> values) {
+ ensureCodeIsMutable();
+ super.addAll(values, code_);
+ onChanged();
return this;
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public Builder clearInstanceIdentifierValue() {
- if (instanceIdentifierValueBuilder_ == null) {
- instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
- onChanged();
- } else {
- instanceIdentifierValueBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
+ public Builder clearCode() {
+ code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ onChanged();
return this;
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>repeated string code = 12;</code>
+ *
+ * <pre>
+ * A list of string codes which can be used for any repeated strings in the NormalizedNode
+ * </pre>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
- bitField0_ |= 0x00000080;
+ public Builder addCodeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCodeIsMutable();
+ code_.add(value);
onChanged();
- return getInstanceIdentifierValueFieldBuilder().getBuilder();
+ return this;
}
+
+ // optional bytes bytesValue = 13;
+ private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>optional bytes bytesValue = 13;</code>
*/
- public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
- if (instanceIdentifierValueBuilder_ != null) {
- return instanceIdentifierValueBuilder_.getMessageOrBuilder();
- } else {
- return instanceIdentifierValue_;
- }
+ public boolean hasBytesValue() {
+ return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
- * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 8;</code>
+ * <code>optional bytes bytesValue = 13;</code>
*/
- private com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
- getInstanceIdentifierValueFieldBuilder() {
- if (instanceIdentifierValueBuilder_ == null) {
- instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
- instanceIdentifierValue_,
- getParentForChildren(),
- isClean());
- instanceIdentifierValue_ = null;
- }
- return instanceIdentifierValueBuilder_;
+ public com.google.protobuf.ByteString getBytesValue() {
+ return bytesValue_;
+ }
+ /**
+ * <code>optional bytes bytesValue = 13;</code>
+ */
+ public Builder setBytesValue(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00001000;
+ bytesValue_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional bytes bytesValue = 13;</code>
+ */
+ public Builder clearBytesValue() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ bytesValue_ = getDefaultInstance().getBytesValue();
+ onChanged();
+ return this;
}
// @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
private static
java.lang.String[] descriptorData = {
"\n\014Common.proto\022!org.opendaylight.control" +
"ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" +
- "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"\026\n\005QName\022\r\n\005va" +
- "lue\030\001 \002(\t\"\251\001\n\014PathArgument\022\r\n\005value\030\001 \002(" +
- "\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeType\030\003 \001(\0132(.org." +
- "opendaylight.controller.mdsal.QName\022@\n\na" +
- "ttributes\030\004 \003(\0132,.org.opendaylight.contr" +
- "oller.mdsal.Attribute\"X\n\022InstanceIdentif" +
- "ier\022B\n\targuments\030\001 \003(\0132/.org.opendayligh" +
- "t.controller.mdsal.PathArgument\"\251\002\n\004Node",
- "\022\014\n\004path\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022@\n\nattribut" +
- "es\030\003 \003(\0132,.org.opendaylight.controller.m" +
- "dsal.Attribute\0226\n\005child\030\004 \003(\0132\'.org.open" +
- "daylight.controller.mdsal.Node\022\r\n\005value\030" +
- "\005 \001(\t\022\021\n\tvalueType\030\006 \001(\t\022\021\n\tbitsValue\030\007 " +
- "\003(\t\022V\n\027instanceIdentifierValue\030\010 \001(\01325.o" +
- "rg.opendaylight.controller.mdsal.Instanc" +
- "eIdentifier\"`\n\tContainer\022\022\n\nparentPath\030\001" +
- " \002(\t\022?\n\016normalizedNode\030\002 \001(\0132\'.org.opend" +
- "aylight.controller.mdsal.Node\"\246\001\n\014NodeMa",
- "pEntry\022U\n\026instanceIdentifierPath\030\001 \002(\01325" +
- ".org.opendaylight.controller.mdsal.Insta" +
- "nceIdentifier\022?\n\016normalizedNode\030\002 \001(\0132\'." +
- "org.opendaylight.controller.mdsal.Node\"N" +
- "\n\007NodeMap\022C\n\nmapEntries\030\001 \003(\0132/.org.open" +
- "daylight.controller.mdsal.NodeMapEntryBO" +
- "\n5org.opendaylight.controller.protobuff." +
- "messages.commonB\026NormalizedNodeMessages"
+ "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"\353\001\n\025PathArgume" +
+ "ntAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayl" +
+ "ight.controller.mdsal.QName\022\r\n\005value\030\002 \001" +
+ "(\t\022\014\n\004type\030\003 \001(\005\022V\n\027instanceIdentifierVa" +
+ "lue\030\004 \001(\01325.org.opendaylight.controller." +
+ "mdsal.InstanceIdentifier\022\021\n\tbitsValue\030\005 " +
+ "\003(\t\022\022\n\nbytesValue\030\006 \001(\014\"N\n\005QName\022\r\n\005valu" +
+ "e\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003",
+ " \001(\005\022\021\n\tlocalName\030\004 \001(\005\"\207\002\n\014PathArgument" +
+ "\022\r\n\005value\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeTyp" +
+ "e\030\003 \001(\0132(.org.opendaylight.controller.md" +
+ "sal.QName\022K\n\tattribute\030\004 \003(\01328.org.opend" +
+ "aylight.controller.mdsal.PathArgumentAtt" +
+ "ribute\022@\n\nattributes\030\005 \003(\0132,.org.openday" +
+ "light.controller.mdsal.Attribute\022\017\n\007intT" +
+ "ype\030\006 \001(\005\"f\n\022InstanceIdentifier\022B\n\targum" +
+ "ents\030\001 \003(\0132/.org.opendaylight.controller" +
+ ".mdsal.PathArgument\022\014\n\004code\030\002 \003(\t\"\271\003\n\004No",
+ "de\022\014\n\004path\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022E\n\014pathAr" +
+ "gument\030\003 \001(\0132/.org.opendaylight.controll" +
+ "er.mdsal.PathArgument\022\017\n\007intType\030\004 \001(\005\022@" +
+ "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" +
+ "ntroller.mdsal.Attribute\0226\n\005child\030\006 \003(\0132" +
+ "\'.org.opendaylight.controller.mdsal.Node" +
+ "\022\r\n\005value\030\007 \001(\t\022\021\n\tvalueType\030\010 \001(\t\022\024\n\014in" +
+ "tValueType\030\t \001(\005\022V\n\027instanceIdentifierVa" +
+ "lue\030\n \001(\01325.org.opendaylight.controller." +
+ "mdsal.InstanceIdentifier\022\021\n\tbitsValue\030\013 ",
+ "\003(\t\022\014\n\004code\030\014 \003(\t\022\022\n\nbytesValue\030\r \001(\014\"`\n" +
+ "\tContainer\022\022\n\nparentPath\030\001 \002(\t\022?\n\016normal" +
+ "izedNode\030\002 \001(\0132\'.org.opendaylight.contro" +
+ "ller.mdsal.Node\"\246\001\n\014NodeMapEntry\022U\n\026inst" +
+ "anceIdentifierPath\030\001 \002(\01325.org.opendayli" +
+ "ght.controller.mdsal.InstanceIdentifier\022" +
+ "?\n\016normalizedNode\030\002 \001(\0132\'.org.opendaylig" +
+ "ht.controller.mdsal.Node\"N\n\007NodeMap\022C\n\nm" +
+ "apEntries\030\001 \003(\0132/.org.opendaylight.contr" +
+ "oller.mdsal.NodeMapEntryBO\n5org.opendayl",
+ "ight.controller.protobuff.messages.commo" +
+ "nB\026NormalizedNodeMessages"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor,
new java.lang.String[] { "Name", "Value", "Type", });
- internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
+ internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor =
getDescriptor().getMessageTypes().get(1);
+ internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor,
+ new java.lang.String[] { "Name", "Value", "Type", "InstanceIdentifierValue", "BitsValue", "BytesValue", });
+ internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
+ getDescriptor().getMessageTypes().get(2);
internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_QName_descriptor,
- new java.lang.String[] { "Value", });
+ new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", });
internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor =
- getDescriptor().getMessageTypes().get(2);
+ getDescriptor().getMessageTypes().get(3);
internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor,
- new java.lang.String[] { "Value", "Type", "NodeType", "Attributes", });
+ new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", });
internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor =
- getDescriptor().getMessageTypes().get(3);
+ getDescriptor().getMessageTypes().get(4);
internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor,
- new java.lang.String[] { "Arguments", });
+ new java.lang.String[] { "Arguments", "Code", });
internal_static_org_opendaylight_controller_mdsal_Node_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(5);
internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_Node_descriptor,
- new java.lang.String[] { "Path", "Type", "Attributes", "Child", "Value", "ValueType", "BitsValue", "InstanceIdentifierValue", });
+ new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", "BytesValue", });
internal_static_org_opendaylight_controller_mdsal_Container_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(6);
internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_Container_descriptor,
new java.lang.String[] { "ParentPath", "NormalizedNode", });
internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(7);
internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor,
new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", });
internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(8);
internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,