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(
4180 // repeated string code = 2;
4182 * <code>repeated string code = 2;</code>
4185 * A list of string codes which can be used for any repeated strings in the path args. This is
4186 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4187 * that contains the codes.
4190 java.util.List<java.lang.String>
4193 * <code>repeated string code = 2;</code>
4196 * A list of string codes which can be used for any repeated strings in the path args. This is
4197 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4198 * that contains the codes.
4203 * <code>repeated string code = 2;</code>
4206 * A list of string codes which can be used for any repeated strings in the path args. This is
4207 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4208 * that contains the codes.
4211 java.lang.String getCode(int index);
4213 * <code>repeated string code = 2;</code>
4216 * A list of string codes which can be used for any repeated strings in the path args. This is
4217 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4218 * that contains the codes.
4221 com.google.protobuf.ByteString
4222 getCodeBytes(int index);
4225 * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
4227 public static final class InstanceIdentifier extends
4228 com.google.protobuf.GeneratedMessage
4229 implements InstanceIdentifierOrBuilder {
4230 // Use InstanceIdentifier.newBuilder() to construct.
4231 private InstanceIdentifier(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
4233 this.unknownFields = builder.getUnknownFields();
4235 private InstanceIdentifier(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
4237 private static final InstanceIdentifier defaultInstance;
4238 public static InstanceIdentifier getDefaultInstance() {
4239 return defaultInstance;
4242 public InstanceIdentifier getDefaultInstanceForType() {
4243 return defaultInstance;
4246 private final com.google.protobuf.UnknownFieldSet unknownFields;
4248 public final com.google.protobuf.UnknownFieldSet
4249 getUnknownFields() {
4250 return this.unknownFields;
4252 private InstanceIdentifier(
4253 com.google.protobuf.CodedInputStream input,
4254 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4255 throws com.google.protobuf.InvalidProtocolBufferException {
4257 int mutable_bitField0_ = 0;
4258 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
4259 com.google.protobuf.UnknownFieldSet.newBuilder();
4261 boolean done = false;
4263 int tag = input.readTag();
4269 if (!parseUnknownField(input, unknownFields,
4270 extensionRegistry, tag)) {
4276 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
4277 arguments_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>();
4278 mutable_bitField0_ |= 0x00000001;
4280 arguments_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry));
4284 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
4285 code_ = new com.google.protobuf.LazyStringArrayList();
4286 mutable_bitField0_ |= 0x00000002;
4288 code_.add(input.readBytes());
4293 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4294 throw e.setUnfinishedMessage(this);
4295 } catch (java.io.IOException e) {
4296 throw new com.google.protobuf.InvalidProtocolBufferException(
4297 e.getMessage()).setUnfinishedMessage(this);
4299 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
4300 arguments_ = java.util.Collections.unmodifiableList(arguments_);
4302 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
4303 code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
4305 this.unknownFields = unknownFields.build();
4306 makeExtensionsImmutable();
4309 public static final com.google.protobuf.Descriptors.Descriptor
4311 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4314 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4315 internalGetFieldAccessorTable() {
4316 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
4317 .ensureFieldAccessorsInitialized(
4318 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
4321 public static com.google.protobuf.Parser<InstanceIdentifier> PARSER =
4322 new com.google.protobuf.AbstractParser<InstanceIdentifier>() {
4323 public InstanceIdentifier parsePartialFrom(
4324 com.google.protobuf.CodedInputStream input,
4325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4326 throws com.google.protobuf.InvalidProtocolBufferException {
4327 return new InstanceIdentifier(input, extensionRegistry);
4332 public com.google.protobuf.Parser<InstanceIdentifier> getParserForType() {
4336 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4337 public static final int ARGUMENTS_FIELD_NUMBER = 1;
4338 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_;
4340 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4342 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
4346 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4348 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4349 getArgumentsOrBuilderList() {
4353 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4355 public int getArgumentsCount() {
4356 return arguments_.size();
4359 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4361 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
4362 return arguments_.get(index);
4365 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4367 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4369 return arguments_.get(index);
4372 // repeated string code = 2;
4373 public static final int CODE_FIELD_NUMBER = 2;
4374 private com.google.protobuf.LazyStringList code_;
4376 * <code>repeated string code = 2;</code>
4379 * A list of string codes which can be used for any repeated strings in the path args. This is
4380 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4381 * that contains the codes.
4384 public java.util.List<java.lang.String>
4389 * <code>repeated string code = 2;</code>
4392 * A list of string codes which can be used for any repeated strings in the path args. This is
4393 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4394 * that contains the codes.
4397 public int getCodeCount() {
4398 return code_.size();
4401 * <code>repeated string code = 2;</code>
4404 * A list of string codes which can be used for any repeated strings in the path args. This is
4405 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4406 * that contains the codes.
4409 public java.lang.String getCode(int index) {
4410 return code_.get(index);
4413 * <code>repeated string code = 2;</code>
4416 * A list of string codes which can be used for any repeated strings in the path args. This is
4417 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4418 * that contains the codes.
4421 public com.google.protobuf.ByteString
4422 getCodeBytes(int index) {
4423 return code_.getByteString(index);
4426 private void initFields() {
4427 arguments_ = java.util.Collections.emptyList();
4428 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
4430 private byte memoizedIsInitialized = -1;
4431 public final boolean isInitialized() {
4432 byte isInitialized = memoizedIsInitialized;
4433 if (isInitialized != -1) return isInitialized == 1;
4435 for (int i = 0; i < getArgumentsCount(); i++) {
4436 if (!getArguments(i).isInitialized()) {
4437 memoizedIsInitialized = 0;
4441 memoizedIsInitialized = 1;
4445 public void writeTo(com.google.protobuf.CodedOutputStream output)
4446 throws java.io.IOException {
4447 getSerializedSize();
4448 for (int i = 0; i < arguments_.size(); i++) {
4449 output.writeMessage(1, arguments_.get(i));
4451 for (int i = 0; i < code_.size(); i++) {
4452 output.writeBytes(2, code_.getByteString(i));
4454 getUnknownFields().writeTo(output);
4457 private int memoizedSerializedSize = -1;
4458 public int getSerializedSize() {
4459 int size = memoizedSerializedSize;
4460 if (size != -1) return size;
4463 for (int i = 0; i < arguments_.size(); i++) {
4464 size += com.google.protobuf.CodedOutputStream
4465 .computeMessageSize(1, arguments_.get(i));
4469 for (int i = 0; i < code_.size(); i++) {
4470 dataSize += com.google.protobuf.CodedOutputStream
4471 .computeBytesSizeNoTag(code_.getByteString(i));
4474 size += 1 * getCodeList().size();
4476 size += getUnknownFields().getSerializedSize();
4477 memoizedSerializedSize = size;
4481 private static final long serialVersionUID = 0L;
4483 protected java.lang.Object writeReplace()
4484 throws java.io.ObjectStreamException {
4485 return super.writeReplace();
4488 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4489 com.google.protobuf.ByteString data)
4490 throws com.google.protobuf.InvalidProtocolBufferException {
4491 return PARSER.parseFrom(data);
4493 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4494 com.google.protobuf.ByteString data,
4495 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4496 throws com.google.protobuf.InvalidProtocolBufferException {
4497 return PARSER.parseFrom(data, extensionRegistry);
4499 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(byte[] data)
4500 throws com.google.protobuf.InvalidProtocolBufferException {
4501 return PARSER.parseFrom(data);
4503 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4505 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4506 throws com.google.protobuf.InvalidProtocolBufferException {
4507 return PARSER.parseFrom(data, extensionRegistry);
4509 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(java.io.InputStream input)
4510 throws java.io.IOException {
4511 return PARSER.parseFrom(input);
4513 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4514 java.io.InputStream input,
4515 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4516 throws java.io.IOException {
4517 return PARSER.parseFrom(input, extensionRegistry);
4519 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(java.io.InputStream input)
4520 throws java.io.IOException {
4521 return PARSER.parseDelimitedFrom(input);
4523 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(
4524 java.io.InputStream input,
4525 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4526 throws java.io.IOException {
4527 return PARSER.parseDelimitedFrom(input, extensionRegistry);
4529 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4530 com.google.protobuf.CodedInputStream input)
4531 throws java.io.IOException {
4532 return PARSER.parseFrom(input);
4534 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
4535 com.google.protobuf.CodedInputStream input,
4536 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4537 throws java.io.IOException {
4538 return PARSER.parseFrom(input, extensionRegistry);
4541 public static Builder newBuilder() { return Builder.create(); }
4542 public Builder newBuilderForType() { return newBuilder(); }
4543 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier prototype) {
4544 return newBuilder().mergeFrom(prototype);
4546 public Builder toBuilder() { return newBuilder(this); }
4549 protected Builder newBuilderForType(
4550 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4551 Builder builder = new Builder(parent);
4555 * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
4557 public static final class Builder extends
4558 com.google.protobuf.GeneratedMessage.Builder<Builder>
4559 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder {
4560 public static final com.google.protobuf.Descriptors.Descriptor
4562 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4565 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4566 internalGetFieldAccessorTable() {
4567 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
4568 .ensureFieldAccessorsInitialized(
4569 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
4572 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder()
4574 maybeForceBuilderInitialization();
4578 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4580 maybeForceBuilderInitialization();
4582 private void maybeForceBuilderInitialization() {
4583 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
4584 getArgumentsFieldBuilder();
4587 private static Builder create() {
4588 return new Builder();
4591 public Builder clear() {
4593 if (argumentsBuilder_ == null) {
4594 arguments_ = java.util.Collections.emptyList();
4595 bitField0_ = (bitField0_ & ~0x00000001);
4597 argumentsBuilder_.clear();
4599 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
4600 bitField0_ = (bitField0_ & ~0x00000002);
4604 public Builder clone() {
4605 return create().mergeFrom(buildPartial());
4608 public com.google.protobuf.Descriptors.Descriptor
4609 getDescriptorForType() {
4610 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4613 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getDefaultInstanceForType() {
4614 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
4617 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier build() {
4618 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = buildPartial();
4619 if (!result.isInitialized()) {
4620 throw newUninitializedMessageException(result);
4625 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier buildPartial() {
4626 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier(this);
4627 int from_bitField0_ = bitField0_;
4628 if (argumentsBuilder_ == null) {
4629 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4630 arguments_ = java.util.Collections.unmodifiableList(arguments_);
4631 bitField0_ = (bitField0_ & ~0x00000001);
4633 result.arguments_ = arguments_;
4635 result.arguments_ = argumentsBuilder_.build();
4637 if (((bitField0_ & 0x00000002) == 0x00000002)) {
4638 code_ = new com.google.protobuf.UnmodifiableLazyStringList(
4640 bitField0_ = (bitField0_ & ~0x00000002);
4642 result.code_ = code_;
4647 public Builder mergeFrom(com.google.protobuf.Message other) {
4648 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) {
4649 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier)other);
4651 super.mergeFrom(other);
4656 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier other) {
4657 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) return this;
4658 if (argumentsBuilder_ == null) {
4659 if (!other.arguments_.isEmpty()) {
4660 if (arguments_.isEmpty()) {
4661 arguments_ = other.arguments_;
4662 bitField0_ = (bitField0_ & ~0x00000001);
4664 ensureArgumentsIsMutable();
4665 arguments_.addAll(other.arguments_);
4670 if (!other.arguments_.isEmpty()) {
4671 if (argumentsBuilder_.isEmpty()) {
4672 argumentsBuilder_.dispose();
4673 argumentsBuilder_ = null;
4674 arguments_ = other.arguments_;
4675 bitField0_ = (bitField0_ & ~0x00000001);
4677 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
4678 getArgumentsFieldBuilder() : null;
4680 argumentsBuilder_.addAllMessages(other.arguments_);
4684 if (!other.code_.isEmpty()) {
4685 if (code_.isEmpty()) {
4686 code_ = other.code_;
4687 bitField0_ = (bitField0_ & ~0x00000002);
4689 ensureCodeIsMutable();
4690 code_.addAll(other.code_);
4694 this.mergeUnknownFields(other.getUnknownFields());
4698 public final boolean isInitialized() {
4699 for (int i = 0; i < getArgumentsCount(); i++) {
4700 if (!getArguments(i).isInitialized()) {
4708 public Builder mergeFrom(
4709 com.google.protobuf.CodedInputStream input,
4710 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4711 throws java.io.IOException {
4712 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parsedMessage = null;
4714 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4715 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4716 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) e.getUnfinishedMessage();
4719 if (parsedMessage != null) {
4720 mergeFrom(parsedMessage);
4725 private int bitField0_;
4727 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4728 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_ =
4729 java.util.Collections.emptyList();
4730 private void ensureArgumentsIsMutable() {
4731 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
4732 arguments_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>(arguments_);
4733 bitField0_ |= 0x00000001;
4737 private com.google.protobuf.RepeatedFieldBuilder<
4738 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_;
4741 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4743 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
4744 if (argumentsBuilder_ == null) {
4745 return java.util.Collections.unmodifiableList(arguments_);
4747 return argumentsBuilder_.getMessageList();
4751 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4753 public int getArgumentsCount() {
4754 if (argumentsBuilder_ == null) {
4755 return arguments_.size();
4757 return argumentsBuilder_.getCount();
4761 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4763 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
4764 if (argumentsBuilder_ == null) {
4765 return arguments_.get(index);
4767 return argumentsBuilder_.getMessage(index);
4771 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4773 public Builder setArguments(
4774 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
4775 if (argumentsBuilder_ == null) {
4776 if (value == null) {
4777 throw new NullPointerException();
4779 ensureArgumentsIsMutable();
4780 arguments_.set(index, value);
4783 argumentsBuilder_.setMessage(index, value);
4788 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4790 public Builder setArguments(
4791 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
4792 if (argumentsBuilder_ == null) {
4793 ensureArgumentsIsMutable();
4794 arguments_.set(index, builderForValue.build());
4797 argumentsBuilder_.setMessage(index, builderForValue.build());
4802 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4804 public Builder addArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
4805 if (argumentsBuilder_ == null) {
4806 if (value == null) {
4807 throw new NullPointerException();
4809 ensureArgumentsIsMutable();
4810 arguments_.add(value);
4813 argumentsBuilder_.addMessage(value);
4818 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4820 public Builder addArguments(
4821 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
4822 if (argumentsBuilder_ == null) {
4823 if (value == null) {
4824 throw new NullPointerException();
4826 ensureArgumentsIsMutable();
4827 arguments_.add(index, value);
4830 argumentsBuilder_.addMessage(index, value);
4835 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4837 public Builder addArguments(
4838 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
4839 if (argumentsBuilder_ == null) {
4840 ensureArgumentsIsMutable();
4841 arguments_.add(builderForValue.build());
4844 argumentsBuilder_.addMessage(builderForValue.build());
4849 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4851 public Builder addArguments(
4852 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
4853 if (argumentsBuilder_ == null) {
4854 ensureArgumentsIsMutable();
4855 arguments_.add(index, builderForValue.build());
4858 argumentsBuilder_.addMessage(index, builderForValue.build());
4863 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4865 public Builder addAllArguments(
4866 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> values) {
4867 if (argumentsBuilder_ == null) {
4868 ensureArgumentsIsMutable();
4869 super.addAll(values, arguments_);
4872 argumentsBuilder_.addAllMessages(values);
4877 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4879 public Builder clearArguments() {
4880 if (argumentsBuilder_ == null) {
4881 arguments_ = java.util.Collections.emptyList();
4882 bitField0_ = (bitField0_ & ~0x00000001);
4885 argumentsBuilder_.clear();
4890 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4892 public Builder removeArguments(int index) {
4893 if (argumentsBuilder_ == null) {
4894 ensureArgumentsIsMutable();
4895 arguments_.remove(index);
4898 argumentsBuilder_.remove(index);
4903 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4905 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getArgumentsBuilder(
4907 return getArgumentsFieldBuilder().getBuilder(index);
4910 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4912 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4914 if (argumentsBuilder_ == null) {
4915 return arguments_.get(index); } else {
4916 return argumentsBuilder_.getMessageOrBuilder(index);
4920 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4922 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4923 getArgumentsOrBuilderList() {
4924 if (argumentsBuilder_ != null) {
4925 return argumentsBuilder_.getMessageOrBuilderList();
4927 return java.util.Collections.unmodifiableList(arguments_);
4931 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4933 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder() {
4934 return getArgumentsFieldBuilder().addBuilder(
4935 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
4938 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4940 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder(
4942 return getArgumentsFieldBuilder().addBuilder(
4943 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
4946 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4948 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder>
4949 getArgumentsBuilderList() {
4950 return getArgumentsFieldBuilder().getBuilderList();
4952 private com.google.protobuf.RepeatedFieldBuilder<
4953 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>
4954 getArgumentsFieldBuilder() {
4955 if (argumentsBuilder_ == null) {
4956 argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4957 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>(
4959 ((bitField0_ & 0x00000001) == 0x00000001),
4960 getParentForChildren(),
4964 return argumentsBuilder_;
4967 // repeated string code = 2;
4968 private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
4969 private void ensureCodeIsMutable() {
4970 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
4971 code_ = new com.google.protobuf.LazyStringArrayList(code_);
4972 bitField0_ |= 0x00000002;
4976 * <code>repeated string code = 2;</code>
4979 * A list of string codes which can be used for any repeated strings in the path args. This is
4980 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4981 * that contains the codes.
4984 public java.util.List<java.lang.String>
4986 return java.util.Collections.unmodifiableList(code_);
4989 * <code>repeated string code = 2;</code>
4992 * A list of string codes which can be used for any repeated strings in the path args. This is
4993 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4994 * that contains the codes.
4997 public int getCodeCount() {
4998 return code_.size();
5001 * <code>repeated string code = 2;</code>
5004 * A list of string codes which can be used for any repeated strings in the path args. This is
5005 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5006 * that contains the codes.
5009 public java.lang.String getCode(int index) {
5010 return code_.get(index);
5013 * <code>repeated string code = 2;</code>
5016 * A list of string codes which can be used for any repeated strings in the path args. This is
5017 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5018 * that contains the codes.
5021 public com.google.protobuf.ByteString
5022 getCodeBytes(int index) {
5023 return code_.getByteString(index);
5026 * <code>repeated string code = 2;</code>
5029 * A list of string codes which can be used for any repeated strings in the path args. This is
5030 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5031 * that contains the codes.
5034 public Builder setCode(
5035 int index, java.lang.String value) {
5036 if (value == null) {
5037 throw new NullPointerException();
5039 ensureCodeIsMutable();
5040 code_.set(index, value);
5045 * <code>repeated string code = 2;</code>
5048 * A list of string codes which can be used for any repeated strings in the path args. This is
5049 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5050 * that contains the codes.
5053 public Builder addCode(
5054 java.lang.String value) {
5055 if (value == null) {
5056 throw new NullPointerException();
5058 ensureCodeIsMutable();
5064 * <code>repeated string code = 2;</code>
5067 * A list of string codes which can be used for any repeated strings in the path args. This is
5068 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5069 * that contains the codes.
5072 public Builder addAllCode(
5073 java.lang.Iterable<java.lang.String> values) {
5074 ensureCodeIsMutable();
5075 super.addAll(values, code_);
5080 * <code>repeated string code = 2;</code>
5083 * A list of string codes which can be used for any repeated strings in the path args. This is
5084 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5085 * that contains the codes.
5088 public Builder clearCode() {
5089 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5090 bitField0_ = (bitField0_ & ~0x00000002);
5095 * <code>repeated string code = 2;</code>
5098 * A list of string codes which can be used for any repeated strings in the path args. This is
5099 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5100 * that contains the codes.
5103 public Builder addCodeBytes(
5104 com.google.protobuf.ByteString value) {
5105 if (value == null) {
5106 throw new NullPointerException();
5108 ensureCodeIsMutable();
5114 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
5118 defaultInstance = new InstanceIdentifier(true);
5119 defaultInstance.initFields();
5122 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
5125 public interface NodeOrBuilder
5126 extends com.google.protobuf.MessageOrBuilder {
5128 // optional string path = 1;
5130 * <code>optional string path = 1;</code>
5133 * @deprecated(use pathArgument)
5138 * <code>optional string path = 1;</code>
5141 * @deprecated(use pathArgument)
5144 java.lang.String getPath();
5146 * <code>optional string path = 1;</code>
5149 * @deprecated(use pathArgument)
5152 com.google.protobuf.ByteString
5155 // optional string type = 2;
5157 * <code>optional string type = 2;</code>
5160 * @deprecated(use intType)
5165 * <code>optional string type = 2;</code>
5168 * @deprecated(use intType)
5171 java.lang.String getType();
5173 * <code>optional string type = 2;</code>
5176 * @deprecated(use intType)
5179 com.google.protobuf.ByteString
5182 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
5184 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5186 boolean hasPathArgument();
5188 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5190 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument();
5192 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5194 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder();
5196 // optional int32 intType = 4;
5198 * <code>optional int32 intType = 4;</code>
5200 boolean hasIntType();
5202 * <code>optional int32 intType = 4;</code>
5206 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
5208 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5210 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
5211 getAttributesList();
5213 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5215 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
5217 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5219 int getAttributesCount();
5221 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5223 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
5224 getAttributesOrBuilderList();
5226 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5228 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
5231 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
5233 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5235 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>
5238 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5240 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index);
5242 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5244 int getChildCount();
5246 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5248 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
5249 getChildOrBuilderList();
5251 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5253 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
5256 // optional string value = 7;
5258 * <code>optional string value = 7;</code>
5262 * <code>optional string value = 7;</code>
5264 java.lang.String getValue();
5266 * <code>optional string value = 7;</code>
5268 com.google.protobuf.ByteString
5271 // optional string valueType = 8;
5273 * <code>optional string valueType = 8;</code>
5276 * @deprecated(use intValueType)
5279 boolean hasValueType();
5281 * <code>optional string valueType = 8;</code>
5284 * @deprecated(use intValueType)
5287 java.lang.String getValueType();
5289 * <code>optional string valueType = 8;</code>
5292 * @deprecated(use intValueType)
5295 com.google.protobuf.ByteString
5296 getValueTypeBytes();
5298 // optional int32 intValueType = 9;
5300 * <code>optional int32 intValueType = 9;</code>
5303 * instead of valueType
5306 boolean hasIntValueType();
5308 * <code>optional int32 intValueType = 9;</code>
5311 * instead of valueType
5314 int getIntValueType();
5316 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
5318 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5324 boolean hasInstanceIdentifierValue();
5326 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5332 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
5334 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5340 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
5342 // repeated string bitsValue = 11;
5344 * <code>repeated string bitsValue = 11;</code>
5347 * intValueType = Bits
5350 java.util.List<java.lang.String>
5353 * <code>repeated string bitsValue = 11;</code>
5356 * intValueType = Bits
5359 int getBitsValueCount();
5361 * <code>repeated string bitsValue = 11;</code>
5364 * intValueType = Bits
5367 java.lang.String getBitsValue(int index);
5369 * <code>repeated string bitsValue = 11;</code>
5372 * intValueType = Bits
5375 com.google.protobuf.ByteString
5376 getBitsValueBytes(int index);
5378 // repeated string code = 12;
5380 * <code>repeated string code = 12;</code>
5383 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5386 java.util.List<java.lang.String>
5389 * <code>repeated string code = 12;</code>
5392 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5397 * <code>repeated string code = 12;</code>
5400 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5403 java.lang.String getCode(int index);
5405 * <code>repeated string code = 12;</code>
5408 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5411 com.google.protobuf.ByteString
5412 getCodeBytes(int index);
5415 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
5417 public static final class Node extends
5418 com.google.protobuf.GeneratedMessage
5419 implements NodeOrBuilder {
5420 // Use Node.newBuilder() to construct.
5421 private Node(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
5423 this.unknownFields = builder.getUnknownFields();
5425 private Node(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
5427 private static final Node defaultInstance;
5428 public static Node getDefaultInstance() {
5429 return defaultInstance;
5432 public Node getDefaultInstanceForType() {
5433 return defaultInstance;
5436 private final com.google.protobuf.UnknownFieldSet unknownFields;
5438 public final com.google.protobuf.UnknownFieldSet
5439 getUnknownFields() {
5440 return this.unknownFields;
5443 com.google.protobuf.CodedInputStream input,
5444 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5445 throws com.google.protobuf.InvalidProtocolBufferException {
5447 int mutable_bitField0_ = 0;
5448 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
5449 com.google.protobuf.UnknownFieldSet.newBuilder();
5451 boolean done = false;
5453 int tag = input.readTag();
5459 if (!parseUnknownField(input, unknownFields,
5460 extensionRegistry, tag)) {
5466 bitField0_ |= 0x00000001;
5467 path_ = input.readBytes();
5471 bitField0_ |= 0x00000002;
5472 type_ = input.readBytes();
5476 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null;
5477 if (((bitField0_ & 0x00000004) == 0x00000004)) {
5478 subBuilder = pathArgument_.toBuilder();
5480 pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry);
5481 if (subBuilder != null) {
5482 subBuilder.mergeFrom(pathArgument_);
5483 pathArgument_ = subBuilder.buildPartial();
5485 bitField0_ |= 0x00000004;
5489 bitField0_ |= 0x00000008;
5490 intType_ = input.readInt32();
5494 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
5495 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
5496 mutable_bitField0_ |= 0x00000010;
5498 attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
5502 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
5503 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>();
5504 mutable_bitField0_ |= 0x00000020;
5506 child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry));
5510 bitField0_ |= 0x00000010;
5511 value_ = input.readBytes();
5515 bitField0_ |= 0x00000020;
5516 valueType_ = input.readBytes();
5520 bitField0_ |= 0x00000040;
5521 intValueType_ = input.readInt32();
5525 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
5526 if (((bitField0_ & 0x00000080) == 0x00000080)) {
5527 subBuilder = instanceIdentifierValue_.toBuilder();
5529 instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
5530 if (subBuilder != null) {
5531 subBuilder.mergeFrom(instanceIdentifierValue_);
5532 instanceIdentifierValue_ = subBuilder.buildPartial();
5534 bitField0_ |= 0x00000080;
5538 if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
5539 bitsValue_ = new com.google.protobuf.LazyStringArrayList();
5540 mutable_bitField0_ |= 0x00000400;
5542 bitsValue_.add(input.readBytes());
5546 if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
5547 code_ = new com.google.protobuf.LazyStringArrayList();
5548 mutable_bitField0_ |= 0x00000800;
5550 code_.add(input.readBytes());
5555 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5556 throw e.setUnfinishedMessage(this);
5557 } catch (java.io.IOException e) {
5558 throw new com.google.protobuf.InvalidProtocolBufferException(
5559 e.getMessage()).setUnfinishedMessage(this);
5561 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
5562 attributes_ = java.util.Collections.unmodifiableList(attributes_);
5564 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
5565 child_ = java.util.Collections.unmodifiableList(child_);
5567 if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
5568 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
5570 if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
5571 code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
5573 this.unknownFields = unknownFields.build();
5574 makeExtensionsImmutable();
5577 public static final com.google.protobuf.Descriptors.Descriptor
5579 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
5582 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5583 internalGetFieldAccessorTable() {
5584 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
5585 .ensureFieldAccessorsInitialized(
5586 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
5589 public static com.google.protobuf.Parser<Node> PARSER =
5590 new com.google.protobuf.AbstractParser<Node>() {
5591 public Node parsePartialFrom(
5592 com.google.protobuf.CodedInputStream input,
5593 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5594 throws com.google.protobuf.InvalidProtocolBufferException {
5595 return new Node(input, extensionRegistry);
5600 public com.google.protobuf.Parser<Node> getParserForType() {
5604 private int bitField0_;
5605 // optional string path = 1;
5606 public static final int PATH_FIELD_NUMBER = 1;
5607 private java.lang.Object path_;
5609 * <code>optional string path = 1;</code>
5612 * @deprecated(use pathArgument)
5615 public boolean hasPath() {
5616 return ((bitField0_ & 0x00000001) == 0x00000001);
5619 * <code>optional string path = 1;</code>
5622 * @deprecated(use pathArgument)
5625 public java.lang.String getPath() {
5626 java.lang.Object ref = path_;
5627 if (ref instanceof java.lang.String) {
5628 return (java.lang.String) ref;
5630 com.google.protobuf.ByteString bs =
5631 (com.google.protobuf.ByteString) ref;
5632 java.lang.String s = bs.toStringUtf8();
5633 if (bs.isValidUtf8()) {
5640 * <code>optional string path = 1;</code>
5643 * @deprecated(use pathArgument)
5646 public com.google.protobuf.ByteString
5648 java.lang.Object ref = path_;
5649 if (ref instanceof java.lang.String) {
5650 com.google.protobuf.ByteString b =
5651 com.google.protobuf.ByteString.copyFromUtf8(
5652 (java.lang.String) ref);
5656 return (com.google.protobuf.ByteString) ref;
5660 // optional string type = 2;
5661 public static final int TYPE_FIELD_NUMBER = 2;
5662 private java.lang.Object type_;
5664 * <code>optional string type = 2;</code>
5667 * @deprecated(use intType)
5670 public boolean hasType() {
5671 return ((bitField0_ & 0x00000002) == 0x00000002);
5674 * <code>optional string type = 2;</code>
5677 * @deprecated(use intType)
5680 public java.lang.String getType() {
5681 java.lang.Object ref = type_;
5682 if (ref instanceof java.lang.String) {
5683 return (java.lang.String) ref;
5685 com.google.protobuf.ByteString bs =
5686 (com.google.protobuf.ByteString) ref;
5687 java.lang.String s = bs.toStringUtf8();
5688 if (bs.isValidUtf8()) {
5695 * <code>optional string type = 2;</code>
5698 * @deprecated(use intType)
5701 public com.google.protobuf.ByteString
5703 java.lang.Object ref = type_;
5704 if (ref instanceof java.lang.String) {
5705 com.google.protobuf.ByteString b =
5706 com.google.protobuf.ByteString.copyFromUtf8(
5707 (java.lang.String) ref);
5711 return (com.google.protobuf.ByteString) ref;
5715 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
5716 public static final int PATHARGUMENT_FIELD_NUMBER = 3;
5717 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_;
5719 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5721 public boolean hasPathArgument() {
5722 return ((bitField0_ & 0x00000004) == 0x00000004);
5725 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5727 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
5728 return pathArgument_;
5731 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5733 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
5734 return pathArgument_;
5737 // optional int32 intType = 4;
5738 public static final int INTTYPE_FIELD_NUMBER = 4;
5739 private int intType_;
5741 * <code>optional int32 intType = 4;</code>
5743 public boolean hasIntType() {
5744 return ((bitField0_ & 0x00000008) == 0x00000008);
5747 * <code>optional int32 intType = 4;</code>
5749 public int getIntType() {
5753 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
5754 public static final int ATTRIBUTES_FIELD_NUMBER = 5;
5755 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
5757 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5759 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
5763 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5765 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
5766 getAttributesOrBuilderList() {
5770 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5772 public int getAttributesCount() {
5773 return attributes_.size();
5776 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5778 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
5779 return attributes_.get(index);
5782 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5784 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
5786 return attributes_.get(index);
5789 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
5790 public static final int CHILD_FIELD_NUMBER = 6;
5791 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_;
5793 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5795 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
5799 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5801 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
5802 getChildOrBuilderList() {
5806 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5808 public int getChildCount() {
5809 return child_.size();
5812 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5814 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
5815 return child_.get(index);
5818 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5820 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
5822 return child_.get(index);
5825 // optional string value = 7;
5826 public static final int VALUE_FIELD_NUMBER = 7;
5827 private java.lang.Object value_;
5829 * <code>optional string value = 7;</code>
5831 public boolean hasValue() {
5832 return ((bitField0_ & 0x00000010) == 0x00000010);
5835 * <code>optional string value = 7;</code>
5837 public java.lang.String getValue() {
5838 java.lang.Object ref = value_;
5839 if (ref instanceof java.lang.String) {
5840 return (java.lang.String) ref;
5842 com.google.protobuf.ByteString bs =
5843 (com.google.protobuf.ByteString) ref;
5844 java.lang.String s = bs.toStringUtf8();
5845 if (bs.isValidUtf8()) {
5852 * <code>optional string value = 7;</code>
5854 public com.google.protobuf.ByteString
5856 java.lang.Object ref = value_;
5857 if (ref instanceof java.lang.String) {
5858 com.google.protobuf.ByteString b =
5859 com.google.protobuf.ByteString.copyFromUtf8(
5860 (java.lang.String) ref);
5864 return (com.google.protobuf.ByteString) ref;
5868 // optional string valueType = 8;
5869 public static final int VALUETYPE_FIELD_NUMBER = 8;
5870 private java.lang.Object valueType_;
5872 * <code>optional string valueType = 8;</code>
5875 * @deprecated(use intValueType)
5878 public boolean hasValueType() {
5879 return ((bitField0_ & 0x00000020) == 0x00000020);
5882 * <code>optional string valueType = 8;</code>
5885 * @deprecated(use intValueType)
5888 public java.lang.String getValueType() {
5889 java.lang.Object ref = valueType_;
5890 if (ref instanceof java.lang.String) {
5891 return (java.lang.String) ref;
5893 com.google.protobuf.ByteString bs =
5894 (com.google.protobuf.ByteString) ref;
5895 java.lang.String s = bs.toStringUtf8();
5896 if (bs.isValidUtf8()) {
5903 * <code>optional string valueType = 8;</code>
5906 * @deprecated(use intValueType)
5909 public com.google.protobuf.ByteString
5910 getValueTypeBytes() {
5911 java.lang.Object ref = valueType_;
5912 if (ref instanceof java.lang.String) {
5913 com.google.protobuf.ByteString b =
5914 com.google.protobuf.ByteString.copyFromUtf8(
5915 (java.lang.String) ref);
5919 return (com.google.protobuf.ByteString) ref;
5923 // optional int32 intValueType = 9;
5924 public static final int INTVALUETYPE_FIELD_NUMBER = 9;
5925 private int intValueType_;
5927 * <code>optional int32 intValueType = 9;</code>
5930 * instead of valueType
5933 public boolean hasIntValueType() {
5934 return ((bitField0_ & 0x00000040) == 0x00000040);
5937 * <code>optional int32 intValueType = 9;</code>
5940 * instead of valueType
5943 public int getIntValueType() {
5944 return intValueType_;
5947 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
5948 public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10;
5949 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
5951 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5957 public boolean hasInstanceIdentifierValue() {
5958 return ((bitField0_ & 0x00000080) == 0x00000080);
5961 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5967 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
5968 return instanceIdentifierValue_;
5971 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5977 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
5978 return instanceIdentifierValue_;
5981 // repeated string bitsValue = 11;
5982 public static final int BITSVALUE_FIELD_NUMBER = 11;
5983 private com.google.protobuf.LazyStringList bitsValue_;
5985 * <code>repeated string bitsValue = 11;</code>
5988 * intValueType = Bits
5991 public java.util.List<java.lang.String>
5992 getBitsValueList() {
5996 * <code>repeated string bitsValue = 11;</code>
5999 * intValueType = Bits
6002 public int getBitsValueCount() {
6003 return bitsValue_.size();
6006 * <code>repeated string bitsValue = 11;</code>
6009 * intValueType = Bits
6012 public java.lang.String getBitsValue(int index) {
6013 return bitsValue_.get(index);
6016 * <code>repeated string bitsValue = 11;</code>
6019 * intValueType = Bits
6022 public com.google.protobuf.ByteString
6023 getBitsValueBytes(int index) {
6024 return bitsValue_.getByteString(index);
6027 // repeated string code = 12;
6028 public static final int CODE_FIELD_NUMBER = 12;
6029 private com.google.protobuf.LazyStringList code_;
6031 * <code>repeated string code = 12;</code>
6034 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6037 public java.util.List<java.lang.String>
6042 * <code>repeated string code = 12;</code>
6045 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6048 public int getCodeCount() {
6049 return code_.size();
6052 * <code>repeated string code = 12;</code>
6055 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6058 public java.lang.String getCode(int index) {
6059 return code_.get(index);
6062 * <code>repeated string code = 12;</code>
6065 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6068 public com.google.protobuf.ByteString
6069 getCodeBytes(int index) {
6070 return code_.getByteString(index);
6073 private void initFields() {
6076 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6078 attributes_ = java.util.Collections.emptyList();
6079 child_ = java.util.Collections.emptyList();
6083 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
6084 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6085 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6087 private byte memoizedIsInitialized = -1;
6088 public final boolean isInitialized() {
6089 byte isInitialized = memoizedIsInitialized;
6090 if (isInitialized != -1) return isInitialized == 1;
6092 if (hasPathArgument()) {
6093 if (!getPathArgument().isInitialized()) {
6094 memoizedIsInitialized = 0;
6098 for (int i = 0; i < getAttributesCount(); i++) {
6099 if (!getAttributes(i).isInitialized()) {
6100 memoizedIsInitialized = 0;
6104 for (int i = 0; i < getChildCount(); i++) {
6105 if (!getChild(i).isInitialized()) {
6106 memoizedIsInitialized = 0;
6110 if (hasInstanceIdentifierValue()) {
6111 if (!getInstanceIdentifierValue().isInitialized()) {
6112 memoizedIsInitialized = 0;
6116 memoizedIsInitialized = 1;
6120 public void writeTo(com.google.protobuf.CodedOutputStream output)
6121 throws java.io.IOException {
6122 getSerializedSize();
6123 if (((bitField0_ & 0x00000001) == 0x00000001)) {
6124 output.writeBytes(1, getPathBytes());
6126 if (((bitField0_ & 0x00000002) == 0x00000002)) {
6127 output.writeBytes(2, getTypeBytes());
6129 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6130 output.writeMessage(3, pathArgument_);
6132 if (((bitField0_ & 0x00000008) == 0x00000008)) {
6133 output.writeInt32(4, intType_);
6135 for (int i = 0; i < attributes_.size(); i++) {
6136 output.writeMessage(5, attributes_.get(i));
6138 for (int i = 0; i < child_.size(); i++) {
6139 output.writeMessage(6, child_.get(i));
6141 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6142 output.writeBytes(7, getValueBytes());
6144 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6145 output.writeBytes(8, getValueTypeBytes());
6147 if (((bitField0_ & 0x00000040) == 0x00000040)) {
6148 output.writeInt32(9, intValueType_);
6150 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6151 output.writeMessage(10, instanceIdentifierValue_);
6153 for (int i = 0; i < bitsValue_.size(); i++) {
6154 output.writeBytes(11, bitsValue_.getByteString(i));
6156 for (int i = 0; i < code_.size(); i++) {
6157 output.writeBytes(12, code_.getByteString(i));
6159 getUnknownFields().writeTo(output);
6162 private int memoizedSerializedSize = -1;
6163 public int getSerializedSize() {
6164 int size = memoizedSerializedSize;
6165 if (size != -1) return size;
6168 if (((bitField0_ & 0x00000001) == 0x00000001)) {
6169 size += com.google.protobuf.CodedOutputStream
6170 .computeBytesSize(1, getPathBytes());
6172 if (((bitField0_ & 0x00000002) == 0x00000002)) {
6173 size += com.google.protobuf.CodedOutputStream
6174 .computeBytesSize(2, getTypeBytes());
6176 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6177 size += com.google.protobuf.CodedOutputStream
6178 .computeMessageSize(3, pathArgument_);
6180 if (((bitField0_ & 0x00000008) == 0x00000008)) {
6181 size += com.google.protobuf.CodedOutputStream
6182 .computeInt32Size(4, intType_);
6184 for (int i = 0; i < attributes_.size(); i++) {
6185 size += com.google.protobuf.CodedOutputStream
6186 .computeMessageSize(5, attributes_.get(i));
6188 for (int i = 0; i < child_.size(); i++) {
6189 size += com.google.protobuf.CodedOutputStream
6190 .computeMessageSize(6, child_.get(i));
6192 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6193 size += com.google.protobuf.CodedOutputStream
6194 .computeBytesSize(7, getValueBytes());
6196 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6197 size += com.google.protobuf.CodedOutputStream
6198 .computeBytesSize(8, getValueTypeBytes());
6200 if (((bitField0_ & 0x00000040) == 0x00000040)) {
6201 size += com.google.protobuf.CodedOutputStream
6202 .computeInt32Size(9, intValueType_);
6204 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6205 size += com.google.protobuf.CodedOutputStream
6206 .computeMessageSize(10, instanceIdentifierValue_);
6210 for (int i = 0; i < bitsValue_.size(); i++) {
6211 dataSize += com.google.protobuf.CodedOutputStream
6212 .computeBytesSizeNoTag(bitsValue_.getByteString(i));
6215 size += 1 * getBitsValueList().size();
6219 for (int i = 0; i < code_.size(); i++) {
6220 dataSize += com.google.protobuf.CodedOutputStream
6221 .computeBytesSizeNoTag(code_.getByteString(i));
6224 size += 1 * getCodeList().size();
6226 size += getUnknownFields().getSerializedSize();
6227 memoizedSerializedSize = size;
6231 private static final long serialVersionUID = 0L;
6233 protected java.lang.Object writeReplace()
6234 throws java.io.ObjectStreamException {
6235 return super.writeReplace();
6238 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6239 com.google.protobuf.ByteString data)
6240 throws com.google.protobuf.InvalidProtocolBufferException {
6241 return PARSER.parseFrom(data);
6243 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6244 com.google.protobuf.ByteString data,
6245 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6246 throws com.google.protobuf.InvalidProtocolBufferException {
6247 return PARSER.parseFrom(data, extensionRegistry);
6249 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(byte[] data)
6250 throws com.google.protobuf.InvalidProtocolBufferException {
6251 return PARSER.parseFrom(data);
6253 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6255 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6256 throws com.google.protobuf.InvalidProtocolBufferException {
6257 return PARSER.parseFrom(data, extensionRegistry);
6259 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(java.io.InputStream input)
6260 throws java.io.IOException {
6261 return PARSER.parseFrom(input);
6263 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6264 java.io.InputStream input,
6265 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6266 throws java.io.IOException {
6267 return PARSER.parseFrom(input, extensionRegistry);
6269 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(java.io.InputStream input)
6270 throws java.io.IOException {
6271 return PARSER.parseDelimitedFrom(input);
6273 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(
6274 java.io.InputStream input,
6275 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6276 throws java.io.IOException {
6277 return PARSER.parseDelimitedFrom(input, extensionRegistry);
6279 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6280 com.google.protobuf.CodedInputStream input)
6281 throws java.io.IOException {
6282 return PARSER.parseFrom(input);
6284 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6285 com.google.protobuf.CodedInputStream input,
6286 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6287 throws java.io.IOException {
6288 return PARSER.parseFrom(input, extensionRegistry);
6291 public static Builder newBuilder() { return Builder.create(); }
6292 public Builder newBuilderForType() { return newBuilder(); }
6293 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node prototype) {
6294 return newBuilder().mergeFrom(prototype);
6296 public Builder toBuilder() { return newBuilder(this); }
6299 protected Builder newBuilderForType(
6300 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6301 Builder builder = new Builder(parent);
6305 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
6307 public static final class Builder extends
6308 com.google.protobuf.GeneratedMessage.Builder<Builder>
6309 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder {
6310 public static final com.google.protobuf.Descriptors.Descriptor
6312 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6315 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
6316 internalGetFieldAccessorTable() {
6317 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
6318 .ensureFieldAccessorsInitialized(
6319 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
6322 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder()
6324 maybeForceBuilderInitialization();
6328 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6330 maybeForceBuilderInitialization();
6332 private void maybeForceBuilderInitialization() {
6333 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
6334 getPathArgumentFieldBuilder();
6335 getAttributesFieldBuilder();
6336 getChildFieldBuilder();
6337 getInstanceIdentifierValueFieldBuilder();
6340 private static Builder create() {
6341 return new Builder();
6344 public Builder clear() {
6347 bitField0_ = (bitField0_ & ~0x00000001);
6349 bitField0_ = (bitField0_ & ~0x00000002);
6350 if (pathArgumentBuilder_ == null) {
6351 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6353 pathArgumentBuilder_.clear();
6355 bitField0_ = (bitField0_ & ~0x00000004);
6357 bitField0_ = (bitField0_ & ~0x00000008);
6358 if (attributesBuilder_ == null) {
6359 attributes_ = java.util.Collections.emptyList();
6360 bitField0_ = (bitField0_ & ~0x00000010);
6362 attributesBuilder_.clear();
6364 if (childBuilder_ == null) {
6365 child_ = java.util.Collections.emptyList();
6366 bitField0_ = (bitField0_ & ~0x00000020);
6368 childBuilder_.clear();
6371 bitField0_ = (bitField0_ & ~0x00000040);
6373 bitField0_ = (bitField0_ & ~0x00000080);
6375 bitField0_ = (bitField0_ & ~0x00000100);
6376 if (instanceIdentifierValueBuilder_ == null) {
6377 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
6379 instanceIdentifierValueBuilder_.clear();
6381 bitField0_ = (bitField0_ & ~0x00000200);
6382 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6383 bitField0_ = (bitField0_ & ~0x00000400);
6384 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6385 bitField0_ = (bitField0_ & ~0x00000800);
6389 public Builder clone() {
6390 return create().mergeFrom(buildPartial());
6393 public com.google.protobuf.Descriptors.Descriptor
6394 getDescriptorForType() {
6395 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6398 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getDefaultInstanceForType() {
6399 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
6402 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node build() {
6403 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = buildPartial();
6404 if (!result.isInitialized()) {
6405 throw newUninitializedMessageException(result);
6410 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node buildPartial() {
6411 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node(this);
6412 int from_bitField0_ = bitField0_;
6413 int to_bitField0_ = 0;
6414 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
6415 to_bitField0_ |= 0x00000001;
6417 result.path_ = path_;
6418 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
6419 to_bitField0_ |= 0x00000002;
6421 result.type_ = type_;
6422 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
6423 to_bitField0_ |= 0x00000004;
6425 if (pathArgumentBuilder_ == null) {
6426 result.pathArgument_ = pathArgument_;
6428 result.pathArgument_ = pathArgumentBuilder_.build();
6430 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
6431 to_bitField0_ |= 0x00000008;
6433 result.intType_ = intType_;
6434 if (attributesBuilder_ == null) {
6435 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6436 attributes_ = java.util.Collections.unmodifiableList(attributes_);
6437 bitField0_ = (bitField0_ & ~0x00000010);
6439 result.attributes_ = attributes_;
6441 result.attributes_ = attributesBuilder_.build();
6443 if (childBuilder_ == null) {
6444 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6445 child_ = java.util.Collections.unmodifiableList(child_);
6446 bitField0_ = (bitField0_ & ~0x00000020);
6448 result.child_ = child_;
6450 result.child_ = childBuilder_.build();
6452 if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
6453 to_bitField0_ |= 0x00000010;
6455 result.value_ = value_;
6456 if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
6457 to_bitField0_ |= 0x00000020;
6459 result.valueType_ = valueType_;
6460 if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
6461 to_bitField0_ |= 0x00000040;
6463 result.intValueType_ = intValueType_;
6464 if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
6465 to_bitField0_ |= 0x00000080;
6467 if (instanceIdentifierValueBuilder_ == null) {
6468 result.instanceIdentifierValue_ = instanceIdentifierValue_;
6470 result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
6472 if (((bitField0_ & 0x00000400) == 0x00000400)) {
6473 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
6475 bitField0_ = (bitField0_ & ~0x00000400);
6477 result.bitsValue_ = bitsValue_;
6478 if (((bitField0_ & 0x00000800) == 0x00000800)) {
6479 code_ = new com.google.protobuf.UnmodifiableLazyStringList(
6481 bitField0_ = (bitField0_ & ~0x00000800);
6483 result.code_ = code_;
6484 result.bitField0_ = to_bitField0_;
6489 public Builder mergeFrom(com.google.protobuf.Message other) {
6490 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) {
6491 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node)other);
6493 super.mergeFrom(other);
6498 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node other) {
6499 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) return this;
6500 if (other.hasPath()) {
6501 bitField0_ |= 0x00000001;
6502 path_ = other.path_;
6505 if (other.hasType()) {
6506 bitField0_ |= 0x00000002;
6507 type_ = other.type_;
6510 if (other.hasPathArgument()) {
6511 mergePathArgument(other.getPathArgument());
6513 if (other.hasIntType()) {
6514 setIntType(other.getIntType());
6516 if (attributesBuilder_ == null) {
6517 if (!other.attributes_.isEmpty()) {
6518 if (attributes_.isEmpty()) {
6519 attributes_ = other.attributes_;
6520 bitField0_ = (bitField0_ & ~0x00000010);
6522 ensureAttributesIsMutable();
6523 attributes_.addAll(other.attributes_);
6528 if (!other.attributes_.isEmpty()) {
6529 if (attributesBuilder_.isEmpty()) {
6530 attributesBuilder_.dispose();
6531 attributesBuilder_ = null;
6532 attributes_ = other.attributes_;
6533 bitField0_ = (bitField0_ & ~0x00000010);
6534 attributesBuilder_ =
6535 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
6536 getAttributesFieldBuilder() : null;
6538 attributesBuilder_.addAllMessages(other.attributes_);
6542 if (childBuilder_ == null) {
6543 if (!other.child_.isEmpty()) {
6544 if (child_.isEmpty()) {
6545 child_ = other.child_;
6546 bitField0_ = (bitField0_ & ~0x00000020);
6548 ensureChildIsMutable();
6549 child_.addAll(other.child_);
6554 if (!other.child_.isEmpty()) {
6555 if (childBuilder_.isEmpty()) {
6556 childBuilder_.dispose();
6557 childBuilder_ = null;
6558 child_ = other.child_;
6559 bitField0_ = (bitField0_ & ~0x00000020);
6561 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
6562 getChildFieldBuilder() : null;
6564 childBuilder_.addAllMessages(other.child_);
6568 if (other.hasValue()) {
6569 bitField0_ |= 0x00000040;
6570 value_ = other.value_;
6573 if (other.hasValueType()) {
6574 bitField0_ |= 0x00000080;
6575 valueType_ = other.valueType_;
6578 if (other.hasIntValueType()) {
6579 setIntValueType(other.getIntValueType());
6581 if (other.hasInstanceIdentifierValue()) {
6582 mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
6584 if (!other.bitsValue_.isEmpty()) {
6585 if (bitsValue_.isEmpty()) {
6586 bitsValue_ = other.bitsValue_;
6587 bitField0_ = (bitField0_ & ~0x00000400);
6589 ensureBitsValueIsMutable();
6590 bitsValue_.addAll(other.bitsValue_);
6594 if (!other.code_.isEmpty()) {
6595 if (code_.isEmpty()) {
6596 code_ = other.code_;
6597 bitField0_ = (bitField0_ & ~0x00000800);
6599 ensureCodeIsMutable();
6600 code_.addAll(other.code_);
6604 this.mergeUnknownFields(other.getUnknownFields());
6608 public final boolean isInitialized() {
6609 if (hasPathArgument()) {
6610 if (!getPathArgument().isInitialized()) {
6615 for (int i = 0; i < getAttributesCount(); i++) {
6616 if (!getAttributes(i).isInitialized()) {
6621 for (int i = 0; i < getChildCount(); i++) {
6622 if (!getChild(i).isInitialized()) {
6627 if (hasInstanceIdentifierValue()) {
6628 if (!getInstanceIdentifierValue().isInitialized()) {
6636 public Builder mergeFrom(
6637 com.google.protobuf.CodedInputStream input,
6638 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6639 throws java.io.IOException {
6640 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parsedMessage = null;
6642 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
6643 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
6644 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) e.getUnfinishedMessage();
6647 if (parsedMessage != null) {
6648 mergeFrom(parsedMessage);
6653 private int bitField0_;
6655 // optional string path = 1;
6656 private java.lang.Object path_ = "";
6658 * <code>optional string path = 1;</code>
6661 * @deprecated(use pathArgument)
6664 public boolean hasPath() {
6665 return ((bitField0_ & 0x00000001) == 0x00000001);
6668 * <code>optional string path = 1;</code>
6671 * @deprecated(use pathArgument)
6674 public java.lang.String getPath() {
6675 java.lang.Object ref = path_;
6676 if (!(ref instanceof java.lang.String)) {
6677 java.lang.String s = ((com.google.protobuf.ByteString) ref)
6682 return (java.lang.String) ref;
6686 * <code>optional string path = 1;</code>
6689 * @deprecated(use pathArgument)
6692 public com.google.protobuf.ByteString
6694 java.lang.Object ref = path_;
6695 if (ref instanceof String) {
6696 com.google.protobuf.ByteString b =
6697 com.google.protobuf.ByteString.copyFromUtf8(
6698 (java.lang.String) ref);
6702 return (com.google.protobuf.ByteString) ref;
6706 * <code>optional string path = 1;</code>
6709 * @deprecated(use pathArgument)
6712 public Builder setPath(
6713 java.lang.String value) {
6714 if (value == null) {
6715 throw new NullPointerException();
6717 bitField0_ |= 0x00000001;
6723 * <code>optional string path = 1;</code>
6726 * @deprecated(use pathArgument)
6729 public Builder clearPath() {
6730 bitField0_ = (bitField0_ & ~0x00000001);
6731 path_ = getDefaultInstance().getPath();
6736 * <code>optional string path = 1;</code>
6739 * @deprecated(use pathArgument)
6742 public Builder setPathBytes(
6743 com.google.protobuf.ByteString value) {
6744 if (value == null) {
6745 throw new NullPointerException();
6747 bitField0_ |= 0x00000001;
6753 // optional string type = 2;
6754 private java.lang.Object type_ = "";
6756 * <code>optional string type = 2;</code>
6759 * @deprecated(use intType)
6762 public boolean hasType() {
6763 return ((bitField0_ & 0x00000002) == 0x00000002);
6766 * <code>optional string type = 2;</code>
6769 * @deprecated(use intType)
6772 public java.lang.String getType() {
6773 java.lang.Object ref = type_;
6774 if (!(ref instanceof java.lang.String)) {
6775 java.lang.String s = ((com.google.protobuf.ByteString) ref)
6780 return (java.lang.String) ref;
6784 * <code>optional string type = 2;</code>
6787 * @deprecated(use intType)
6790 public com.google.protobuf.ByteString
6792 java.lang.Object ref = type_;
6793 if (ref instanceof String) {
6794 com.google.protobuf.ByteString b =
6795 com.google.protobuf.ByteString.copyFromUtf8(
6796 (java.lang.String) ref);
6800 return (com.google.protobuf.ByteString) ref;
6804 * <code>optional string type = 2;</code>
6807 * @deprecated(use intType)
6810 public Builder setType(
6811 java.lang.String value) {
6812 if (value == null) {
6813 throw new NullPointerException();
6815 bitField0_ |= 0x00000002;
6821 * <code>optional string type = 2;</code>
6824 * @deprecated(use intType)
6827 public Builder clearType() {
6828 bitField0_ = (bitField0_ & ~0x00000002);
6829 type_ = getDefaultInstance().getType();
6834 * <code>optional string type = 2;</code>
6837 * @deprecated(use intType)
6840 public Builder setTypeBytes(
6841 com.google.protobuf.ByteString value) {
6842 if (value == null) {
6843 throw new NullPointerException();
6845 bitField0_ |= 0x00000002;
6851 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
6852 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6853 private com.google.protobuf.SingleFieldBuilder<
6854 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_;
6856 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6858 public boolean hasPathArgument() {
6859 return ((bitField0_ & 0x00000004) == 0x00000004);
6862 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6864 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
6865 if (pathArgumentBuilder_ == null) {
6866 return pathArgument_;
6868 return pathArgumentBuilder_.getMessage();
6872 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6874 public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
6875 if (pathArgumentBuilder_ == null) {
6876 if (value == null) {
6877 throw new NullPointerException();
6879 pathArgument_ = value;
6882 pathArgumentBuilder_.setMessage(value);
6884 bitField0_ |= 0x00000004;
6888 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6890 public Builder setPathArgument(
6891 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
6892 if (pathArgumentBuilder_ == null) {
6893 pathArgument_ = builderForValue.build();
6896 pathArgumentBuilder_.setMessage(builderForValue.build());
6898 bitField0_ |= 0x00000004;
6902 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6904 public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
6905 if (pathArgumentBuilder_ == null) {
6906 if (((bitField0_ & 0x00000004) == 0x00000004) &&
6907 pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) {
6909 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial();
6911 pathArgument_ = value;
6915 pathArgumentBuilder_.mergeFrom(value);
6917 bitField0_ |= 0x00000004;
6921 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6923 public Builder clearPathArgument() {
6924 if (pathArgumentBuilder_ == null) {
6925 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6928 pathArgumentBuilder_.clear();
6930 bitField0_ = (bitField0_ & ~0x00000004);
6934 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6936 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() {
6937 bitField0_ |= 0x00000004;
6939 return getPathArgumentFieldBuilder().getBuilder();
6942 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6944 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
6945 if (pathArgumentBuilder_ != null) {
6946 return pathArgumentBuilder_.getMessageOrBuilder();
6948 return pathArgument_;
6952 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6954 private com.google.protobuf.SingleFieldBuilder<
6955 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>
6956 getPathArgumentFieldBuilder() {
6957 if (pathArgumentBuilder_ == null) {
6958 pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
6959 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>(
6961 getParentForChildren(),
6963 pathArgument_ = null;
6965 return pathArgumentBuilder_;
6968 // optional int32 intType = 4;
6969 private int intType_ ;
6971 * <code>optional int32 intType = 4;</code>
6973 public boolean hasIntType() {
6974 return ((bitField0_ & 0x00000008) == 0x00000008);
6977 * <code>optional int32 intType = 4;</code>
6979 public int getIntType() {
6983 * <code>optional int32 intType = 4;</code>
6985 public Builder setIntType(int value) {
6986 bitField0_ |= 0x00000008;
6992 * <code>optional int32 intType = 4;</code>
6994 public Builder clearIntType() {
6995 bitField0_ = (bitField0_ & ~0x00000008);
7001 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
7002 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
7003 java.util.Collections.emptyList();
7004 private void ensureAttributesIsMutable() {
7005 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
7006 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
7007 bitField0_ |= 0x00000010;
7011 private com.google.protobuf.RepeatedFieldBuilder<
7012 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_;
7015 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7017 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
7018 if (attributesBuilder_ == null) {
7019 return java.util.Collections.unmodifiableList(attributes_);
7021 return attributesBuilder_.getMessageList();
7025 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7027 public int getAttributesCount() {
7028 if (attributesBuilder_ == null) {
7029 return attributes_.size();
7031 return attributesBuilder_.getCount();
7035 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7037 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
7038 if (attributesBuilder_ == null) {
7039 return attributes_.get(index);
7041 return attributesBuilder_.getMessage(index);
7045 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7047 public Builder setAttributes(
7048 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7049 if (attributesBuilder_ == null) {
7050 if (value == null) {
7051 throw new NullPointerException();
7053 ensureAttributesIsMutable();
7054 attributes_.set(index, value);
7057 attributesBuilder_.setMessage(index, value);
7062 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7064 public Builder setAttributes(
7065 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7066 if (attributesBuilder_ == null) {
7067 ensureAttributesIsMutable();
7068 attributes_.set(index, builderForValue.build());
7071 attributesBuilder_.setMessage(index, builderForValue.build());
7076 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7078 public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7079 if (attributesBuilder_ == null) {
7080 if (value == null) {
7081 throw new NullPointerException();
7083 ensureAttributesIsMutable();
7084 attributes_.add(value);
7087 attributesBuilder_.addMessage(value);
7092 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7094 public Builder addAttributes(
7095 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7096 if (attributesBuilder_ == null) {
7097 if (value == null) {
7098 throw new NullPointerException();
7100 ensureAttributesIsMutable();
7101 attributes_.add(index, value);
7104 attributesBuilder_.addMessage(index, value);
7109 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7111 public Builder addAttributes(
7112 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7113 if (attributesBuilder_ == null) {
7114 ensureAttributesIsMutable();
7115 attributes_.add(builderForValue.build());
7118 attributesBuilder_.addMessage(builderForValue.build());
7123 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7125 public Builder addAttributes(
7126 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7127 if (attributesBuilder_ == null) {
7128 ensureAttributesIsMutable();
7129 attributes_.add(index, builderForValue.build());
7132 attributesBuilder_.addMessage(index, builderForValue.build());
7137 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7139 public Builder addAllAttributes(
7140 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
7141 if (attributesBuilder_ == null) {
7142 ensureAttributesIsMutable();
7143 super.addAll(values, attributes_);
7146 attributesBuilder_.addAllMessages(values);
7151 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7153 public Builder clearAttributes() {
7154 if (attributesBuilder_ == null) {
7155 attributes_ = java.util.Collections.emptyList();
7156 bitField0_ = (bitField0_ & ~0x00000010);
7159 attributesBuilder_.clear();
7164 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7166 public Builder removeAttributes(int index) {
7167 if (attributesBuilder_ == null) {
7168 ensureAttributesIsMutable();
7169 attributes_.remove(index);
7172 attributesBuilder_.remove(index);
7177 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7179 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
7181 return getAttributesFieldBuilder().getBuilder(index);
7184 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7186 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
7188 if (attributesBuilder_ == null) {
7189 return attributes_.get(index); } else {
7190 return attributesBuilder_.getMessageOrBuilder(index);
7194 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7196 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
7197 getAttributesOrBuilderList() {
7198 if (attributesBuilder_ != null) {
7199 return attributesBuilder_.getMessageOrBuilderList();
7201 return java.util.Collections.unmodifiableList(attributes_);
7205 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7207 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
7208 return getAttributesFieldBuilder().addBuilder(
7209 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
7212 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7214 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
7216 return getAttributesFieldBuilder().addBuilder(
7217 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
7220 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7222 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
7223 getAttributesBuilderList() {
7224 return getAttributesFieldBuilder().getBuilderList();
7226 private com.google.protobuf.RepeatedFieldBuilder<
7227 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>
7228 getAttributesFieldBuilder() {
7229 if (attributesBuilder_ == null) {
7230 attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
7231 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>(
7233 ((bitField0_ & 0x00000010) == 0x00000010),
7234 getParentForChildren(),
7238 return attributesBuilder_;
7241 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
7242 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_ =
7243 java.util.Collections.emptyList();
7244 private void ensureChildIsMutable() {
7245 if (!((bitField0_ & 0x00000020) == 0x00000020)) {
7246 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>(child_);
7247 bitField0_ |= 0x00000020;
7251 private com.google.protobuf.RepeatedFieldBuilder<
7252 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_;
7255 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7257 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
7258 if (childBuilder_ == null) {
7259 return java.util.Collections.unmodifiableList(child_);
7261 return childBuilder_.getMessageList();
7265 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7267 public int getChildCount() {
7268 if (childBuilder_ == null) {
7269 return child_.size();
7271 return childBuilder_.getCount();
7275 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7277 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
7278 if (childBuilder_ == null) {
7279 return child_.get(index);
7281 return childBuilder_.getMessage(index);
7285 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7287 public Builder setChild(
7288 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7289 if (childBuilder_ == null) {
7290 if (value == null) {
7291 throw new NullPointerException();
7293 ensureChildIsMutable();
7294 child_.set(index, value);
7297 childBuilder_.setMessage(index, value);
7302 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7304 public Builder setChild(
7305 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7306 if (childBuilder_ == null) {
7307 ensureChildIsMutable();
7308 child_.set(index, builderForValue.build());
7311 childBuilder_.setMessage(index, builderForValue.build());
7316 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7318 public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7319 if (childBuilder_ == null) {
7320 if (value == null) {
7321 throw new NullPointerException();
7323 ensureChildIsMutable();
7327 childBuilder_.addMessage(value);
7332 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7334 public Builder addChild(
7335 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7336 if (childBuilder_ == null) {
7337 if (value == null) {
7338 throw new NullPointerException();
7340 ensureChildIsMutable();
7341 child_.add(index, value);
7344 childBuilder_.addMessage(index, value);
7349 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7351 public Builder addChild(
7352 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7353 if (childBuilder_ == null) {
7354 ensureChildIsMutable();
7355 child_.add(builderForValue.build());
7358 childBuilder_.addMessage(builderForValue.build());
7363 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7365 public Builder addChild(
7366 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7367 if (childBuilder_ == null) {
7368 ensureChildIsMutable();
7369 child_.add(index, builderForValue.build());
7372 childBuilder_.addMessage(index, builderForValue.build());
7377 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7379 public Builder addAllChild(
7380 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> values) {
7381 if (childBuilder_ == null) {
7382 ensureChildIsMutable();
7383 super.addAll(values, child_);
7386 childBuilder_.addAllMessages(values);
7391 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7393 public Builder clearChild() {
7394 if (childBuilder_ == null) {
7395 child_ = java.util.Collections.emptyList();
7396 bitField0_ = (bitField0_ & ~0x00000020);
7399 childBuilder_.clear();
7404 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7406 public Builder removeChild(int index) {
7407 if (childBuilder_ == null) {
7408 ensureChildIsMutable();
7409 child_.remove(index);
7412 childBuilder_.remove(index);
7417 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7419 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder(
7421 return getChildFieldBuilder().getBuilder(index);
7424 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7426 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
7428 if (childBuilder_ == null) {
7429 return child_.get(index); } else {
7430 return childBuilder_.getMessageOrBuilder(index);
7434 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7436 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
7437 getChildOrBuilderList() {
7438 if (childBuilder_ != null) {
7439 return childBuilder_.getMessageOrBuilderList();
7441 return java.util.Collections.unmodifiableList(child_);
7445 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7447 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() {
7448 return getChildFieldBuilder().addBuilder(
7449 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
7452 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7454 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder(
7456 return getChildFieldBuilder().addBuilder(
7457 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
7460 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7462 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder>
7463 getChildBuilderList() {
7464 return getChildFieldBuilder().getBuilderList();
7466 private com.google.protobuf.RepeatedFieldBuilder<
7467 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>
7468 getChildFieldBuilder() {
7469 if (childBuilder_ == null) {
7470 childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
7471 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>(
7473 ((bitField0_ & 0x00000020) == 0x00000020),
7474 getParentForChildren(),
7478 return childBuilder_;
7481 // optional string value = 7;
7482 private java.lang.Object value_ = "";
7484 * <code>optional string value = 7;</code>
7486 public boolean hasValue() {
7487 return ((bitField0_ & 0x00000040) == 0x00000040);
7490 * <code>optional string value = 7;</code>
7492 public java.lang.String getValue() {
7493 java.lang.Object ref = value_;
7494 if (!(ref instanceof java.lang.String)) {
7495 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7500 return (java.lang.String) ref;
7504 * <code>optional string value = 7;</code>
7506 public com.google.protobuf.ByteString
7508 java.lang.Object ref = value_;
7509 if (ref instanceof String) {
7510 com.google.protobuf.ByteString b =
7511 com.google.protobuf.ByteString.copyFromUtf8(
7512 (java.lang.String) ref);
7516 return (com.google.protobuf.ByteString) ref;
7520 * <code>optional string value = 7;</code>
7522 public Builder setValue(
7523 java.lang.String value) {
7524 if (value == null) {
7525 throw new NullPointerException();
7527 bitField0_ |= 0x00000040;
7533 * <code>optional string value = 7;</code>
7535 public Builder clearValue() {
7536 bitField0_ = (bitField0_ & ~0x00000040);
7537 value_ = getDefaultInstance().getValue();
7542 * <code>optional string value = 7;</code>
7544 public Builder setValueBytes(
7545 com.google.protobuf.ByteString value) {
7546 if (value == null) {
7547 throw new NullPointerException();
7549 bitField0_ |= 0x00000040;
7555 // optional string valueType = 8;
7556 private java.lang.Object valueType_ = "";
7558 * <code>optional string valueType = 8;</code>
7561 * @deprecated(use intValueType)
7564 public boolean hasValueType() {
7565 return ((bitField0_ & 0x00000080) == 0x00000080);
7568 * <code>optional string valueType = 8;</code>
7571 * @deprecated(use intValueType)
7574 public java.lang.String getValueType() {
7575 java.lang.Object ref = valueType_;
7576 if (!(ref instanceof java.lang.String)) {
7577 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7582 return (java.lang.String) ref;
7586 * <code>optional string valueType = 8;</code>
7589 * @deprecated(use intValueType)
7592 public com.google.protobuf.ByteString
7593 getValueTypeBytes() {
7594 java.lang.Object ref = valueType_;
7595 if (ref instanceof String) {
7596 com.google.protobuf.ByteString b =
7597 com.google.protobuf.ByteString.copyFromUtf8(
7598 (java.lang.String) ref);
7602 return (com.google.protobuf.ByteString) ref;
7606 * <code>optional string valueType = 8;</code>
7609 * @deprecated(use intValueType)
7612 public Builder setValueType(
7613 java.lang.String value) {
7614 if (value == null) {
7615 throw new NullPointerException();
7617 bitField0_ |= 0x00000080;
7623 * <code>optional string valueType = 8;</code>
7626 * @deprecated(use intValueType)
7629 public Builder clearValueType() {
7630 bitField0_ = (bitField0_ & ~0x00000080);
7631 valueType_ = getDefaultInstance().getValueType();
7636 * <code>optional string valueType = 8;</code>
7639 * @deprecated(use intValueType)
7642 public Builder setValueTypeBytes(
7643 com.google.protobuf.ByteString value) {
7644 if (value == null) {
7645 throw new NullPointerException();
7647 bitField0_ |= 0x00000080;
7653 // optional int32 intValueType = 9;
7654 private int intValueType_ ;
7656 * <code>optional int32 intValueType = 9;</code>
7659 * instead of valueType
7662 public boolean hasIntValueType() {
7663 return ((bitField0_ & 0x00000100) == 0x00000100);
7666 * <code>optional int32 intValueType = 9;</code>
7669 * instead of valueType
7672 public int getIntValueType() {
7673 return intValueType_;
7676 * <code>optional int32 intValueType = 9;</code>
7679 * instead of valueType
7682 public Builder setIntValueType(int value) {
7683 bitField0_ |= 0x00000100;
7684 intValueType_ = value;
7689 * <code>optional int32 intValueType = 9;</code>
7692 * instead of valueType
7695 public Builder clearIntValueType() {
7696 bitField0_ = (bitField0_ & ~0x00000100);
7702 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
7703 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7704 private com.google.protobuf.SingleFieldBuilder<
7705 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_;
7707 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7713 public boolean hasInstanceIdentifierValue() {
7714 return ((bitField0_ & 0x00000200) == 0x00000200);
7717 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7723 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
7724 if (instanceIdentifierValueBuilder_ == null) {
7725 return instanceIdentifierValue_;
7727 return instanceIdentifierValueBuilder_.getMessage();
7731 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7737 public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
7738 if (instanceIdentifierValueBuilder_ == null) {
7739 if (value == null) {
7740 throw new NullPointerException();
7742 instanceIdentifierValue_ = value;
7745 instanceIdentifierValueBuilder_.setMessage(value);
7747 bitField0_ |= 0x00000200;
7751 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7757 public Builder setInstanceIdentifierValue(
7758 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
7759 if (instanceIdentifierValueBuilder_ == null) {
7760 instanceIdentifierValue_ = builderForValue.build();
7763 instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
7765 bitField0_ |= 0x00000200;
7769 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7775 public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
7776 if (instanceIdentifierValueBuilder_ == null) {
7777 if (((bitField0_ & 0x00000200) == 0x00000200) &&
7778 instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
7779 instanceIdentifierValue_ =
7780 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
7782 instanceIdentifierValue_ = value;
7786 instanceIdentifierValueBuilder_.mergeFrom(value);
7788 bitField0_ |= 0x00000200;
7792 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7798 public Builder clearInstanceIdentifierValue() {
7799 if (instanceIdentifierValueBuilder_ == null) {
7800 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7803 instanceIdentifierValueBuilder_.clear();
7805 bitField0_ = (bitField0_ & ~0x00000200);
7809 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7815 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
7816 bitField0_ |= 0x00000200;
7818 return getInstanceIdentifierValueFieldBuilder().getBuilder();
7821 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7827 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
7828 if (instanceIdentifierValueBuilder_ != null) {
7829 return instanceIdentifierValueBuilder_.getMessageOrBuilder();
7831 return instanceIdentifierValue_;
7835 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7841 private com.google.protobuf.SingleFieldBuilder<
7842 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>
7843 getInstanceIdentifierValueFieldBuilder() {
7844 if (instanceIdentifierValueBuilder_ == null) {
7845 instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7846 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>(
7847 instanceIdentifierValue_,
7848 getParentForChildren(),
7850 instanceIdentifierValue_ = null;
7852 return instanceIdentifierValueBuilder_;
7855 // repeated string bitsValue = 11;
7856 private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7857 private void ensureBitsValueIsMutable() {
7858 if (!((bitField0_ & 0x00000400) == 0x00000400)) {
7859 bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
7860 bitField0_ |= 0x00000400;
7864 * <code>repeated string bitsValue = 11;</code>
7867 * intValueType = Bits
7870 public java.util.List<java.lang.String>
7871 getBitsValueList() {
7872 return java.util.Collections.unmodifiableList(bitsValue_);
7875 * <code>repeated string bitsValue = 11;</code>
7878 * intValueType = Bits
7881 public int getBitsValueCount() {
7882 return bitsValue_.size();
7885 * <code>repeated string bitsValue = 11;</code>
7888 * intValueType = Bits
7891 public java.lang.String getBitsValue(int index) {
7892 return bitsValue_.get(index);
7895 * <code>repeated string bitsValue = 11;</code>
7898 * intValueType = Bits
7901 public com.google.protobuf.ByteString
7902 getBitsValueBytes(int index) {
7903 return bitsValue_.getByteString(index);
7906 * <code>repeated string bitsValue = 11;</code>
7909 * intValueType = Bits
7912 public Builder setBitsValue(
7913 int index, java.lang.String value) {
7914 if (value == null) {
7915 throw new NullPointerException();
7917 ensureBitsValueIsMutable();
7918 bitsValue_.set(index, value);
7923 * <code>repeated string bitsValue = 11;</code>
7926 * intValueType = Bits
7929 public Builder addBitsValue(
7930 java.lang.String value) {
7931 if (value == null) {
7932 throw new NullPointerException();
7934 ensureBitsValueIsMutable();
7935 bitsValue_.add(value);
7940 * <code>repeated string bitsValue = 11;</code>
7943 * intValueType = Bits
7946 public Builder addAllBitsValue(
7947 java.lang.Iterable<java.lang.String> values) {
7948 ensureBitsValueIsMutable();
7949 super.addAll(values, bitsValue_);
7954 * <code>repeated string bitsValue = 11;</code>
7957 * intValueType = Bits
7960 public Builder clearBitsValue() {
7961 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7962 bitField0_ = (bitField0_ & ~0x00000400);
7967 * <code>repeated string bitsValue = 11;</code>
7970 * intValueType = Bits
7973 public Builder addBitsValueBytes(
7974 com.google.protobuf.ByteString value) {
7975 if (value == null) {
7976 throw new NullPointerException();
7978 ensureBitsValueIsMutable();
7979 bitsValue_.add(value);
7984 // repeated string code = 12;
7985 private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7986 private void ensureCodeIsMutable() {
7987 if (!((bitField0_ & 0x00000800) == 0x00000800)) {
7988 code_ = new com.google.protobuf.LazyStringArrayList(code_);
7989 bitField0_ |= 0x00000800;
7993 * <code>repeated string code = 12;</code>
7996 * A list of string codes which can be used for any repeated strings in the NormalizedNode
7999 public java.util.List<java.lang.String>
8001 return java.util.Collections.unmodifiableList(code_);
8004 * <code>repeated string code = 12;</code>
8007 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8010 public int getCodeCount() {
8011 return code_.size();
8014 * <code>repeated string code = 12;</code>
8017 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8020 public java.lang.String getCode(int index) {
8021 return code_.get(index);
8024 * <code>repeated string code = 12;</code>
8027 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8030 public com.google.protobuf.ByteString
8031 getCodeBytes(int index) {
8032 return code_.getByteString(index);
8035 * <code>repeated string code = 12;</code>
8038 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8041 public Builder setCode(
8042 int index, java.lang.String value) {
8043 if (value == null) {
8044 throw new NullPointerException();
8046 ensureCodeIsMutable();
8047 code_.set(index, value);
8052 * <code>repeated string code = 12;</code>
8055 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8058 public Builder addCode(
8059 java.lang.String value) {
8060 if (value == null) {
8061 throw new NullPointerException();
8063 ensureCodeIsMutable();
8069 * <code>repeated string code = 12;</code>
8072 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8075 public Builder addAllCode(
8076 java.lang.Iterable<java.lang.String> values) {
8077 ensureCodeIsMutable();
8078 super.addAll(values, code_);
8083 * <code>repeated string code = 12;</code>
8086 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8089 public Builder clearCode() {
8090 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8091 bitField0_ = (bitField0_ & ~0x00000800);
8096 * <code>repeated string code = 12;</code>
8099 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8102 public Builder addCodeBytes(
8103 com.google.protobuf.ByteString value) {
8104 if (value == null) {
8105 throw new NullPointerException();
8107 ensureCodeIsMutable();
8113 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
8117 defaultInstance = new Node(true);
8118 defaultInstance.initFields();
8121 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Node)
8124 public interface ContainerOrBuilder
8125 extends com.google.protobuf.MessageOrBuilder {
8127 // required string parentPath = 1;
8129 * <code>required string parentPath = 1;</code>
8131 boolean hasParentPath();
8133 * <code>required string parentPath = 1;</code>
8135 java.lang.String getParentPath();
8137 * <code>required string parentPath = 1;</code>
8139 com.google.protobuf.ByteString
8140 getParentPathBytes();
8142 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8144 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8146 boolean hasNormalizedNode();
8148 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8150 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
8152 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8154 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
8157 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
8159 public static final class Container extends
8160 com.google.protobuf.GeneratedMessage
8161 implements ContainerOrBuilder {
8162 // Use Container.newBuilder() to construct.
8163 private Container(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8165 this.unknownFields = builder.getUnknownFields();
8167 private Container(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
8169 private static final Container defaultInstance;
8170 public static Container getDefaultInstance() {
8171 return defaultInstance;
8174 public Container getDefaultInstanceForType() {
8175 return defaultInstance;
8178 private final com.google.protobuf.UnknownFieldSet unknownFields;
8180 public final com.google.protobuf.UnknownFieldSet
8181 getUnknownFields() {
8182 return this.unknownFields;
8185 com.google.protobuf.CodedInputStream input,
8186 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8187 throws com.google.protobuf.InvalidProtocolBufferException {
8189 int mutable_bitField0_ = 0;
8190 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
8191 com.google.protobuf.UnknownFieldSet.newBuilder();
8193 boolean done = false;
8195 int tag = input.readTag();
8201 if (!parseUnknownField(input, unknownFields,
8202 extensionRegistry, tag)) {
8208 bitField0_ |= 0x00000001;
8209 parentPath_ = input.readBytes();
8213 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
8214 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8215 subBuilder = normalizedNode_.toBuilder();
8217 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
8218 if (subBuilder != null) {
8219 subBuilder.mergeFrom(normalizedNode_);
8220 normalizedNode_ = subBuilder.buildPartial();
8222 bitField0_ |= 0x00000002;
8227 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8228 throw e.setUnfinishedMessage(this);
8229 } catch (java.io.IOException e) {
8230 throw new com.google.protobuf.InvalidProtocolBufferException(
8231 e.getMessage()).setUnfinishedMessage(this);
8233 this.unknownFields = unknownFields.build();
8234 makeExtensionsImmutable();
8237 public static final com.google.protobuf.Descriptors.Descriptor
8239 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8242 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8243 internalGetFieldAccessorTable() {
8244 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
8245 .ensureFieldAccessorsInitialized(
8246 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
8249 public static com.google.protobuf.Parser<Container> PARSER =
8250 new com.google.protobuf.AbstractParser<Container>() {
8251 public Container parsePartialFrom(
8252 com.google.protobuf.CodedInputStream input,
8253 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8254 throws com.google.protobuf.InvalidProtocolBufferException {
8255 return new Container(input, extensionRegistry);
8260 public com.google.protobuf.Parser<Container> getParserForType() {
8264 private int bitField0_;
8265 // required string parentPath = 1;
8266 public static final int PARENTPATH_FIELD_NUMBER = 1;
8267 private java.lang.Object parentPath_;
8269 * <code>required string parentPath = 1;</code>
8271 public boolean hasParentPath() {
8272 return ((bitField0_ & 0x00000001) == 0x00000001);
8275 * <code>required string parentPath = 1;</code>
8277 public java.lang.String getParentPath() {
8278 java.lang.Object ref = parentPath_;
8279 if (ref instanceof java.lang.String) {
8280 return (java.lang.String) ref;
8282 com.google.protobuf.ByteString bs =
8283 (com.google.protobuf.ByteString) ref;
8284 java.lang.String s = bs.toStringUtf8();
8285 if (bs.isValidUtf8()) {
8292 * <code>required string parentPath = 1;</code>
8294 public com.google.protobuf.ByteString
8295 getParentPathBytes() {
8296 java.lang.Object ref = parentPath_;
8297 if (ref instanceof java.lang.String) {
8298 com.google.protobuf.ByteString b =
8299 com.google.protobuf.ByteString.copyFromUtf8(
8300 (java.lang.String) ref);
8304 return (com.google.protobuf.ByteString) ref;
8308 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8309 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
8310 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
8312 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8314 public boolean hasNormalizedNode() {
8315 return ((bitField0_ & 0x00000002) == 0x00000002);
8318 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8320 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8321 return normalizedNode_;
8324 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8326 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8327 return normalizedNode_;
8330 private void initFields() {
8332 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8334 private byte memoizedIsInitialized = -1;
8335 public final boolean isInitialized() {
8336 byte isInitialized = memoizedIsInitialized;
8337 if (isInitialized != -1) return isInitialized == 1;
8339 if (!hasParentPath()) {
8340 memoizedIsInitialized = 0;
8343 if (hasNormalizedNode()) {
8344 if (!getNormalizedNode().isInitialized()) {
8345 memoizedIsInitialized = 0;
8349 memoizedIsInitialized = 1;
8353 public void writeTo(com.google.protobuf.CodedOutputStream output)
8354 throws java.io.IOException {
8355 getSerializedSize();
8356 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8357 output.writeBytes(1, getParentPathBytes());
8359 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8360 output.writeMessage(2, normalizedNode_);
8362 getUnknownFields().writeTo(output);
8365 private int memoizedSerializedSize = -1;
8366 public int getSerializedSize() {
8367 int size = memoizedSerializedSize;
8368 if (size != -1) return size;
8371 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8372 size += com.google.protobuf.CodedOutputStream
8373 .computeBytesSize(1, getParentPathBytes());
8375 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8376 size += com.google.protobuf.CodedOutputStream
8377 .computeMessageSize(2, normalizedNode_);
8379 size += getUnknownFields().getSerializedSize();
8380 memoizedSerializedSize = size;
8384 private static final long serialVersionUID = 0L;
8386 protected java.lang.Object writeReplace()
8387 throws java.io.ObjectStreamException {
8388 return super.writeReplace();
8391 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8392 com.google.protobuf.ByteString data)
8393 throws com.google.protobuf.InvalidProtocolBufferException {
8394 return PARSER.parseFrom(data);
8396 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8397 com.google.protobuf.ByteString data,
8398 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8399 throws com.google.protobuf.InvalidProtocolBufferException {
8400 return PARSER.parseFrom(data, extensionRegistry);
8402 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(byte[] data)
8403 throws com.google.protobuf.InvalidProtocolBufferException {
8404 return PARSER.parseFrom(data);
8406 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8408 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8409 throws com.google.protobuf.InvalidProtocolBufferException {
8410 return PARSER.parseFrom(data, extensionRegistry);
8412 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(java.io.InputStream input)
8413 throws java.io.IOException {
8414 return PARSER.parseFrom(input);
8416 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8417 java.io.InputStream input,
8418 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8419 throws java.io.IOException {
8420 return PARSER.parseFrom(input, extensionRegistry);
8422 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(java.io.InputStream input)
8423 throws java.io.IOException {
8424 return PARSER.parseDelimitedFrom(input);
8426 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(
8427 java.io.InputStream input,
8428 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8429 throws java.io.IOException {
8430 return PARSER.parseDelimitedFrom(input, extensionRegistry);
8432 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8433 com.google.protobuf.CodedInputStream input)
8434 throws java.io.IOException {
8435 return PARSER.parseFrom(input);
8437 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8438 com.google.protobuf.CodedInputStream input,
8439 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8440 throws java.io.IOException {
8441 return PARSER.parseFrom(input, extensionRegistry);
8444 public static Builder newBuilder() { return Builder.create(); }
8445 public Builder newBuilderForType() { return newBuilder(); }
8446 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container prototype) {
8447 return newBuilder().mergeFrom(prototype);
8449 public Builder toBuilder() { return newBuilder(this); }
8452 protected Builder newBuilderForType(
8453 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8454 Builder builder = new Builder(parent);
8458 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
8460 public static final class Builder extends
8461 com.google.protobuf.GeneratedMessage.Builder<Builder>
8462 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.ContainerOrBuilder {
8463 public static final com.google.protobuf.Descriptors.Descriptor
8465 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8468 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8469 internalGetFieldAccessorTable() {
8470 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
8471 .ensureFieldAccessorsInitialized(
8472 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
8475 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.newBuilder()
8477 maybeForceBuilderInitialization();
8481 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8483 maybeForceBuilderInitialization();
8485 private void maybeForceBuilderInitialization() {
8486 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
8487 getNormalizedNodeFieldBuilder();
8490 private static Builder create() {
8491 return new Builder();
8494 public Builder clear() {
8497 bitField0_ = (bitField0_ & ~0x00000001);
8498 if (normalizedNodeBuilder_ == null) {
8499 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8501 normalizedNodeBuilder_.clear();
8503 bitField0_ = (bitField0_ & ~0x00000002);
8507 public Builder clone() {
8508 return create().mergeFrom(buildPartial());
8511 public com.google.protobuf.Descriptors.Descriptor
8512 getDescriptorForType() {
8513 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8516 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container getDefaultInstanceForType() {
8517 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance();
8520 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container build() {
8521 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = buildPartial();
8522 if (!result.isInitialized()) {
8523 throw newUninitializedMessageException(result);
8528 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container buildPartial() {
8529 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container(this);
8530 int from_bitField0_ = bitField0_;
8531 int to_bitField0_ = 0;
8532 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
8533 to_bitField0_ |= 0x00000001;
8535 result.parentPath_ = parentPath_;
8536 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
8537 to_bitField0_ |= 0x00000002;
8539 if (normalizedNodeBuilder_ == null) {
8540 result.normalizedNode_ = normalizedNode_;
8542 result.normalizedNode_ = normalizedNodeBuilder_.build();
8544 result.bitField0_ = to_bitField0_;
8549 public Builder mergeFrom(com.google.protobuf.Message other) {
8550 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) {
8551 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container)other);
8553 super.mergeFrom(other);
8558 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container other) {
8559 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance()) return this;
8560 if (other.hasParentPath()) {
8561 bitField0_ |= 0x00000001;
8562 parentPath_ = other.parentPath_;
8565 if (other.hasNormalizedNode()) {
8566 mergeNormalizedNode(other.getNormalizedNode());
8568 this.mergeUnknownFields(other.getUnknownFields());
8572 public final boolean isInitialized() {
8573 if (!hasParentPath()) {
8577 if (hasNormalizedNode()) {
8578 if (!getNormalizedNode().isInitialized()) {
8586 public Builder mergeFrom(
8587 com.google.protobuf.CodedInputStream input,
8588 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8589 throws java.io.IOException {
8590 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parsedMessage = null;
8592 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
8593 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8594 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) e.getUnfinishedMessage();
8597 if (parsedMessage != null) {
8598 mergeFrom(parsedMessage);
8603 private int bitField0_;
8605 // required string parentPath = 1;
8606 private java.lang.Object parentPath_ = "";
8608 * <code>required string parentPath = 1;</code>
8610 public boolean hasParentPath() {
8611 return ((bitField0_ & 0x00000001) == 0x00000001);
8614 * <code>required string parentPath = 1;</code>
8616 public java.lang.String getParentPath() {
8617 java.lang.Object ref = parentPath_;
8618 if (!(ref instanceof java.lang.String)) {
8619 java.lang.String s = ((com.google.protobuf.ByteString) ref)
8624 return (java.lang.String) ref;
8628 * <code>required string parentPath = 1;</code>
8630 public com.google.protobuf.ByteString
8631 getParentPathBytes() {
8632 java.lang.Object ref = parentPath_;
8633 if (ref instanceof String) {
8634 com.google.protobuf.ByteString b =
8635 com.google.protobuf.ByteString.copyFromUtf8(
8636 (java.lang.String) ref);
8640 return (com.google.protobuf.ByteString) ref;
8644 * <code>required string parentPath = 1;</code>
8646 public Builder setParentPath(
8647 java.lang.String value) {
8648 if (value == null) {
8649 throw new NullPointerException();
8651 bitField0_ |= 0x00000001;
8652 parentPath_ = value;
8657 * <code>required string parentPath = 1;</code>
8659 public Builder clearParentPath() {
8660 bitField0_ = (bitField0_ & ~0x00000001);
8661 parentPath_ = getDefaultInstance().getParentPath();
8666 * <code>required string parentPath = 1;</code>
8668 public Builder setParentPathBytes(
8669 com.google.protobuf.ByteString value) {
8670 if (value == null) {
8671 throw new NullPointerException();
8673 bitField0_ |= 0x00000001;
8674 parentPath_ = value;
8679 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8680 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8681 private com.google.protobuf.SingleFieldBuilder<
8682 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_;
8684 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8686 public boolean hasNormalizedNode() {
8687 return ((bitField0_ & 0x00000002) == 0x00000002);
8690 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8692 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8693 if (normalizedNodeBuilder_ == null) {
8694 return normalizedNode_;
8696 return normalizedNodeBuilder_.getMessage();
8700 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8702 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
8703 if (normalizedNodeBuilder_ == null) {
8704 if (value == null) {
8705 throw new NullPointerException();
8707 normalizedNode_ = value;
8710 normalizedNodeBuilder_.setMessage(value);
8712 bitField0_ |= 0x00000002;
8716 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8718 public Builder setNormalizedNode(
8719 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
8720 if (normalizedNodeBuilder_ == null) {
8721 normalizedNode_ = builderForValue.build();
8724 normalizedNodeBuilder_.setMessage(builderForValue.build());
8726 bitField0_ |= 0x00000002;
8730 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8732 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
8733 if (normalizedNodeBuilder_ == null) {
8734 if (((bitField0_ & 0x00000002) == 0x00000002) &&
8735 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
8737 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
8739 normalizedNode_ = value;
8743 normalizedNodeBuilder_.mergeFrom(value);
8745 bitField0_ |= 0x00000002;
8749 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8751 public Builder clearNormalizedNode() {
8752 if (normalizedNodeBuilder_ == null) {
8753 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8756 normalizedNodeBuilder_.clear();
8758 bitField0_ = (bitField0_ & ~0x00000002);
8762 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8764 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
8765 bitField0_ |= 0x00000002;
8767 return getNormalizedNodeFieldBuilder().getBuilder();
8770 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8772 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8773 if (normalizedNodeBuilder_ != null) {
8774 return normalizedNodeBuilder_.getMessageOrBuilder();
8776 return normalizedNode_;
8780 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8782 private com.google.protobuf.SingleFieldBuilder<
8783 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>
8784 getNormalizedNodeFieldBuilder() {
8785 if (normalizedNodeBuilder_ == null) {
8786 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8787 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>(
8789 getParentForChildren(),
8791 normalizedNode_ = null;
8793 return normalizedNodeBuilder_;
8796 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Container)
8800 defaultInstance = new Container(true);
8801 defaultInstance.initFields();
8804 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Container)
8807 public interface NodeMapEntryOrBuilder
8808 extends com.google.protobuf.MessageOrBuilder {
8810 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
8812 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8814 boolean hasInstanceIdentifierPath();
8816 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8818 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
8820 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8822 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
8824 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8826 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8828 boolean hasNormalizedNode();
8830 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8832 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
8834 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8836 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
8839 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
8841 public static final class NodeMapEntry extends
8842 com.google.protobuf.GeneratedMessage
8843 implements NodeMapEntryOrBuilder {
8844 // Use NodeMapEntry.newBuilder() to construct.
8845 private NodeMapEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8847 this.unknownFields = builder.getUnknownFields();
8849 private NodeMapEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
8851 private static final NodeMapEntry defaultInstance;
8852 public static NodeMapEntry getDefaultInstance() {
8853 return defaultInstance;
8856 public NodeMapEntry getDefaultInstanceForType() {
8857 return defaultInstance;
8860 private final com.google.protobuf.UnknownFieldSet unknownFields;
8862 public final com.google.protobuf.UnknownFieldSet
8863 getUnknownFields() {
8864 return this.unknownFields;
8866 private NodeMapEntry(
8867 com.google.protobuf.CodedInputStream input,
8868 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8869 throws com.google.protobuf.InvalidProtocolBufferException {
8871 int mutable_bitField0_ = 0;
8872 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
8873 com.google.protobuf.UnknownFieldSet.newBuilder();
8875 boolean done = false;
8877 int tag = input.readTag();
8883 if (!parseUnknownField(input, unknownFields,
8884 extensionRegistry, tag)) {
8890 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
8891 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8892 subBuilder = instanceIdentifierPath_.toBuilder();
8894 instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
8895 if (subBuilder != null) {
8896 subBuilder.mergeFrom(instanceIdentifierPath_);
8897 instanceIdentifierPath_ = subBuilder.buildPartial();
8899 bitField0_ |= 0x00000001;
8903 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
8904 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8905 subBuilder = normalizedNode_.toBuilder();
8907 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
8908 if (subBuilder != null) {
8909 subBuilder.mergeFrom(normalizedNode_);
8910 normalizedNode_ = subBuilder.buildPartial();
8912 bitField0_ |= 0x00000002;
8917 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8918 throw e.setUnfinishedMessage(this);
8919 } catch (java.io.IOException e) {
8920 throw new com.google.protobuf.InvalidProtocolBufferException(
8921 e.getMessage()).setUnfinishedMessage(this);
8923 this.unknownFields = unknownFields.build();
8924 makeExtensionsImmutable();
8927 public static final com.google.protobuf.Descriptors.Descriptor
8929 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
8932 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8933 internalGetFieldAccessorTable() {
8934 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
8935 .ensureFieldAccessorsInitialized(
8936 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
8939 public static com.google.protobuf.Parser<NodeMapEntry> PARSER =
8940 new com.google.protobuf.AbstractParser<NodeMapEntry>() {
8941 public NodeMapEntry parsePartialFrom(
8942 com.google.protobuf.CodedInputStream input,
8943 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8944 throws com.google.protobuf.InvalidProtocolBufferException {
8945 return new NodeMapEntry(input, extensionRegistry);
8950 public com.google.protobuf.Parser<NodeMapEntry> getParserForType() {
8954 private int bitField0_;
8955 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
8956 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
8957 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
8959 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8961 public boolean hasInstanceIdentifierPath() {
8962 return ((bitField0_ & 0x00000001) == 0x00000001);
8965 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8967 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
8968 return instanceIdentifierPath_;
8971 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8973 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
8974 return instanceIdentifierPath_;
8977 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8978 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
8979 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
8981 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8983 public boolean hasNormalizedNode() {
8984 return ((bitField0_ & 0x00000002) == 0x00000002);
8987 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8989 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8990 return normalizedNode_;
8993 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8995 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8996 return normalizedNode_;
8999 private void initFields() {
9000 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9001 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9003 private byte memoizedIsInitialized = -1;
9004 public final boolean isInitialized() {
9005 byte isInitialized = memoizedIsInitialized;
9006 if (isInitialized != -1) return isInitialized == 1;
9008 if (!hasInstanceIdentifierPath()) {
9009 memoizedIsInitialized = 0;
9012 if (!getInstanceIdentifierPath().isInitialized()) {
9013 memoizedIsInitialized = 0;
9016 if (hasNormalizedNode()) {
9017 if (!getNormalizedNode().isInitialized()) {
9018 memoizedIsInitialized = 0;
9022 memoizedIsInitialized = 1;
9026 public void writeTo(com.google.protobuf.CodedOutputStream output)
9027 throws java.io.IOException {
9028 getSerializedSize();
9029 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9030 output.writeMessage(1, instanceIdentifierPath_);
9032 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9033 output.writeMessage(2, normalizedNode_);
9035 getUnknownFields().writeTo(output);
9038 private int memoizedSerializedSize = -1;
9039 public int getSerializedSize() {
9040 int size = memoizedSerializedSize;
9041 if (size != -1) return size;
9044 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9045 size += com.google.protobuf.CodedOutputStream
9046 .computeMessageSize(1, instanceIdentifierPath_);
9048 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9049 size += com.google.protobuf.CodedOutputStream
9050 .computeMessageSize(2, normalizedNode_);
9052 size += getUnknownFields().getSerializedSize();
9053 memoizedSerializedSize = size;
9057 private static final long serialVersionUID = 0L;
9059 protected java.lang.Object writeReplace()
9060 throws java.io.ObjectStreamException {
9061 return super.writeReplace();
9064 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9065 com.google.protobuf.ByteString data)
9066 throws com.google.protobuf.InvalidProtocolBufferException {
9067 return PARSER.parseFrom(data);
9069 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9070 com.google.protobuf.ByteString data,
9071 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9072 throws com.google.protobuf.InvalidProtocolBufferException {
9073 return PARSER.parseFrom(data, extensionRegistry);
9075 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(byte[] data)
9076 throws com.google.protobuf.InvalidProtocolBufferException {
9077 return PARSER.parseFrom(data);
9079 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9081 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9082 throws com.google.protobuf.InvalidProtocolBufferException {
9083 return PARSER.parseFrom(data, extensionRegistry);
9085 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(java.io.InputStream input)
9086 throws java.io.IOException {
9087 return PARSER.parseFrom(input);
9089 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9090 java.io.InputStream input,
9091 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9092 throws java.io.IOException {
9093 return PARSER.parseFrom(input, extensionRegistry);
9095 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(java.io.InputStream input)
9096 throws java.io.IOException {
9097 return PARSER.parseDelimitedFrom(input);
9099 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(
9100 java.io.InputStream input,
9101 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9102 throws java.io.IOException {
9103 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9105 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9106 com.google.protobuf.CodedInputStream input)
9107 throws java.io.IOException {
9108 return PARSER.parseFrom(input);
9110 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9111 com.google.protobuf.CodedInputStream input,
9112 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9113 throws java.io.IOException {
9114 return PARSER.parseFrom(input, extensionRegistry);
9117 public static Builder newBuilder() { return Builder.create(); }
9118 public Builder newBuilderForType() { return newBuilder(); }
9119 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry prototype) {
9120 return newBuilder().mergeFrom(prototype);
9122 public Builder toBuilder() { return newBuilder(this); }
9125 protected Builder newBuilderForType(
9126 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9127 Builder builder = new Builder(parent);
9131 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
9133 public static final class Builder extends
9134 com.google.protobuf.GeneratedMessage.Builder<Builder>
9135 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder {
9136 public static final com.google.protobuf.Descriptors.Descriptor
9138 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9141 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9142 internalGetFieldAccessorTable() {
9143 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
9144 .ensureFieldAccessorsInitialized(
9145 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
9148 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.newBuilder()
9150 maybeForceBuilderInitialization();
9154 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9156 maybeForceBuilderInitialization();
9158 private void maybeForceBuilderInitialization() {
9159 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9160 getInstanceIdentifierPathFieldBuilder();
9161 getNormalizedNodeFieldBuilder();
9164 private static Builder create() {
9165 return new Builder();
9168 public Builder clear() {
9170 if (instanceIdentifierPathBuilder_ == null) {
9171 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9173 instanceIdentifierPathBuilder_.clear();
9175 bitField0_ = (bitField0_ & ~0x00000001);
9176 if (normalizedNodeBuilder_ == null) {
9177 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9179 normalizedNodeBuilder_.clear();
9181 bitField0_ = (bitField0_ & ~0x00000002);
9185 public Builder clone() {
9186 return create().mergeFrom(buildPartial());
9189 public com.google.protobuf.Descriptors.Descriptor
9190 getDescriptorForType() {
9191 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9194 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getDefaultInstanceForType() {
9195 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance();
9198 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry build() {
9199 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = buildPartial();
9200 if (!result.isInitialized()) {
9201 throw newUninitializedMessageException(result);
9206 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry buildPartial() {
9207 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry(this);
9208 int from_bitField0_ = bitField0_;
9209 int to_bitField0_ = 0;
9210 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
9211 to_bitField0_ |= 0x00000001;
9213 if (instanceIdentifierPathBuilder_ == null) {
9214 result.instanceIdentifierPath_ = instanceIdentifierPath_;
9216 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
9218 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
9219 to_bitField0_ |= 0x00000002;
9221 if (normalizedNodeBuilder_ == null) {
9222 result.normalizedNode_ = normalizedNode_;
9224 result.normalizedNode_ = normalizedNodeBuilder_.build();
9226 result.bitField0_ = to_bitField0_;
9231 public Builder mergeFrom(com.google.protobuf.Message other) {
9232 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) {
9233 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry)other);
9235 super.mergeFrom(other);
9240 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry other) {
9241 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance()) return this;
9242 if (other.hasInstanceIdentifierPath()) {
9243 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
9245 if (other.hasNormalizedNode()) {
9246 mergeNormalizedNode(other.getNormalizedNode());
9248 this.mergeUnknownFields(other.getUnknownFields());
9252 public final boolean isInitialized() {
9253 if (!hasInstanceIdentifierPath()) {
9257 if (!getInstanceIdentifierPath().isInitialized()) {
9261 if (hasNormalizedNode()) {
9262 if (!getNormalizedNode().isInitialized()) {
9270 public Builder mergeFrom(
9271 com.google.protobuf.CodedInputStream input,
9272 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9273 throws java.io.IOException {
9274 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parsedMessage = null;
9276 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
9277 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9278 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) e.getUnfinishedMessage();
9281 if (parsedMessage != null) {
9282 mergeFrom(parsedMessage);
9287 private int bitField0_;
9289 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9290 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9291 private com.google.protobuf.SingleFieldBuilder<
9292 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_;
9294 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9296 public boolean hasInstanceIdentifierPath() {
9297 return ((bitField0_ & 0x00000001) == 0x00000001);
9300 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9302 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
9303 if (instanceIdentifierPathBuilder_ == null) {
9304 return instanceIdentifierPath_;
9306 return instanceIdentifierPathBuilder_.getMessage();
9310 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9312 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
9313 if (instanceIdentifierPathBuilder_ == null) {
9314 if (value == null) {
9315 throw new NullPointerException();
9317 instanceIdentifierPath_ = value;
9320 instanceIdentifierPathBuilder_.setMessage(value);
9322 bitField0_ |= 0x00000001;
9326 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9328 public Builder setInstanceIdentifierPath(
9329 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
9330 if (instanceIdentifierPathBuilder_ == null) {
9331 instanceIdentifierPath_ = builderForValue.build();
9334 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
9336 bitField0_ |= 0x00000001;
9340 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9342 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
9343 if (instanceIdentifierPathBuilder_ == null) {
9344 if (((bitField0_ & 0x00000001) == 0x00000001) &&
9345 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
9346 instanceIdentifierPath_ =
9347 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
9349 instanceIdentifierPath_ = value;
9353 instanceIdentifierPathBuilder_.mergeFrom(value);
9355 bitField0_ |= 0x00000001;
9359 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9361 public Builder clearInstanceIdentifierPath() {
9362 if (instanceIdentifierPathBuilder_ == null) {
9363 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9366 instanceIdentifierPathBuilder_.clear();
9368 bitField0_ = (bitField0_ & ~0x00000001);
9372 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9374 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
9375 bitField0_ |= 0x00000001;
9377 return getInstanceIdentifierPathFieldBuilder().getBuilder();
9380 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9382 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
9383 if (instanceIdentifierPathBuilder_ != null) {
9384 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
9386 return instanceIdentifierPath_;
9390 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9392 private com.google.protobuf.SingleFieldBuilder<
9393 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>
9394 getInstanceIdentifierPathFieldBuilder() {
9395 if (instanceIdentifierPathBuilder_ == null) {
9396 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9397 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>(
9398 instanceIdentifierPath_,
9399 getParentForChildren(),
9401 instanceIdentifierPath_ = null;
9403 return instanceIdentifierPathBuilder_;
9406 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9407 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9408 private com.google.protobuf.SingleFieldBuilder<
9409 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_;
9411 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9413 public boolean hasNormalizedNode() {
9414 return ((bitField0_ & 0x00000002) == 0x00000002);
9417 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9419 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9420 if (normalizedNodeBuilder_ == null) {
9421 return normalizedNode_;
9423 return normalizedNodeBuilder_.getMessage();
9427 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9429 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9430 if (normalizedNodeBuilder_ == null) {
9431 if (value == null) {
9432 throw new NullPointerException();
9434 normalizedNode_ = value;
9437 normalizedNodeBuilder_.setMessage(value);
9439 bitField0_ |= 0x00000002;
9443 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9445 public Builder setNormalizedNode(
9446 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
9447 if (normalizedNodeBuilder_ == null) {
9448 normalizedNode_ = builderForValue.build();
9451 normalizedNodeBuilder_.setMessage(builderForValue.build());
9453 bitField0_ |= 0x00000002;
9457 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9459 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9460 if (normalizedNodeBuilder_ == null) {
9461 if (((bitField0_ & 0x00000002) == 0x00000002) &&
9462 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
9464 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
9466 normalizedNode_ = value;
9470 normalizedNodeBuilder_.mergeFrom(value);
9472 bitField0_ |= 0x00000002;
9476 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9478 public Builder clearNormalizedNode() {
9479 if (normalizedNodeBuilder_ == null) {
9480 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9483 normalizedNodeBuilder_.clear();
9485 bitField0_ = (bitField0_ & ~0x00000002);
9489 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9491 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
9492 bitField0_ |= 0x00000002;
9494 return getNormalizedNodeFieldBuilder().getBuilder();
9497 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9499 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9500 if (normalizedNodeBuilder_ != null) {
9501 return normalizedNodeBuilder_.getMessageOrBuilder();
9503 return normalizedNode_;
9507 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9509 private com.google.protobuf.SingleFieldBuilder<
9510 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>
9511 getNormalizedNodeFieldBuilder() {
9512 if (normalizedNodeBuilder_ == null) {
9513 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9514 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>(
9516 getParentForChildren(),
9518 normalizedNode_ = null;
9520 return normalizedNodeBuilder_;
9523 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
9527 defaultInstance = new NodeMapEntry(true);
9528 defaultInstance.initFields();
9531 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
9534 public interface NodeMapOrBuilder
9535 extends com.google.protobuf.MessageOrBuilder {
9537 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9539 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9541 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>
9542 getMapEntriesList();
9544 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9546 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index);
9548 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9550 int getMapEntriesCount();
9552 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9554 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9555 getMapEntriesOrBuilderList();
9557 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9559 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9563 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
9565 public static final class NodeMap extends
9566 com.google.protobuf.GeneratedMessage
9567 implements NodeMapOrBuilder {
9568 // Use NodeMap.newBuilder() to construct.
9569 private NodeMap(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
9571 this.unknownFields = builder.getUnknownFields();
9573 private NodeMap(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
9575 private static final NodeMap defaultInstance;
9576 public static NodeMap getDefaultInstance() {
9577 return defaultInstance;
9580 public NodeMap getDefaultInstanceForType() {
9581 return defaultInstance;
9584 private final com.google.protobuf.UnknownFieldSet unknownFields;
9586 public final com.google.protobuf.UnknownFieldSet
9587 getUnknownFields() {
9588 return this.unknownFields;
9591 com.google.protobuf.CodedInputStream input,
9592 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9593 throws com.google.protobuf.InvalidProtocolBufferException {
9595 int mutable_bitField0_ = 0;
9596 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
9597 com.google.protobuf.UnknownFieldSet.newBuilder();
9599 boolean done = false;
9601 int tag = input.readTag();
9607 if (!parseUnknownField(input, unknownFields,
9608 extensionRegistry, tag)) {
9614 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
9615 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>();
9616 mutable_bitField0_ |= 0x00000001;
9618 mapEntries_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.PARSER, extensionRegistry));
9623 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9624 throw e.setUnfinishedMessage(this);
9625 } catch (java.io.IOException e) {
9626 throw new com.google.protobuf.InvalidProtocolBufferException(
9627 e.getMessage()).setUnfinishedMessage(this);
9629 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
9630 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
9632 this.unknownFields = unknownFields.build();
9633 makeExtensionsImmutable();
9636 public static final com.google.protobuf.Descriptors.Descriptor
9638 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9641 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9642 internalGetFieldAccessorTable() {
9643 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
9644 .ensureFieldAccessorsInitialized(
9645 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
9648 public static com.google.protobuf.Parser<NodeMap> PARSER =
9649 new com.google.protobuf.AbstractParser<NodeMap>() {
9650 public NodeMap parsePartialFrom(
9651 com.google.protobuf.CodedInputStream input,
9652 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9653 throws com.google.protobuf.InvalidProtocolBufferException {
9654 return new NodeMap(input, extensionRegistry);
9659 public com.google.protobuf.Parser<NodeMap> getParserForType() {
9663 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9664 public static final int MAPENTRIES_FIELD_NUMBER = 1;
9665 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_;
9667 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9669 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
9673 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9675 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9676 getMapEntriesOrBuilderList() {
9680 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9682 public int getMapEntriesCount() {
9683 return mapEntries_.size();
9686 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9688 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
9689 return mapEntries_.get(index);
9692 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9694 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9696 return mapEntries_.get(index);
9699 private void initFields() {
9700 mapEntries_ = java.util.Collections.emptyList();
9702 private byte memoizedIsInitialized = -1;
9703 public final boolean isInitialized() {
9704 byte isInitialized = memoizedIsInitialized;
9705 if (isInitialized != -1) return isInitialized == 1;
9707 for (int i = 0; i < getMapEntriesCount(); i++) {
9708 if (!getMapEntries(i).isInitialized()) {
9709 memoizedIsInitialized = 0;
9713 memoizedIsInitialized = 1;
9717 public void writeTo(com.google.protobuf.CodedOutputStream output)
9718 throws java.io.IOException {
9719 getSerializedSize();
9720 for (int i = 0; i < mapEntries_.size(); i++) {
9721 output.writeMessage(1, mapEntries_.get(i));
9723 getUnknownFields().writeTo(output);
9726 private int memoizedSerializedSize = -1;
9727 public int getSerializedSize() {
9728 int size = memoizedSerializedSize;
9729 if (size != -1) return size;
9732 for (int i = 0; i < mapEntries_.size(); i++) {
9733 size += com.google.protobuf.CodedOutputStream
9734 .computeMessageSize(1, mapEntries_.get(i));
9736 size += getUnknownFields().getSerializedSize();
9737 memoizedSerializedSize = size;
9741 private static final long serialVersionUID = 0L;
9743 protected java.lang.Object writeReplace()
9744 throws java.io.ObjectStreamException {
9745 return super.writeReplace();
9748 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9749 com.google.protobuf.ByteString data)
9750 throws com.google.protobuf.InvalidProtocolBufferException {
9751 return PARSER.parseFrom(data);
9753 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9754 com.google.protobuf.ByteString data,
9755 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9756 throws com.google.protobuf.InvalidProtocolBufferException {
9757 return PARSER.parseFrom(data, extensionRegistry);
9759 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(byte[] data)
9760 throws com.google.protobuf.InvalidProtocolBufferException {
9761 return PARSER.parseFrom(data);
9763 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9765 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9766 throws com.google.protobuf.InvalidProtocolBufferException {
9767 return PARSER.parseFrom(data, extensionRegistry);
9769 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(java.io.InputStream input)
9770 throws java.io.IOException {
9771 return PARSER.parseFrom(input);
9773 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9774 java.io.InputStream input,
9775 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9776 throws java.io.IOException {
9777 return PARSER.parseFrom(input, extensionRegistry);
9779 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(java.io.InputStream input)
9780 throws java.io.IOException {
9781 return PARSER.parseDelimitedFrom(input);
9783 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(
9784 java.io.InputStream input,
9785 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9786 throws java.io.IOException {
9787 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9789 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9790 com.google.protobuf.CodedInputStream input)
9791 throws java.io.IOException {
9792 return PARSER.parseFrom(input);
9794 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9795 com.google.protobuf.CodedInputStream input,
9796 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9797 throws java.io.IOException {
9798 return PARSER.parseFrom(input, extensionRegistry);
9801 public static Builder newBuilder() { return Builder.create(); }
9802 public Builder newBuilderForType() { return newBuilder(); }
9803 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap prototype) {
9804 return newBuilder().mergeFrom(prototype);
9806 public Builder toBuilder() { return newBuilder(this); }
9809 protected Builder newBuilderForType(
9810 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9811 Builder builder = new Builder(parent);
9815 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
9817 public static final class Builder extends
9818 com.google.protobuf.GeneratedMessage.Builder<Builder>
9819 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapOrBuilder {
9820 public static final com.google.protobuf.Descriptors.Descriptor
9822 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9825 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9826 internalGetFieldAccessorTable() {
9827 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
9828 .ensureFieldAccessorsInitialized(
9829 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
9832 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.newBuilder()
9834 maybeForceBuilderInitialization();
9838 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9840 maybeForceBuilderInitialization();
9842 private void maybeForceBuilderInitialization() {
9843 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9844 getMapEntriesFieldBuilder();
9847 private static Builder create() {
9848 return new Builder();
9851 public Builder clear() {
9853 if (mapEntriesBuilder_ == null) {
9854 mapEntries_ = java.util.Collections.emptyList();
9855 bitField0_ = (bitField0_ & ~0x00000001);
9857 mapEntriesBuilder_.clear();
9862 public Builder clone() {
9863 return create().mergeFrom(buildPartial());
9866 public com.google.protobuf.Descriptors.Descriptor
9867 getDescriptorForType() {
9868 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9871 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap getDefaultInstanceForType() {
9872 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance();
9875 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap build() {
9876 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = buildPartial();
9877 if (!result.isInitialized()) {
9878 throw newUninitializedMessageException(result);
9883 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap buildPartial() {
9884 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap(this);
9885 int from_bitField0_ = bitField0_;
9886 if (mapEntriesBuilder_ == null) {
9887 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9888 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
9889 bitField0_ = (bitField0_ & ~0x00000001);
9891 result.mapEntries_ = mapEntries_;
9893 result.mapEntries_ = mapEntriesBuilder_.build();
9899 public Builder mergeFrom(com.google.protobuf.Message other) {
9900 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) {
9901 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap)other);
9903 super.mergeFrom(other);
9908 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap other) {
9909 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance()) return this;
9910 if (mapEntriesBuilder_ == null) {
9911 if (!other.mapEntries_.isEmpty()) {
9912 if (mapEntries_.isEmpty()) {
9913 mapEntries_ = other.mapEntries_;
9914 bitField0_ = (bitField0_ & ~0x00000001);
9916 ensureMapEntriesIsMutable();
9917 mapEntries_.addAll(other.mapEntries_);
9922 if (!other.mapEntries_.isEmpty()) {
9923 if (mapEntriesBuilder_.isEmpty()) {
9924 mapEntriesBuilder_.dispose();
9925 mapEntriesBuilder_ = null;
9926 mapEntries_ = other.mapEntries_;
9927 bitField0_ = (bitField0_ & ~0x00000001);
9928 mapEntriesBuilder_ =
9929 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
9930 getMapEntriesFieldBuilder() : null;
9932 mapEntriesBuilder_.addAllMessages(other.mapEntries_);
9936 this.mergeUnknownFields(other.getUnknownFields());
9940 public final boolean isInitialized() {
9941 for (int i = 0; i < getMapEntriesCount(); i++) {
9942 if (!getMapEntries(i).isInitialized()) {
9950 public Builder mergeFrom(
9951 com.google.protobuf.CodedInputStream input,
9952 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9953 throws java.io.IOException {
9954 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parsedMessage = null;
9956 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
9957 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9958 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) e.getUnfinishedMessage();
9961 if (parsedMessage != null) {
9962 mergeFrom(parsedMessage);
9967 private int bitField0_;
9969 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9970 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_ =
9971 java.util.Collections.emptyList();
9972 private void ensureMapEntriesIsMutable() {
9973 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
9974 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>(mapEntries_);
9975 bitField0_ |= 0x00000001;
9979 private com.google.protobuf.RepeatedFieldBuilder<
9980 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_;
9983 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9985 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
9986 if (mapEntriesBuilder_ == null) {
9987 return java.util.Collections.unmodifiableList(mapEntries_);
9989 return mapEntriesBuilder_.getMessageList();
9993 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9995 public int getMapEntriesCount() {
9996 if (mapEntriesBuilder_ == null) {
9997 return mapEntries_.size();
9999 return mapEntriesBuilder_.getCount();
10003 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10005 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
10006 if (mapEntriesBuilder_ == null) {
10007 return mapEntries_.get(index);
10009 return mapEntriesBuilder_.getMessage(index);
10013 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10015 public Builder setMapEntries(
10016 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10017 if (mapEntriesBuilder_ == null) {
10018 if (value == null) {
10019 throw new NullPointerException();
10021 ensureMapEntriesIsMutable();
10022 mapEntries_.set(index, value);
10025 mapEntriesBuilder_.setMessage(index, value);
10030 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10032 public Builder setMapEntries(
10033 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10034 if (mapEntriesBuilder_ == null) {
10035 ensureMapEntriesIsMutable();
10036 mapEntries_.set(index, builderForValue.build());
10039 mapEntriesBuilder_.setMessage(index, builderForValue.build());
10044 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10046 public Builder addMapEntries(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10047 if (mapEntriesBuilder_ == null) {
10048 if (value == null) {
10049 throw new NullPointerException();
10051 ensureMapEntriesIsMutable();
10052 mapEntries_.add(value);
10055 mapEntriesBuilder_.addMessage(value);
10060 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10062 public Builder addMapEntries(
10063 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10064 if (mapEntriesBuilder_ == null) {
10065 if (value == null) {
10066 throw new NullPointerException();
10068 ensureMapEntriesIsMutable();
10069 mapEntries_.add(index, value);
10072 mapEntriesBuilder_.addMessage(index, value);
10077 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10079 public Builder addMapEntries(
10080 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10081 if (mapEntriesBuilder_ == null) {
10082 ensureMapEntriesIsMutable();
10083 mapEntries_.add(builderForValue.build());
10086 mapEntriesBuilder_.addMessage(builderForValue.build());
10091 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10093 public Builder addMapEntries(
10094 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10095 if (mapEntriesBuilder_ == null) {
10096 ensureMapEntriesIsMutable();
10097 mapEntries_.add(index, builderForValue.build());
10100 mapEntriesBuilder_.addMessage(index, builderForValue.build());
10105 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10107 public Builder addAllMapEntries(
10108 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> values) {
10109 if (mapEntriesBuilder_ == null) {
10110 ensureMapEntriesIsMutable();
10111 super.addAll(values, mapEntries_);
10114 mapEntriesBuilder_.addAllMessages(values);
10119 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10121 public Builder clearMapEntries() {
10122 if (mapEntriesBuilder_ == null) {
10123 mapEntries_ = java.util.Collections.emptyList();
10124 bitField0_ = (bitField0_ & ~0x00000001);
10127 mapEntriesBuilder_.clear();
10132 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10134 public Builder removeMapEntries(int index) {
10135 if (mapEntriesBuilder_ == null) {
10136 ensureMapEntriesIsMutable();
10137 mapEntries_.remove(index);
10140 mapEntriesBuilder_.remove(index);
10145 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10147 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder getMapEntriesBuilder(
10149 return getMapEntriesFieldBuilder().getBuilder(index);
10152 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10154 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
10156 if (mapEntriesBuilder_ == null) {
10157 return mapEntries_.get(index); } else {
10158 return mapEntriesBuilder_.getMessageOrBuilder(index);
10162 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10164 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
10165 getMapEntriesOrBuilderList() {
10166 if (mapEntriesBuilder_ != null) {
10167 return mapEntriesBuilder_.getMessageOrBuilderList();
10169 return java.util.Collections.unmodifiableList(mapEntries_);
10173 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10175 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder() {
10176 return getMapEntriesFieldBuilder().addBuilder(
10177 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
10180 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10182 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder(
10184 return getMapEntriesFieldBuilder().addBuilder(
10185 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
10188 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10190 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder>
10191 getMapEntriesBuilderList() {
10192 return getMapEntriesFieldBuilder().getBuilderList();
10194 private com.google.protobuf.RepeatedFieldBuilder<
10195 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>
10196 getMapEntriesFieldBuilder() {
10197 if (mapEntriesBuilder_ == null) {
10198 mapEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
10199 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>(
10201 ((bitField0_ & 0x00000001) == 0x00000001),
10202 getParentForChildren(),
10204 mapEntries_ = null;
10206 return mapEntriesBuilder_;
10209 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMap)
10213 defaultInstance = new NodeMap(true);
10214 defaultInstance.initFields();
10217 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMap)
10220 private static com.google.protobuf.Descriptors.Descriptor
10221 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
10223 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10224 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable;
10225 private static com.google.protobuf.Descriptors.Descriptor
10226 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
10228 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10229 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable;
10230 private static com.google.protobuf.Descriptors.Descriptor
10231 internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
10233 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10234 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable;
10235 private static com.google.protobuf.Descriptors.Descriptor
10236 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
10238 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10239 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable;
10240 private static com.google.protobuf.Descriptors.Descriptor
10241 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
10243 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10244 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable;
10245 private static com.google.protobuf.Descriptors.Descriptor
10246 internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
10248 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10249 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable;
10250 private static com.google.protobuf.Descriptors.Descriptor
10251 internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
10253 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10254 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable;
10255 private static com.google.protobuf.Descriptors.Descriptor
10256 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
10258 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10259 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable;
10260 private static com.google.protobuf.Descriptors.Descriptor
10261 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
10263 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10264 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable;
10266 public static com.google.protobuf.Descriptors.FileDescriptor
10270 private static com.google.protobuf.Descriptors.FileDescriptor
10273 java.lang.String[] descriptorData = {
10274 "\n\014Common.proto\022!org.opendaylight.control" +
10275 "ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" +
10276 "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"l\n\025PathArgumen" +
10277 "tAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayli" +
10278 "ght.controller.mdsal.QName\022\r\n\005value\030\002 \001(" +
10279 "\t\022\014\n\004type\030\003 \001(\005\"N\n\005QName\022\r\n\005value\030\001 \001(\t\022" +
10280 "\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003 \001(\005\022\021\n\t" +
10281 "localName\030\004 \001(\005\"\207\002\n\014PathArgument\022\r\n\005valu" +
10282 "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeType\030\003 \001(\0132" +
10283 "(.org.opendaylight.controller.mdsal.QNam",
10284 "e\022K\n\tattribute\030\004 \003(\01328.org.opendaylight." +
10285 "controller.mdsal.PathArgumentAttribute\022@" +
10286 "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" +
10287 "ntroller.mdsal.Attribute\022\017\n\007intType\030\006 \001(" +
10288 "\005\"f\n\022InstanceIdentifier\022B\n\targuments\030\001 \003" +
10289 "(\0132/.org.opendaylight.controller.mdsal.P" +
10290 "athArgument\022\014\n\004code\030\002 \003(\t\"\245\003\n\004Node\022\014\n\004pa" +
10291 "th\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022E\n\014pathArgument\030\003" +
10292 " \001(\0132/.org.opendaylight.controller.mdsal" +
10293 ".PathArgument\022\017\n\007intType\030\004 \001(\005\022@\n\nattrib",
10294 "utes\030\005 \003(\0132,.org.opendaylight.controller" +
10295 ".mdsal.Attribute\0226\n\005child\030\006 \003(\0132\'.org.op" +
10296 "endaylight.controller.mdsal.Node\022\r\n\005valu" +
10297 "e\030\007 \001(\t\022\021\n\tvalueType\030\010 \001(\t\022\024\n\014intValueTy" +
10298 "pe\030\t \001(\005\022V\n\027instanceIdentifierValue\030\n \001(" +
10299 "\01325.org.opendaylight.controller.mdsal.In" +
10300 "stanceIdentifier\022\021\n\tbitsValue\030\013 \003(\t\022\014\n\004c" +
10301 "ode\030\014 \003(\t\"`\n\tContainer\022\022\n\nparentPath\030\001 \002" +
10302 "(\t\022?\n\016normalizedNode\030\002 \001(\0132\'.org.openday" +
10303 "light.controller.mdsal.Node\"\246\001\n\014NodeMapE",
10304 "ntry\022U\n\026instanceIdentifierPath\030\001 \002(\01325.o" +
10305 "rg.opendaylight.controller.mdsal.Instanc" +
10306 "eIdentifier\022?\n\016normalizedNode\030\002 \001(\0132\'.or" +
10307 "g.opendaylight.controller.mdsal.Node\"N\n\007" +
10308 "NodeMap\022C\n\nmapEntries\030\001 \003(\0132/.org.openda" +
10309 "ylight.controller.mdsal.NodeMapEntryBO\n5" +
10310 "org.opendaylight.controller.protobuff.me" +
10311 "ssages.commonB\026NormalizedNodeMessages"
10313 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
10314 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
10315 public com.google.protobuf.ExtensionRegistry assignDescriptors(
10316 com.google.protobuf.Descriptors.FileDescriptor root) {
10318 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor =
10319 getDescriptor().getMessageTypes().get(0);
10320 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable = new
10321 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10322 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor,
10323 new java.lang.String[] { "Name", "Value", "Type", });
10324 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor =
10325 getDescriptor().getMessageTypes().get(1);
10326 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new
10327 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10328 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor,
10329 new java.lang.String[] { "Name", "Value", "Type", });
10330 internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
10331 getDescriptor().getMessageTypes().get(2);
10332 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new
10333 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10334 internal_static_org_opendaylight_controller_mdsal_QName_descriptor,
10335 new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", });
10336 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor =
10337 getDescriptor().getMessageTypes().get(3);
10338 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new
10339 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10340 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor,
10341 new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", });
10342 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor =
10343 getDescriptor().getMessageTypes().get(4);
10344 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new
10345 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10346 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor,
10347 new java.lang.String[] { "Arguments", "Code", });
10348 internal_static_org_opendaylight_controller_mdsal_Node_descriptor =
10349 getDescriptor().getMessageTypes().get(5);
10350 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new
10351 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10352 internal_static_org_opendaylight_controller_mdsal_Node_descriptor,
10353 new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", });
10354 internal_static_org_opendaylight_controller_mdsal_Container_descriptor =
10355 getDescriptor().getMessageTypes().get(6);
10356 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new
10357 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10358 internal_static_org_opendaylight_controller_mdsal_Container_descriptor,
10359 new java.lang.String[] { "ParentPath", "NormalizedNode", });
10360 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor =
10361 getDescriptor().getMessageTypes().get(7);
10362 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new
10363 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10364 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor,
10365 new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", });
10366 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor =
10367 getDescriptor().getMessageTypes().get(8);
10368 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new
10369 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10370 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,
10371 new java.lang.String[] { "MapEntries", });
10375 com.google.protobuf.Descriptors.FileDescriptor
10376 .internalBuildGeneratedFileFrom(descriptorData,
10377 new com.google.protobuf.Descriptors.FileDescriptor[] {
10381 // @@protoc_insertion_point(outer_class_scope)