1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: Common.proto
4 package org.opendaylight.controller.protobuff.messages.common;
6 public final class NormalizedNodeMessages {
7 private NormalizedNodeMessages() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface AttributeOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
14 // required string name = 1;
16 * <code>required string name = 1;</code>
20 * <code>required string name = 1;</code>
22 java.lang.String getName();
24 * <code>required string name = 1;</code>
26 com.google.protobuf.ByteString
29 // optional string value = 2;
31 * <code>optional string value = 2;</code>
35 * <code>optional string value = 2;</code>
37 java.lang.String getValue();
39 * <code>optional string value = 2;</code>
41 com.google.protobuf.ByteString
44 // optional string type = 3;
46 * <code>optional string type = 3;</code>
50 * <code>optional string type = 3;</code>
52 java.lang.String getType();
54 * <code>optional string type = 3;</code>
56 com.google.protobuf.ByteString
60 * Protobuf type {@code org.opendaylight.controller.mdsal.Attribute}
62 public static final class Attribute extends
63 com.google.protobuf.GeneratedMessage
64 implements AttributeOrBuilder {
65 // Use Attribute.newBuilder() to construct.
66 private Attribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
68 this.unknownFields = builder.getUnknownFields();
70 private Attribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
72 private static final Attribute defaultInstance;
73 public static Attribute getDefaultInstance() {
74 return defaultInstance;
77 public Attribute getDefaultInstanceForType() {
78 return defaultInstance;
81 private final com.google.protobuf.UnknownFieldSet unknownFields;
83 public final com.google.protobuf.UnknownFieldSet
85 return this.unknownFields;
88 com.google.protobuf.CodedInputStream input,
89 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
90 throws com.google.protobuf.InvalidProtocolBufferException {
92 int mutable_bitField0_ = 0;
93 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
94 com.google.protobuf.UnknownFieldSet.newBuilder();
98 int tag = input.readTag();
104 if (!parseUnknownField(input, unknownFields,
105 extensionRegistry, tag)) {
111 bitField0_ |= 0x00000001;
112 name_ = input.readBytes();
116 bitField0_ |= 0x00000002;
117 value_ = input.readBytes();
121 bitField0_ |= 0x00000004;
122 type_ = input.readBytes();
127 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
128 throw e.setUnfinishedMessage(this);
129 } catch (java.io.IOException e) {
130 throw new com.google.protobuf.InvalidProtocolBufferException(
131 e.getMessage()).setUnfinishedMessage(this);
133 this.unknownFields = unknownFields.build();
134 makeExtensionsImmutable();
137 public static final com.google.protobuf.Descriptors.Descriptor
139 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
142 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
143 internalGetFieldAccessorTable() {
144 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable
145 .ensureFieldAccessorsInitialized(
146 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder.class);
149 public static com.google.protobuf.Parser<Attribute> PARSER =
150 new com.google.protobuf.AbstractParser<Attribute>() {
151 public Attribute parsePartialFrom(
152 com.google.protobuf.CodedInputStream input,
153 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
154 throws com.google.protobuf.InvalidProtocolBufferException {
155 return new Attribute(input, extensionRegistry);
160 public com.google.protobuf.Parser<Attribute> getParserForType() {
164 private int bitField0_;
165 // required string name = 1;
166 public static final int NAME_FIELD_NUMBER = 1;
167 private java.lang.Object name_;
169 * <code>required string name = 1;</code>
171 public boolean hasName() {
172 return ((bitField0_ & 0x00000001) == 0x00000001);
175 * <code>required string name = 1;</code>
177 public java.lang.String getName() {
178 java.lang.Object ref = name_;
179 if (ref instanceof java.lang.String) {
180 return (java.lang.String) ref;
182 com.google.protobuf.ByteString bs =
183 (com.google.protobuf.ByteString) ref;
184 java.lang.String s = bs.toStringUtf8();
185 if (bs.isValidUtf8()) {
192 * <code>required string name = 1;</code>
194 public com.google.protobuf.ByteString
196 java.lang.Object ref = name_;
197 if (ref instanceof java.lang.String) {
198 com.google.protobuf.ByteString b =
199 com.google.protobuf.ByteString.copyFromUtf8(
200 (java.lang.String) ref);
204 return (com.google.protobuf.ByteString) ref;
208 // optional string value = 2;
209 public static final int VALUE_FIELD_NUMBER = 2;
210 private java.lang.Object value_;
212 * <code>optional string value = 2;</code>
214 public boolean hasValue() {
215 return ((bitField0_ & 0x00000002) == 0x00000002);
218 * <code>optional string value = 2;</code>
220 public java.lang.String getValue() {
221 java.lang.Object ref = value_;
222 if (ref instanceof java.lang.String) {
223 return (java.lang.String) ref;
225 com.google.protobuf.ByteString bs =
226 (com.google.protobuf.ByteString) ref;
227 java.lang.String s = bs.toStringUtf8();
228 if (bs.isValidUtf8()) {
235 * <code>optional string value = 2;</code>
237 public com.google.protobuf.ByteString
239 java.lang.Object ref = value_;
240 if (ref instanceof java.lang.String) {
241 com.google.protobuf.ByteString b =
242 com.google.protobuf.ByteString.copyFromUtf8(
243 (java.lang.String) ref);
247 return (com.google.protobuf.ByteString) ref;
251 // optional string type = 3;
252 public static final int TYPE_FIELD_NUMBER = 3;
253 private java.lang.Object type_;
255 * <code>optional string type = 3;</code>
257 public boolean hasType() {
258 return ((bitField0_ & 0x00000004) == 0x00000004);
261 * <code>optional string type = 3;</code>
263 public java.lang.String getType() {
264 java.lang.Object ref = type_;
265 if (ref instanceof java.lang.String) {
266 return (java.lang.String) ref;
268 com.google.protobuf.ByteString bs =
269 (com.google.protobuf.ByteString) ref;
270 java.lang.String s = bs.toStringUtf8();
271 if (bs.isValidUtf8()) {
278 * <code>optional string type = 3;</code>
280 public com.google.protobuf.ByteString
282 java.lang.Object ref = type_;
283 if (ref instanceof java.lang.String) {
284 com.google.protobuf.ByteString b =
285 com.google.protobuf.ByteString.copyFromUtf8(
286 (java.lang.String) ref);
290 return (com.google.protobuf.ByteString) ref;
294 private void initFields() {
299 private byte memoizedIsInitialized = -1;
300 public final boolean isInitialized() {
301 byte isInitialized = memoizedIsInitialized;
302 if (isInitialized != -1) return isInitialized == 1;
305 memoizedIsInitialized = 0;
308 memoizedIsInitialized = 1;
312 public void writeTo(com.google.protobuf.CodedOutputStream output)
313 throws java.io.IOException {
315 if (((bitField0_ & 0x00000001) == 0x00000001)) {
316 output.writeBytes(1, getNameBytes());
318 if (((bitField0_ & 0x00000002) == 0x00000002)) {
319 output.writeBytes(2, getValueBytes());
321 if (((bitField0_ & 0x00000004) == 0x00000004)) {
322 output.writeBytes(3, getTypeBytes());
324 getUnknownFields().writeTo(output);
327 private int memoizedSerializedSize = -1;
328 public int getSerializedSize() {
329 int size = memoizedSerializedSize;
330 if (size != -1) return size;
333 if (((bitField0_ & 0x00000001) == 0x00000001)) {
334 size += com.google.protobuf.CodedOutputStream
335 .computeBytesSize(1, getNameBytes());
337 if (((bitField0_ & 0x00000002) == 0x00000002)) {
338 size += com.google.protobuf.CodedOutputStream
339 .computeBytesSize(2, getValueBytes());
341 if (((bitField0_ & 0x00000004) == 0x00000004)) {
342 size += com.google.protobuf.CodedOutputStream
343 .computeBytesSize(3, getTypeBytes());
345 size += getUnknownFields().getSerializedSize();
346 memoizedSerializedSize = size;
350 private static final long serialVersionUID = 0L;
352 protected java.lang.Object writeReplace()
353 throws java.io.ObjectStreamException {
354 return super.writeReplace();
357 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
358 com.google.protobuf.ByteString data)
359 throws com.google.protobuf.InvalidProtocolBufferException {
360 return PARSER.parseFrom(data);
362 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
363 com.google.protobuf.ByteString data,
364 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
365 throws com.google.protobuf.InvalidProtocolBufferException {
366 return PARSER.parseFrom(data, extensionRegistry);
368 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(byte[] data)
369 throws com.google.protobuf.InvalidProtocolBufferException {
370 return PARSER.parseFrom(data);
372 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
374 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
375 throws com.google.protobuf.InvalidProtocolBufferException {
376 return PARSER.parseFrom(data, extensionRegistry);
378 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(java.io.InputStream input)
379 throws java.io.IOException {
380 return PARSER.parseFrom(input);
382 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
383 java.io.InputStream input,
384 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
385 throws java.io.IOException {
386 return PARSER.parseFrom(input, extensionRegistry);
388 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseDelimitedFrom(java.io.InputStream input)
389 throws java.io.IOException {
390 return PARSER.parseDelimitedFrom(input);
392 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseDelimitedFrom(
393 java.io.InputStream input,
394 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
395 throws java.io.IOException {
396 return PARSER.parseDelimitedFrom(input, extensionRegistry);
398 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
399 com.google.protobuf.CodedInputStream input)
400 throws java.io.IOException {
401 return PARSER.parseFrom(input);
403 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parseFrom(
404 com.google.protobuf.CodedInputStream input,
405 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
406 throws java.io.IOException {
407 return PARSER.parseFrom(input, extensionRegistry);
410 public static Builder newBuilder() { return Builder.create(); }
411 public Builder newBuilderForType() { return newBuilder(); }
412 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute prototype) {
413 return newBuilder().mergeFrom(prototype);
415 public Builder toBuilder() { return newBuilder(this); }
418 protected Builder newBuilderForType(
419 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
420 Builder builder = new Builder(parent);
424 * Protobuf type {@code org.opendaylight.controller.mdsal.Attribute}
426 public static final class Builder extends
427 com.google.protobuf.GeneratedMessage.Builder<Builder>
428 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder {
429 public static final com.google.protobuf.Descriptors.Descriptor
431 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
434 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
435 internalGetFieldAccessorTable() {
436 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable
437 .ensureFieldAccessorsInitialized(
438 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder.class);
441 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.newBuilder()
443 maybeForceBuilderInitialization();
447 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
449 maybeForceBuilderInitialization();
451 private void maybeForceBuilderInitialization() {
452 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
455 private static Builder create() {
456 return new Builder();
459 public Builder clear() {
462 bitField0_ = (bitField0_ & ~0x00000001);
464 bitField0_ = (bitField0_ & ~0x00000002);
466 bitField0_ = (bitField0_ & ~0x00000004);
470 public Builder clone() {
471 return create().mergeFrom(buildPartial());
474 public com.google.protobuf.Descriptors.Descriptor
475 getDescriptorForType() {
476 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
479 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getDefaultInstanceForType() {
480 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance();
483 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute build() {
484 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute result = buildPartial();
485 if (!result.isInitialized()) {
486 throw newUninitializedMessageException(result);
491 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute buildPartial() {
492 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute(this);
493 int from_bitField0_ = bitField0_;
494 int to_bitField0_ = 0;
495 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
496 to_bitField0_ |= 0x00000001;
498 result.name_ = name_;
499 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
500 to_bitField0_ |= 0x00000002;
502 result.value_ = value_;
503 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
504 to_bitField0_ |= 0x00000004;
506 result.type_ = type_;
507 result.bitField0_ = to_bitField0_;
512 public Builder mergeFrom(com.google.protobuf.Message other) {
513 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute) {
514 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute)other);
516 super.mergeFrom(other);
521 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute other) {
522 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance()) return this;
523 if (other.hasName()) {
524 bitField0_ |= 0x00000001;
528 if (other.hasValue()) {
529 bitField0_ |= 0x00000002;
530 value_ = other.value_;
533 if (other.hasType()) {
534 bitField0_ |= 0x00000004;
538 this.mergeUnknownFields(other.getUnknownFields());
542 public final boolean isInitialized() {
550 public Builder mergeFrom(
551 com.google.protobuf.CodedInputStream input,
552 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
553 throws java.io.IOException {
554 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute parsedMessage = null;
556 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
557 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
558 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute) e.getUnfinishedMessage();
561 if (parsedMessage != null) {
562 mergeFrom(parsedMessage);
567 private int bitField0_;
569 // required string name = 1;
570 private java.lang.Object name_ = "";
572 * <code>required string name = 1;</code>
574 public boolean hasName() {
575 return ((bitField0_ & 0x00000001) == 0x00000001);
578 * <code>required string name = 1;</code>
580 public java.lang.String getName() {
581 java.lang.Object ref = name_;
582 if (!(ref instanceof java.lang.String)) {
583 java.lang.String s = ((com.google.protobuf.ByteString) ref)
588 return (java.lang.String) ref;
592 * <code>required string name = 1;</code>
594 public com.google.protobuf.ByteString
596 java.lang.Object ref = name_;
597 if (ref instanceof String) {
598 com.google.protobuf.ByteString b =
599 com.google.protobuf.ByteString.copyFromUtf8(
600 (java.lang.String) ref);
604 return (com.google.protobuf.ByteString) ref;
608 * <code>required string name = 1;</code>
610 public Builder setName(
611 java.lang.String value) {
613 throw new NullPointerException();
615 bitField0_ |= 0x00000001;
621 * <code>required string name = 1;</code>
623 public Builder clearName() {
624 bitField0_ = (bitField0_ & ~0x00000001);
625 name_ = getDefaultInstance().getName();
630 * <code>required string name = 1;</code>
632 public Builder setNameBytes(
633 com.google.protobuf.ByteString value) {
635 throw new NullPointerException();
637 bitField0_ |= 0x00000001;
643 // optional string value = 2;
644 private java.lang.Object value_ = "";
646 * <code>optional string value = 2;</code>
648 public boolean hasValue() {
649 return ((bitField0_ & 0x00000002) == 0x00000002);
652 * <code>optional string value = 2;</code>
654 public java.lang.String getValue() {
655 java.lang.Object ref = value_;
656 if (!(ref instanceof java.lang.String)) {
657 java.lang.String s = ((com.google.protobuf.ByteString) ref)
662 return (java.lang.String) ref;
666 * <code>optional string value = 2;</code>
668 public com.google.protobuf.ByteString
670 java.lang.Object ref = value_;
671 if (ref instanceof String) {
672 com.google.protobuf.ByteString b =
673 com.google.protobuf.ByteString.copyFromUtf8(
674 (java.lang.String) ref);
678 return (com.google.protobuf.ByteString) ref;
682 * <code>optional string value = 2;</code>
684 public Builder setValue(
685 java.lang.String value) {
687 throw new NullPointerException();
689 bitField0_ |= 0x00000002;
695 * <code>optional string value = 2;</code>
697 public Builder clearValue() {
698 bitField0_ = (bitField0_ & ~0x00000002);
699 value_ = getDefaultInstance().getValue();
704 * <code>optional string value = 2;</code>
706 public Builder setValueBytes(
707 com.google.protobuf.ByteString value) {
709 throw new NullPointerException();
711 bitField0_ |= 0x00000002;
717 // optional string type = 3;
718 private java.lang.Object type_ = "";
720 * <code>optional string type = 3;</code>
722 public boolean hasType() {
723 return ((bitField0_ & 0x00000004) == 0x00000004);
726 * <code>optional string type = 3;</code>
728 public java.lang.String getType() {
729 java.lang.Object ref = type_;
730 if (!(ref instanceof java.lang.String)) {
731 java.lang.String s = ((com.google.protobuf.ByteString) ref)
736 return (java.lang.String) ref;
740 * <code>optional string type = 3;</code>
742 public com.google.protobuf.ByteString
744 java.lang.Object ref = type_;
745 if (ref instanceof String) {
746 com.google.protobuf.ByteString b =
747 com.google.protobuf.ByteString.copyFromUtf8(
748 (java.lang.String) ref);
752 return (com.google.protobuf.ByteString) ref;
756 * <code>optional string type = 3;</code>
758 public Builder setType(
759 java.lang.String value) {
761 throw new NullPointerException();
763 bitField0_ |= 0x00000004;
769 * <code>optional string type = 3;</code>
771 public Builder clearType() {
772 bitField0_ = (bitField0_ & ~0x00000004);
773 type_ = getDefaultInstance().getType();
778 * <code>optional string type = 3;</code>
780 public Builder setTypeBytes(
781 com.google.protobuf.ByteString value) {
783 throw new NullPointerException();
785 bitField0_ |= 0x00000004;
791 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Attribute)
795 defaultInstance = new Attribute(true);
796 defaultInstance.initFields();
799 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Attribute)
802 public interface PathArgumentAttributeOrBuilder
803 extends com.google.protobuf.MessageOrBuilder {
805 // optional .org.opendaylight.controller.mdsal.QName name = 1;
807 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
811 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
813 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName();
815 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
817 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder();
819 // optional string value = 2;
821 * <code>optional string value = 2;</code>
825 * <code>optional string value = 2;</code>
827 java.lang.String getValue();
829 * <code>optional string value = 2;</code>
831 com.google.protobuf.ByteString
834 // optional int32 type = 3;
836 * <code>optional int32 type = 3;</code>
840 * <code>optional int32 type = 3;</code>
845 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
847 public static final class PathArgumentAttribute extends
848 com.google.protobuf.GeneratedMessage
849 implements PathArgumentAttributeOrBuilder {
850 // Use PathArgumentAttribute.newBuilder() to construct.
851 private PathArgumentAttribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
853 this.unknownFields = builder.getUnknownFields();
855 private PathArgumentAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
857 private static final PathArgumentAttribute defaultInstance;
858 public static PathArgumentAttribute getDefaultInstance() {
859 return defaultInstance;
862 public PathArgumentAttribute getDefaultInstanceForType() {
863 return defaultInstance;
866 private final com.google.protobuf.UnknownFieldSet unknownFields;
868 public final com.google.protobuf.UnknownFieldSet
870 return this.unknownFields;
872 private PathArgumentAttribute(
873 com.google.protobuf.CodedInputStream input,
874 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
875 throws com.google.protobuf.InvalidProtocolBufferException {
877 int mutable_bitField0_ = 0;
878 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
879 com.google.protobuf.UnknownFieldSet.newBuilder();
881 boolean done = false;
883 int tag = input.readTag();
889 if (!parseUnknownField(input, unknownFields,
890 extensionRegistry, tag)) {
896 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
897 if (((bitField0_ & 0x00000001) == 0x00000001)) {
898 subBuilder = name_.toBuilder();
900 name_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
901 if (subBuilder != null) {
902 subBuilder.mergeFrom(name_);
903 name_ = subBuilder.buildPartial();
905 bitField0_ |= 0x00000001;
909 bitField0_ |= 0x00000002;
910 value_ = input.readBytes();
914 bitField0_ |= 0x00000004;
915 type_ = input.readInt32();
920 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
921 throw e.setUnfinishedMessage(this);
922 } catch (java.io.IOException e) {
923 throw new com.google.protobuf.InvalidProtocolBufferException(
924 e.getMessage()).setUnfinishedMessage(this);
926 this.unknownFields = unknownFields.build();
927 makeExtensionsImmutable();
930 public static final com.google.protobuf.Descriptors.Descriptor
932 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
935 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
936 internalGetFieldAccessorTable() {
937 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
938 .ensureFieldAccessorsInitialized(
939 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
942 public static com.google.protobuf.Parser<PathArgumentAttribute> PARSER =
943 new com.google.protobuf.AbstractParser<PathArgumentAttribute>() {
944 public PathArgumentAttribute parsePartialFrom(
945 com.google.protobuf.CodedInputStream input,
946 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
947 throws com.google.protobuf.InvalidProtocolBufferException {
948 return new PathArgumentAttribute(input, extensionRegistry);
953 public com.google.protobuf.Parser<PathArgumentAttribute> getParserForType() {
957 private int bitField0_;
958 // optional .org.opendaylight.controller.mdsal.QName name = 1;
959 public static final int NAME_FIELD_NUMBER = 1;
960 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_;
962 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
964 public boolean hasName() {
965 return ((bitField0_ & 0x00000001) == 0x00000001);
968 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
970 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
974 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
976 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
980 // optional string value = 2;
981 public static final int VALUE_FIELD_NUMBER = 2;
982 private java.lang.Object value_;
984 * <code>optional string value = 2;</code>
986 public boolean hasValue() {
987 return ((bitField0_ & 0x00000002) == 0x00000002);
990 * <code>optional string value = 2;</code>
992 public java.lang.String getValue() {
993 java.lang.Object ref = value_;
994 if (ref instanceof java.lang.String) {
995 return (java.lang.String) ref;
997 com.google.protobuf.ByteString bs =
998 (com.google.protobuf.ByteString) ref;
999 java.lang.String s = bs.toStringUtf8();
1000 if (bs.isValidUtf8()) {
1007 * <code>optional string value = 2;</code>
1009 public com.google.protobuf.ByteString
1011 java.lang.Object ref = value_;
1012 if (ref instanceof java.lang.String) {
1013 com.google.protobuf.ByteString b =
1014 com.google.protobuf.ByteString.copyFromUtf8(
1015 (java.lang.String) ref);
1019 return (com.google.protobuf.ByteString) ref;
1023 // optional int32 type = 3;
1024 public static final int TYPE_FIELD_NUMBER = 3;
1027 * <code>optional int32 type = 3;</code>
1029 public boolean hasType() {
1030 return ((bitField0_ & 0x00000004) == 0x00000004);
1033 * <code>optional int32 type = 3;</code>
1035 public int getType() {
1039 private void initFields() {
1040 name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1044 private byte memoizedIsInitialized = -1;
1045 public final boolean isInitialized() {
1046 byte isInitialized = memoizedIsInitialized;
1047 if (isInitialized != -1) return isInitialized == 1;
1049 memoizedIsInitialized = 1;
1053 public void writeTo(com.google.protobuf.CodedOutputStream output)
1054 throws java.io.IOException {
1055 getSerializedSize();
1056 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1057 output.writeMessage(1, name_);
1059 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1060 output.writeBytes(2, getValueBytes());
1062 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1063 output.writeInt32(3, type_);
1065 getUnknownFields().writeTo(output);
1068 private int memoizedSerializedSize = -1;
1069 public int getSerializedSize() {
1070 int size = memoizedSerializedSize;
1071 if (size != -1) return size;
1074 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1075 size += com.google.protobuf.CodedOutputStream
1076 .computeMessageSize(1, name_);
1078 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1079 size += com.google.protobuf.CodedOutputStream
1080 .computeBytesSize(2, getValueBytes());
1082 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1083 size += com.google.protobuf.CodedOutputStream
1084 .computeInt32Size(3, type_);
1086 size += getUnknownFields().getSerializedSize();
1087 memoizedSerializedSize = size;
1091 private static final long serialVersionUID = 0L;
1093 protected java.lang.Object writeReplace()
1094 throws java.io.ObjectStreamException {
1095 return super.writeReplace();
1098 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1099 com.google.protobuf.ByteString data)
1100 throws com.google.protobuf.InvalidProtocolBufferException {
1101 return PARSER.parseFrom(data);
1103 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1104 com.google.protobuf.ByteString data,
1105 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1106 throws com.google.protobuf.InvalidProtocolBufferException {
1107 return PARSER.parseFrom(data, extensionRegistry);
1109 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(byte[] data)
1110 throws com.google.protobuf.InvalidProtocolBufferException {
1111 return PARSER.parseFrom(data);
1113 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1115 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1116 throws com.google.protobuf.InvalidProtocolBufferException {
1117 return PARSER.parseFrom(data, extensionRegistry);
1119 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(java.io.InputStream input)
1120 throws java.io.IOException {
1121 return PARSER.parseFrom(input);
1123 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1124 java.io.InputStream input,
1125 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1126 throws java.io.IOException {
1127 return PARSER.parseFrom(input, extensionRegistry);
1129 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(java.io.InputStream input)
1130 throws java.io.IOException {
1131 return PARSER.parseDelimitedFrom(input);
1133 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(
1134 java.io.InputStream input,
1135 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1136 throws java.io.IOException {
1137 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1139 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1140 com.google.protobuf.CodedInputStream input)
1141 throws java.io.IOException {
1142 return PARSER.parseFrom(input);
1144 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1145 com.google.protobuf.CodedInputStream input,
1146 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1147 throws java.io.IOException {
1148 return PARSER.parseFrom(input, extensionRegistry);
1151 public static Builder newBuilder() { return Builder.create(); }
1152 public Builder newBuilderForType() { return newBuilder(); }
1153 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute prototype) {
1154 return newBuilder().mergeFrom(prototype);
1156 public Builder toBuilder() { return newBuilder(this); }
1159 protected Builder newBuilderForType(
1160 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1161 Builder builder = new Builder(parent);
1165 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
1167 public static final class Builder extends
1168 com.google.protobuf.GeneratedMessage.Builder<Builder>
1169 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder {
1170 public static final com.google.protobuf.Descriptors.Descriptor
1172 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
1175 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1176 internalGetFieldAccessorTable() {
1177 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
1178 .ensureFieldAccessorsInitialized(
1179 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
1182 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.newBuilder()
1184 maybeForceBuilderInitialization();
1188 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1190 maybeForceBuilderInitialization();
1192 private void maybeForceBuilderInitialization() {
1193 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1194 getNameFieldBuilder();
1197 private static Builder create() {
1198 return new Builder();
1201 public Builder clear() {
1203 if (nameBuilder_ == null) {
1204 name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1206 nameBuilder_.clear();
1208 bitField0_ = (bitField0_ & ~0x00000001);
1210 bitField0_ = (bitField0_ & ~0x00000002);
1212 bitField0_ = (bitField0_ & ~0x00000004);
1216 public Builder clone() {
1217 return create().mergeFrom(buildPartial());
1220 public com.google.protobuf.Descriptors.Descriptor
1221 getDescriptorForType() {
1222 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
1225 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getDefaultInstanceForType() {
1226 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance();
1229 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute build() {
1230 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = buildPartial();
1231 if (!result.isInitialized()) {
1232 throw newUninitializedMessageException(result);
1237 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute buildPartial() {
1238 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute(this);
1239 int from_bitField0_ = bitField0_;
1240 int to_bitField0_ = 0;
1241 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1242 to_bitField0_ |= 0x00000001;
1244 if (nameBuilder_ == null) {
1245 result.name_ = name_;
1247 result.name_ = nameBuilder_.build();
1249 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1250 to_bitField0_ |= 0x00000002;
1252 result.value_ = value_;
1253 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1254 to_bitField0_ |= 0x00000004;
1256 result.type_ = type_;
1257 result.bitField0_ = to_bitField0_;
1262 public Builder mergeFrom(com.google.protobuf.Message other) {
1263 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) {
1264 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute)other);
1266 super.mergeFrom(other);
1271 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute other) {
1272 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()) return this;
1273 if (other.hasName()) {
1274 mergeName(other.getName());
1276 if (other.hasValue()) {
1277 bitField0_ |= 0x00000002;
1278 value_ = other.value_;
1281 if (other.hasType()) {
1282 setType(other.getType());
1284 this.mergeUnknownFields(other.getUnknownFields());
1288 public final boolean isInitialized() {
1292 public Builder mergeFrom(
1293 com.google.protobuf.CodedInputStream input,
1294 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1295 throws java.io.IOException {
1296 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parsedMessage = null;
1298 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1299 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1300 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) e.getUnfinishedMessage();
1303 if (parsedMessage != null) {
1304 mergeFrom(parsedMessage);
1309 private int bitField0_;
1311 // optional .org.opendaylight.controller.mdsal.QName name = 1;
1312 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1313 private com.google.protobuf.SingleFieldBuilder<
1314 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_;
1316 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1318 public boolean hasName() {
1319 return ((bitField0_ & 0x00000001) == 0x00000001);
1322 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1324 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
1325 if (nameBuilder_ == null) {
1328 return nameBuilder_.getMessage();
1332 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1334 public Builder setName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
1335 if (nameBuilder_ == null) {
1336 if (value == null) {
1337 throw new NullPointerException();
1342 nameBuilder_.setMessage(value);
1344 bitField0_ |= 0x00000001;
1348 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1350 public Builder setName(
1351 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
1352 if (nameBuilder_ == null) {
1353 name_ = builderForValue.build();
1356 nameBuilder_.setMessage(builderForValue.build());
1358 bitField0_ |= 0x00000001;
1362 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1364 public Builder mergeName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
1365 if (nameBuilder_ == null) {
1366 if (((bitField0_ & 0x00000001) == 0x00000001) &&
1367 name_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
1369 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(name_).mergeFrom(value).buildPartial();
1375 nameBuilder_.mergeFrom(value);
1377 bitField0_ |= 0x00000001;
1381 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1383 public Builder clearName() {
1384 if (nameBuilder_ == null) {
1385 name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1388 nameBuilder_.clear();
1390 bitField0_ = (bitField0_ & ~0x00000001);
1394 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1396 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNameBuilder() {
1397 bitField0_ |= 0x00000001;
1399 return getNameFieldBuilder().getBuilder();
1402 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1404 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
1405 if (nameBuilder_ != null) {
1406 return nameBuilder_.getMessageOrBuilder();
1412 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1414 private com.google.protobuf.SingleFieldBuilder<
1415 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>
1416 getNameFieldBuilder() {
1417 if (nameBuilder_ == null) {
1418 nameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1419 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>(
1421 getParentForChildren(),
1425 return nameBuilder_;
1428 // optional string value = 2;
1429 private java.lang.Object value_ = "";
1431 * <code>optional string value = 2;</code>
1433 public boolean hasValue() {
1434 return ((bitField0_ & 0x00000002) == 0x00000002);
1437 * <code>optional string value = 2;</code>
1439 public java.lang.String getValue() {
1440 java.lang.Object ref = value_;
1441 if (!(ref instanceof java.lang.String)) {
1442 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1447 return (java.lang.String) ref;
1451 * <code>optional string value = 2;</code>
1453 public com.google.protobuf.ByteString
1455 java.lang.Object ref = value_;
1456 if (ref instanceof String) {
1457 com.google.protobuf.ByteString b =
1458 com.google.protobuf.ByteString.copyFromUtf8(
1459 (java.lang.String) ref);
1463 return (com.google.protobuf.ByteString) ref;
1467 * <code>optional string value = 2;</code>
1469 public Builder setValue(
1470 java.lang.String value) {
1471 if (value == null) {
1472 throw new NullPointerException();
1474 bitField0_ |= 0x00000002;
1480 * <code>optional string value = 2;</code>
1482 public Builder clearValue() {
1483 bitField0_ = (bitField0_ & ~0x00000002);
1484 value_ = getDefaultInstance().getValue();
1489 * <code>optional string value = 2;</code>
1491 public Builder setValueBytes(
1492 com.google.protobuf.ByteString value) {
1493 if (value == null) {
1494 throw new NullPointerException();
1496 bitField0_ |= 0x00000002;
1502 // optional int32 type = 3;
1505 * <code>optional int32 type = 3;</code>
1507 public boolean hasType() {
1508 return ((bitField0_ & 0x00000004) == 0x00000004);
1511 * <code>optional int32 type = 3;</code>
1513 public int getType() {
1517 * <code>optional int32 type = 3;</code>
1519 public Builder setType(int value) {
1520 bitField0_ |= 0x00000004;
1526 * <code>optional int32 type = 3;</code>
1528 public Builder clearType() {
1529 bitField0_ = (bitField0_ & ~0x00000004);
1535 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
1539 defaultInstance = new PathArgumentAttribute(true);
1540 defaultInstance.initFields();
1543 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
1546 public interface QNameOrBuilder
1547 extends com.google.protobuf.MessageOrBuilder {
1549 // optional string value = 1;
1551 * <code>optional string value = 1;</code>
1559 * <code>optional string value = 1;</code>
1565 java.lang.String getValue();
1567 * <code>optional string value = 1;</code>
1573 com.google.protobuf.ByteString
1576 // optional int32 namespace = 2;
1578 * <code>optional int32 namespace = 2;</code>
1580 boolean hasNamespace();
1582 * <code>optional int32 namespace = 2;</code>
1586 // optional int32 revision = 3;
1588 * <code>optional int32 revision = 3;</code>
1590 boolean hasRevision();
1592 * <code>optional int32 revision = 3;</code>
1596 // optional int32 localName = 4;
1598 * <code>optional int32 localName = 4;</code>
1600 boolean hasLocalName();
1602 * <code>optional int32 localName = 4;</code>
1607 * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
1609 public static final class QName extends
1610 com.google.protobuf.GeneratedMessage
1611 implements QNameOrBuilder {
1612 // Use QName.newBuilder() to construct.
1613 private QName(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1615 this.unknownFields = builder.getUnknownFields();
1617 private QName(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1619 private static final QName defaultInstance;
1620 public static QName getDefaultInstance() {
1621 return defaultInstance;
1624 public QName getDefaultInstanceForType() {
1625 return defaultInstance;
1628 private final com.google.protobuf.UnknownFieldSet unknownFields;
1630 public final com.google.protobuf.UnknownFieldSet
1631 getUnknownFields() {
1632 return this.unknownFields;
1635 com.google.protobuf.CodedInputStream input,
1636 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1637 throws com.google.protobuf.InvalidProtocolBufferException {
1639 int mutable_bitField0_ = 0;
1640 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1641 com.google.protobuf.UnknownFieldSet.newBuilder();
1643 boolean done = false;
1645 int tag = input.readTag();
1651 if (!parseUnknownField(input, unknownFields,
1652 extensionRegistry, tag)) {
1658 bitField0_ |= 0x00000001;
1659 value_ = input.readBytes();
1663 bitField0_ |= 0x00000002;
1664 namespace_ = input.readInt32();
1668 bitField0_ |= 0x00000004;
1669 revision_ = input.readInt32();
1673 bitField0_ |= 0x00000008;
1674 localName_ = input.readInt32();
1679 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1680 throw e.setUnfinishedMessage(this);
1681 } catch (java.io.IOException e) {
1682 throw new com.google.protobuf.InvalidProtocolBufferException(
1683 e.getMessage()).setUnfinishedMessage(this);
1685 this.unknownFields = unknownFields.build();
1686 makeExtensionsImmutable();
1689 public static final com.google.protobuf.Descriptors.Descriptor
1691 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
1694 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1695 internalGetFieldAccessorTable() {
1696 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
1697 .ensureFieldAccessorsInitialized(
1698 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
1701 public static com.google.protobuf.Parser<QName> PARSER =
1702 new com.google.protobuf.AbstractParser<QName>() {
1703 public QName parsePartialFrom(
1704 com.google.protobuf.CodedInputStream input,
1705 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1706 throws com.google.protobuf.InvalidProtocolBufferException {
1707 return new QName(input, extensionRegistry);
1712 public com.google.protobuf.Parser<QName> getParserForType() {
1716 private int bitField0_;
1717 // optional string value = 1;
1718 public static final int VALUE_FIELD_NUMBER = 1;
1719 private java.lang.Object value_;
1721 * <code>optional string value = 1;</code>
1727 public boolean hasValue() {
1728 return ((bitField0_ & 0x00000001) == 0x00000001);
1731 * <code>optional string value = 1;</code>
1737 public java.lang.String getValue() {
1738 java.lang.Object ref = value_;
1739 if (ref instanceof java.lang.String) {
1740 return (java.lang.String) ref;
1742 com.google.protobuf.ByteString bs =
1743 (com.google.protobuf.ByteString) ref;
1744 java.lang.String s = bs.toStringUtf8();
1745 if (bs.isValidUtf8()) {
1752 * <code>optional string value = 1;</code>
1758 public com.google.protobuf.ByteString
1760 java.lang.Object ref = value_;
1761 if (ref instanceof java.lang.String) {
1762 com.google.protobuf.ByteString b =
1763 com.google.protobuf.ByteString.copyFromUtf8(
1764 (java.lang.String) ref);
1768 return (com.google.protobuf.ByteString) ref;
1772 // optional int32 namespace = 2;
1773 public static final int NAMESPACE_FIELD_NUMBER = 2;
1774 private int namespace_;
1776 * <code>optional int32 namespace = 2;</code>
1778 public boolean hasNamespace() {
1779 return ((bitField0_ & 0x00000002) == 0x00000002);
1782 * <code>optional int32 namespace = 2;</code>
1784 public int getNamespace() {
1788 // optional int32 revision = 3;
1789 public static final int REVISION_FIELD_NUMBER = 3;
1790 private int revision_;
1792 * <code>optional int32 revision = 3;</code>
1794 public boolean hasRevision() {
1795 return ((bitField0_ & 0x00000004) == 0x00000004);
1798 * <code>optional int32 revision = 3;</code>
1800 public int getRevision() {
1804 // optional int32 localName = 4;
1805 public static final int LOCALNAME_FIELD_NUMBER = 4;
1806 private int localName_;
1808 * <code>optional int32 localName = 4;</code>
1810 public boolean hasLocalName() {
1811 return ((bitField0_ & 0x00000008) == 0x00000008);
1814 * <code>optional int32 localName = 4;</code>
1816 public int getLocalName() {
1820 private void initFields() {
1826 private byte memoizedIsInitialized = -1;
1827 public final boolean isInitialized() {
1828 byte isInitialized = memoizedIsInitialized;
1829 if (isInitialized != -1) return isInitialized == 1;
1831 memoizedIsInitialized = 1;
1835 public void writeTo(com.google.protobuf.CodedOutputStream output)
1836 throws java.io.IOException {
1837 getSerializedSize();
1838 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1839 output.writeBytes(1, getValueBytes());
1841 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1842 output.writeInt32(2, namespace_);
1844 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1845 output.writeInt32(3, revision_);
1847 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1848 output.writeInt32(4, localName_);
1850 getUnknownFields().writeTo(output);
1853 private int memoizedSerializedSize = -1;
1854 public int getSerializedSize() {
1855 int size = memoizedSerializedSize;
1856 if (size != -1) return size;
1859 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1860 size += com.google.protobuf.CodedOutputStream
1861 .computeBytesSize(1, getValueBytes());
1863 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1864 size += com.google.protobuf.CodedOutputStream
1865 .computeInt32Size(2, namespace_);
1867 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1868 size += com.google.protobuf.CodedOutputStream
1869 .computeInt32Size(3, revision_);
1871 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1872 size += com.google.protobuf.CodedOutputStream
1873 .computeInt32Size(4, localName_);
1875 size += getUnknownFields().getSerializedSize();
1876 memoizedSerializedSize = size;
1880 private static final long serialVersionUID = 0L;
1882 protected java.lang.Object writeReplace()
1883 throws java.io.ObjectStreamException {
1884 return super.writeReplace();
1887 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1888 com.google.protobuf.ByteString data)
1889 throws com.google.protobuf.InvalidProtocolBufferException {
1890 return PARSER.parseFrom(data);
1892 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1893 com.google.protobuf.ByteString data,
1894 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1895 throws com.google.protobuf.InvalidProtocolBufferException {
1896 return PARSER.parseFrom(data, extensionRegistry);
1898 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(byte[] data)
1899 throws com.google.protobuf.InvalidProtocolBufferException {
1900 return PARSER.parseFrom(data);
1902 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1904 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1905 throws com.google.protobuf.InvalidProtocolBufferException {
1906 return PARSER.parseFrom(data, extensionRegistry);
1908 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(java.io.InputStream input)
1909 throws java.io.IOException {
1910 return PARSER.parseFrom(input);
1912 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1913 java.io.InputStream input,
1914 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1915 throws java.io.IOException {
1916 return PARSER.parseFrom(input, extensionRegistry);
1918 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(java.io.InputStream input)
1919 throws java.io.IOException {
1920 return PARSER.parseDelimitedFrom(input);
1922 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(
1923 java.io.InputStream input,
1924 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1925 throws java.io.IOException {
1926 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1928 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1929 com.google.protobuf.CodedInputStream input)
1930 throws java.io.IOException {
1931 return PARSER.parseFrom(input);
1933 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
1934 com.google.protobuf.CodedInputStream input,
1935 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1936 throws java.io.IOException {
1937 return PARSER.parseFrom(input, extensionRegistry);
1940 public static Builder newBuilder() { return Builder.create(); }
1941 public Builder newBuilderForType() { return newBuilder(); }
1942 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName prototype) {
1943 return newBuilder().mergeFrom(prototype);
1945 public Builder toBuilder() { return newBuilder(this); }
1948 protected Builder newBuilderForType(
1949 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1950 Builder builder = new Builder(parent);
1954 * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
1956 public static final class Builder extends
1957 com.google.protobuf.GeneratedMessage.Builder<Builder>
1958 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder {
1959 public static final com.google.protobuf.Descriptors.Descriptor
1961 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
1964 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1965 internalGetFieldAccessorTable() {
1966 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
1967 .ensureFieldAccessorsInitialized(
1968 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
1971 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder()
1973 maybeForceBuilderInitialization();
1977 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1979 maybeForceBuilderInitialization();
1981 private void maybeForceBuilderInitialization() {
1982 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1985 private static Builder create() {
1986 return new Builder();
1989 public Builder clear() {
1992 bitField0_ = (bitField0_ & ~0x00000001);
1994 bitField0_ = (bitField0_ & ~0x00000002);
1996 bitField0_ = (bitField0_ & ~0x00000004);
1998 bitField0_ = (bitField0_ & ~0x00000008);
2002 public Builder clone() {
2003 return create().mergeFrom(buildPartial());
2006 public com.google.protobuf.Descriptors.Descriptor
2007 getDescriptorForType() {
2008 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
2011 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getDefaultInstanceForType() {
2012 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
2015 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName build() {
2016 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = buildPartial();
2017 if (!result.isInitialized()) {
2018 throw newUninitializedMessageException(result);
2023 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName buildPartial() {
2024 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName(this);
2025 int from_bitField0_ = bitField0_;
2026 int to_bitField0_ = 0;
2027 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2028 to_bitField0_ |= 0x00000001;
2030 result.value_ = value_;
2031 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
2032 to_bitField0_ |= 0x00000002;
2034 result.namespace_ = namespace_;
2035 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
2036 to_bitField0_ |= 0x00000004;
2038 result.revision_ = revision_;
2039 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
2040 to_bitField0_ |= 0x00000008;
2042 result.localName_ = localName_;
2043 result.bitField0_ = to_bitField0_;
2048 public Builder mergeFrom(com.google.protobuf.Message other) {
2049 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) {
2050 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName)other);
2052 super.mergeFrom(other);
2057 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName other) {
2058 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) return this;
2059 if (other.hasValue()) {
2060 bitField0_ |= 0x00000001;
2061 value_ = other.value_;
2064 if (other.hasNamespace()) {
2065 setNamespace(other.getNamespace());
2067 if (other.hasRevision()) {
2068 setRevision(other.getRevision());
2070 if (other.hasLocalName()) {
2071 setLocalName(other.getLocalName());
2073 this.mergeUnknownFields(other.getUnknownFields());
2077 public final boolean isInitialized() {
2081 public Builder mergeFrom(
2082 com.google.protobuf.CodedInputStream input,
2083 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2084 throws java.io.IOException {
2085 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parsedMessage = null;
2087 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2088 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2089 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) e.getUnfinishedMessage();
2092 if (parsedMessage != null) {
2093 mergeFrom(parsedMessage);
2098 private int bitField0_;
2100 // optional string value = 1;
2101 private java.lang.Object value_ = "";
2103 * <code>optional string value = 1;</code>
2109 public boolean hasValue() {
2110 return ((bitField0_ & 0x00000001) == 0x00000001);
2113 * <code>optional string value = 1;</code>
2119 public java.lang.String getValue() {
2120 java.lang.Object ref = value_;
2121 if (!(ref instanceof java.lang.String)) {
2122 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2127 return (java.lang.String) ref;
2131 * <code>optional string value = 1;</code>
2137 public com.google.protobuf.ByteString
2139 java.lang.Object ref = value_;
2140 if (ref instanceof String) {
2141 com.google.protobuf.ByteString b =
2142 com.google.protobuf.ByteString.copyFromUtf8(
2143 (java.lang.String) ref);
2147 return (com.google.protobuf.ByteString) ref;
2151 * <code>optional string value = 1;</code>
2157 public Builder setValue(
2158 java.lang.String value) {
2159 if (value == null) {
2160 throw new NullPointerException();
2162 bitField0_ |= 0x00000001;
2168 * <code>optional string value = 1;</code>
2174 public Builder clearValue() {
2175 bitField0_ = (bitField0_ & ~0x00000001);
2176 value_ = getDefaultInstance().getValue();
2181 * <code>optional string value = 1;</code>
2187 public Builder setValueBytes(
2188 com.google.protobuf.ByteString value) {
2189 if (value == null) {
2190 throw new NullPointerException();
2192 bitField0_ |= 0x00000001;
2198 // optional int32 namespace = 2;
2199 private int namespace_ ;
2201 * <code>optional int32 namespace = 2;</code>
2203 public boolean hasNamespace() {
2204 return ((bitField0_ & 0x00000002) == 0x00000002);
2207 * <code>optional int32 namespace = 2;</code>
2209 public int getNamespace() {
2213 * <code>optional int32 namespace = 2;</code>
2215 public Builder setNamespace(int value) {
2216 bitField0_ |= 0x00000002;
2222 * <code>optional int32 namespace = 2;</code>
2224 public Builder clearNamespace() {
2225 bitField0_ = (bitField0_ & ~0x00000002);
2231 // optional int32 revision = 3;
2232 private int revision_ ;
2234 * <code>optional int32 revision = 3;</code>
2236 public boolean hasRevision() {
2237 return ((bitField0_ & 0x00000004) == 0x00000004);
2240 * <code>optional int32 revision = 3;</code>
2242 public int getRevision() {
2246 * <code>optional int32 revision = 3;</code>
2248 public Builder setRevision(int value) {
2249 bitField0_ |= 0x00000004;
2255 * <code>optional int32 revision = 3;</code>
2257 public Builder clearRevision() {
2258 bitField0_ = (bitField0_ & ~0x00000004);
2264 // optional int32 localName = 4;
2265 private int localName_ ;
2267 * <code>optional int32 localName = 4;</code>
2269 public boolean hasLocalName() {
2270 return ((bitField0_ & 0x00000008) == 0x00000008);
2273 * <code>optional int32 localName = 4;</code>
2275 public int getLocalName() {
2279 * <code>optional int32 localName = 4;</code>
2281 public Builder setLocalName(int value) {
2282 bitField0_ |= 0x00000008;
2288 * <code>optional int32 localName = 4;</code>
2290 public Builder clearLocalName() {
2291 bitField0_ = (bitField0_ & ~0x00000008);
2297 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.QName)
2301 defaultInstance = new QName(true);
2302 defaultInstance.initFields();
2305 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.QName)
2308 public interface PathArgumentOrBuilder
2309 extends com.google.protobuf.MessageOrBuilder {
2311 // optional string value = 1;
2313 * <code>optional string value = 1;</code>
2321 * <code>optional string value = 1;</code>
2327 java.lang.String getValue();
2329 * <code>optional string value = 1;</code>
2335 com.google.protobuf.ByteString
2338 // optional string type = 2;
2340 * <code>optional string type = 2;</code>
2348 * <code>optional string type = 2;</code>
2354 java.lang.String getType();
2356 * <code>optional string type = 2;</code>
2362 com.google.protobuf.ByteString
2365 // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
2367 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2369 boolean hasNodeType();
2371 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2373 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType();
2375 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2377 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder();
2379 // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
2381 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2383 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>
2386 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2388 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index);
2390 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2392 int getAttributeCount();
2394 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2396 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
2397 getAttributeOrBuilderList();
2399 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2401 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
2404 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
2406 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2409 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2412 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
2413 getAttributesList();
2415 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2418 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2421 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
2423 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2426 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2429 int getAttributesCount();
2431 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2434 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2437 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
2438 getAttributesOrBuilderList();
2440 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2443 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2446 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
2449 // optional int32 intType = 6;
2451 * <code>optional int32 intType = 6;</code>
2453 boolean hasIntType();
2455 * <code>optional int32 intType = 6;</code>
2460 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
2462 public static final class PathArgument extends
2463 com.google.protobuf.GeneratedMessage
2464 implements PathArgumentOrBuilder {
2465 // Use PathArgument.newBuilder() to construct.
2466 private PathArgument(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2468 this.unknownFields = builder.getUnknownFields();
2470 private PathArgument(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2472 private static final PathArgument defaultInstance;
2473 public static PathArgument getDefaultInstance() {
2474 return defaultInstance;
2477 public PathArgument getDefaultInstanceForType() {
2478 return defaultInstance;
2481 private final com.google.protobuf.UnknownFieldSet unknownFields;
2483 public final com.google.protobuf.UnknownFieldSet
2484 getUnknownFields() {
2485 return this.unknownFields;
2487 private PathArgument(
2488 com.google.protobuf.CodedInputStream input,
2489 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2490 throws com.google.protobuf.InvalidProtocolBufferException {
2492 int mutable_bitField0_ = 0;
2493 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2494 com.google.protobuf.UnknownFieldSet.newBuilder();
2496 boolean done = false;
2498 int tag = input.readTag();
2504 if (!parseUnknownField(input, unknownFields,
2505 extensionRegistry, tag)) {
2511 bitField0_ |= 0x00000001;
2512 value_ = input.readBytes();
2516 bitField0_ |= 0x00000002;
2517 type_ = input.readBytes();
2521 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
2522 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2523 subBuilder = nodeType_.toBuilder();
2525 nodeType_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
2526 if (subBuilder != null) {
2527 subBuilder.mergeFrom(nodeType_);
2528 nodeType_ = subBuilder.buildPartial();
2530 bitField0_ |= 0x00000004;
2534 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
2535 attribute_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>();
2536 mutable_bitField0_ |= 0x00000008;
2538 attribute_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.PARSER, extensionRegistry));
2542 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
2543 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
2544 mutable_bitField0_ |= 0x00000010;
2546 attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
2550 bitField0_ |= 0x00000008;
2551 intType_ = input.readInt32();
2556 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2557 throw e.setUnfinishedMessage(this);
2558 } catch (java.io.IOException e) {
2559 throw new com.google.protobuf.InvalidProtocolBufferException(
2560 e.getMessage()).setUnfinishedMessage(this);
2562 if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
2563 attribute_ = java.util.Collections.unmodifiableList(attribute_);
2565 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
2566 attributes_ = java.util.Collections.unmodifiableList(attributes_);
2568 this.unknownFields = unknownFields.build();
2569 makeExtensionsImmutable();
2572 public static final com.google.protobuf.Descriptors.Descriptor
2574 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
2577 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2578 internalGetFieldAccessorTable() {
2579 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
2580 .ensureFieldAccessorsInitialized(
2581 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
2584 public static com.google.protobuf.Parser<PathArgument> PARSER =
2585 new com.google.protobuf.AbstractParser<PathArgument>() {
2586 public PathArgument parsePartialFrom(
2587 com.google.protobuf.CodedInputStream input,
2588 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2589 throws com.google.protobuf.InvalidProtocolBufferException {
2590 return new PathArgument(input, extensionRegistry);
2595 public com.google.protobuf.Parser<PathArgument> getParserForType() {
2599 private int bitField0_;
2600 // optional string value = 1;
2601 public static final int VALUE_FIELD_NUMBER = 1;
2602 private java.lang.Object value_;
2604 * <code>optional string value = 1;</code>
2610 public boolean hasValue() {
2611 return ((bitField0_ & 0x00000001) == 0x00000001);
2614 * <code>optional string value = 1;</code>
2620 public java.lang.String getValue() {
2621 java.lang.Object ref = value_;
2622 if (ref instanceof java.lang.String) {
2623 return (java.lang.String) ref;
2625 com.google.protobuf.ByteString bs =
2626 (com.google.protobuf.ByteString) ref;
2627 java.lang.String s = bs.toStringUtf8();
2628 if (bs.isValidUtf8()) {
2635 * <code>optional string value = 1;</code>
2641 public com.google.protobuf.ByteString
2643 java.lang.Object ref = value_;
2644 if (ref instanceof java.lang.String) {
2645 com.google.protobuf.ByteString b =
2646 com.google.protobuf.ByteString.copyFromUtf8(
2647 (java.lang.String) ref);
2651 return (com.google.protobuf.ByteString) ref;
2655 // optional string type = 2;
2656 public static final int TYPE_FIELD_NUMBER = 2;
2657 private java.lang.Object type_;
2659 * <code>optional string type = 2;</code>
2665 public boolean hasType() {
2666 return ((bitField0_ & 0x00000002) == 0x00000002);
2669 * <code>optional string type = 2;</code>
2675 public java.lang.String getType() {
2676 java.lang.Object ref = type_;
2677 if (ref instanceof java.lang.String) {
2678 return (java.lang.String) ref;
2680 com.google.protobuf.ByteString bs =
2681 (com.google.protobuf.ByteString) ref;
2682 java.lang.String s = bs.toStringUtf8();
2683 if (bs.isValidUtf8()) {
2690 * <code>optional string type = 2;</code>
2696 public com.google.protobuf.ByteString
2698 java.lang.Object ref = type_;
2699 if (ref instanceof java.lang.String) {
2700 com.google.protobuf.ByteString b =
2701 com.google.protobuf.ByteString.copyFromUtf8(
2702 (java.lang.String) ref);
2706 return (com.google.protobuf.ByteString) ref;
2710 // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
2711 public static final int NODETYPE_FIELD_NUMBER = 3;
2712 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_;
2714 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2716 public boolean hasNodeType() {
2717 return ((bitField0_ & 0x00000004) == 0x00000004);
2720 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2722 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
2726 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2728 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
2732 // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
2733 public static final int ATTRIBUTE_FIELD_NUMBER = 4;
2734 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_;
2736 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2738 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
2742 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2744 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
2745 getAttributeOrBuilderList() {
2749 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2751 public int getAttributeCount() {
2752 return attribute_.size();
2755 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2757 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
2758 return attribute_.get(index);
2761 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2763 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
2765 return attribute_.get(index);
2768 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
2769 public static final int ATTRIBUTES_FIELD_NUMBER = 5;
2770 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
2772 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2775 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2778 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
2782 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2785 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2788 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
2789 getAttributesOrBuilderList() {
2793 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2796 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2799 public int getAttributesCount() {
2800 return attributes_.size();
2803 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2806 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2809 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
2810 return attributes_.get(index);
2813 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
2816 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
2819 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
2821 return attributes_.get(index);
2824 // optional int32 intType = 6;
2825 public static final int INTTYPE_FIELD_NUMBER = 6;
2826 private int intType_;
2828 * <code>optional int32 intType = 6;</code>
2830 public boolean hasIntType() {
2831 return ((bitField0_ & 0x00000008) == 0x00000008);
2834 * <code>optional int32 intType = 6;</code>
2836 public int getIntType() {
2840 private void initFields() {
2843 nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
2844 attribute_ = java.util.Collections.emptyList();
2845 attributes_ = java.util.Collections.emptyList();
2848 private byte memoizedIsInitialized = -1;
2849 public final boolean isInitialized() {
2850 byte isInitialized = memoizedIsInitialized;
2851 if (isInitialized != -1) return isInitialized == 1;
2853 for (int i = 0; i < getAttributesCount(); i++) {
2854 if (!getAttributes(i).isInitialized()) {
2855 memoizedIsInitialized = 0;
2859 memoizedIsInitialized = 1;
2863 public void writeTo(com.google.protobuf.CodedOutputStream output)
2864 throws java.io.IOException {
2865 getSerializedSize();
2866 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2867 output.writeBytes(1, getValueBytes());
2869 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2870 output.writeBytes(2, getTypeBytes());
2872 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2873 output.writeMessage(3, nodeType_);
2875 for (int i = 0; i < attribute_.size(); i++) {
2876 output.writeMessage(4, attribute_.get(i));
2878 for (int i = 0; i < attributes_.size(); i++) {
2879 output.writeMessage(5, attributes_.get(i));
2881 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2882 output.writeInt32(6, intType_);
2884 getUnknownFields().writeTo(output);
2887 private int memoizedSerializedSize = -1;
2888 public int getSerializedSize() {
2889 int size = memoizedSerializedSize;
2890 if (size != -1) return size;
2893 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2894 size += com.google.protobuf.CodedOutputStream
2895 .computeBytesSize(1, getValueBytes());
2897 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2898 size += com.google.protobuf.CodedOutputStream
2899 .computeBytesSize(2, getTypeBytes());
2901 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2902 size += com.google.protobuf.CodedOutputStream
2903 .computeMessageSize(3, nodeType_);
2905 for (int i = 0; i < attribute_.size(); i++) {
2906 size += com.google.protobuf.CodedOutputStream
2907 .computeMessageSize(4, attribute_.get(i));
2909 for (int i = 0; i < attributes_.size(); i++) {
2910 size += com.google.protobuf.CodedOutputStream
2911 .computeMessageSize(5, attributes_.get(i));
2913 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2914 size += com.google.protobuf.CodedOutputStream
2915 .computeInt32Size(6, intType_);
2917 size += getUnknownFields().getSerializedSize();
2918 memoizedSerializedSize = size;
2922 private static final long serialVersionUID = 0L;
2924 protected java.lang.Object writeReplace()
2925 throws java.io.ObjectStreamException {
2926 return super.writeReplace();
2929 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
2930 com.google.protobuf.ByteString data)
2931 throws com.google.protobuf.InvalidProtocolBufferException {
2932 return PARSER.parseFrom(data);
2934 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
2935 com.google.protobuf.ByteString data,
2936 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2937 throws com.google.protobuf.InvalidProtocolBufferException {
2938 return PARSER.parseFrom(data, extensionRegistry);
2940 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(byte[] data)
2941 throws com.google.protobuf.InvalidProtocolBufferException {
2942 return PARSER.parseFrom(data);
2944 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
2946 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2947 throws com.google.protobuf.InvalidProtocolBufferException {
2948 return PARSER.parseFrom(data, extensionRegistry);
2950 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(java.io.InputStream input)
2951 throws java.io.IOException {
2952 return PARSER.parseFrom(input);
2954 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
2955 java.io.InputStream input,
2956 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2957 throws java.io.IOException {
2958 return PARSER.parseFrom(input, extensionRegistry);
2960 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(java.io.InputStream input)
2961 throws java.io.IOException {
2962 return PARSER.parseDelimitedFrom(input);
2964 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(
2965 java.io.InputStream input,
2966 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2967 throws java.io.IOException {
2968 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2970 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
2971 com.google.protobuf.CodedInputStream input)
2972 throws java.io.IOException {
2973 return PARSER.parseFrom(input);
2975 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
2976 com.google.protobuf.CodedInputStream input,
2977 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2978 throws java.io.IOException {
2979 return PARSER.parseFrom(input, extensionRegistry);
2982 public static Builder newBuilder() { return Builder.create(); }
2983 public Builder newBuilderForType() { return newBuilder(); }
2984 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument prototype) {
2985 return newBuilder().mergeFrom(prototype);
2987 public Builder toBuilder() { return newBuilder(this); }
2990 protected Builder newBuilderForType(
2991 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2992 Builder builder = new Builder(parent);
2996 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
2998 public static final class Builder extends
2999 com.google.protobuf.GeneratedMessage.Builder<Builder>
3000 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder {
3001 public static final com.google.protobuf.Descriptors.Descriptor
3003 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
3006 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3007 internalGetFieldAccessorTable() {
3008 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
3009 .ensureFieldAccessorsInitialized(
3010 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
3013 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder()
3015 maybeForceBuilderInitialization();
3019 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3021 maybeForceBuilderInitialization();
3023 private void maybeForceBuilderInitialization() {
3024 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3025 getNodeTypeFieldBuilder();
3026 getAttributeFieldBuilder();
3027 getAttributesFieldBuilder();
3030 private static Builder create() {
3031 return new Builder();
3034 public Builder clear() {
3037 bitField0_ = (bitField0_ & ~0x00000001);
3039 bitField0_ = (bitField0_ & ~0x00000002);
3040 if (nodeTypeBuilder_ == null) {
3041 nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
3043 nodeTypeBuilder_.clear();
3045 bitField0_ = (bitField0_ & ~0x00000004);
3046 if (attributeBuilder_ == null) {
3047 attribute_ = java.util.Collections.emptyList();
3048 bitField0_ = (bitField0_ & ~0x00000008);
3050 attributeBuilder_.clear();
3052 if (attributesBuilder_ == null) {
3053 attributes_ = java.util.Collections.emptyList();
3054 bitField0_ = (bitField0_ & ~0x00000010);
3056 attributesBuilder_.clear();
3059 bitField0_ = (bitField0_ & ~0x00000020);
3063 public Builder clone() {
3064 return create().mergeFrom(buildPartial());
3067 public com.google.protobuf.Descriptors.Descriptor
3068 getDescriptorForType() {
3069 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
3072 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getDefaultInstanceForType() {
3073 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
3076 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument build() {
3077 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = buildPartial();
3078 if (!result.isInitialized()) {
3079 throw newUninitializedMessageException(result);
3084 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument buildPartial() {
3085 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument(this);
3086 int from_bitField0_ = bitField0_;
3087 int to_bitField0_ = 0;
3088 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3089 to_bitField0_ |= 0x00000001;
3091 result.value_ = value_;
3092 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
3093 to_bitField0_ |= 0x00000002;
3095 result.type_ = type_;
3096 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
3097 to_bitField0_ |= 0x00000004;
3099 if (nodeTypeBuilder_ == null) {
3100 result.nodeType_ = nodeType_;
3102 result.nodeType_ = nodeTypeBuilder_.build();
3104 if (attributeBuilder_ == null) {
3105 if (((bitField0_ & 0x00000008) == 0x00000008)) {
3106 attribute_ = java.util.Collections.unmodifiableList(attribute_);
3107 bitField0_ = (bitField0_ & ~0x00000008);
3109 result.attribute_ = attribute_;
3111 result.attribute_ = attributeBuilder_.build();
3113 if (attributesBuilder_ == null) {
3114 if (((bitField0_ & 0x00000010) == 0x00000010)) {
3115 attributes_ = java.util.Collections.unmodifiableList(attributes_);
3116 bitField0_ = (bitField0_ & ~0x00000010);
3118 result.attributes_ = attributes_;
3120 result.attributes_ = attributesBuilder_.build();
3122 if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
3123 to_bitField0_ |= 0x00000008;
3125 result.intType_ = intType_;
3126 result.bitField0_ = to_bitField0_;
3131 public Builder mergeFrom(com.google.protobuf.Message other) {
3132 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) {
3133 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument)other);
3135 super.mergeFrom(other);
3140 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument other) {
3141 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) return this;
3142 if (other.hasValue()) {
3143 bitField0_ |= 0x00000001;
3144 value_ = other.value_;
3147 if (other.hasType()) {
3148 bitField0_ |= 0x00000002;
3149 type_ = other.type_;
3152 if (other.hasNodeType()) {
3153 mergeNodeType(other.getNodeType());
3155 if (attributeBuilder_ == null) {
3156 if (!other.attribute_.isEmpty()) {
3157 if (attribute_.isEmpty()) {
3158 attribute_ = other.attribute_;
3159 bitField0_ = (bitField0_ & ~0x00000008);
3161 ensureAttributeIsMutable();
3162 attribute_.addAll(other.attribute_);
3167 if (!other.attribute_.isEmpty()) {
3168 if (attributeBuilder_.isEmpty()) {
3169 attributeBuilder_.dispose();
3170 attributeBuilder_ = null;
3171 attribute_ = other.attribute_;
3172 bitField0_ = (bitField0_ & ~0x00000008);
3174 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3175 getAttributeFieldBuilder() : null;
3177 attributeBuilder_.addAllMessages(other.attribute_);
3181 if (attributesBuilder_ == null) {
3182 if (!other.attributes_.isEmpty()) {
3183 if (attributes_.isEmpty()) {
3184 attributes_ = other.attributes_;
3185 bitField0_ = (bitField0_ & ~0x00000010);
3187 ensureAttributesIsMutable();
3188 attributes_.addAll(other.attributes_);
3193 if (!other.attributes_.isEmpty()) {
3194 if (attributesBuilder_.isEmpty()) {
3195 attributesBuilder_.dispose();
3196 attributesBuilder_ = null;
3197 attributes_ = other.attributes_;
3198 bitField0_ = (bitField0_ & ~0x00000010);
3199 attributesBuilder_ =
3200 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3201 getAttributesFieldBuilder() : null;
3203 attributesBuilder_.addAllMessages(other.attributes_);
3207 if (other.hasIntType()) {
3208 setIntType(other.getIntType());
3210 this.mergeUnknownFields(other.getUnknownFields());
3214 public final boolean isInitialized() {
3215 for (int i = 0; i < getAttributesCount(); i++) {
3216 if (!getAttributes(i).isInitialized()) {
3224 public Builder mergeFrom(
3225 com.google.protobuf.CodedInputStream input,
3226 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3227 throws java.io.IOException {
3228 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parsedMessage = null;
3230 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3231 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3232 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) e.getUnfinishedMessage();
3235 if (parsedMessage != null) {
3236 mergeFrom(parsedMessage);
3241 private int bitField0_;
3243 // optional string value = 1;
3244 private java.lang.Object value_ = "";
3246 * <code>optional string value = 1;</code>
3252 public boolean hasValue() {
3253 return ((bitField0_ & 0x00000001) == 0x00000001);
3256 * <code>optional string value = 1;</code>
3262 public java.lang.String getValue() {
3263 java.lang.Object ref = value_;
3264 if (!(ref instanceof java.lang.String)) {
3265 java.lang.String s = ((com.google.protobuf.ByteString) ref)
3270 return (java.lang.String) ref;
3274 * <code>optional string value = 1;</code>
3280 public com.google.protobuf.ByteString
3282 java.lang.Object ref = value_;
3283 if (ref instanceof String) {
3284 com.google.protobuf.ByteString b =
3285 com.google.protobuf.ByteString.copyFromUtf8(
3286 (java.lang.String) ref);
3290 return (com.google.protobuf.ByteString) ref;
3294 * <code>optional string value = 1;</code>
3300 public Builder setValue(
3301 java.lang.String value) {
3302 if (value == null) {
3303 throw new NullPointerException();
3305 bitField0_ |= 0x00000001;
3311 * <code>optional string value = 1;</code>
3317 public Builder clearValue() {
3318 bitField0_ = (bitField0_ & ~0x00000001);
3319 value_ = getDefaultInstance().getValue();
3324 * <code>optional string value = 1;</code>
3330 public Builder setValueBytes(
3331 com.google.protobuf.ByteString value) {
3332 if (value == null) {
3333 throw new NullPointerException();
3335 bitField0_ |= 0x00000001;
3341 // optional string type = 2;
3342 private java.lang.Object type_ = "";
3344 * <code>optional string type = 2;</code>
3350 public boolean hasType() {
3351 return ((bitField0_ & 0x00000002) == 0x00000002);
3354 * <code>optional string type = 2;</code>
3360 public java.lang.String getType() {
3361 java.lang.Object ref = type_;
3362 if (!(ref instanceof java.lang.String)) {
3363 java.lang.String s = ((com.google.protobuf.ByteString) ref)
3368 return (java.lang.String) ref;
3372 * <code>optional string type = 2;</code>
3378 public com.google.protobuf.ByteString
3380 java.lang.Object ref = type_;
3381 if (ref instanceof String) {
3382 com.google.protobuf.ByteString b =
3383 com.google.protobuf.ByteString.copyFromUtf8(
3384 (java.lang.String) ref);
3388 return (com.google.protobuf.ByteString) ref;
3392 * <code>optional string type = 2;</code>
3398 public Builder setType(
3399 java.lang.String value) {
3400 if (value == null) {
3401 throw new NullPointerException();
3403 bitField0_ |= 0x00000002;
3409 * <code>optional string type = 2;</code>
3415 public Builder clearType() {
3416 bitField0_ = (bitField0_ & ~0x00000002);
3417 type_ = getDefaultInstance().getType();
3422 * <code>optional string type = 2;</code>
3428 public Builder setTypeBytes(
3429 com.google.protobuf.ByteString value) {
3430 if (value == null) {
3431 throw new NullPointerException();
3433 bitField0_ |= 0x00000002;
3439 // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
3440 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
3441 private com.google.protobuf.SingleFieldBuilder<
3442 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> nodeTypeBuilder_;
3444 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3446 public boolean hasNodeType() {
3447 return ((bitField0_ & 0x00000004) == 0x00000004);
3450 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3452 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
3453 if (nodeTypeBuilder_ == null) {
3456 return nodeTypeBuilder_.getMessage();
3460 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3462 public Builder setNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
3463 if (nodeTypeBuilder_ == null) {
3464 if (value == null) {
3465 throw new NullPointerException();
3470 nodeTypeBuilder_.setMessage(value);
3472 bitField0_ |= 0x00000004;
3476 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3478 public Builder setNodeType(
3479 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
3480 if (nodeTypeBuilder_ == null) {
3481 nodeType_ = builderForValue.build();
3484 nodeTypeBuilder_.setMessage(builderForValue.build());
3486 bitField0_ |= 0x00000004;
3490 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3492 public Builder mergeNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
3493 if (nodeTypeBuilder_ == null) {
3494 if (((bitField0_ & 0x00000004) == 0x00000004) &&
3495 nodeType_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
3497 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(nodeType_).mergeFrom(value).buildPartial();
3503 nodeTypeBuilder_.mergeFrom(value);
3505 bitField0_ |= 0x00000004;
3509 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3511 public Builder clearNodeType() {
3512 if (nodeTypeBuilder_ == null) {
3513 nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
3516 nodeTypeBuilder_.clear();
3518 bitField0_ = (bitField0_ & ~0x00000004);
3522 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3524 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNodeTypeBuilder() {
3525 bitField0_ |= 0x00000004;
3527 return getNodeTypeFieldBuilder().getBuilder();
3530 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3532 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
3533 if (nodeTypeBuilder_ != null) {
3534 return nodeTypeBuilder_.getMessageOrBuilder();
3540 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3542 private com.google.protobuf.SingleFieldBuilder<
3543 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>
3544 getNodeTypeFieldBuilder() {
3545 if (nodeTypeBuilder_ == null) {
3546 nodeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3547 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>(
3549 getParentForChildren(),
3553 return nodeTypeBuilder_;
3556 // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
3557 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_ =
3558 java.util.Collections.emptyList();
3559 private void ensureAttributeIsMutable() {
3560 if (!((bitField0_ & 0x00000008) == 0x00000008)) {
3561 attribute_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>(attribute_);
3562 bitField0_ |= 0x00000008;
3566 private com.google.protobuf.RepeatedFieldBuilder<
3567 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_;
3570 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3572 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
3573 if (attributeBuilder_ == null) {
3574 return java.util.Collections.unmodifiableList(attribute_);
3576 return attributeBuilder_.getMessageList();
3580 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3582 public int getAttributeCount() {
3583 if (attributeBuilder_ == null) {
3584 return attribute_.size();
3586 return attributeBuilder_.getCount();
3590 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3592 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
3593 if (attributeBuilder_ == null) {
3594 return attribute_.get(index);
3596 return attributeBuilder_.getMessage(index);
3600 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3602 public Builder setAttribute(
3603 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
3604 if (attributeBuilder_ == null) {
3605 if (value == null) {
3606 throw new NullPointerException();
3608 ensureAttributeIsMutable();
3609 attribute_.set(index, value);
3612 attributeBuilder_.setMessage(index, value);
3617 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3619 public Builder setAttribute(
3620 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
3621 if (attributeBuilder_ == null) {
3622 ensureAttributeIsMutable();
3623 attribute_.set(index, builderForValue.build());
3626 attributeBuilder_.setMessage(index, builderForValue.build());
3631 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3633 public Builder addAttribute(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
3634 if (attributeBuilder_ == null) {
3635 if (value == null) {
3636 throw new NullPointerException();
3638 ensureAttributeIsMutable();
3639 attribute_.add(value);
3642 attributeBuilder_.addMessage(value);
3647 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3649 public Builder addAttribute(
3650 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
3651 if (attributeBuilder_ == null) {
3652 if (value == null) {
3653 throw new NullPointerException();
3655 ensureAttributeIsMutable();
3656 attribute_.add(index, value);
3659 attributeBuilder_.addMessage(index, value);
3664 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3666 public Builder addAttribute(
3667 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
3668 if (attributeBuilder_ == null) {
3669 ensureAttributeIsMutable();
3670 attribute_.add(builderForValue.build());
3673 attributeBuilder_.addMessage(builderForValue.build());
3678 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3680 public Builder addAttribute(
3681 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
3682 if (attributeBuilder_ == null) {
3683 ensureAttributeIsMutable();
3684 attribute_.add(index, builderForValue.build());
3687 attributeBuilder_.addMessage(index, builderForValue.build());
3692 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3694 public Builder addAllAttribute(
3695 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> values) {
3696 if (attributeBuilder_ == null) {
3697 ensureAttributeIsMutable();
3698 super.addAll(values, attribute_);
3701 attributeBuilder_.addAllMessages(values);
3706 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3708 public Builder clearAttribute() {
3709 if (attributeBuilder_ == null) {
3710 attribute_ = java.util.Collections.emptyList();
3711 bitField0_ = (bitField0_ & ~0x00000008);
3714 attributeBuilder_.clear();
3719 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3721 public Builder removeAttribute(int index) {
3722 if (attributeBuilder_ == null) {
3723 ensureAttributeIsMutable();
3724 attribute_.remove(index);
3727 attributeBuilder_.remove(index);
3732 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3734 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder getAttributeBuilder(
3736 return getAttributeFieldBuilder().getBuilder(index);
3739 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3741 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
3743 if (attributeBuilder_ == null) {
3744 return attribute_.get(index); } else {
3745 return attributeBuilder_.getMessageOrBuilder(index);
3749 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3751 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
3752 getAttributeOrBuilderList() {
3753 if (attributeBuilder_ != null) {
3754 return attributeBuilder_.getMessageOrBuilderList();
3756 return java.util.Collections.unmodifiableList(attribute_);
3760 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3762 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder() {
3763 return getAttributeFieldBuilder().addBuilder(
3764 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
3767 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3769 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder(
3771 return getAttributeFieldBuilder().addBuilder(
3772 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
3775 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3777 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder>
3778 getAttributeBuilderList() {
3779 return getAttributeFieldBuilder().getBuilderList();
3781 private com.google.protobuf.RepeatedFieldBuilder<
3782 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>
3783 getAttributeFieldBuilder() {
3784 if (attributeBuilder_ == null) {
3785 attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
3786 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>(
3788 ((bitField0_ & 0x00000008) == 0x00000008),
3789 getParentForChildren(),
3793 return attributeBuilder_;
3796 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
3797 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
3798 java.util.Collections.emptyList();
3799 private void ensureAttributesIsMutable() {
3800 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
3801 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
3802 bitField0_ |= 0x00000010;
3806 private com.google.protobuf.RepeatedFieldBuilder<
3807 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_;
3810 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3813 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3816 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
3817 if (attributesBuilder_ == null) {
3818 return java.util.Collections.unmodifiableList(attributes_);
3820 return attributesBuilder_.getMessageList();
3824 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3827 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3830 public int getAttributesCount() {
3831 if (attributesBuilder_ == null) {
3832 return attributes_.size();
3834 return attributesBuilder_.getCount();
3838 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3841 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3844 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
3845 if (attributesBuilder_ == null) {
3846 return attributes_.get(index);
3848 return attributesBuilder_.getMessage(index);
3852 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3855 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3858 public Builder setAttributes(
3859 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
3860 if (attributesBuilder_ == null) {
3861 if (value == null) {
3862 throw new NullPointerException();
3864 ensureAttributesIsMutable();
3865 attributes_.set(index, value);
3868 attributesBuilder_.setMessage(index, value);
3873 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3876 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3879 public Builder setAttributes(
3880 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
3881 if (attributesBuilder_ == null) {
3882 ensureAttributesIsMutable();
3883 attributes_.set(index, builderForValue.build());
3886 attributesBuilder_.setMessage(index, builderForValue.build());
3891 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3894 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3897 public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
3898 if (attributesBuilder_ == null) {
3899 if (value == null) {
3900 throw new NullPointerException();
3902 ensureAttributesIsMutable();
3903 attributes_.add(value);
3906 attributesBuilder_.addMessage(value);
3911 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3914 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3917 public Builder addAttributes(
3918 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
3919 if (attributesBuilder_ == null) {
3920 if (value == null) {
3921 throw new NullPointerException();
3923 ensureAttributesIsMutable();
3924 attributes_.add(index, value);
3927 attributesBuilder_.addMessage(index, value);
3932 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3935 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3938 public Builder addAttributes(
3939 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
3940 if (attributesBuilder_ == null) {
3941 ensureAttributesIsMutable();
3942 attributes_.add(builderForValue.build());
3945 attributesBuilder_.addMessage(builderForValue.build());
3950 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3953 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3956 public Builder addAttributes(
3957 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
3958 if (attributesBuilder_ == null) {
3959 ensureAttributesIsMutable();
3960 attributes_.add(index, builderForValue.build());
3963 attributesBuilder_.addMessage(index, builderForValue.build());
3968 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3971 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3974 public Builder addAllAttributes(
3975 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
3976 if (attributesBuilder_ == null) {
3977 ensureAttributesIsMutable();
3978 super.addAll(values, attributes_);
3981 attributesBuilder_.addAllMessages(values);
3986 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3989 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3992 public Builder clearAttributes() {
3993 if (attributesBuilder_ == null) {
3994 attributes_ = java.util.Collections.emptyList();
3995 bitField0_ = (bitField0_ & ~0x00000010);
3998 attributesBuilder_.clear();
4003 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4006 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4009 public Builder removeAttributes(int index) {
4010 if (attributesBuilder_ == null) {
4011 ensureAttributesIsMutable();
4012 attributes_.remove(index);
4015 attributesBuilder_.remove(index);
4020 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4023 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4026 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
4028 return getAttributesFieldBuilder().getBuilder(index);
4031 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4034 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4037 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
4039 if (attributesBuilder_ == null) {
4040 return attributes_.get(index); } else {
4041 return attributesBuilder_.getMessageOrBuilder(index);
4045 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4048 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4051 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
4052 getAttributesOrBuilderList() {
4053 if (attributesBuilder_ != null) {
4054 return attributesBuilder_.getMessageOrBuilderList();
4056 return java.util.Collections.unmodifiableList(attributes_);
4060 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4063 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4066 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
4067 return getAttributesFieldBuilder().addBuilder(
4068 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
4071 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4074 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4077 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
4079 return getAttributesFieldBuilder().addBuilder(
4080 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
4083 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4086 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4089 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
4090 getAttributesBuilderList() {
4091 return getAttributesFieldBuilder().getBuilderList();
4093 private com.google.protobuf.RepeatedFieldBuilder<
4094 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>
4095 getAttributesFieldBuilder() {
4096 if (attributesBuilder_ == null) {
4097 attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4098 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>(
4100 ((bitField0_ & 0x00000010) == 0x00000010),
4101 getParentForChildren(),
4105 return attributesBuilder_;
4108 // optional int32 intType = 6;
4109 private int intType_ ;
4111 * <code>optional int32 intType = 6;</code>
4113 public boolean hasIntType() {
4114 return ((bitField0_ & 0x00000020) == 0x00000020);
4117 * <code>optional int32 intType = 6;</code>
4119 public int getIntType() {
4123 * <code>optional int32 intType = 6;</code>
4125 public Builder setIntType(int value) {
4126 bitField0_ |= 0x00000020;
4132 * <code>optional int32 intType = 6;</code>
4134 public Builder clearIntType() {
4135 bitField0_ = (bitField0_ & ~0x00000020);
4141 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgument)
4145 defaultInstance = new PathArgument(true);
4146 defaultInstance.initFields();
4149 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgument)
4152 public interface InstanceIdentifierOrBuilder
4153 extends com.google.protobuf.MessageOrBuilder {
4155 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4157 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4159 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>
4162 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4164 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index);
4166 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4168 int getArgumentsCount();
4170 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4172 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4173 getArgumentsOrBuilderList();
4175 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4177 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4181 * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
4183 public static final class InstanceIdentifier extends
4184 com.google.protobuf.GeneratedMessage
4185 implements InstanceIdentifierOrBuilder {
4186 // Use InstanceIdentifier.newBuilder() to construct.
4187 private InstanceIdentifier(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
4189 this.unknownFields = builder.getUnknownFields();
4191 private InstanceIdentifier(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
4193 private static final InstanceIdentifier defaultInstance;
4194 public static InstanceIdentifier getDefaultInstance() {
4195 return defaultInstance;
4198 public InstanceIdentifier getDefaultInstanceForType() {
4199 return defaultInstance;
4202 private final com.google.protobuf.UnknownFieldSet unknownFields;
4204 public final com.google.protobuf.UnknownFieldSet
4205 getUnknownFields() {
4206 return this.unknownFields;
4208 private InstanceIdentifier(
4209 com.google.protobuf.CodedInputStream input,
4210 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4211 throws com.google.protobuf.InvalidProtocolBufferException {
4213 int mutable_bitField0_ = 0;
4214 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
4215 com.google.protobuf.UnknownFieldSet.newBuilder();
4217 boolean done = false;
4219 int tag = input.readTag();
4225 if (!parseUnknownField(input, unknownFields,
4226 extensionRegistry, tag)) {
4232 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
4233 arguments_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>();
4234 mutable_bitField0_ |= 0x00000001;
4236 arguments_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry));
4241 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4242 throw e.setUnfinishedMessage(this);
4243 } catch (java.io.IOException e) {
4244 throw new com.google.protobuf.InvalidProtocolBufferException(
4245 e.getMessage()).setUnfinishedMessage(this);
4247 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
4248 arguments_ = java.util.Collections.unmodifiableList(arguments_);
4250 this.unknownFields = unknownFields.build();
4251 makeExtensionsImmutable();
4254 public static final com.google.protobuf.Descriptors.Descriptor
4256 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4259 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4260 internalGetFieldAccessorTable() {
4261 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
4262 .ensureFieldAccessorsInitialized(
4263 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
4266 public static com.google.protobuf.Parser<InstanceIdentifier> PARSER =
4267 new com.google.protobuf.AbstractParser<InstanceIdentifier>() {
4268 public InstanceIdentifier parsePartialFrom(
4269 com.google.protobuf.CodedInputStream input,
4270 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4271 throws com.google.protobuf.InvalidProtocolBufferException {
4272 return new InstanceIdentifier(input, extensionRegistry);
4277 public com.google.protobuf.Parser<InstanceIdentifier> getParserForType() {
4281 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4282 public static final int ARGUMENTS_FIELD_NUMBER = 1;
4283 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_;
4285 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4287 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
4291 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4293 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4294 getArgumentsOrBuilderList() {
4298 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4300 public int getArgumentsCount() {
4301 return arguments_.size();
4304 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4306 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
4307 return arguments_.get(index);
4310 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4312 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4314 return arguments_.get(index);
4317 private void initFields() {
4318 arguments_ = java.util.Collections.emptyList();
4320 private byte memoizedIsInitialized = -1;
4321 public final boolean isInitialized() {
4322 byte isInitialized = memoizedIsInitialized;
4323 if (isInitialized != -1) return isInitialized == 1;
4325 for (int i = 0; i < getArgumentsCount(); i++) {
4326 if (!getArguments(i).isInitialized()) {
4327 memoizedIsInitialized = 0;
4331 memoizedIsInitialized = 1;
4335 public void writeTo(com.google.protobuf.CodedOutputStream output)
4336 throws java.io.IOException {
4337 getSerializedSize();
4338 for (int i = 0; i < arguments_.size(); i++) {
4339 output.writeMessage(1, arguments_.get(i));
4341 getUnknownFields().writeTo(output);
4344 private int memoizedSerializedSize = -1;
4345 public int getSerializedSize() {
4346 int size = memoizedSerializedSize;
4347 if (size != -1) return size;
4350 for (int i = 0; i < arguments_.size(); i++) {
4351 size += com.google.protobuf.CodedOutputStream
4352 .computeMessageSize(1, arguments_.get(i));
4354 size += getUnknownFields().getSerializedSize();
4355 memoizedSerializedSize = size;
4359 private static final long serialVersionUID = 0L;
4361 protected java.lang.Object writeReplace()
4362 throws java.io.ObjectStreamException {
4363 return super.writeReplace();
4366 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4367 com.google.protobuf.ByteString data)
4368 throws com.google.protobuf.InvalidProtocolBufferException {
4369 return PARSER.parseFrom(data);
4371 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4372 com.google.protobuf.ByteString data,
4373 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4374 throws com.google.protobuf.InvalidProtocolBufferException {
4375 return PARSER.parseFrom(data, extensionRegistry);
4377 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(byte[] data)
4378 throws com.google.protobuf.InvalidProtocolBufferException {
4379 return PARSER.parseFrom(data);
4381 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4383 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4384 throws com.google.protobuf.InvalidProtocolBufferException {
4385 return PARSER.parseFrom(data, extensionRegistry);
4387 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(java.io.InputStream input)
4388 throws java.io.IOException {
4389 return PARSER.parseFrom(input);
4391 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4392 java.io.InputStream input,
4393 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4394 throws java.io.IOException {
4395 return PARSER.parseFrom(input, extensionRegistry);
4397 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(java.io.InputStream input)
4398 throws java.io.IOException {
4399 return PARSER.parseDelimitedFrom(input);
4401 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(
4402 java.io.InputStream input,
4403 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4404 throws java.io.IOException {
4405 return PARSER.parseDelimitedFrom(input, extensionRegistry);
4407 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4408 com.google.protobuf.CodedInputStream input)
4409 throws java.io.IOException {
4410 return PARSER.parseFrom(input);
4412 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4413 com.google.protobuf.CodedInputStream input,
4414 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4415 throws java.io.IOException {
4416 return PARSER.parseFrom(input, extensionRegistry);
4419 public static Builder newBuilder() { return Builder.create(); }
4420 public Builder newBuilderForType() { return newBuilder(); }
4421 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier prototype) {
4422 return newBuilder().mergeFrom(prototype);
4424 public Builder toBuilder() { return newBuilder(this); }
4427 protected Builder newBuilderForType(
4428 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4429 Builder builder = new Builder(parent);
4433 * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
4435 public static final class Builder extends
4436 com.google.protobuf.GeneratedMessage.Builder<Builder>
4437 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder {
4438 public static final com.google.protobuf.Descriptors.Descriptor
4440 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4443 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4444 internalGetFieldAccessorTable() {
4445 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
4446 .ensureFieldAccessorsInitialized(
4447 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
4450 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder()
4452 maybeForceBuilderInitialization();
4456 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4458 maybeForceBuilderInitialization();
4460 private void maybeForceBuilderInitialization() {
4461 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
4462 getArgumentsFieldBuilder();
4465 private static Builder create() {
4466 return new Builder();
4469 public Builder clear() {
4471 if (argumentsBuilder_ == null) {
4472 arguments_ = java.util.Collections.emptyList();
4473 bitField0_ = (bitField0_ & ~0x00000001);
4475 argumentsBuilder_.clear();
4480 public Builder clone() {
4481 return create().mergeFrom(buildPartial());
4484 public com.google.protobuf.Descriptors.Descriptor
4485 getDescriptorForType() {
4486 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4489 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getDefaultInstanceForType() {
4490 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
4493 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier build() {
4494 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = buildPartial();
4495 if (!result.isInitialized()) {
4496 throw newUninitializedMessageException(result);
4501 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier buildPartial() {
4502 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier(this);
4503 int from_bitField0_ = bitField0_;
4504 if (argumentsBuilder_ == null) {
4505 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4506 arguments_ = java.util.Collections.unmodifiableList(arguments_);
4507 bitField0_ = (bitField0_ & ~0x00000001);
4509 result.arguments_ = arguments_;
4511 result.arguments_ = argumentsBuilder_.build();
4517 public Builder mergeFrom(com.google.protobuf.Message other) {
4518 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) {
4519 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier)other);
4521 super.mergeFrom(other);
4526 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier other) {
4527 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) return this;
4528 if (argumentsBuilder_ == null) {
4529 if (!other.arguments_.isEmpty()) {
4530 if (arguments_.isEmpty()) {
4531 arguments_ = other.arguments_;
4532 bitField0_ = (bitField0_ & ~0x00000001);
4534 ensureArgumentsIsMutable();
4535 arguments_.addAll(other.arguments_);
4540 if (!other.arguments_.isEmpty()) {
4541 if (argumentsBuilder_.isEmpty()) {
4542 argumentsBuilder_.dispose();
4543 argumentsBuilder_ = null;
4544 arguments_ = other.arguments_;
4545 bitField0_ = (bitField0_ & ~0x00000001);
4547 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
4548 getArgumentsFieldBuilder() : null;
4550 argumentsBuilder_.addAllMessages(other.arguments_);
4554 this.mergeUnknownFields(other.getUnknownFields());
4558 public final boolean isInitialized() {
4559 for (int i = 0; i < getArgumentsCount(); i++) {
4560 if (!getArguments(i).isInitialized()) {
4568 public Builder mergeFrom(
4569 com.google.protobuf.CodedInputStream input,
4570 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4571 throws java.io.IOException {
4572 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parsedMessage = null;
4574 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4575 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4576 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) e.getUnfinishedMessage();
4579 if (parsedMessage != null) {
4580 mergeFrom(parsedMessage);
4585 private int bitField0_;
4587 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4588 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_ =
4589 java.util.Collections.emptyList();
4590 private void ensureArgumentsIsMutable() {
4591 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
4592 arguments_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>(arguments_);
4593 bitField0_ |= 0x00000001;
4597 private com.google.protobuf.RepeatedFieldBuilder<
4598 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> argumentsBuilder_;
4601 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4603 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
4604 if (argumentsBuilder_ == null) {
4605 return java.util.Collections.unmodifiableList(arguments_);
4607 return argumentsBuilder_.getMessageList();
4611 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4613 public int getArgumentsCount() {
4614 if (argumentsBuilder_ == null) {
4615 return arguments_.size();
4617 return argumentsBuilder_.getCount();
4621 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4623 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
4624 if (argumentsBuilder_ == null) {
4625 return arguments_.get(index);
4627 return argumentsBuilder_.getMessage(index);
4631 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4633 public Builder setArguments(
4634 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
4635 if (argumentsBuilder_ == null) {
4636 if (value == null) {
4637 throw new NullPointerException();
4639 ensureArgumentsIsMutable();
4640 arguments_.set(index, value);
4643 argumentsBuilder_.setMessage(index, value);
4648 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4650 public Builder setArguments(
4651 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
4652 if (argumentsBuilder_ == null) {
4653 ensureArgumentsIsMutable();
4654 arguments_.set(index, builderForValue.build());
4657 argumentsBuilder_.setMessage(index, builderForValue.build());
4662 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4664 public Builder addArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
4665 if (argumentsBuilder_ == null) {
4666 if (value == null) {
4667 throw new NullPointerException();
4669 ensureArgumentsIsMutable();
4670 arguments_.add(value);
4673 argumentsBuilder_.addMessage(value);
4678 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4680 public Builder addArguments(
4681 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
4682 if (argumentsBuilder_ == null) {
4683 if (value == null) {
4684 throw new NullPointerException();
4686 ensureArgumentsIsMutable();
4687 arguments_.add(index, value);
4690 argumentsBuilder_.addMessage(index, value);
4695 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4697 public Builder addArguments(
4698 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
4699 if (argumentsBuilder_ == null) {
4700 ensureArgumentsIsMutable();
4701 arguments_.add(builderForValue.build());
4704 argumentsBuilder_.addMessage(builderForValue.build());
4709 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4711 public Builder addArguments(
4712 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
4713 if (argumentsBuilder_ == null) {
4714 ensureArgumentsIsMutable();
4715 arguments_.add(index, builderForValue.build());
4718 argumentsBuilder_.addMessage(index, builderForValue.build());
4723 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4725 public Builder addAllArguments(
4726 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> values) {
4727 if (argumentsBuilder_ == null) {
4728 ensureArgumentsIsMutable();
4729 super.addAll(values, arguments_);
4732 argumentsBuilder_.addAllMessages(values);
4737 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4739 public Builder clearArguments() {
4740 if (argumentsBuilder_ == null) {
4741 arguments_ = java.util.Collections.emptyList();
4742 bitField0_ = (bitField0_ & ~0x00000001);
4745 argumentsBuilder_.clear();
4750 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4752 public Builder removeArguments(int index) {
4753 if (argumentsBuilder_ == null) {
4754 ensureArgumentsIsMutable();
4755 arguments_.remove(index);
4758 argumentsBuilder_.remove(index);
4763 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4765 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getArgumentsBuilder(
4767 return getArgumentsFieldBuilder().getBuilder(index);
4770 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4772 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4774 if (argumentsBuilder_ == null) {
4775 return arguments_.get(index); } else {
4776 return argumentsBuilder_.getMessageOrBuilder(index);
4780 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4782 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4783 getArgumentsOrBuilderList() {
4784 if (argumentsBuilder_ != null) {
4785 return argumentsBuilder_.getMessageOrBuilderList();
4787 return java.util.Collections.unmodifiableList(arguments_);
4791 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4793 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder() {
4794 return getArgumentsFieldBuilder().addBuilder(
4795 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
4798 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4800 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder(
4802 return getArgumentsFieldBuilder().addBuilder(
4803 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
4806 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4808 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder>
4809 getArgumentsBuilderList() {
4810 return getArgumentsFieldBuilder().getBuilderList();
4812 private com.google.protobuf.RepeatedFieldBuilder<
4813 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>
4814 getArgumentsFieldBuilder() {
4815 if (argumentsBuilder_ == null) {
4816 argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4817 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>(
4819 ((bitField0_ & 0x00000001) == 0x00000001),
4820 getParentForChildren(),
4824 return argumentsBuilder_;
4827 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
4831 defaultInstance = new InstanceIdentifier(true);
4832 defaultInstance.initFields();
4835 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
4838 public interface NodeOrBuilder
4839 extends com.google.protobuf.MessageOrBuilder {
4841 // optional string path = 1;
4843 * <code>optional string path = 1;</code>
4846 * @deprecated(use pathArgument)
4851 * <code>optional string path = 1;</code>
4854 * @deprecated(use pathArgument)
4857 java.lang.String getPath();
4859 * <code>optional string path = 1;</code>
4862 * @deprecated(use pathArgument)
4865 com.google.protobuf.ByteString
4868 // optional string type = 2;
4870 * <code>optional string type = 2;</code>
4873 * @deprecated(use intType)
4878 * <code>optional string type = 2;</code>
4881 * @deprecated(use intType)
4884 java.lang.String getType();
4886 * <code>optional string type = 2;</code>
4889 * @deprecated(use intType)
4892 com.google.protobuf.ByteString
4895 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
4897 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
4899 boolean hasPathArgument();
4901 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
4903 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument();
4905 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
4907 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder();
4909 // optional int32 intType = 4;
4911 * <code>optional int32 intType = 4;</code>
4913 boolean hasIntType();
4915 * <code>optional int32 intType = 4;</code>
4919 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
4921 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4923 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
4924 getAttributesList();
4926 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4928 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
4930 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4932 int getAttributesCount();
4934 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4936 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
4937 getAttributesOrBuilderList();
4939 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4941 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
4944 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
4946 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
4948 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>
4951 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
4953 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index);
4955 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
4957 int getChildCount();
4959 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
4961 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
4962 getChildOrBuilderList();
4964 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
4966 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
4969 // optional string value = 7;
4971 * <code>optional string value = 7;</code>
4975 * <code>optional string value = 7;</code>
4977 java.lang.String getValue();
4979 * <code>optional string value = 7;</code>
4981 com.google.protobuf.ByteString
4984 // optional string valueType = 8;
4986 * <code>optional string valueType = 8;</code>
4989 * @deprecated(use intValueType)
4992 boolean hasValueType();
4994 * <code>optional string valueType = 8;</code>
4997 * @deprecated(use intValueType)
5000 java.lang.String getValueType();
5002 * <code>optional string valueType = 8;</code>
5005 * @deprecated(use intValueType)
5008 com.google.protobuf.ByteString
5009 getValueTypeBytes();
5011 // optional int32 intValueType = 9;
5013 * <code>optional int32 intValueType = 9;</code>
5016 * instead of valueType
5019 boolean hasIntValueType();
5021 * <code>optional int32 intValueType = 9;</code>
5024 * instead of valueType
5027 int getIntValueType();
5029 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
5031 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5037 boolean hasInstanceIdentifierValue();
5039 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5045 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
5047 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5053 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
5055 // repeated string bitsValue = 11;
5057 * <code>repeated string bitsValue = 11;</code>
5060 * intValueType = Bits
5063 java.util.List<java.lang.String>
5066 * <code>repeated string bitsValue = 11;</code>
5069 * intValueType = Bits
5072 int getBitsValueCount();
5074 * <code>repeated string bitsValue = 11;</code>
5077 * intValueType = Bits
5080 java.lang.String getBitsValue(int index);
5082 * <code>repeated string bitsValue = 11;</code>
5085 * intValueType = Bits
5088 com.google.protobuf.ByteString
5089 getBitsValueBytes(int index);
5091 // repeated string code = 12;
5093 * <code>repeated string code = 12;</code>
5096 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5099 java.util.List<java.lang.String>
5102 * <code>repeated string code = 12;</code>
5105 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5110 * <code>repeated string code = 12;</code>
5113 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5116 java.lang.String getCode(int index);
5118 * <code>repeated string code = 12;</code>
5121 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5124 com.google.protobuf.ByteString
5125 getCodeBytes(int index);
5128 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
5130 public static final class Node extends
5131 com.google.protobuf.GeneratedMessage
5132 implements NodeOrBuilder {
5133 // Use Node.newBuilder() to construct.
5134 private Node(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
5136 this.unknownFields = builder.getUnknownFields();
5138 private Node(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
5140 private static final Node defaultInstance;
5141 public static Node getDefaultInstance() {
5142 return defaultInstance;
5145 public Node getDefaultInstanceForType() {
5146 return defaultInstance;
5149 private final com.google.protobuf.UnknownFieldSet unknownFields;
5151 public final com.google.protobuf.UnknownFieldSet
5152 getUnknownFields() {
5153 return this.unknownFields;
5156 com.google.protobuf.CodedInputStream input,
5157 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5158 throws com.google.protobuf.InvalidProtocolBufferException {
5160 int mutable_bitField0_ = 0;
5161 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
5162 com.google.protobuf.UnknownFieldSet.newBuilder();
5164 boolean done = false;
5166 int tag = input.readTag();
5172 if (!parseUnknownField(input, unknownFields,
5173 extensionRegistry, tag)) {
5179 bitField0_ |= 0x00000001;
5180 path_ = input.readBytes();
5184 bitField0_ |= 0x00000002;
5185 type_ = input.readBytes();
5189 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null;
5190 if (((bitField0_ & 0x00000004) == 0x00000004)) {
5191 subBuilder = pathArgument_.toBuilder();
5193 pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry);
5194 if (subBuilder != null) {
5195 subBuilder.mergeFrom(pathArgument_);
5196 pathArgument_ = subBuilder.buildPartial();
5198 bitField0_ |= 0x00000004;
5202 bitField0_ |= 0x00000008;
5203 intType_ = input.readInt32();
5207 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
5208 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
5209 mutable_bitField0_ |= 0x00000010;
5211 attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
5215 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
5216 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>();
5217 mutable_bitField0_ |= 0x00000020;
5219 child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry));
5223 bitField0_ |= 0x00000010;
5224 value_ = input.readBytes();
5228 bitField0_ |= 0x00000020;
5229 valueType_ = input.readBytes();
5233 bitField0_ |= 0x00000040;
5234 intValueType_ = input.readInt32();
5238 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
5239 if (((bitField0_ & 0x00000080) == 0x00000080)) {
5240 subBuilder = instanceIdentifierValue_.toBuilder();
5242 instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
5243 if (subBuilder != null) {
5244 subBuilder.mergeFrom(instanceIdentifierValue_);
5245 instanceIdentifierValue_ = subBuilder.buildPartial();
5247 bitField0_ |= 0x00000080;
5251 if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
5252 bitsValue_ = new com.google.protobuf.LazyStringArrayList();
5253 mutable_bitField0_ |= 0x00000400;
5255 bitsValue_.add(input.readBytes());
5259 if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
5260 code_ = new com.google.protobuf.LazyStringArrayList();
5261 mutable_bitField0_ |= 0x00000800;
5263 code_.add(input.readBytes());
5268 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5269 throw e.setUnfinishedMessage(this);
5270 } catch (java.io.IOException e) {
5271 throw new com.google.protobuf.InvalidProtocolBufferException(
5272 e.getMessage()).setUnfinishedMessage(this);
5274 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
5275 attributes_ = java.util.Collections.unmodifiableList(attributes_);
5277 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
5278 child_ = java.util.Collections.unmodifiableList(child_);
5280 if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
5281 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
5283 if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
5284 code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
5286 this.unknownFields = unknownFields.build();
5287 makeExtensionsImmutable();
5290 public static final com.google.protobuf.Descriptors.Descriptor
5292 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
5295 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5296 internalGetFieldAccessorTable() {
5297 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
5298 .ensureFieldAccessorsInitialized(
5299 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
5302 public static com.google.protobuf.Parser<Node> PARSER =
5303 new com.google.protobuf.AbstractParser<Node>() {
5304 public Node parsePartialFrom(
5305 com.google.protobuf.CodedInputStream input,
5306 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5307 throws com.google.protobuf.InvalidProtocolBufferException {
5308 return new Node(input, extensionRegistry);
5313 public com.google.protobuf.Parser<Node> getParserForType() {
5317 private int bitField0_;
5318 // optional string path = 1;
5319 public static final int PATH_FIELD_NUMBER = 1;
5320 private java.lang.Object path_;
5322 * <code>optional string path = 1;</code>
5325 * @deprecated(use pathArgument)
5328 public boolean hasPath() {
5329 return ((bitField0_ & 0x00000001) == 0x00000001);
5332 * <code>optional string path = 1;</code>
5335 * @deprecated(use pathArgument)
5338 public java.lang.String getPath() {
5339 java.lang.Object ref = path_;
5340 if (ref instanceof java.lang.String) {
5341 return (java.lang.String) ref;
5343 com.google.protobuf.ByteString bs =
5344 (com.google.protobuf.ByteString) ref;
5345 java.lang.String s = bs.toStringUtf8();
5346 if (bs.isValidUtf8()) {
5353 * <code>optional string path = 1;</code>
5356 * @deprecated(use pathArgument)
5359 public com.google.protobuf.ByteString
5361 java.lang.Object ref = path_;
5362 if (ref instanceof java.lang.String) {
5363 com.google.protobuf.ByteString b =
5364 com.google.protobuf.ByteString.copyFromUtf8(
5365 (java.lang.String) ref);
5369 return (com.google.protobuf.ByteString) ref;
5373 // optional string type = 2;
5374 public static final int TYPE_FIELD_NUMBER = 2;
5375 private java.lang.Object type_;
5377 * <code>optional string type = 2;</code>
5380 * @deprecated(use intType)
5383 public boolean hasType() {
5384 return ((bitField0_ & 0x00000002) == 0x00000002);
5387 * <code>optional string type = 2;</code>
5390 * @deprecated(use intType)
5393 public java.lang.String getType() {
5394 java.lang.Object ref = type_;
5395 if (ref instanceof java.lang.String) {
5396 return (java.lang.String) ref;
5398 com.google.protobuf.ByteString bs =
5399 (com.google.protobuf.ByteString) ref;
5400 java.lang.String s = bs.toStringUtf8();
5401 if (bs.isValidUtf8()) {
5408 * <code>optional string type = 2;</code>
5411 * @deprecated(use intType)
5414 public com.google.protobuf.ByteString
5416 java.lang.Object ref = type_;
5417 if (ref instanceof java.lang.String) {
5418 com.google.protobuf.ByteString b =
5419 com.google.protobuf.ByteString.copyFromUtf8(
5420 (java.lang.String) ref);
5424 return (com.google.protobuf.ByteString) ref;
5428 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
5429 public static final int PATHARGUMENT_FIELD_NUMBER = 3;
5430 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_;
5432 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5434 public boolean hasPathArgument() {
5435 return ((bitField0_ & 0x00000004) == 0x00000004);
5438 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5440 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
5441 return pathArgument_;
5444 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5446 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
5447 return pathArgument_;
5450 // optional int32 intType = 4;
5451 public static final int INTTYPE_FIELD_NUMBER = 4;
5452 private int intType_;
5454 * <code>optional int32 intType = 4;</code>
5456 public boolean hasIntType() {
5457 return ((bitField0_ & 0x00000008) == 0x00000008);
5460 * <code>optional int32 intType = 4;</code>
5462 public int getIntType() {
5466 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
5467 public static final int ATTRIBUTES_FIELD_NUMBER = 5;
5468 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
5470 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5472 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
5476 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5478 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
5479 getAttributesOrBuilderList() {
5483 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5485 public int getAttributesCount() {
5486 return attributes_.size();
5489 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5491 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
5492 return attributes_.get(index);
5495 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5497 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
5499 return attributes_.get(index);
5502 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
5503 public static final int CHILD_FIELD_NUMBER = 6;
5504 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_;
5506 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5508 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
5512 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5514 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
5515 getChildOrBuilderList() {
5519 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5521 public int getChildCount() {
5522 return child_.size();
5525 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5527 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
5528 return child_.get(index);
5531 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5533 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
5535 return child_.get(index);
5538 // optional string value = 7;
5539 public static final int VALUE_FIELD_NUMBER = 7;
5540 private java.lang.Object value_;
5542 * <code>optional string value = 7;</code>
5544 public boolean hasValue() {
5545 return ((bitField0_ & 0x00000010) == 0x00000010);
5548 * <code>optional string value = 7;</code>
5550 public java.lang.String getValue() {
5551 java.lang.Object ref = value_;
5552 if (ref instanceof java.lang.String) {
5553 return (java.lang.String) ref;
5555 com.google.protobuf.ByteString bs =
5556 (com.google.protobuf.ByteString) ref;
5557 java.lang.String s = bs.toStringUtf8();
5558 if (bs.isValidUtf8()) {
5565 * <code>optional string value = 7;</code>
5567 public com.google.protobuf.ByteString
5569 java.lang.Object ref = value_;
5570 if (ref instanceof java.lang.String) {
5571 com.google.protobuf.ByteString b =
5572 com.google.protobuf.ByteString.copyFromUtf8(
5573 (java.lang.String) ref);
5577 return (com.google.protobuf.ByteString) ref;
5581 // optional string valueType = 8;
5582 public static final int VALUETYPE_FIELD_NUMBER = 8;
5583 private java.lang.Object valueType_;
5585 * <code>optional string valueType = 8;</code>
5588 * @deprecated(use intValueType)
5591 public boolean hasValueType() {
5592 return ((bitField0_ & 0x00000020) == 0x00000020);
5595 * <code>optional string valueType = 8;</code>
5598 * @deprecated(use intValueType)
5601 public java.lang.String getValueType() {
5602 java.lang.Object ref = valueType_;
5603 if (ref instanceof java.lang.String) {
5604 return (java.lang.String) ref;
5606 com.google.protobuf.ByteString bs =
5607 (com.google.protobuf.ByteString) ref;
5608 java.lang.String s = bs.toStringUtf8();
5609 if (bs.isValidUtf8()) {
5616 * <code>optional string valueType = 8;</code>
5619 * @deprecated(use intValueType)
5622 public com.google.protobuf.ByteString
5623 getValueTypeBytes() {
5624 java.lang.Object ref = valueType_;
5625 if (ref instanceof java.lang.String) {
5626 com.google.protobuf.ByteString b =
5627 com.google.protobuf.ByteString.copyFromUtf8(
5628 (java.lang.String) ref);
5632 return (com.google.protobuf.ByteString) ref;
5636 // optional int32 intValueType = 9;
5637 public static final int INTVALUETYPE_FIELD_NUMBER = 9;
5638 private int intValueType_;
5640 * <code>optional int32 intValueType = 9;</code>
5643 * instead of valueType
5646 public boolean hasIntValueType() {
5647 return ((bitField0_ & 0x00000040) == 0x00000040);
5650 * <code>optional int32 intValueType = 9;</code>
5653 * instead of valueType
5656 public int getIntValueType() {
5657 return intValueType_;
5660 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
5661 public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10;
5662 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
5664 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5670 public boolean hasInstanceIdentifierValue() {
5671 return ((bitField0_ & 0x00000080) == 0x00000080);
5674 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5680 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
5681 return instanceIdentifierValue_;
5684 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5690 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
5691 return instanceIdentifierValue_;
5694 // repeated string bitsValue = 11;
5695 public static final int BITSVALUE_FIELD_NUMBER = 11;
5696 private com.google.protobuf.LazyStringList bitsValue_;
5698 * <code>repeated string bitsValue = 11;</code>
5701 * intValueType = Bits
5704 public java.util.List<java.lang.String>
5705 getBitsValueList() {
5709 * <code>repeated string bitsValue = 11;</code>
5712 * intValueType = Bits
5715 public int getBitsValueCount() {
5716 return bitsValue_.size();
5719 * <code>repeated string bitsValue = 11;</code>
5722 * intValueType = Bits
5725 public java.lang.String getBitsValue(int index) {
5726 return bitsValue_.get(index);
5729 * <code>repeated string bitsValue = 11;</code>
5732 * intValueType = Bits
5735 public com.google.protobuf.ByteString
5736 getBitsValueBytes(int index) {
5737 return bitsValue_.getByteString(index);
5740 // repeated string code = 12;
5741 public static final int CODE_FIELD_NUMBER = 12;
5742 private com.google.protobuf.LazyStringList code_;
5744 * <code>repeated string code = 12;</code>
5747 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5750 public java.util.List<java.lang.String>
5755 * <code>repeated string code = 12;</code>
5758 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5761 public int getCodeCount() {
5762 return code_.size();
5765 * <code>repeated string code = 12;</code>
5768 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5771 public java.lang.String getCode(int index) {
5772 return code_.get(index);
5775 * <code>repeated string code = 12;</code>
5778 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5781 public com.google.protobuf.ByteString
5782 getCodeBytes(int index) {
5783 return code_.getByteString(index);
5786 private void initFields() {
5789 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
5791 attributes_ = java.util.Collections.emptyList();
5792 child_ = java.util.Collections.emptyList();
5796 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
5797 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5798 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5800 private byte memoizedIsInitialized = -1;
5801 public final boolean isInitialized() {
5802 byte isInitialized = memoizedIsInitialized;
5803 if (isInitialized != -1) return isInitialized == 1;
5805 if (hasPathArgument()) {
5806 if (!getPathArgument().isInitialized()) {
5807 memoizedIsInitialized = 0;
5811 for (int i = 0; i < getAttributesCount(); i++) {
5812 if (!getAttributes(i).isInitialized()) {
5813 memoizedIsInitialized = 0;
5817 for (int i = 0; i < getChildCount(); i++) {
5818 if (!getChild(i).isInitialized()) {
5819 memoizedIsInitialized = 0;
5823 if (hasInstanceIdentifierValue()) {
5824 if (!getInstanceIdentifierValue().isInitialized()) {
5825 memoizedIsInitialized = 0;
5829 memoizedIsInitialized = 1;
5833 public void writeTo(com.google.protobuf.CodedOutputStream output)
5834 throws java.io.IOException {
5835 getSerializedSize();
5836 if (((bitField0_ & 0x00000001) == 0x00000001)) {
5837 output.writeBytes(1, getPathBytes());
5839 if (((bitField0_ & 0x00000002) == 0x00000002)) {
5840 output.writeBytes(2, getTypeBytes());
5842 if (((bitField0_ & 0x00000004) == 0x00000004)) {
5843 output.writeMessage(3, pathArgument_);
5845 if (((bitField0_ & 0x00000008) == 0x00000008)) {
5846 output.writeInt32(4, intType_);
5848 for (int i = 0; i < attributes_.size(); i++) {
5849 output.writeMessage(5, attributes_.get(i));
5851 for (int i = 0; i < child_.size(); i++) {
5852 output.writeMessage(6, child_.get(i));
5854 if (((bitField0_ & 0x00000010) == 0x00000010)) {
5855 output.writeBytes(7, getValueBytes());
5857 if (((bitField0_ & 0x00000020) == 0x00000020)) {
5858 output.writeBytes(8, getValueTypeBytes());
5860 if (((bitField0_ & 0x00000040) == 0x00000040)) {
5861 output.writeInt32(9, intValueType_);
5863 if (((bitField0_ & 0x00000080) == 0x00000080)) {
5864 output.writeMessage(10, instanceIdentifierValue_);
5866 for (int i = 0; i < bitsValue_.size(); i++) {
5867 output.writeBytes(11, bitsValue_.getByteString(i));
5869 for (int i = 0; i < code_.size(); i++) {
5870 output.writeBytes(12, code_.getByteString(i));
5872 getUnknownFields().writeTo(output);
5875 private int memoizedSerializedSize = -1;
5876 public int getSerializedSize() {
5877 int size = memoizedSerializedSize;
5878 if (size != -1) return size;
5881 if (((bitField0_ & 0x00000001) == 0x00000001)) {
5882 size += com.google.protobuf.CodedOutputStream
5883 .computeBytesSize(1, getPathBytes());
5885 if (((bitField0_ & 0x00000002) == 0x00000002)) {
5886 size += com.google.protobuf.CodedOutputStream
5887 .computeBytesSize(2, getTypeBytes());
5889 if (((bitField0_ & 0x00000004) == 0x00000004)) {
5890 size += com.google.protobuf.CodedOutputStream
5891 .computeMessageSize(3, pathArgument_);
5893 if (((bitField0_ & 0x00000008) == 0x00000008)) {
5894 size += com.google.protobuf.CodedOutputStream
5895 .computeInt32Size(4, intType_);
5897 for (int i = 0; i < attributes_.size(); i++) {
5898 size += com.google.protobuf.CodedOutputStream
5899 .computeMessageSize(5, attributes_.get(i));
5901 for (int i = 0; i < child_.size(); i++) {
5902 size += com.google.protobuf.CodedOutputStream
5903 .computeMessageSize(6, child_.get(i));
5905 if (((bitField0_ & 0x00000010) == 0x00000010)) {
5906 size += com.google.protobuf.CodedOutputStream
5907 .computeBytesSize(7, getValueBytes());
5909 if (((bitField0_ & 0x00000020) == 0x00000020)) {
5910 size += com.google.protobuf.CodedOutputStream
5911 .computeBytesSize(8, getValueTypeBytes());
5913 if (((bitField0_ & 0x00000040) == 0x00000040)) {
5914 size += com.google.protobuf.CodedOutputStream
5915 .computeInt32Size(9, intValueType_);
5917 if (((bitField0_ & 0x00000080) == 0x00000080)) {
5918 size += com.google.protobuf.CodedOutputStream
5919 .computeMessageSize(10, instanceIdentifierValue_);
5923 for (int i = 0; i < bitsValue_.size(); i++) {
5924 dataSize += com.google.protobuf.CodedOutputStream
5925 .computeBytesSizeNoTag(bitsValue_.getByteString(i));
5928 size += 1 * getBitsValueList().size();
5932 for (int i = 0; i < code_.size(); i++) {
5933 dataSize += com.google.protobuf.CodedOutputStream
5934 .computeBytesSizeNoTag(code_.getByteString(i));
5937 size += 1 * getCodeList().size();
5939 size += getUnknownFields().getSerializedSize();
5940 memoizedSerializedSize = size;
5944 private static final long serialVersionUID = 0L;
5946 protected java.lang.Object writeReplace()
5947 throws java.io.ObjectStreamException {
5948 return super.writeReplace();
5951 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
5952 com.google.protobuf.ByteString data)
5953 throws com.google.protobuf.InvalidProtocolBufferException {
5954 return PARSER.parseFrom(data);
5956 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
5957 com.google.protobuf.ByteString data,
5958 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5959 throws com.google.protobuf.InvalidProtocolBufferException {
5960 return PARSER.parseFrom(data, extensionRegistry);
5962 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(byte[] data)
5963 throws com.google.protobuf.InvalidProtocolBufferException {
5964 return PARSER.parseFrom(data);
5966 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
5968 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5969 throws com.google.protobuf.InvalidProtocolBufferException {
5970 return PARSER.parseFrom(data, extensionRegistry);
5972 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(java.io.InputStream input)
5973 throws java.io.IOException {
5974 return PARSER.parseFrom(input);
5976 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
5977 java.io.InputStream input,
5978 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5979 throws java.io.IOException {
5980 return PARSER.parseFrom(input, extensionRegistry);
5982 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(java.io.InputStream input)
5983 throws java.io.IOException {
5984 return PARSER.parseDelimitedFrom(input);
5986 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(
5987 java.io.InputStream input,
5988 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5989 throws java.io.IOException {
5990 return PARSER.parseDelimitedFrom(input, extensionRegistry);
5992 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
5993 com.google.protobuf.CodedInputStream input)
5994 throws java.io.IOException {
5995 return PARSER.parseFrom(input);
5997 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
5998 com.google.protobuf.CodedInputStream input,
5999 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6000 throws java.io.IOException {
6001 return PARSER.parseFrom(input, extensionRegistry);
6004 public static Builder newBuilder() { return Builder.create(); }
6005 public Builder newBuilderForType() { return newBuilder(); }
6006 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node prototype) {
6007 return newBuilder().mergeFrom(prototype);
6009 public Builder toBuilder() { return newBuilder(this); }
6012 protected Builder newBuilderForType(
6013 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6014 Builder builder = new Builder(parent);
6018 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
6020 public static final class Builder extends
6021 com.google.protobuf.GeneratedMessage.Builder<Builder>
6022 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder {
6023 public static final com.google.protobuf.Descriptors.Descriptor
6025 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6028 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
6029 internalGetFieldAccessorTable() {
6030 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
6031 .ensureFieldAccessorsInitialized(
6032 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
6035 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder()
6037 maybeForceBuilderInitialization();
6041 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6043 maybeForceBuilderInitialization();
6045 private void maybeForceBuilderInitialization() {
6046 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
6047 getPathArgumentFieldBuilder();
6048 getAttributesFieldBuilder();
6049 getChildFieldBuilder();
6050 getInstanceIdentifierValueFieldBuilder();
6053 private static Builder create() {
6054 return new Builder();
6057 public Builder clear() {
6060 bitField0_ = (bitField0_ & ~0x00000001);
6062 bitField0_ = (bitField0_ & ~0x00000002);
6063 if (pathArgumentBuilder_ == null) {
6064 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6066 pathArgumentBuilder_.clear();
6068 bitField0_ = (bitField0_ & ~0x00000004);
6070 bitField0_ = (bitField0_ & ~0x00000008);
6071 if (attributesBuilder_ == null) {
6072 attributes_ = java.util.Collections.emptyList();
6073 bitField0_ = (bitField0_ & ~0x00000010);
6075 attributesBuilder_.clear();
6077 if (childBuilder_ == null) {
6078 child_ = java.util.Collections.emptyList();
6079 bitField0_ = (bitField0_ & ~0x00000020);
6081 childBuilder_.clear();
6084 bitField0_ = (bitField0_ & ~0x00000040);
6086 bitField0_ = (bitField0_ & ~0x00000080);
6088 bitField0_ = (bitField0_ & ~0x00000100);
6089 if (instanceIdentifierValueBuilder_ == null) {
6090 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
6092 instanceIdentifierValueBuilder_.clear();
6094 bitField0_ = (bitField0_ & ~0x00000200);
6095 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6096 bitField0_ = (bitField0_ & ~0x00000400);
6097 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6098 bitField0_ = (bitField0_ & ~0x00000800);
6102 public Builder clone() {
6103 return create().mergeFrom(buildPartial());
6106 public com.google.protobuf.Descriptors.Descriptor
6107 getDescriptorForType() {
6108 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6111 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getDefaultInstanceForType() {
6112 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
6115 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node build() {
6116 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = buildPartial();
6117 if (!result.isInitialized()) {
6118 throw newUninitializedMessageException(result);
6123 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node buildPartial() {
6124 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node(this);
6125 int from_bitField0_ = bitField0_;
6126 int to_bitField0_ = 0;
6127 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
6128 to_bitField0_ |= 0x00000001;
6130 result.path_ = path_;
6131 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
6132 to_bitField0_ |= 0x00000002;
6134 result.type_ = type_;
6135 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
6136 to_bitField0_ |= 0x00000004;
6138 if (pathArgumentBuilder_ == null) {
6139 result.pathArgument_ = pathArgument_;
6141 result.pathArgument_ = pathArgumentBuilder_.build();
6143 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
6144 to_bitField0_ |= 0x00000008;
6146 result.intType_ = intType_;
6147 if (attributesBuilder_ == null) {
6148 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6149 attributes_ = java.util.Collections.unmodifiableList(attributes_);
6150 bitField0_ = (bitField0_ & ~0x00000010);
6152 result.attributes_ = attributes_;
6154 result.attributes_ = attributesBuilder_.build();
6156 if (childBuilder_ == null) {
6157 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6158 child_ = java.util.Collections.unmodifiableList(child_);
6159 bitField0_ = (bitField0_ & ~0x00000020);
6161 result.child_ = child_;
6163 result.child_ = childBuilder_.build();
6165 if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
6166 to_bitField0_ |= 0x00000010;
6168 result.value_ = value_;
6169 if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
6170 to_bitField0_ |= 0x00000020;
6172 result.valueType_ = valueType_;
6173 if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
6174 to_bitField0_ |= 0x00000040;
6176 result.intValueType_ = intValueType_;
6177 if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
6178 to_bitField0_ |= 0x00000080;
6180 if (instanceIdentifierValueBuilder_ == null) {
6181 result.instanceIdentifierValue_ = instanceIdentifierValue_;
6183 result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
6185 if (((bitField0_ & 0x00000400) == 0x00000400)) {
6186 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
6188 bitField0_ = (bitField0_ & ~0x00000400);
6190 result.bitsValue_ = bitsValue_;
6191 if (((bitField0_ & 0x00000800) == 0x00000800)) {
6192 code_ = new com.google.protobuf.UnmodifiableLazyStringList(
6194 bitField0_ = (bitField0_ & ~0x00000800);
6196 result.code_ = code_;
6197 result.bitField0_ = to_bitField0_;
6202 public Builder mergeFrom(com.google.protobuf.Message other) {
6203 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) {
6204 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node)other);
6206 super.mergeFrom(other);
6211 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node other) {
6212 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) return this;
6213 if (other.hasPath()) {
6214 bitField0_ |= 0x00000001;
6215 path_ = other.path_;
6218 if (other.hasType()) {
6219 bitField0_ |= 0x00000002;
6220 type_ = other.type_;
6223 if (other.hasPathArgument()) {
6224 mergePathArgument(other.getPathArgument());
6226 if (other.hasIntType()) {
6227 setIntType(other.getIntType());
6229 if (attributesBuilder_ == null) {
6230 if (!other.attributes_.isEmpty()) {
6231 if (attributes_.isEmpty()) {
6232 attributes_ = other.attributes_;
6233 bitField0_ = (bitField0_ & ~0x00000010);
6235 ensureAttributesIsMutable();
6236 attributes_.addAll(other.attributes_);
6241 if (!other.attributes_.isEmpty()) {
6242 if (attributesBuilder_.isEmpty()) {
6243 attributesBuilder_.dispose();
6244 attributesBuilder_ = null;
6245 attributes_ = other.attributes_;
6246 bitField0_ = (bitField0_ & ~0x00000010);
6247 attributesBuilder_ =
6248 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
6249 getAttributesFieldBuilder() : null;
6251 attributesBuilder_.addAllMessages(other.attributes_);
6255 if (childBuilder_ == null) {
6256 if (!other.child_.isEmpty()) {
6257 if (child_.isEmpty()) {
6258 child_ = other.child_;
6259 bitField0_ = (bitField0_ & ~0x00000020);
6261 ensureChildIsMutable();
6262 child_.addAll(other.child_);
6267 if (!other.child_.isEmpty()) {
6268 if (childBuilder_.isEmpty()) {
6269 childBuilder_.dispose();
6270 childBuilder_ = null;
6271 child_ = other.child_;
6272 bitField0_ = (bitField0_ & ~0x00000020);
6274 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
6275 getChildFieldBuilder() : null;
6277 childBuilder_.addAllMessages(other.child_);
6281 if (other.hasValue()) {
6282 bitField0_ |= 0x00000040;
6283 value_ = other.value_;
6286 if (other.hasValueType()) {
6287 bitField0_ |= 0x00000080;
6288 valueType_ = other.valueType_;
6291 if (other.hasIntValueType()) {
6292 setIntValueType(other.getIntValueType());
6294 if (other.hasInstanceIdentifierValue()) {
6295 mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
6297 if (!other.bitsValue_.isEmpty()) {
6298 if (bitsValue_.isEmpty()) {
6299 bitsValue_ = other.bitsValue_;
6300 bitField0_ = (bitField0_ & ~0x00000400);
6302 ensureBitsValueIsMutable();
6303 bitsValue_.addAll(other.bitsValue_);
6307 if (!other.code_.isEmpty()) {
6308 if (code_.isEmpty()) {
6309 code_ = other.code_;
6310 bitField0_ = (bitField0_ & ~0x00000800);
6312 ensureCodeIsMutable();
6313 code_.addAll(other.code_);
6317 this.mergeUnknownFields(other.getUnknownFields());
6321 public final boolean isInitialized() {
6322 if (hasPathArgument()) {
6323 if (!getPathArgument().isInitialized()) {
6328 for (int i = 0; i < getAttributesCount(); i++) {
6329 if (!getAttributes(i).isInitialized()) {
6334 for (int i = 0; i < getChildCount(); i++) {
6335 if (!getChild(i).isInitialized()) {
6340 if (hasInstanceIdentifierValue()) {
6341 if (!getInstanceIdentifierValue().isInitialized()) {
6349 public Builder mergeFrom(
6350 com.google.protobuf.CodedInputStream input,
6351 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6352 throws java.io.IOException {
6353 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parsedMessage = null;
6355 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
6356 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
6357 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) e.getUnfinishedMessage();
6360 if (parsedMessage != null) {
6361 mergeFrom(parsedMessage);
6366 private int bitField0_;
6368 // optional string path = 1;
6369 private java.lang.Object path_ = "";
6371 * <code>optional string path = 1;</code>
6374 * @deprecated(use pathArgument)
6377 public boolean hasPath() {
6378 return ((bitField0_ & 0x00000001) == 0x00000001);
6381 * <code>optional string path = 1;</code>
6384 * @deprecated(use pathArgument)
6387 public java.lang.String getPath() {
6388 java.lang.Object ref = path_;
6389 if (!(ref instanceof java.lang.String)) {
6390 java.lang.String s = ((com.google.protobuf.ByteString) ref)
6395 return (java.lang.String) ref;
6399 * <code>optional string path = 1;</code>
6402 * @deprecated(use pathArgument)
6405 public com.google.protobuf.ByteString
6407 java.lang.Object ref = path_;
6408 if (ref instanceof String) {
6409 com.google.protobuf.ByteString b =
6410 com.google.protobuf.ByteString.copyFromUtf8(
6411 (java.lang.String) ref);
6415 return (com.google.protobuf.ByteString) ref;
6419 * <code>optional string path = 1;</code>
6422 * @deprecated(use pathArgument)
6425 public Builder setPath(
6426 java.lang.String value) {
6427 if (value == null) {
6428 throw new NullPointerException();
6430 bitField0_ |= 0x00000001;
6436 * <code>optional string path = 1;</code>
6439 * @deprecated(use pathArgument)
6442 public Builder clearPath() {
6443 bitField0_ = (bitField0_ & ~0x00000001);
6444 path_ = getDefaultInstance().getPath();
6449 * <code>optional string path = 1;</code>
6452 * @deprecated(use pathArgument)
6455 public Builder setPathBytes(
6456 com.google.protobuf.ByteString value) {
6457 if (value == null) {
6458 throw new NullPointerException();
6460 bitField0_ |= 0x00000001;
6466 // optional string type = 2;
6467 private java.lang.Object type_ = "";
6469 * <code>optional string type = 2;</code>
6472 * @deprecated(use intType)
6475 public boolean hasType() {
6476 return ((bitField0_ & 0x00000002) == 0x00000002);
6479 * <code>optional string type = 2;</code>
6482 * @deprecated(use intType)
6485 public java.lang.String getType() {
6486 java.lang.Object ref = type_;
6487 if (!(ref instanceof java.lang.String)) {
6488 java.lang.String s = ((com.google.protobuf.ByteString) ref)
6493 return (java.lang.String) ref;
6497 * <code>optional string type = 2;</code>
6500 * @deprecated(use intType)
6503 public com.google.protobuf.ByteString
6505 java.lang.Object ref = type_;
6506 if (ref instanceof String) {
6507 com.google.protobuf.ByteString b =
6508 com.google.protobuf.ByteString.copyFromUtf8(
6509 (java.lang.String) ref);
6513 return (com.google.protobuf.ByteString) ref;
6517 * <code>optional string type = 2;</code>
6520 * @deprecated(use intType)
6523 public Builder setType(
6524 java.lang.String value) {
6525 if (value == null) {
6526 throw new NullPointerException();
6528 bitField0_ |= 0x00000002;
6534 * <code>optional string type = 2;</code>
6537 * @deprecated(use intType)
6540 public Builder clearType() {
6541 bitField0_ = (bitField0_ & ~0x00000002);
6542 type_ = getDefaultInstance().getType();
6547 * <code>optional string type = 2;</code>
6550 * @deprecated(use intType)
6553 public Builder setTypeBytes(
6554 com.google.protobuf.ByteString value) {
6555 if (value == null) {
6556 throw new NullPointerException();
6558 bitField0_ |= 0x00000002;
6564 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
6565 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6566 private com.google.protobuf.SingleFieldBuilder<
6567 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_;
6569 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6571 public boolean hasPathArgument() {
6572 return ((bitField0_ & 0x00000004) == 0x00000004);
6575 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6577 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
6578 if (pathArgumentBuilder_ == null) {
6579 return pathArgument_;
6581 return pathArgumentBuilder_.getMessage();
6585 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6587 public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
6588 if (pathArgumentBuilder_ == null) {
6589 if (value == null) {
6590 throw new NullPointerException();
6592 pathArgument_ = value;
6595 pathArgumentBuilder_.setMessage(value);
6597 bitField0_ |= 0x00000004;
6601 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6603 public Builder setPathArgument(
6604 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
6605 if (pathArgumentBuilder_ == null) {
6606 pathArgument_ = builderForValue.build();
6609 pathArgumentBuilder_.setMessage(builderForValue.build());
6611 bitField0_ |= 0x00000004;
6615 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6617 public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
6618 if (pathArgumentBuilder_ == null) {
6619 if (((bitField0_ & 0x00000004) == 0x00000004) &&
6620 pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) {
6622 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial();
6624 pathArgument_ = value;
6628 pathArgumentBuilder_.mergeFrom(value);
6630 bitField0_ |= 0x00000004;
6634 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6636 public Builder clearPathArgument() {
6637 if (pathArgumentBuilder_ == null) {
6638 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6641 pathArgumentBuilder_.clear();
6643 bitField0_ = (bitField0_ & ~0x00000004);
6647 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6649 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() {
6650 bitField0_ |= 0x00000004;
6652 return getPathArgumentFieldBuilder().getBuilder();
6655 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6657 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
6658 if (pathArgumentBuilder_ != null) {
6659 return pathArgumentBuilder_.getMessageOrBuilder();
6661 return pathArgument_;
6665 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6667 private com.google.protobuf.SingleFieldBuilder<
6668 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>
6669 getPathArgumentFieldBuilder() {
6670 if (pathArgumentBuilder_ == null) {
6671 pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
6672 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>(
6674 getParentForChildren(),
6676 pathArgument_ = null;
6678 return pathArgumentBuilder_;
6681 // optional int32 intType = 4;
6682 private int intType_ ;
6684 * <code>optional int32 intType = 4;</code>
6686 public boolean hasIntType() {
6687 return ((bitField0_ & 0x00000008) == 0x00000008);
6690 * <code>optional int32 intType = 4;</code>
6692 public int getIntType() {
6696 * <code>optional int32 intType = 4;</code>
6698 public Builder setIntType(int value) {
6699 bitField0_ |= 0x00000008;
6705 * <code>optional int32 intType = 4;</code>
6707 public Builder clearIntType() {
6708 bitField0_ = (bitField0_ & ~0x00000008);
6714 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
6715 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
6716 java.util.Collections.emptyList();
6717 private void ensureAttributesIsMutable() {
6718 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
6719 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
6720 bitField0_ |= 0x00000010;
6724 private com.google.protobuf.RepeatedFieldBuilder<
6725 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_;
6728 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6730 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
6731 if (attributesBuilder_ == null) {
6732 return java.util.Collections.unmodifiableList(attributes_);
6734 return attributesBuilder_.getMessageList();
6738 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6740 public int getAttributesCount() {
6741 if (attributesBuilder_ == null) {
6742 return attributes_.size();
6744 return attributesBuilder_.getCount();
6748 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6750 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
6751 if (attributesBuilder_ == null) {
6752 return attributes_.get(index);
6754 return attributesBuilder_.getMessage(index);
6758 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6760 public Builder setAttributes(
6761 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
6762 if (attributesBuilder_ == null) {
6763 if (value == null) {
6764 throw new NullPointerException();
6766 ensureAttributesIsMutable();
6767 attributes_.set(index, value);
6770 attributesBuilder_.setMessage(index, value);
6775 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6777 public Builder setAttributes(
6778 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
6779 if (attributesBuilder_ == null) {
6780 ensureAttributesIsMutable();
6781 attributes_.set(index, builderForValue.build());
6784 attributesBuilder_.setMessage(index, builderForValue.build());
6789 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6791 public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
6792 if (attributesBuilder_ == null) {
6793 if (value == null) {
6794 throw new NullPointerException();
6796 ensureAttributesIsMutable();
6797 attributes_.add(value);
6800 attributesBuilder_.addMessage(value);
6805 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6807 public Builder addAttributes(
6808 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
6809 if (attributesBuilder_ == null) {
6810 if (value == null) {
6811 throw new NullPointerException();
6813 ensureAttributesIsMutable();
6814 attributes_.add(index, value);
6817 attributesBuilder_.addMessage(index, value);
6822 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6824 public Builder addAttributes(
6825 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
6826 if (attributesBuilder_ == null) {
6827 ensureAttributesIsMutable();
6828 attributes_.add(builderForValue.build());
6831 attributesBuilder_.addMessage(builderForValue.build());
6836 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6838 public Builder addAttributes(
6839 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
6840 if (attributesBuilder_ == null) {
6841 ensureAttributesIsMutable();
6842 attributes_.add(index, builderForValue.build());
6845 attributesBuilder_.addMessage(index, builderForValue.build());
6850 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6852 public Builder addAllAttributes(
6853 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
6854 if (attributesBuilder_ == null) {
6855 ensureAttributesIsMutable();
6856 super.addAll(values, attributes_);
6859 attributesBuilder_.addAllMessages(values);
6864 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6866 public Builder clearAttributes() {
6867 if (attributesBuilder_ == null) {
6868 attributes_ = java.util.Collections.emptyList();
6869 bitField0_ = (bitField0_ & ~0x00000010);
6872 attributesBuilder_.clear();
6877 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6879 public Builder removeAttributes(int index) {
6880 if (attributesBuilder_ == null) {
6881 ensureAttributesIsMutable();
6882 attributes_.remove(index);
6885 attributesBuilder_.remove(index);
6890 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6892 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
6894 return getAttributesFieldBuilder().getBuilder(index);
6897 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6899 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
6901 if (attributesBuilder_ == null) {
6902 return attributes_.get(index); } else {
6903 return attributesBuilder_.getMessageOrBuilder(index);
6907 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6909 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
6910 getAttributesOrBuilderList() {
6911 if (attributesBuilder_ != null) {
6912 return attributesBuilder_.getMessageOrBuilderList();
6914 return java.util.Collections.unmodifiableList(attributes_);
6918 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6920 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
6921 return getAttributesFieldBuilder().addBuilder(
6922 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
6925 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6927 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
6929 return getAttributesFieldBuilder().addBuilder(
6930 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
6933 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6935 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
6936 getAttributesBuilderList() {
6937 return getAttributesFieldBuilder().getBuilderList();
6939 private com.google.protobuf.RepeatedFieldBuilder<
6940 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>
6941 getAttributesFieldBuilder() {
6942 if (attributesBuilder_ == null) {
6943 attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
6944 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>(
6946 ((bitField0_ & 0x00000010) == 0x00000010),
6947 getParentForChildren(),
6951 return attributesBuilder_;
6954 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
6955 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_ =
6956 java.util.Collections.emptyList();
6957 private void ensureChildIsMutable() {
6958 if (!((bitField0_ & 0x00000020) == 0x00000020)) {
6959 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>(child_);
6960 bitField0_ |= 0x00000020;
6964 private com.google.protobuf.RepeatedFieldBuilder<
6965 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_;
6968 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6970 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
6971 if (childBuilder_ == null) {
6972 return java.util.Collections.unmodifiableList(child_);
6974 return childBuilder_.getMessageList();
6978 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6980 public int getChildCount() {
6981 if (childBuilder_ == null) {
6982 return child_.size();
6984 return childBuilder_.getCount();
6988 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6990 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
6991 if (childBuilder_ == null) {
6992 return child_.get(index);
6994 return childBuilder_.getMessage(index);
6998 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7000 public Builder setChild(
7001 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7002 if (childBuilder_ == null) {
7003 if (value == null) {
7004 throw new NullPointerException();
7006 ensureChildIsMutable();
7007 child_.set(index, value);
7010 childBuilder_.setMessage(index, value);
7015 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7017 public Builder setChild(
7018 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7019 if (childBuilder_ == null) {
7020 ensureChildIsMutable();
7021 child_.set(index, builderForValue.build());
7024 childBuilder_.setMessage(index, builderForValue.build());
7029 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7031 public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7032 if (childBuilder_ == null) {
7033 if (value == null) {
7034 throw new NullPointerException();
7036 ensureChildIsMutable();
7040 childBuilder_.addMessage(value);
7045 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7047 public Builder addChild(
7048 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7049 if (childBuilder_ == null) {
7050 if (value == null) {
7051 throw new NullPointerException();
7053 ensureChildIsMutable();
7054 child_.add(index, value);
7057 childBuilder_.addMessage(index, value);
7062 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7064 public Builder addChild(
7065 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7066 if (childBuilder_ == null) {
7067 ensureChildIsMutable();
7068 child_.add(builderForValue.build());
7071 childBuilder_.addMessage(builderForValue.build());
7076 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7078 public Builder addChild(
7079 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7080 if (childBuilder_ == null) {
7081 ensureChildIsMutable();
7082 child_.add(index, builderForValue.build());
7085 childBuilder_.addMessage(index, builderForValue.build());
7090 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7092 public Builder addAllChild(
7093 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> values) {
7094 if (childBuilder_ == null) {
7095 ensureChildIsMutable();
7096 super.addAll(values, child_);
7099 childBuilder_.addAllMessages(values);
7104 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7106 public Builder clearChild() {
7107 if (childBuilder_ == null) {
7108 child_ = java.util.Collections.emptyList();
7109 bitField0_ = (bitField0_ & ~0x00000020);
7112 childBuilder_.clear();
7117 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7119 public Builder removeChild(int index) {
7120 if (childBuilder_ == null) {
7121 ensureChildIsMutable();
7122 child_.remove(index);
7125 childBuilder_.remove(index);
7130 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7132 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder(
7134 return getChildFieldBuilder().getBuilder(index);
7137 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7139 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
7141 if (childBuilder_ == null) {
7142 return child_.get(index); } else {
7143 return childBuilder_.getMessageOrBuilder(index);
7147 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7149 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
7150 getChildOrBuilderList() {
7151 if (childBuilder_ != null) {
7152 return childBuilder_.getMessageOrBuilderList();
7154 return java.util.Collections.unmodifiableList(child_);
7158 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7160 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() {
7161 return getChildFieldBuilder().addBuilder(
7162 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
7165 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7167 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder(
7169 return getChildFieldBuilder().addBuilder(
7170 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
7173 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7175 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder>
7176 getChildBuilderList() {
7177 return getChildFieldBuilder().getBuilderList();
7179 private com.google.protobuf.RepeatedFieldBuilder<
7180 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>
7181 getChildFieldBuilder() {
7182 if (childBuilder_ == null) {
7183 childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
7184 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>(
7186 ((bitField0_ & 0x00000020) == 0x00000020),
7187 getParentForChildren(),
7191 return childBuilder_;
7194 // optional string value = 7;
7195 private java.lang.Object value_ = "";
7197 * <code>optional string value = 7;</code>
7199 public boolean hasValue() {
7200 return ((bitField0_ & 0x00000040) == 0x00000040);
7203 * <code>optional string value = 7;</code>
7205 public java.lang.String getValue() {
7206 java.lang.Object ref = value_;
7207 if (!(ref instanceof java.lang.String)) {
7208 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7213 return (java.lang.String) ref;
7217 * <code>optional string value = 7;</code>
7219 public com.google.protobuf.ByteString
7221 java.lang.Object ref = value_;
7222 if (ref instanceof String) {
7223 com.google.protobuf.ByteString b =
7224 com.google.protobuf.ByteString.copyFromUtf8(
7225 (java.lang.String) ref);
7229 return (com.google.protobuf.ByteString) ref;
7233 * <code>optional string value = 7;</code>
7235 public Builder setValue(
7236 java.lang.String value) {
7237 if (value == null) {
7238 throw new NullPointerException();
7240 bitField0_ |= 0x00000040;
7246 * <code>optional string value = 7;</code>
7248 public Builder clearValue() {
7249 bitField0_ = (bitField0_ & ~0x00000040);
7250 value_ = getDefaultInstance().getValue();
7255 * <code>optional string value = 7;</code>
7257 public Builder setValueBytes(
7258 com.google.protobuf.ByteString value) {
7259 if (value == null) {
7260 throw new NullPointerException();
7262 bitField0_ |= 0x00000040;
7268 // optional string valueType = 8;
7269 private java.lang.Object valueType_ = "";
7271 * <code>optional string valueType = 8;</code>
7274 * @deprecated(use intValueType)
7277 public boolean hasValueType() {
7278 return ((bitField0_ & 0x00000080) == 0x00000080);
7281 * <code>optional string valueType = 8;</code>
7284 * @deprecated(use intValueType)
7287 public java.lang.String getValueType() {
7288 java.lang.Object ref = valueType_;
7289 if (!(ref instanceof java.lang.String)) {
7290 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7295 return (java.lang.String) ref;
7299 * <code>optional string valueType = 8;</code>
7302 * @deprecated(use intValueType)
7305 public com.google.protobuf.ByteString
7306 getValueTypeBytes() {
7307 java.lang.Object ref = valueType_;
7308 if (ref instanceof String) {
7309 com.google.protobuf.ByteString b =
7310 com.google.protobuf.ByteString.copyFromUtf8(
7311 (java.lang.String) ref);
7315 return (com.google.protobuf.ByteString) ref;
7319 * <code>optional string valueType = 8;</code>
7322 * @deprecated(use intValueType)
7325 public Builder setValueType(
7326 java.lang.String value) {
7327 if (value == null) {
7328 throw new NullPointerException();
7330 bitField0_ |= 0x00000080;
7336 * <code>optional string valueType = 8;</code>
7339 * @deprecated(use intValueType)
7342 public Builder clearValueType() {
7343 bitField0_ = (bitField0_ & ~0x00000080);
7344 valueType_ = getDefaultInstance().getValueType();
7349 * <code>optional string valueType = 8;</code>
7352 * @deprecated(use intValueType)
7355 public Builder setValueTypeBytes(
7356 com.google.protobuf.ByteString value) {
7357 if (value == null) {
7358 throw new NullPointerException();
7360 bitField0_ |= 0x00000080;
7366 // optional int32 intValueType = 9;
7367 private int intValueType_ ;
7369 * <code>optional int32 intValueType = 9;</code>
7372 * instead of valueType
7375 public boolean hasIntValueType() {
7376 return ((bitField0_ & 0x00000100) == 0x00000100);
7379 * <code>optional int32 intValueType = 9;</code>
7382 * instead of valueType
7385 public int getIntValueType() {
7386 return intValueType_;
7389 * <code>optional int32 intValueType = 9;</code>
7392 * instead of valueType
7395 public Builder setIntValueType(int value) {
7396 bitField0_ |= 0x00000100;
7397 intValueType_ = value;
7402 * <code>optional int32 intValueType = 9;</code>
7405 * instead of valueType
7408 public Builder clearIntValueType() {
7409 bitField0_ = (bitField0_ & ~0x00000100);
7415 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
7416 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7417 private com.google.protobuf.SingleFieldBuilder<
7418 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_;
7420 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7426 public boolean hasInstanceIdentifierValue() {
7427 return ((bitField0_ & 0x00000200) == 0x00000200);
7430 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7436 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
7437 if (instanceIdentifierValueBuilder_ == null) {
7438 return instanceIdentifierValue_;
7440 return instanceIdentifierValueBuilder_.getMessage();
7444 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7450 public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
7451 if (instanceIdentifierValueBuilder_ == null) {
7452 if (value == null) {
7453 throw new NullPointerException();
7455 instanceIdentifierValue_ = value;
7458 instanceIdentifierValueBuilder_.setMessage(value);
7460 bitField0_ |= 0x00000200;
7464 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7470 public Builder setInstanceIdentifierValue(
7471 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
7472 if (instanceIdentifierValueBuilder_ == null) {
7473 instanceIdentifierValue_ = builderForValue.build();
7476 instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
7478 bitField0_ |= 0x00000200;
7482 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7488 public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
7489 if (instanceIdentifierValueBuilder_ == null) {
7490 if (((bitField0_ & 0x00000200) == 0x00000200) &&
7491 instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
7492 instanceIdentifierValue_ =
7493 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
7495 instanceIdentifierValue_ = value;
7499 instanceIdentifierValueBuilder_.mergeFrom(value);
7501 bitField0_ |= 0x00000200;
7505 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7511 public Builder clearInstanceIdentifierValue() {
7512 if (instanceIdentifierValueBuilder_ == null) {
7513 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7516 instanceIdentifierValueBuilder_.clear();
7518 bitField0_ = (bitField0_ & ~0x00000200);
7522 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7528 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
7529 bitField0_ |= 0x00000200;
7531 return getInstanceIdentifierValueFieldBuilder().getBuilder();
7534 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7540 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
7541 if (instanceIdentifierValueBuilder_ != null) {
7542 return instanceIdentifierValueBuilder_.getMessageOrBuilder();
7544 return instanceIdentifierValue_;
7548 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7554 private com.google.protobuf.SingleFieldBuilder<
7555 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>
7556 getInstanceIdentifierValueFieldBuilder() {
7557 if (instanceIdentifierValueBuilder_ == null) {
7558 instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7559 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>(
7560 instanceIdentifierValue_,
7561 getParentForChildren(),
7563 instanceIdentifierValue_ = null;
7565 return instanceIdentifierValueBuilder_;
7568 // repeated string bitsValue = 11;
7569 private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7570 private void ensureBitsValueIsMutable() {
7571 if (!((bitField0_ & 0x00000400) == 0x00000400)) {
7572 bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
7573 bitField0_ |= 0x00000400;
7577 * <code>repeated string bitsValue = 11;</code>
7580 * intValueType = Bits
7583 public java.util.List<java.lang.String>
7584 getBitsValueList() {
7585 return java.util.Collections.unmodifiableList(bitsValue_);
7588 * <code>repeated string bitsValue = 11;</code>
7591 * intValueType = Bits
7594 public int getBitsValueCount() {
7595 return bitsValue_.size();
7598 * <code>repeated string bitsValue = 11;</code>
7601 * intValueType = Bits
7604 public java.lang.String getBitsValue(int index) {
7605 return bitsValue_.get(index);
7608 * <code>repeated string bitsValue = 11;</code>
7611 * intValueType = Bits
7614 public com.google.protobuf.ByteString
7615 getBitsValueBytes(int index) {
7616 return bitsValue_.getByteString(index);
7619 * <code>repeated string bitsValue = 11;</code>
7622 * intValueType = Bits
7625 public Builder setBitsValue(
7626 int index, java.lang.String value) {
7627 if (value == null) {
7628 throw new NullPointerException();
7630 ensureBitsValueIsMutable();
7631 bitsValue_.set(index, value);
7636 * <code>repeated string bitsValue = 11;</code>
7639 * intValueType = Bits
7642 public Builder addBitsValue(
7643 java.lang.String value) {
7644 if (value == null) {
7645 throw new NullPointerException();
7647 ensureBitsValueIsMutable();
7648 bitsValue_.add(value);
7653 * <code>repeated string bitsValue = 11;</code>
7656 * intValueType = Bits
7659 public Builder addAllBitsValue(
7660 java.lang.Iterable<java.lang.String> values) {
7661 ensureBitsValueIsMutable();
7662 super.addAll(values, bitsValue_);
7667 * <code>repeated string bitsValue = 11;</code>
7670 * intValueType = Bits
7673 public Builder clearBitsValue() {
7674 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7675 bitField0_ = (bitField0_ & ~0x00000400);
7680 * <code>repeated string bitsValue = 11;</code>
7683 * intValueType = Bits
7686 public Builder addBitsValueBytes(
7687 com.google.protobuf.ByteString value) {
7688 if (value == null) {
7689 throw new NullPointerException();
7691 ensureBitsValueIsMutable();
7692 bitsValue_.add(value);
7697 // repeated string code = 12;
7698 private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7699 private void ensureCodeIsMutable() {
7700 if (!((bitField0_ & 0x00000800) == 0x00000800)) {
7701 code_ = new com.google.protobuf.LazyStringArrayList(code_);
7702 bitField0_ |= 0x00000800;
7706 * <code>repeated string code = 12;</code>
7709 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7712 public java.util.List<java.lang.String>
7714 return java.util.Collections.unmodifiableList(code_);
7717 * <code>repeated string code = 12;</code>
7720 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7723 public int getCodeCount() {
7724 return code_.size();
7727 * <code>repeated string code = 12;</code>
7730 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7733 public java.lang.String getCode(int index) {
7734 return code_.get(index);
7737 * <code>repeated string code = 12;</code>
7740 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7743 public com.google.protobuf.ByteString
7744 getCodeBytes(int index) {
7745 return code_.getByteString(index);
7748 * <code>repeated string code = 12;</code>
7751 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7754 public Builder setCode(
7755 int index, java.lang.String value) {
7756 if (value == null) {
7757 throw new NullPointerException();
7759 ensureCodeIsMutable();
7760 code_.set(index, value);
7765 * <code>repeated string code = 12;</code>
7768 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7771 public Builder addCode(
7772 java.lang.String value) {
7773 if (value == null) {
7774 throw new NullPointerException();
7776 ensureCodeIsMutable();
7782 * <code>repeated string code = 12;</code>
7785 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7788 public Builder addAllCode(
7789 java.lang.Iterable<java.lang.String> values) {
7790 ensureCodeIsMutable();
7791 super.addAll(values, code_);
7796 * <code>repeated string code = 12;</code>
7799 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7802 public Builder clearCode() {
7803 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7804 bitField0_ = (bitField0_ & ~0x00000800);
7809 * <code>repeated string code = 12;</code>
7812 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7815 public Builder addCodeBytes(
7816 com.google.protobuf.ByteString value) {
7817 if (value == null) {
7818 throw new NullPointerException();
7820 ensureCodeIsMutable();
7826 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
7830 defaultInstance = new Node(true);
7831 defaultInstance.initFields();
7834 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Node)
7837 public interface ContainerOrBuilder
7838 extends com.google.protobuf.MessageOrBuilder {
7840 // required string parentPath = 1;
7842 * <code>required string parentPath = 1;</code>
7844 boolean hasParentPath();
7846 * <code>required string parentPath = 1;</code>
7848 java.lang.String getParentPath();
7850 * <code>required string parentPath = 1;</code>
7852 com.google.protobuf.ByteString
7853 getParentPathBytes();
7855 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
7857 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
7859 boolean hasNormalizedNode();
7861 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
7863 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
7865 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
7867 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
7870 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
7872 public static final class Container extends
7873 com.google.protobuf.GeneratedMessage
7874 implements ContainerOrBuilder {
7875 // Use Container.newBuilder() to construct.
7876 private Container(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
7878 this.unknownFields = builder.getUnknownFields();
7880 private Container(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
7882 private static final Container defaultInstance;
7883 public static Container getDefaultInstance() {
7884 return defaultInstance;
7887 public Container getDefaultInstanceForType() {
7888 return defaultInstance;
7891 private final com.google.protobuf.UnknownFieldSet unknownFields;
7893 public final com.google.protobuf.UnknownFieldSet
7894 getUnknownFields() {
7895 return this.unknownFields;
7898 com.google.protobuf.CodedInputStream input,
7899 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7900 throws com.google.protobuf.InvalidProtocolBufferException {
7902 int mutable_bitField0_ = 0;
7903 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
7904 com.google.protobuf.UnknownFieldSet.newBuilder();
7906 boolean done = false;
7908 int tag = input.readTag();
7914 if (!parseUnknownField(input, unknownFields,
7915 extensionRegistry, tag)) {
7921 bitField0_ |= 0x00000001;
7922 parentPath_ = input.readBytes();
7926 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
7927 if (((bitField0_ & 0x00000002) == 0x00000002)) {
7928 subBuilder = normalizedNode_.toBuilder();
7930 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
7931 if (subBuilder != null) {
7932 subBuilder.mergeFrom(normalizedNode_);
7933 normalizedNode_ = subBuilder.buildPartial();
7935 bitField0_ |= 0x00000002;
7940 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
7941 throw e.setUnfinishedMessage(this);
7942 } catch (java.io.IOException e) {
7943 throw new com.google.protobuf.InvalidProtocolBufferException(
7944 e.getMessage()).setUnfinishedMessage(this);
7946 this.unknownFields = unknownFields.build();
7947 makeExtensionsImmutable();
7950 public static final com.google.protobuf.Descriptors.Descriptor
7952 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
7955 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
7956 internalGetFieldAccessorTable() {
7957 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
7958 .ensureFieldAccessorsInitialized(
7959 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
7962 public static com.google.protobuf.Parser<Container> PARSER =
7963 new com.google.protobuf.AbstractParser<Container>() {
7964 public Container parsePartialFrom(
7965 com.google.protobuf.CodedInputStream input,
7966 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7967 throws com.google.protobuf.InvalidProtocolBufferException {
7968 return new Container(input, extensionRegistry);
7973 public com.google.protobuf.Parser<Container> getParserForType() {
7977 private int bitField0_;
7978 // required string parentPath = 1;
7979 public static final int PARENTPATH_FIELD_NUMBER = 1;
7980 private java.lang.Object parentPath_;
7982 * <code>required string parentPath = 1;</code>
7984 public boolean hasParentPath() {
7985 return ((bitField0_ & 0x00000001) == 0x00000001);
7988 * <code>required string parentPath = 1;</code>
7990 public java.lang.String getParentPath() {
7991 java.lang.Object ref = parentPath_;
7992 if (ref instanceof java.lang.String) {
7993 return (java.lang.String) ref;
7995 com.google.protobuf.ByteString bs =
7996 (com.google.protobuf.ByteString) ref;
7997 java.lang.String s = bs.toStringUtf8();
7998 if (bs.isValidUtf8()) {
8005 * <code>required string parentPath = 1;</code>
8007 public com.google.protobuf.ByteString
8008 getParentPathBytes() {
8009 java.lang.Object ref = parentPath_;
8010 if (ref instanceof java.lang.String) {
8011 com.google.protobuf.ByteString b =
8012 com.google.protobuf.ByteString.copyFromUtf8(
8013 (java.lang.String) ref);
8017 return (com.google.protobuf.ByteString) ref;
8021 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8022 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
8023 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
8025 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8027 public boolean hasNormalizedNode() {
8028 return ((bitField0_ & 0x00000002) == 0x00000002);
8031 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8033 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8034 return normalizedNode_;
8037 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8039 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8040 return normalizedNode_;
8043 private void initFields() {
8045 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8047 private byte memoizedIsInitialized = -1;
8048 public final boolean isInitialized() {
8049 byte isInitialized = memoizedIsInitialized;
8050 if (isInitialized != -1) return isInitialized == 1;
8052 if (!hasParentPath()) {
8053 memoizedIsInitialized = 0;
8056 if (hasNormalizedNode()) {
8057 if (!getNormalizedNode().isInitialized()) {
8058 memoizedIsInitialized = 0;
8062 memoizedIsInitialized = 1;
8066 public void writeTo(com.google.protobuf.CodedOutputStream output)
8067 throws java.io.IOException {
8068 getSerializedSize();
8069 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8070 output.writeBytes(1, getParentPathBytes());
8072 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8073 output.writeMessage(2, normalizedNode_);
8075 getUnknownFields().writeTo(output);
8078 private int memoizedSerializedSize = -1;
8079 public int getSerializedSize() {
8080 int size = memoizedSerializedSize;
8081 if (size != -1) return size;
8084 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8085 size += com.google.protobuf.CodedOutputStream
8086 .computeBytesSize(1, getParentPathBytes());
8088 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8089 size += com.google.protobuf.CodedOutputStream
8090 .computeMessageSize(2, normalizedNode_);
8092 size += getUnknownFields().getSerializedSize();
8093 memoizedSerializedSize = size;
8097 private static final long serialVersionUID = 0L;
8099 protected java.lang.Object writeReplace()
8100 throws java.io.ObjectStreamException {
8101 return super.writeReplace();
8104 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8105 com.google.protobuf.ByteString data)
8106 throws com.google.protobuf.InvalidProtocolBufferException {
8107 return PARSER.parseFrom(data);
8109 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8110 com.google.protobuf.ByteString data,
8111 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8112 throws com.google.protobuf.InvalidProtocolBufferException {
8113 return PARSER.parseFrom(data, extensionRegistry);
8115 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(byte[] data)
8116 throws com.google.protobuf.InvalidProtocolBufferException {
8117 return PARSER.parseFrom(data);
8119 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8121 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8122 throws com.google.protobuf.InvalidProtocolBufferException {
8123 return PARSER.parseFrom(data, extensionRegistry);
8125 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(java.io.InputStream input)
8126 throws java.io.IOException {
8127 return PARSER.parseFrom(input);
8129 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8130 java.io.InputStream input,
8131 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8132 throws java.io.IOException {
8133 return PARSER.parseFrom(input, extensionRegistry);
8135 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(java.io.InputStream input)
8136 throws java.io.IOException {
8137 return PARSER.parseDelimitedFrom(input);
8139 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(
8140 java.io.InputStream input,
8141 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8142 throws java.io.IOException {
8143 return PARSER.parseDelimitedFrom(input, extensionRegistry);
8145 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8146 com.google.protobuf.CodedInputStream input)
8147 throws java.io.IOException {
8148 return PARSER.parseFrom(input);
8150 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8151 com.google.protobuf.CodedInputStream input,
8152 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8153 throws java.io.IOException {
8154 return PARSER.parseFrom(input, extensionRegistry);
8157 public static Builder newBuilder() { return Builder.create(); }
8158 public Builder newBuilderForType() { return newBuilder(); }
8159 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container prototype) {
8160 return newBuilder().mergeFrom(prototype);
8162 public Builder toBuilder() { return newBuilder(this); }
8165 protected Builder newBuilderForType(
8166 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8167 Builder builder = new Builder(parent);
8171 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
8173 public static final class Builder extends
8174 com.google.protobuf.GeneratedMessage.Builder<Builder>
8175 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.ContainerOrBuilder {
8176 public static final com.google.protobuf.Descriptors.Descriptor
8178 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8181 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8182 internalGetFieldAccessorTable() {
8183 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
8184 .ensureFieldAccessorsInitialized(
8185 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
8188 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.newBuilder()
8190 maybeForceBuilderInitialization();
8194 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8196 maybeForceBuilderInitialization();
8198 private void maybeForceBuilderInitialization() {
8199 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
8200 getNormalizedNodeFieldBuilder();
8203 private static Builder create() {
8204 return new Builder();
8207 public Builder clear() {
8210 bitField0_ = (bitField0_ & ~0x00000001);
8211 if (normalizedNodeBuilder_ == null) {
8212 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8214 normalizedNodeBuilder_.clear();
8216 bitField0_ = (bitField0_ & ~0x00000002);
8220 public Builder clone() {
8221 return create().mergeFrom(buildPartial());
8224 public com.google.protobuf.Descriptors.Descriptor
8225 getDescriptorForType() {
8226 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8229 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container getDefaultInstanceForType() {
8230 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance();
8233 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container build() {
8234 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = buildPartial();
8235 if (!result.isInitialized()) {
8236 throw newUninitializedMessageException(result);
8241 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container buildPartial() {
8242 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container(this);
8243 int from_bitField0_ = bitField0_;
8244 int to_bitField0_ = 0;
8245 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
8246 to_bitField0_ |= 0x00000001;
8248 result.parentPath_ = parentPath_;
8249 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
8250 to_bitField0_ |= 0x00000002;
8252 if (normalizedNodeBuilder_ == null) {
8253 result.normalizedNode_ = normalizedNode_;
8255 result.normalizedNode_ = normalizedNodeBuilder_.build();
8257 result.bitField0_ = to_bitField0_;
8262 public Builder mergeFrom(com.google.protobuf.Message other) {
8263 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) {
8264 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container)other);
8266 super.mergeFrom(other);
8271 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container other) {
8272 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance()) return this;
8273 if (other.hasParentPath()) {
8274 bitField0_ |= 0x00000001;
8275 parentPath_ = other.parentPath_;
8278 if (other.hasNormalizedNode()) {
8279 mergeNormalizedNode(other.getNormalizedNode());
8281 this.mergeUnknownFields(other.getUnknownFields());
8285 public final boolean isInitialized() {
8286 if (!hasParentPath()) {
8290 if (hasNormalizedNode()) {
8291 if (!getNormalizedNode().isInitialized()) {
8299 public Builder mergeFrom(
8300 com.google.protobuf.CodedInputStream input,
8301 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8302 throws java.io.IOException {
8303 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parsedMessage = null;
8305 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
8306 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8307 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) e.getUnfinishedMessage();
8310 if (parsedMessage != null) {
8311 mergeFrom(parsedMessage);
8316 private int bitField0_;
8318 // required string parentPath = 1;
8319 private java.lang.Object parentPath_ = "";
8321 * <code>required string parentPath = 1;</code>
8323 public boolean hasParentPath() {
8324 return ((bitField0_ & 0x00000001) == 0x00000001);
8327 * <code>required string parentPath = 1;</code>
8329 public java.lang.String getParentPath() {
8330 java.lang.Object ref = parentPath_;
8331 if (!(ref instanceof java.lang.String)) {
8332 java.lang.String s = ((com.google.protobuf.ByteString) ref)
8337 return (java.lang.String) ref;
8341 * <code>required string parentPath = 1;</code>
8343 public com.google.protobuf.ByteString
8344 getParentPathBytes() {
8345 java.lang.Object ref = parentPath_;
8346 if (ref instanceof String) {
8347 com.google.protobuf.ByteString b =
8348 com.google.protobuf.ByteString.copyFromUtf8(
8349 (java.lang.String) ref);
8353 return (com.google.protobuf.ByteString) ref;
8357 * <code>required string parentPath = 1;</code>
8359 public Builder setParentPath(
8360 java.lang.String value) {
8361 if (value == null) {
8362 throw new NullPointerException();
8364 bitField0_ |= 0x00000001;
8365 parentPath_ = value;
8370 * <code>required string parentPath = 1;</code>
8372 public Builder clearParentPath() {
8373 bitField0_ = (bitField0_ & ~0x00000001);
8374 parentPath_ = getDefaultInstance().getParentPath();
8379 * <code>required string parentPath = 1;</code>
8381 public Builder setParentPathBytes(
8382 com.google.protobuf.ByteString value) {
8383 if (value == null) {
8384 throw new NullPointerException();
8386 bitField0_ |= 0x00000001;
8387 parentPath_ = value;
8392 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8393 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8394 private com.google.protobuf.SingleFieldBuilder<
8395 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> normalizedNodeBuilder_;
8397 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8399 public boolean hasNormalizedNode() {
8400 return ((bitField0_ & 0x00000002) == 0x00000002);
8403 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8405 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8406 if (normalizedNodeBuilder_ == null) {
8407 return normalizedNode_;
8409 return normalizedNodeBuilder_.getMessage();
8413 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8415 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
8416 if (normalizedNodeBuilder_ == null) {
8417 if (value == null) {
8418 throw new NullPointerException();
8420 normalizedNode_ = value;
8423 normalizedNodeBuilder_.setMessage(value);
8425 bitField0_ |= 0x00000002;
8429 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8431 public Builder setNormalizedNode(
8432 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
8433 if (normalizedNodeBuilder_ == null) {
8434 normalizedNode_ = builderForValue.build();
8437 normalizedNodeBuilder_.setMessage(builderForValue.build());
8439 bitField0_ |= 0x00000002;
8443 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8445 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
8446 if (normalizedNodeBuilder_ == null) {
8447 if (((bitField0_ & 0x00000002) == 0x00000002) &&
8448 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
8450 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
8452 normalizedNode_ = value;
8456 normalizedNodeBuilder_.mergeFrom(value);
8458 bitField0_ |= 0x00000002;
8462 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8464 public Builder clearNormalizedNode() {
8465 if (normalizedNodeBuilder_ == null) {
8466 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8469 normalizedNodeBuilder_.clear();
8471 bitField0_ = (bitField0_ & ~0x00000002);
8475 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8477 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
8478 bitField0_ |= 0x00000002;
8480 return getNormalizedNodeFieldBuilder().getBuilder();
8483 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8485 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8486 if (normalizedNodeBuilder_ != null) {
8487 return normalizedNodeBuilder_.getMessageOrBuilder();
8489 return normalizedNode_;
8493 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8495 private com.google.protobuf.SingleFieldBuilder<
8496 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>
8497 getNormalizedNodeFieldBuilder() {
8498 if (normalizedNodeBuilder_ == null) {
8499 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8500 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>(
8502 getParentForChildren(),
8504 normalizedNode_ = null;
8506 return normalizedNodeBuilder_;
8509 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Container)
8513 defaultInstance = new Container(true);
8514 defaultInstance.initFields();
8517 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Container)
8520 public interface NodeMapEntryOrBuilder
8521 extends com.google.protobuf.MessageOrBuilder {
8523 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
8525 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8527 boolean hasInstanceIdentifierPath();
8529 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8531 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
8533 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8535 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
8537 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8539 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8541 boolean hasNormalizedNode();
8543 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8545 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
8547 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8549 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
8552 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
8554 public static final class NodeMapEntry extends
8555 com.google.protobuf.GeneratedMessage
8556 implements NodeMapEntryOrBuilder {
8557 // Use NodeMapEntry.newBuilder() to construct.
8558 private NodeMapEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8560 this.unknownFields = builder.getUnknownFields();
8562 private NodeMapEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
8564 private static final NodeMapEntry defaultInstance;
8565 public static NodeMapEntry getDefaultInstance() {
8566 return defaultInstance;
8569 public NodeMapEntry getDefaultInstanceForType() {
8570 return defaultInstance;
8573 private final com.google.protobuf.UnknownFieldSet unknownFields;
8575 public final com.google.protobuf.UnknownFieldSet
8576 getUnknownFields() {
8577 return this.unknownFields;
8579 private NodeMapEntry(
8580 com.google.protobuf.CodedInputStream input,
8581 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8582 throws com.google.protobuf.InvalidProtocolBufferException {
8584 int mutable_bitField0_ = 0;
8585 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
8586 com.google.protobuf.UnknownFieldSet.newBuilder();
8588 boolean done = false;
8590 int tag = input.readTag();
8596 if (!parseUnknownField(input, unknownFields,
8597 extensionRegistry, tag)) {
8603 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
8604 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8605 subBuilder = instanceIdentifierPath_.toBuilder();
8607 instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
8608 if (subBuilder != null) {
8609 subBuilder.mergeFrom(instanceIdentifierPath_);
8610 instanceIdentifierPath_ = subBuilder.buildPartial();
8612 bitField0_ |= 0x00000001;
8616 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
8617 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8618 subBuilder = normalizedNode_.toBuilder();
8620 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
8621 if (subBuilder != null) {
8622 subBuilder.mergeFrom(normalizedNode_);
8623 normalizedNode_ = subBuilder.buildPartial();
8625 bitField0_ |= 0x00000002;
8630 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8631 throw e.setUnfinishedMessage(this);
8632 } catch (java.io.IOException e) {
8633 throw new com.google.protobuf.InvalidProtocolBufferException(
8634 e.getMessage()).setUnfinishedMessage(this);
8636 this.unknownFields = unknownFields.build();
8637 makeExtensionsImmutable();
8640 public static final com.google.protobuf.Descriptors.Descriptor
8642 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
8645 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8646 internalGetFieldAccessorTable() {
8647 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
8648 .ensureFieldAccessorsInitialized(
8649 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
8652 public static com.google.protobuf.Parser<NodeMapEntry> PARSER =
8653 new com.google.protobuf.AbstractParser<NodeMapEntry>() {
8654 public NodeMapEntry parsePartialFrom(
8655 com.google.protobuf.CodedInputStream input,
8656 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8657 throws com.google.protobuf.InvalidProtocolBufferException {
8658 return new NodeMapEntry(input, extensionRegistry);
8663 public com.google.protobuf.Parser<NodeMapEntry> getParserForType() {
8667 private int bitField0_;
8668 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
8669 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
8670 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
8672 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8674 public boolean hasInstanceIdentifierPath() {
8675 return ((bitField0_ & 0x00000001) == 0x00000001);
8678 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8680 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
8681 return instanceIdentifierPath_;
8684 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8686 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
8687 return instanceIdentifierPath_;
8690 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8691 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
8692 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
8694 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8696 public boolean hasNormalizedNode() {
8697 return ((bitField0_ & 0x00000002) == 0x00000002);
8700 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8702 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8703 return normalizedNode_;
8706 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8708 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8709 return normalizedNode_;
8712 private void initFields() {
8713 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
8714 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8716 private byte memoizedIsInitialized = -1;
8717 public final boolean isInitialized() {
8718 byte isInitialized = memoizedIsInitialized;
8719 if (isInitialized != -1) return isInitialized == 1;
8721 if (!hasInstanceIdentifierPath()) {
8722 memoizedIsInitialized = 0;
8725 if (!getInstanceIdentifierPath().isInitialized()) {
8726 memoizedIsInitialized = 0;
8729 if (hasNormalizedNode()) {
8730 if (!getNormalizedNode().isInitialized()) {
8731 memoizedIsInitialized = 0;
8735 memoizedIsInitialized = 1;
8739 public void writeTo(com.google.protobuf.CodedOutputStream output)
8740 throws java.io.IOException {
8741 getSerializedSize();
8742 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8743 output.writeMessage(1, instanceIdentifierPath_);
8745 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8746 output.writeMessage(2, normalizedNode_);
8748 getUnknownFields().writeTo(output);
8751 private int memoizedSerializedSize = -1;
8752 public int getSerializedSize() {
8753 int size = memoizedSerializedSize;
8754 if (size != -1) return size;
8757 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8758 size += com.google.protobuf.CodedOutputStream
8759 .computeMessageSize(1, instanceIdentifierPath_);
8761 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8762 size += com.google.protobuf.CodedOutputStream
8763 .computeMessageSize(2, normalizedNode_);
8765 size += getUnknownFields().getSerializedSize();
8766 memoizedSerializedSize = size;
8770 private static final long serialVersionUID = 0L;
8772 protected java.lang.Object writeReplace()
8773 throws java.io.ObjectStreamException {
8774 return super.writeReplace();
8777 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
8778 com.google.protobuf.ByteString data)
8779 throws com.google.protobuf.InvalidProtocolBufferException {
8780 return PARSER.parseFrom(data);
8782 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
8783 com.google.protobuf.ByteString data,
8784 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8785 throws com.google.protobuf.InvalidProtocolBufferException {
8786 return PARSER.parseFrom(data, extensionRegistry);
8788 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(byte[] data)
8789 throws com.google.protobuf.InvalidProtocolBufferException {
8790 return PARSER.parseFrom(data);
8792 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
8794 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8795 throws com.google.protobuf.InvalidProtocolBufferException {
8796 return PARSER.parseFrom(data, extensionRegistry);
8798 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(java.io.InputStream input)
8799 throws java.io.IOException {
8800 return PARSER.parseFrom(input);
8802 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
8803 java.io.InputStream input,
8804 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8805 throws java.io.IOException {
8806 return PARSER.parseFrom(input, extensionRegistry);
8808 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(java.io.InputStream input)
8809 throws java.io.IOException {
8810 return PARSER.parseDelimitedFrom(input);
8812 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(
8813 java.io.InputStream input,
8814 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8815 throws java.io.IOException {
8816 return PARSER.parseDelimitedFrom(input, extensionRegistry);
8818 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
8819 com.google.protobuf.CodedInputStream input)
8820 throws java.io.IOException {
8821 return PARSER.parseFrom(input);
8823 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
8824 com.google.protobuf.CodedInputStream input,
8825 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8826 throws java.io.IOException {
8827 return PARSER.parseFrom(input, extensionRegistry);
8830 public static Builder newBuilder() { return Builder.create(); }
8831 public Builder newBuilderForType() { return newBuilder(); }
8832 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry prototype) {
8833 return newBuilder().mergeFrom(prototype);
8835 public Builder toBuilder() { return newBuilder(this); }
8838 protected Builder newBuilderForType(
8839 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8840 Builder builder = new Builder(parent);
8844 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
8846 public static final class Builder extends
8847 com.google.protobuf.GeneratedMessage.Builder<Builder>
8848 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder {
8849 public static final com.google.protobuf.Descriptors.Descriptor
8851 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
8854 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8855 internalGetFieldAccessorTable() {
8856 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
8857 .ensureFieldAccessorsInitialized(
8858 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
8861 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.newBuilder()
8863 maybeForceBuilderInitialization();
8867 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8869 maybeForceBuilderInitialization();
8871 private void maybeForceBuilderInitialization() {
8872 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
8873 getInstanceIdentifierPathFieldBuilder();
8874 getNormalizedNodeFieldBuilder();
8877 private static Builder create() {
8878 return new Builder();
8881 public Builder clear() {
8883 if (instanceIdentifierPathBuilder_ == null) {
8884 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
8886 instanceIdentifierPathBuilder_.clear();
8888 bitField0_ = (bitField0_ & ~0x00000001);
8889 if (normalizedNodeBuilder_ == null) {
8890 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8892 normalizedNodeBuilder_.clear();
8894 bitField0_ = (bitField0_ & ~0x00000002);
8898 public Builder clone() {
8899 return create().mergeFrom(buildPartial());
8902 public com.google.protobuf.Descriptors.Descriptor
8903 getDescriptorForType() {
8904 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
8907 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getDefaultInstanceForType() {
8908 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance();
8911 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry build() {
8912 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = buildPartial();
8913 if (!result.isInitialized()) {
8914 throw newUninitializedMessageException(result);
8919 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry buildPartial() {
8920 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry(this);
8921 int from_bitField0_ = bitField0_;
8922 int to_bitField0_ = 0;
8923 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
8924 to_bitField0_ |= 0x00000001;
8926 if (instanceIdentifierPathBuilder_ == null) {
8927 result.instanceIdentifierPath_ = instanceIdentifierPath_;
8929 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
8931 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
8932 to_bitField0_ |= 0x00000002;
8934 if (normalizedNodeBuilder_ == null) {
8935 result.normalizedNode_ = normalizedNode_;
8937 result.normalizedNode_ = normalizedNodeBuilder_.build();
8939 result.bitField0_ = to_bitField0_;
8944 public Builder mergeFrom(com.google.protobuf.Message other) {
8945 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) {
8946 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry)other);
8948 super.mergeFrom(other);
8953 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry other) {
8954 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance()) return this;
8955 if (other.hasInstanceIdentifierPath()) {
8956 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
8958 if (other.hasNormalizedNode()) {
8959 mergeNormalizedNode(other.getNormalizedNode());
8961 this.mergeUnknownFields(other.getUnknownFields());
8965 public final boolean isInitialized() {
8966 if (!hasInstanceIdentifierPath()) {
8970 if (!getInstanceIdentifierPath().isInitialized()) {
8974 if (hasNormalizedNode()) {
8975 if (!getNormalizedNode().isInitialized()) {
8983 public Builder mergeFrom(
8984 com.google.protobuf.CodedInputStream input,
8985 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8986 throws java.io.IOException {
8987 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parsedMessage = null;
8989 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
8990 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8991 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) e.getUnfinishedMessage();
8994 if (parsedMessage != null) {
8995 mergeFrom(parsedMessage);
9000 private int bitField0_;
9002 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9003 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9004 private com.google.protobuf.SingleFieldBuilder<
9005 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathBuilder_;
9007 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9009 public boolean hasInstanceIdentifierPath() {
9010 return ((bitField0_ & 0x00000001) == 0x00000001);
9013 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9015 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
9016 if (instanceIdentifierPathBuilder_ == null) {
9017 return instanceIdentifierPath_;
9019 return instanceIdentifierPathBuilder_.getMessage();
9023 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9025 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
9026 if (instanceIdentifierPathBuilder_ == null) {
9027 if (value == null) {
9028 throw new NullPointerException();
9030 instanceIdentifierPath_ = value;
9033 instanceIdentifierPathBuilder_.setMessage(value);
9035 bitField0_ |= 0x00000001;
9039 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9041 public Builder setInstanceIdentifierPath(
9042 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
9043 if (instanceIdentifierPathBuilder_ == null) {
9044 instanceIdentifierPath_ = builderForValue.build();
9047 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
9049 bitField0_ |= 0x00000001;
9053 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9055 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
9056 if (instanceIdentifierPathBuilder_ == null) {
9057 if (((bitField0_ & 0x00000001) == 0x00000001) &&
9058 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
9059 instanceIdentifierPath_ =
9060 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
9062 instanceIdentifierPath_ = value;
9066 instanceIdentifierPathBuilder_.mergeFrom(value);
9068 bitField0_ |= 0x00000001;
9072 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9074 public Builder clearInstanceIdentifierPath() {
9075 if (instanceIdentifierPathBuilder_ == null) {
9076 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9079 instanceIdentifierPathBuilder_.clear();
9081 bitField0_ = (bitField0_ & ~0x00000001);
9085 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9087 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
9088 bitField0_ |= 0x00000001;
9090 return getInstanceIdentifierPathFieldBuilder().getBuilder();
9093 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9095 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
9096 if (instanceIdentifierPathBuilder_ != null) {
9097 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
9099 return instanceIdentifierPath_;
9103 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9105 private com.google.protobuf.SingleFieldBuilder<
9106 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>
9107 getInstanceIdentifierPathFieldBuilder() {
9108 if (instanceIdentifierPathBuilder_ == null) {
9109 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9110 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>(
9111 instanceIdentifierPath_,
9112 getParentForChildren(),
9114 instanceIdentifierPath_ = null;
9116 return instanceIdentifierPathBuilder_;
9119 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9120 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9121 private com.google.protobuf.SingleFieldBuilder<
9122 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> normalizedNodeBuilder_;
9124 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9126 public boolean hasNormalizedNode() {
9127 return ((bitField0_ & 0x00000002) == 0x00000002);
9130 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9132 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9133 if (normalizedNodeBuilder_ == null) {
9134 return normalizedNode_;
9136 return normalizedNodeBuilder_.getMessage();
9140 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9142 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9143 if (normalizedNodeBuilder_ == null) {
9144 if (value == null) {
9145 throw new NullPointerException();
9147 normalizedNode_ = value;
9150 normalizedNodeBuilder_.setMessage(value);
9152 bitField0_ |= 0x00000002;
9156 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9158 public Builder setNormalizedNode(
9159 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
9160 if (normalizedNodeBuilder_ == null) {
9161 normalizedNode_ = builderForValue.build();
9164 normalizedNodeBuilder_.setMessage(builderForValue.build());
9166 bitField0_ |= 0x00000002;
9170 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9172 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9173 if (normalizedNodeBuilder_ == null) {
9174 if (((bitField0_ & 0x00000002) == 0x00000002) &&
9175 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
9177 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
9179 normalizedNode_ = value;
9183 normalizedNodeBuilder_.mergeFrom(value);
9185 bitField0_ |= 0x00000002;
9189 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9191 public Builder clearNormalizedNode() {
9192 if (normalizedNodeBuilder_ == null) {
9193 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9196 normalizedNodeBuilder_.clear();
9198 bitField0_ = (bitField0_ & ~0x00000002);
9202 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9204 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
9205 bitField0_ |= 0x00000002;
9207 return getNormalizedNodeFieldBuilder().getBuilder();
9210 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9212 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9213 if (normalizedNodeBuilder_ != null) {
9214 return normalizedNodeBuilder_.getMessageOrBuilder();
9216 return normalizedNode_;
9220 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9222 private com.google.protobuf.SingleFieldBuilder<
9223 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>
9224 getNormalizedNodeFieldBuilder() {
9225 if (normalizedNodeBuilder_ == null) {
9226 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9227 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>(
9229 getParentForChildren(),
9231 normalizedNode_ = null;
9233 return normalizedNodeBuilder_;
9236 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
9240 defaultInstance = new NodeMapEntry(true);
9241 defaultInstance.initFields();
9244 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
9247 public interface NodeMapOrBuilder
9248 extends com.google.protobuf.MessageOrBuilder {
9250 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9252 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9254 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>
9255 getMapEntriesList();
9257 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9259 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index);
9261 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9263 int getMapEntriesCount();
9265 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9267 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9268 getMapEntriesOrBuilderList();
9270 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9272 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9276 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
9278 public static final class NodeMap extends
9279 com.google.protobuf.GeneratedMessage
9280 implements NodeMapOrBuilder {
9281 // Use NodeMap.newBuilder() to construct.
9282 private NodeMap(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
9284 this.unknownFields = builder.getUnknownFields();
9286 private NodeMap(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
9288 private static final NodeMap defaultInstance;
9289 public static NodeMap getDefaultInstance() {
9290 return defaultInstance;
9293 public NodeMap getDefaultInstanceForType() {
9294 return defaultInstance;
9297 private final com.google.protobuf.UnknownFieldSet unknownFields;
9299 public final com.google.protobuf.UnknownFieldSet
9300 getUnknownFields() {
9301 return this.unknownFields;
9304 com.google.protobuf.CodedInputStream input,
9305 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9306 throws com.google.protobuf.InvalidProtocolBufferException {
9308 int mutable_bitField0_ = 0;
9309 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
9310 com.google.protobuf.UnknownFieldSet.newBuilder();
9312 boolean done = false;
9314 int tag = input.readTag();
9320 if (!parseUnknownField(input, unknownFields,
9321 extensionRegistry, tag)) {
9327 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
9328 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>();
9329 mutable_bitField0_ |= 0x00000001;
9331 mapEntries_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.PARSER, extensionRegistry));
9336 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9337 throw e.setUnfinishedMessage(this);
9338 } catch (java.io.IOException e) {
9339 throw new com.google.protobuf.InvalidProtocolBufferException(
9340 e.getMessage()).setUnfinishedMessage(this);
9342 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
9343 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
9345 this.unknownFields = unknownFields.build();
9346 makeExtensionsImmutable();
9349 public static final com.google.protobuf.Descriptors.Descriptor
9351 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9354 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9355 internalGetFieldAccessorTable() {
9356 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
9357 .ensureFieldAccessorsInitialized(
9358 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
9361 public static com.google.protobuf.Parser<NodeMap> PARSER =
9362 new com.google.protobuf.AbstractParser<NodeMap>() {
9363 public NodeMap parsePartialFrom(
9364 com.google.protobuf.CodedInputStream input,
9365 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9366 throws com.google.protobuf.InvalidProtocolBufferException {
9367 return new NodeMap(input, extensionRegistry);
9372 public com.google.protobuf.Parser<NodeMap> getParserForType() {
9376 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9377 public static final int MAPENTRIES_FIELD_NUMBER = 1;
9378 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_;
9380 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9382 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
9386 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9388 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9389 getMapEntriesOrBuilderList() {
9393 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9395 public int getMapEntriesCount() {
9396 return mapEntries_.size();
9399 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9401 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
9402 return mapEntries_.get(index);
9405 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9407 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9409 return mapEntries_.get(index);
9412 private void initFields() {
9413 mapEntries_ = java.util.Collections.emptyList();
9415 private byte memoizedIsInitialized = -1;
9416 public final boolean isInitialized() {
9417 byte isInitialized = memoizedIsInitialized;
9418 if (isInitialized != -1) return isInitialized == 1;
9420 for (int i = 0; i < getMapEntriesCount(); i++) {
9421 if (!getMapEntries(i).isInitialized()) {
9422 memoizedIsInitialized = 0;
9426 memoizedIsInitialized = 1;
9430 public void writeTo(com.google.protobuf.CodedOutputStream output)
9431 throws java.io.IOException {
9432 getSerializedSize();
9433 for (int i = 0; i < mapEntries_.size(); i++) {
9434 output.writeMessage(1, mapEntries_.get(i));
9436 getUnknownFields().writeTo(output);
9439 private int memoizedSerializedSize = -1;
9440 public int getSerializedSize() {
9441 int size = memoizedSerializedSize;
9442 if (size != -1) return size;
9445 for (int i = 0; i < mapEntries_.size(); i++) {
9446 size += com.google.protobuf.CodedOutputStream
9447 .computeMessageSize(1, mapEntries_.get(i));
9449 size += getUnknownFields().getSerializedSize();
9450 memoizedSerializedSize = size;
9454 private static final long serialVersionUID = 0L;
9456 protected java.lang.Object writeReplace()
9457 throws java.io.ObjectStreamException {
9458 return super.writeReplace();
9461 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9462 com.google.protobuf.ByteString data)
9463 throws com.google.protobuf.InvalidProtocolBufferException {
9464 return PARSER.parseFrom(data);
9466 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9467 com.google.protobuf.ByteString data,
9468 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9469 throws com.google.protobuf.InvalidProtocolBufferException {
9470 return PARSER.parseFrom(data, extensionRegistry);
9472 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(byte[] data)
9473 throws com.google.protobuf.InvalidProtocolBufferException {
9474 return PARSER.parseFrom(data);
9476 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9478 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9479 throws com.google.protobuf.InvalidProtocolBufferException {
9480 return PARSER.parseFrom(data, extensionRegistry);
9482 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(java.io.InputStream input)
9483 throws java.io.IOException {
9484 return PARSER.parseFrom(input);
9486 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9487 java.io.InputStream input,
9488 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9489 throws java.io.IOException {
9490 return PARSER.parseFrom(input, extensionRegistry);
9492 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(java.io.InputStream input)
9493 throws java.io.IOException {
9494 return PARSER.parseDelimitedFrom(input);
9496 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(
9497 java.io.InputStream input,
9498 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9499 throws java.io.IOException {
9500 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9502 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9503 com.google.protobuf.CodedInputStream input)
9504 throws java.io.IOException {
9505 return PARSER.parseFrom(input);
9507 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9508 com.google.protobuf.CodedInputStream input,
9509 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9510 throws java.io.IOException {
9511 return PARSER.parseFrom(input, extensionRegistry);
9514 public static Builder newBuilder() { return Builder.create(); }
9515 public Builder newBuilderForType() { return newBuilder(); }
9516 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap prototype) {
9517 return newBuilder().mergeFrom(prototype);
9519 public Builder toBuilder() { return newBuilder(this); }
9522 protected Builder newBuilderForType(
9523 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9524 Builder builder = new Builder(parent);
9528 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
9530 public static final class Builder extends
9531 com.google.protobuf.GeneratedMessage.Builder<Builder>
9532 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapOrBuilder {
9533 public static final com.google.protobuf.Descriptors.Descriptor
9535 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9538 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9539 internalGetFieldAccessorTable() {
9540 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
9541 .ensureFieldAccessorsInitialized(
9542 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
9545 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.newBuilder()
9547 maybeForceBuilderInitialization();
9551 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9553 maybeForceBuilderInitialization();
9555 private void maybeForceBuilderInitialization() {
9556 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9557 getMapEntriesFieldBuilder();
9560 private static Builder create() {
9561 return new Builder();
9564 public Builder clear() {
9566 if (mapEntriesBuilder_ == null) {
9567 mapEntries_ = java.util.Collections.emptyList();
9568 bitField0_ = (bitField0_ & ~0x00000001);
9570 mapEntriesBuilder_.clear();
9575 public Builder clone() {
9576 return create().mergeFrom(buildPartial());
9579 public com.google.protobuf.Descriptors.Descriptor
9580 getDescriptorForType() {
9581 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9584 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap getDefaultInstanceForType() {
9585 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance();
9588 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap build() {
9589 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = buildPartial();
9590 if (!result.isInitialized()) {
9591 throw newUninitializedMessageException(result);
9596 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap buildPartial() {
9597 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap(this);
9598 int from_bitField0_ = bitField0_;
9599 if (mapEntriesBuilder_ == null) {
9600 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9601 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
9602 bitField0_ = (bitField0_ & ~0x00000001);
9604 result.mapEntries_ = mapEntries_;
9606 result.mapEntries_ = mapEntriesBuilder_.build();
9612 public Builder mergeFrom(com.google.protobuf.Message other) {
9613 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) {
9614 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap)other);
9616 super.mergeFrom(other);
9621 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap other) {
9622 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance()) return this;
9623 if (mapEntriesBuilder_ == null) {
9624 if (!other.mapEntries_.isEmpty()) {
9625 if (mapEntries_.isEmpty()) {
9626 mapEntries_ = other.mapEntries_;
9627 bitField0_ = (bitField0_ & ~0x00000001);
9629 ensureMapEntriesIsMutable();
9630 mapEntries_.addAll(other.mapEntries_);
9635 if (!other.mapEntries_.isEmpty()) {
9636 if (mapEntriesBuilder_.isEmpty()) {
9637 mapEntriesBuilder_.dispose();
9638 mapEntriesBuilder_ = null;
9639 mapEntries_ = other.mapEntries_;
9640 bitField0_ = (bitField0_ & ~0x00000001);
9641 mapEntriesBuilder_ =
9642 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
9643 getMapEntriesFieldBuilder() : null;
9645 mapEntriesBuilder_.addAllMessages(other.mapEntries_);
9649 this.mergeUnknownFields(other.getUnknownFields());
9653 public final boolean isInitialized() {
9654 for (int i = 0; i < getMapEntriesCount(); i++) {
9655 if (!getMapEntries(i).isInitialized()) {
9663 public Builder mergeFrom(
9664 com.google.protobuf.CodedInputStream input,
9665 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9666 throws java.io.IOException {
9667 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parsedMessage = null;
9669 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
9670 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9671 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) e.getUnfinishedMessage();
9674 if (parsedMessage != null) {
9675 mergeFrom(parsedMessage);
9680 private int bitField0_;
9682 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9683 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_ =
9684 java.util.Collections.emptyList();
9685 private void ensureMapEntriesIsMutable() {
9686 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
9687 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>(mapEntries_);
9688 bitField0_ |= 0x00000001;
9692 private com.google.protobuf.RepeatedFieldBuilder<
9693 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder> mapEntriesBuilder_;
9696 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9698 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
9699 if (mapEntriesBuilder_ == null) {
9700 return java.util.Collections.unmodifiableList(mapEntries_);
9702 return mapEntriesBuilder_.getMessageList();
9706 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9708 public int getMapEntriesCount() {
9709 if (mapEntriesBuilder_ == null) {
9710 return mapEntries_.size();
9712 return mapEntriesBuilder_.getCount();
9716 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9718 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
9719 if (mapEntriesBuilder_ == null) {
9720 return mapEntries_.get(index);
9722 return mapEntriesBuilder_.getMessage(index);
9726 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9728 public Builder setMapEntries(
9729 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
9730 if (mapEntriesBuilder_ == null) {
9731 if (value == null) {
9732 throw new NullPointerException();
9734 ensureMapEntriesIsMutable();
9735 mapEntries_.set(index, value);
9738 mapEntriesBuilder_.setMessage(index, value);
9743 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9745 public Builder setMapEntries(
9746 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
9747 if (mapEntriesBuilder_ == null) {
9748 ensureMapEntriesIsMutable();
9749 mapEntries_.set(index, builderForValue.build());
9752 mapEntriesBuilder_.setMessage(index, builderForValue.build());
9757 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9759 public Builder addMapEntries(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
9760 if (mapEntriesBuilder_ == null) {
9761 if (value == null) {
9762 throw new NullPointerException();
9764 ensureMapEntriesIsMutable();
9765 mapEntries_.add(value);
9768 mapEntriesBuilder_.addMessage(value);
9773 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9775 public Builder addMapEntries(
9776 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
9777 if (mapEntriesBuilder_ == null) {
9778 if (value == null) {
9779 throw new NullPointerException();
9781 ensureMapEntriesIsMutable();
9782 mapEntries_.add(index, value);
9785 mapEntriesBuilder_.addMessage(index, value);
9790 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9792 public Builder addMapEntries(
9793 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
9794 if (mapEntriesBuilder_ == null) {
9795 ensureMapEntriesIsMutable();
9796 mapEntries_.add(builderForValue.build());
9799 mapEntriesBuilder_.addMessage(builderForValue.build());
9804 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9806 public Builder addMapEntries(
9807 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
9808 if (mapEntriesBuilder_ == null) {
9809 ensureMapEntriesIsMutable();
9810 mapEntries_.add(index, builderForValue.build());
9813 mapEntriesBuilder_.addMessage(index, builderForValue.build());
9818 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9820 public Builder addAllMapEntries(
9821 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> values) {
9822 if (mapEntriesBuilder_ == null) {
9823 ensureMapEntriesIsMutable();
9824 super.addAll(values, mapEntries_);
9827 mapEntriesBuilder_.addAllMessages(values);
9832 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9834 public Builder clearMapEntries() {
9835 if (mapEntriesBuilder_ == null) {
9836 mapEntries_ = java.util.Collections.emptyList();
9837 bitField0_ = (bitField0_ & ~0x00000001);
9840 mapEntriesBuilder_.clear();
9845 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9847 public Builder removeMapEntries(int index) {
9848 if (mapEntriesBuilder_ == null) {
9849 ensureMapEntriesIsMutable();
9850 mapEntries_.remove(index);
9853 mapEntriesBuilder_.remove(index);
9858 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9860 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder getMapEntriesBuilder(
9862 return getMapEntriesFieldBuilder().getBuilder(index);
9865 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9867 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9869 if (mapEntriesBuilder_ == null) {
9870 return mapEntries_.get(index); } else {
9871 return mapEntriesBuilder_.getMessageOrBuilder(index);
9875 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9877 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9878 getMapEntriesOrBuilderList() {
9879 if (mapEntriesBuilder_ != null) {
9880 return mapEntriesBuilder_.getMessageOrBuilderList();
9882 return java.util.Collections.unmodifiableList(mapEntries_);
9886 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9888 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder() {
9889 return getMapEntriesFieldBuilder().addBuilder(
9890 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
9893 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9895 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder(
9897 return getMapEntriesFieldBuilder().addBuilder(
9898 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
9901 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9903 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder>
9904 getMapEntriesBuilderList() {
9905 return getMapEntriesFieldBuilder().getBuilderList();
9907 private com.google.protobuf.RepeatedFieldBuilder<
9908 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9909 getMapEntriesFieldBuilder() {
9910 if (mapEntriesBuilder_ == null) {
9911 mapEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
9912 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>(
9914 ((bitField0_ & 0x00000001) == 0x00000001),
9915 getParentForChildren(),
9919 return mapEntriesBuilder_;
9922 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMap)
9926 defaultInstance = new NodeMap(true);
9927 defaultInstance.initFields();
9930 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMap)
9933 private static com.google.protobuf.Descriptors.Descriptor
9934 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
9936 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9937 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable;
9938 private static com.google.protobuf.Descriptors.Descriptor
9939 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
9941 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9942 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable;
9943 private static com.google.protobuf.Descriptors.Descriptor
9944 internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
9946 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9947 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable;
9948 private static com.google.protobuf.Descriptors.Descriptor
9949 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
9951 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9952 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable;
9953 private static com.google.protobuf.Descriptors.Descriptor
9954 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
9956 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9957 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable;
9958 private static com.google.protobuf.Descriptors.Descriptor
9959 internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
9961 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9962 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable;
9963 private static com.google.protobuf.Descriptors.Descriptor
9964 internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
9966 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9967 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable;
9968 private static com.google.protobuf.Descriptors.Descriptor
9969 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9971 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9972 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable;
9973 private static com.google.protobuf.Descriptors.Descriptor
9974 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9976 com.google.protobuf.GeneratedMessage.FieldAccessorTable
9977 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable;
9979 public static com.google.protobuf.Descriptors.FileDescriptor
9983 private static com.google.protobuf.Descriptors.FileDescriptor
9986 java.lang.String[] descriptorData = {
9987 "\n\014Common.proto\022!org.opendaylight.control" +
9988 "ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" +
9989 "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"l\n\025PathArgumen" +
9990 "tAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayli" +
9991 "ght.controller.mdsal.QName\022\r\n\005value\030\002 \001(" +
9992 "\t\022\014\n\004type\030\003 \001(\005\"N\n\005QName\022\r\n\005value\030\001 \001(\t\022" +
9993 "\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003 \001(\005\022\021\n\t" +
9994 "localName\030\004 \001(\005\"\207\002\n\014PathArgument\022\r\n\005valu" +
9995 "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeType\030\003 \001(\0132" +
9996 "(.org.opendaylight.controller.mdsal.QNam",
9997 "e\022K\n\tattribute\030\004 \003(\01328.org.opendaylight." +
9998 "controller.mdsal.PathArgumentAttribute\022@" +
9999 "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" +
10000 "ntroller.mdsal.Attribute\022\017\n\007intType\030\006 \001(" +
10001 "\005\"X\n\022InstanceIdentifier\022B\n\targuments\030\001 \003" +
10002 "(\0132/.org.opendaylight.controller.mdsal.P" +
10003 "athArgument\"\245\003\n\004Node\022\014\n\004path\030\001 \001(\t\022\014\n\004ty" +
10004 "pe\030\002 \001(\t\022E\n\014pathArgument\030\003 \001(\0132/.org.ope" +
10005 "ndaylight.controller.mdsal.PathArgument\022" +
10006 "\017\n\007intType\030\004 \001(\005\022@\n\nattributes\030\005 \003(\0132,.o",
10007 "rg.opendaylight.controller.mdsal.Attribu" +
10008 "te\0226\n\005child\030\006 \003(\0132\'.org.opendaylight.con" +
10009 "troller.mdsal.Node\022\r\n\005value\030\007 \001(\t\022\021\n\tval" +
10010 "ueType\030\010 \001(\t\022\024\n\014intValueType\030\t \001(\005\022V\n\027in" +
10011 "stanceIdentifierValue\030\n \001(\01325.org.openda" +
10012 "ylight.controller.mdsal.InstanceIdentifi" +
10013 "er\022\021\n\tbitsValue\030\013 \003(\t\022\014\n\004code\030\014 \003(\t\"`\n\tC" +
10014 "ontainer\022\022\n\nparentPath\030\001 \002(\t\022?\n\016normaliz" +
10015 "edNode\030\002 \001(\0132\'.org.opendaylight.controll" +
10016 "er.mdsal.Node\"\246\001\n\014NodeMapEntry\022U\n\026instan",
10017 "ceIdentifierPath\030\001 \002(\01325.org.opendayligh" +
10018 "t.controller.mdsal.InstanceIdentifier\022?\n" +
10019 "\016normalizedNode\030\002 \001(\0132\'.org.opendaylight" +
10020 ".controller.mdsal.Node\"N\n\007NodeMap\022C\n\nmap" +
10021 "Entries\030\001 \003(\0132/.org.opendaylight.control" +
10022 "ler.mdsal.NodeMapEntryBO\n5org.opendaylig" +
10023 "ht.controller.protobuff.messages.commonB" +
10024 "\026NormalizedNodeMessages"
10026 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
10027 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
10028 public com.google.protobuf.ExtensionRegistry assignDescriptors(
10029 com.google.protobuf.Descriptors.FileDescriptor root) {
10031 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor =
10032 getDescriptor().getMessageTypes().get(0);
10033 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable = new
10034 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10035 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor,
10036 new java.lang.String[] { "Name", "Value", "Type", });
10037 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor =
10038 getDescriptor().getMessageTypes().get(1);
10039 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new
10040 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10041 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor,
10042 new java.lang.String[] { "Name", "Value", "Type", });
10043 internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
10044 getDescriptor().getMessageTypes().get(2);
10045 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new
10046 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10047 internal_static_org_opendaylight_controller_mdsal_QName_descriptor,
10048 new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", });
10049 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor =
10050 getDescriptor().getMessageTypes().get(3);
10051 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new
10052 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10053 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor,
10054 new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", });
10055 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor =
10056 getDescriptor().getMessageTypes().get(4);
10057 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new
10058 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10059 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor,
10060 new java.lang.String[] { "Arguments", });
10061 internal_static_org_opendaylight_controller_mdsal_Node_descriptor =
10062 getDescriptor().getMessageTypes().get(5);
10063 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new
10064 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10065 internal_static_org_opendaylight_controller_mdsal_Node_descriptor,
10066 new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", });
10067 internal_static_org_opendaylight_controller_mdsal_Container_descriptor =
10068 getDescriptor().getMessageTypes().get(6);
10069 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new
10070 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10071 internal_static_org_opendaylight_controller_mdsal_Container_descriptor,
10072 new java.lang.String[] { "ParentPath", "NormalizedNode", });
10073 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor =
10074 getDescriptor().getMessageTypes().get(7);
10075 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new
10076 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10077 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor,
10078 new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", });
10079 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor =
10080 getDescriptor().getMessageTypes().get(8);
10081 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new
10082 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10083 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,
10084 new java.lang.String[] { "MapEntries", });
10088 com.google.protobuf.Descriptors.FileDescriptor
10089 .internalBuildGeneratedFileFrom(descriptorData,
10090 new com.google.protobuf.Descriptors.FileDescriptor[] {
10094 // @@protoc_insertion_point(outer_class_scope)