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);
5414 // optional bytes bytesValue = 13;
5416 * <code>optional bytes bytesValue = 13;</code>
5418 boolean hasBytesValue();
5420 * <code>optional bytes bytesValue = 13;</code>
5422 com.google.protobuf.ByteString getBytesValue();
5425 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
5427 public static final class Node extends
5428 com.google.protobuf.GeneratedMessage
5429 implements NodeOrBuilder {
5430 // Use Node.newBuilder() to construct.
5431 private Node(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
5433 this.unknownFields = builder.getUnknownFields();
5435 private Node(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
5437 private static final Node defaultInstance;
5438 public static Node getDefaultInstance() {
5439 return defaultInstance;
5442 public Node getDefaultInstanceForType() {
5443 return defaultInstance;
5446 private final com.google.protobuf.UnknownFieldSet unknownFields;
5448 public final com.google.protobuf.UnknownFieldSet
5449 getUnknownFields() {
5450 return this.unknownFields;
5453 com.google.protobuf.CodedInputStream input,
5454 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5455 throws com.google.protobuf.InvalidProtocolBufferException {
5457 int mutable_bitField0_ = 0;
5458 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
5459 com.google.protobuf.UnknownFieldSet.newBuilder();
5461 boolean done = false;
5463 int tag = input.readTag();
5469 if (!parseUnknownField(input, unknownFields,
5470 extensionRegistry, tag)) {
5476 bitField0_ |= 0x00000001;
5477 path_ = input.readBytes();
5481 bitField0_ |= 0x00000002;
5482 type_ = input.readBytes();
5486 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null;
5487 if (((bitField0_ & 0x00000004) == 0x00000004)) {
5488 subBuilder = pathArgument_.toBuilder();
5490 pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry);
5491 if (subBuilder != null) {
5492 subBuilder.mergeFrom(pathArgument_);
5493 pathArgument_ = subBuilder.buildPartial();
5495 bitField0_ |= 0x00000004;
5499 bitField0_ |= 0x00000008;
5500 intType_ = input.readInt32();
5504 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
5505 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
5506 mutable_bitField0_ |= 0x00000010;
5508 attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
5512 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
5513 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>();
5514 mutable_bitField0_ |= 0x00000020;
5516 child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry));
5520 bitField0_ |= 0x00000010;
5521 value_ = input.readBytes();
5525 bitField0_ |= 0x00000020;
5526 valueType_ = input.readBytes();
5530 bitField0_ |= 0x00000040;
5531 intValueType_ = input.readInt32();
5535 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
5536 if (((bitField0_ & 0x00000080) == 0x00000080)) {
5537 subBuilder = instanceIdentifierValue_.toBuilder();
5539 instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
5540 if (subBuilder != null) {
5541 subBuilder.mergeFrom(instanceIdentifierValue_);
5542 instanceIdentifierValue_ = subBuilder.buildPartial();
5544 bitField0_ |= 0x00000080;
5548 if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
5549 bitsValue_ = new com.google.protobuf.LazyStringArrayList();
5550 mutable_bitField0_ |= 0x00000400;
5552 bitsValue_.add(input.readBytes());
5556 if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
5557 code_ = new com.google.protobuf.LazyStringArrayList();
5558 mutable_bitField0_ |= 0x00000800;
5560 code_.add(input.readBytes());
5564 bitField0_ |= 0x00000100;
5565 bytesValue_ = input.readBytes();
5570 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5571 throw e.setUnfinishedMessage(this);
5572 } catch (java.io.IOException e) {
5573 throw new com.google.protobuf.InvalidProtocolBufferException(
5574 e.getMessage()).setUnfinishedMessage(this);
5576 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
5577 attributes_ = java.util.Collections.unmodifiableList(attributes_);
5579 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
5580 child_ = java.util.Collections.unmodifiableList(child_);
5582 if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
5583 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
5585 if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
5586 code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
5588 this.unknownFields = unknownFields.build();
5589 makeExtensionsImmutable();
5592 public static final com.google.protobuf.Descriptors.Descriptor
5594 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
5597 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5598 internalGetFieldAccessorTable() {
5599 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
5600 .ensureFieldAccessorsInitialized(
5601 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
5604 public static com.google.protobuf.Parser<Node> PARSER =
5605 new com.google.protobuf.AbstractParser<Node>() {
5606 public Node parsePartialFrom(
5607 com.google.protobuf.CodedInputStream input,
5608 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5609 throws com.google.protobuf.InvalidProtocolBufferException {
5610 return new Node(input, extensionRegistry);
5615 public com.google.protobuf.Parser<Node> getParserForType() {
5619 private int bitField0_;
5620 // optional string path = 1;
5621 public static final int PATH_FIELD_NUMBER = 1;
5622 private java.lang.Object path_;
5624 * <code>optional string path = 1;</code>
5627 * @deprecated(use pathArgument)
5630 public boolean hasPath() {
5631 return ((bitField0_ & 0x00000001) == 0x00000001);
5634 * <code>optional string path = 1;</code>
5637 * @deprecated(use pathArgument)
5640 public java.lang.String getPath() {
5641 java.lang.Object ref = path_;
5642 if (ref instanceof java.lang.String) {
5643 return (java.lang.String) ref;
5645 com.google.protobuf.ByteString bs =
5646 (com.google.protobuf.ByteString) ref;
5647 java.lang.String s = bs.toStringUtf8();
5648 if (bs.isValidUtf8()) {
5655 * <code>optional string path = 1;</code>
5658 * @deprecated(use pathArgument)
5661 public com.google.protobuf.ByteString
5663 java.lang.Object ref = path_;
5664 if (ref instanceof java.lang.String) {
5665 com.google.protobuf.ByteString b =
5666 com.google.protobuf.ByteString.copyFromUtf8(
5667 (java.lang.String) ref);
5671 return (com.google.protobuf.ByteString) ref;
5675 // optional string type = 2;
5676 public static final int TYPE_FIELD_NUMBER = 2;
5677 private java.lang.Object type_;
5679 * <code>optional string type = 2;</code>
5682 * @deprecated(use intType)
5685 public boolean hasType() {
5686 return ((bitField0_ & 0x00000002) == 0x00000002);
5689 * <code>optional string type = 2;</code>
5692 * @deprecated(use intType)
5695 public java.lang.String getType() {
5696 java.lang.Object ref = type_;
5697 if (ref instanceof java.lang.String) {
5698 return (java.lang.String) ref;
5700 com.google.protobuf.ByteString bs =
5701 (com.google.protobuf.ByteString) ref;
5702 java.lang.String s = bs.toStringUtf8();
5703 if (bs.isValidUtf8()) {
5710 * <code>optional string type = 2;</code>
5713 * @deprecated(use intType)
5716 public com.google.protobuf.ByteString
5718 java.lang.Object ref = type_;
5719 if (ref instanceof java.lang.String) {
5720 com.google.protobuf.ByteString b =
5721 com.google.protobuf.ByteString.copyFromUtf8(
5722 (java.lang.String) ref);
5726 return (com.google.protobuf.ByteString) ref;
5730 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
5731 public static final int PATHARGUMENT_FIELD_NUMBER = 3;
5732 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_;
5734 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5736 public boolean hasPathArgument() {
5737 return ((bitField0_ & 0x00000004) == 0x00000004);
5740 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5742 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
5743 return pathArgument_;
5746 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5748 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
5749 return pathArgument_;
5752 // optional int32 intType = 4;
5753 public static final int INTTYPE_FIELD_NUMBER = 4;
5754 private int intType_;
5756 * <code>optional int32 intType = 4;</code>
5758 public boolean hasIntType() {
5759 return ((bitField0_ & 0x00000008) == 0x00000008);
5762 * <code>optional int32 intType = 4;</code>
5764 public int getIntType() {
5768 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
5769 public static final int ATTRIBUTES_FIELD_NUMBER = 5;
5770 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
5772 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5774 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
5778 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5780 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
5781 getAttributesOrBuilderList() {
5785 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5787 public int getAttributesCount() {
5788 return attributes_.size();
5791 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5793 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
5794 return attributes_.get(index);
5797 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5799 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
5801 return attributes_.get(index);
5804 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
5805 public static final int CHILD_FIELD_NUMBER = 6;
5806 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_;
5808 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5810 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
5814 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5816 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
5817 getChildOrBuilderList() {
5821 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5823 public int getChildCount() {
5824 return child_.size();
5827 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5829 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
5830 return child_.get(index);
5833 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5835 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
5837 return child_.get(index);
5840 // optional string value = 7;
5841 public static final int VALUE_FIELD_NUMBER = 7;
5842 private java.lang.Object value_;
5844 * <code>optional string value = 7;</code>
5846 public boolean hasValue() {
5847 return ((bitField0_ & 0x00000010) == 0x00000010);
5850 * <code>optional string value = 7;</code>
5852 public java.lang.String getValue() {
5853 java.lang.Object ref = value_;
5854 if (ref instanceof java.lang.String) {
5855 return (java.lang.String) ref;
5857 com.google.protobuf.ByteString bs =
5858 (com.google.protobuf.ByteString) ref;
5859 java.lang.String s = bs.toStringUtf8();
5860 if (bs.isValidUtf8()) {
5867 * <code>optional string value = 7;</code>
5869 public com.google.protobuf.ByteString
5871 java.lang.Object ref = value_;
5872 if (ref instanceof java.lang.String) {
5873 com.google.protobuf.ByteString b =
5874 com.google.protobuf.ByteString.copyFromUtf8(
5875 (java.lang.String) ref);
5879 return (com.google.protobuf.ByteString) ref;
5883 // optional string valueType = 8;
5884 public static final int VALUETYPE_FIELD_NUMBER = 8;
5885 private java.lang.Object valueType_;
5887 * <code>optional string valueType = 8;</code>
5890 * @deprecated(use intValueType)
5893 public boolean hasValueType() {
5894 return ((bitField0_ & 0x00000020) == 0x00000020);
5897 * <code>optional string valueType = 8;</code>
5900 * @deprecated(use intValueType)
5903 public java.lang.String getValueType() {
5904 java.lang.Object ref = valueType_;
5905 if (ref instanceof java.lang.String) {
5906 return (java.lang.String) ref;
5908 com.google.protobuf.ByteString bs =
5909 (com.google.protobuf.ByteString) ref;
5910 java.lang.String s = bs.toStringUtf8();
5911 if (bs.isValidUtf8()) {
5918 * <code>optional string valueType = 8;</code>
5921 * @deprecated(use intValueType)
5924 public com.google.protobuf.ByteString
5925 getValueTypeBytes() {
5926 java.lang.Object ref = valueType_;
5927 if (ref instanceof java.lang.String) {
5928 com.google.protobuf.ByteString b =
5929 com.google.protobuf.ByteString.copyFromUtf8(
5930 (java.lang.String) ref);
5934 return (com.google.protobuf.ByteString) ref;
5938 // optional int32 intValueType = 9;
5939 public static final int INTVALUETYPE_FIELD_NUMBER = 9;
5940 private int intValueType_;
5942 * <code>optional int32 intValueType = 9;</code>
5945 * instead of valueType
5948 public boolean hasIntValueType() {
5949 return ((bitField0_ & 0x00000040) == 0x00000040);
5952 * <code>optional int32 intValueType = 9;</code>
5955 * instead of valueType
5958 public int getIntValueType() {
5959 return intValueType_;
5962 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
5963 public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10;
5964 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
5966 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5972 public boolean hasInstanceIdentifierValue() {
5973 return ((bitField0_ & 0x00000080) == 0x00000080);
5976 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5982 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
5983 return instanceIdentifierValue_;
5986 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5992 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
5993 return instanceIdentifierValue_;
5996 // repeated string bitsValue = 11;
5997 public static final int BITSVALUE_FIELD_NUMBER = 11;
5998 private com.google.protobuf.LazyStringList bitsValue_;
6000 * <code>repeated string bitsValue = 11;</code>
6003 * intValueType = Bits
6006 public java.util.List<java.lang.String>
6007 getBitsValueList() {
6011 * <code>repeated string bitsValue = 11;</code>
6014 * intValueType = Bits
6017 public int getBitsValueCount() {
6018 return bitsValue_.size();
6021 * <code>repeated string bitsValue = 11;</code>
6024 * intValueType = Bits
6027 public java.lang.String getBitsValue(int index) {
6028 return bitsValue_.get(index);
6031 * <code>repeated string bitsValue = 11;</code>
6034 * intValueType = Bits
6037 public com.google.protobuf.ByteString
6038 getBitsValueBytes(int index) {
6039 return bitsValue_.getByteString(index);
6042 // repeated string code = 12;
6043 public static final int CODE_FIELD_NUMBER = 12;
6044 private com.google.protobuf.LazyStringList code_;
6046 * <code>repeated string code = 12;</code>
6049 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6052 public java.util.List<java.lang.String>
6057 * <code>repeated string code = 12;</code>
6060 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6063 public int getCodeCount() {
6064 return code_.size();
6067 * <code>repeated string code = 12;</code>
6070 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6073 public java.lang.String getCode(int index) {
6074 return code_.get(index);
6077 * <code>repeated string code = 12;</code>
6080 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6083 public com.google.protobuf.ByteString
6084 getCodeBytes(int index) {
6085 return code_.getByteString(index);
6088 // optional bytes bytesValue = 13;
6089 public static final int BYTESVALUE_FIELD_NUMBER = 13;
6090 private com.google.protobuf.ByteString bytesValue_;
6092 * <code>optional bytes bytesValue = 13;</code>
6094 public boolean hasBytesValue() {
6095 return ((bitField0_ & 0x00000100) == 0x00000100);
6098 * <code>optional bytes bytesValue = 13;</code>
6100 public com.google.protobuf.ByteString getBytesValue() {
6104 private void initFields() {
6107 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6109 attributes_ = java.util.Collections.emptyList();
6110 child_ = java.util.Collections.emptyList();
6114 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
6115 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6116 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6117 bytesValue_ = com.google.protobuf.ByteString.EMPTY;
6119 private byte memoizedIsInitialized = -1;
6120 public final boolean isInitialized() {
6121 byte isInitialized = memoizedIsInitialized;
6122 if (isInitialized != -1) return isInitialized == 1;
6124 if (hasPathArgument()) {
6125 if (!getPathArgument().isInitialized()) {
6126 memoizedIsInitialized = 0;
6130 for (int i = 0; i < getAttributesCount(); i++) {
6131 if (!getAttributes(i).isInitialized()) {
6132 memoizedIsInitialized = 0;
6136 for (int i = 0; i < getChildCount(); i++) {
6137 if (!getChild(i).isInitialized()) {
6138 memoizedIsInitialized = 0;
6142 if (hasInstanceIdentifierValue()) {
6143 if (!getInstanceIdentifierValue().isInitialized()) {
6144 memoizedIsInitialized = 0;
6148 memoizedIsInitialized = 1;
6152 public void writeTo(com.google.protobuf.CodedOutputStream output)
6153 throws java.io.IOException {
6154 getSerializedSize();
6155 if (((bitField0_ & 0x00000001) == 0x00000001)) {
6156 output.writeBytes(1, getPathBytes());
6158 if (((bitField0_ & 0x00000002) == 0x00000002)) {
6159 output.writeBytes(2, getTypeBytes());
6161 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6162 output.writeMessage(3, pathArgument_);
6164 if (((bitField0_ & 0x00000008) == 0x00000008)) {
6165 output.writeInt32(4, intType_);
6167 for (int i = 0; i < attributes_.size(); i++) {
6168 output.writeMessage(5, attributes_.get(i));
6170 for (int i = 0; i < child_.size(); i++) {
6171 output.writeMessage(6, child_.get(i));
6173 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6174 output.writeBytes(7, getValueBytes());
6176 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6177 output.writeBytes(8, getValueTypeBytes());
6179 if (((bitField0_ & 0x00000040) == 0x00000040)) {
6180 output.writeInt32(9, intValueType_);
6182 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6183 output.writeMessage(10, instanceIdentifierValue_);
6185 for (int i = 0; i < bitsValue_.size(); i++) {
6186 output.writeBytes(11, bitsValue_.getByteString(i));
6188 for (int i = 0; i < code_.size(); i++) {
6189 output.writeBytes(12, code_.getByteString(i));
6191 if (((bitField0_ & 0x00000100) == 0x00000100)) {
6192 output.writeBytes(13, bytesValue_);
6194 getUnknownFields().writeTo(output);
6197 private int memoizedSerializedSize = -1;
6198 public int getSerializedSize() {
6199 int size = memoizedSerializedSize;
6200 if (size != -1) return size;
6203 if (((bitField0_ & 0x00000001) == 0x00000001)) {
6204 size += com.google.protobuf.CodedOutputStream
6205 .computeBytesSize(1, getPathBytes());
6207 if (((bitField0_ & 0x00000002) == 0x00000002)) {
6208 size += com.google.protobuf.CodedOutputStream
6209 .computeBytesSize(2, getTypeBytes());
6211 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6212 size += com.google.protobuf.CodedOutputStream
6213 .computeMessageSize(3, pathArgument_);
6215 if (((bitField0_ & 0x00000008) == 0x00000008)) {
6216 size += com.google.protobuf.CodedOutputStream
6217 .computeInt32Size(4, intType_);
6219 for (int i = 0; i < attributes_.size(); i++) {
6220 size += com.google.protobuf.CodedOutputStream
6221 .computeMessageSize(5, attributes_.get(i));
6223 for (int i = 0; i < child_.size(); i++) {
6224 size += com.google.protobuf.CodedOutputStream
6225 .computeMessageSize(6, child_.get(i));
6227 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6228 size += com.google.protobuf.CodedOutputStream
6229 .computeBytesSize(7, getValueBytes());
6231 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6232 size += com.google.protobuf.CodedOutputStream
6233 .computeBytesSize(8, getValueTypeBytes());
6235 if (((bitField0_ & 0x00000040) == 0x00000040)) {
6236 size += com.google.protobuf.CodedOutputStream
6237 .computeInt32Size(9, intValueType_);
6239 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6240 size += com.google.protobuf.CodedOutputStream
6241 .computeMessageSize(10, instanceIdentifierValue_);
6245 for (int i = 0; i < bitsValue_.size(); i++) {
6246 dataSize += com.google.protobuf.CodedOutputStream
6247 .computeBytesSizeNoTag(bitsValue_.getByteString(i));
6250 size += 1 * getBitsValueList().size();
6254 for (int i = 0; i < code_.size(); i++) {
6255 dataSize += com.google.protobuf.CodedOutputStream
6256 .computeBytesSizeNoTag(code_.getByteString(i));
6259 size += 1 * getCodeList().size();
6261 if (((bitField0_ & 0x00000100) == 0x00000100)) {
6262 size += com.google.protobuf.CodedOutputStream
6263 .computeBytesSize(13, bytesValue_);
6265 size += getUnknownFields().getSerializedSize();
6266 memoizedSerializedSize = size;
6270 private static final long serialVersionUID = 0L;
6272 protected java.lang.Object writeReplace()
6273 throws java.io.ObjectStreamException {
6274 return super.writeReplace();
6277 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6278 com.google.protobuf.ByteString data)
6279 throws com.google.protobuf.InvalidProtocolBufferException {
6280 return PARSER.parseFrom(data);
6282 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6283 com.google.protobuf.ByteString data,
6284 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6285 throws com.google.protobuf.InvalidProtocolBufferException {
6286 return PARSER.parseFrom(data, extensionRegistry);
6288 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(byte[] data)
6289 throws com.google.protobuf.InvalidProtocolBufferException {
6290 return PARSER.parseFrom(data);
6292 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6294 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6295 throws com.google.protobuf.InvalidProtocolBufferException {
6296 return PARSER.parseFrom(data, extensionRegistry);
6298 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(java.io.InputStream input)
6299 throws java.io.IOException {
6300 return PARSER.parseFrom(input);
6302 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6303 java.io.InputStream input,
6304 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6305 throws java.io.IOException {
6306 return PARSER.parseFrom(input, extensionRegistry);
6308 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(java.io.InputStream input)
6309 throws java.io.IOException {
6310 return PARSER.parseDelimitedFrom(input);
6312 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(
6313 java.io.InputStream input,
6314 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6315 throws java.io.IOException {
6316 return PARSER.parseDelimitedFrom(input, extensionRegistry);
6318 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6319 com.google.protobuf.CodedInputStream input)
6320 throws java.io.IOException {
6321 return PARSER.parseFrom(input);
6323 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6324 com.google.protobuf.CodedInputStream input,
6325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6326 throws java.io.IOException {
6327 return PARSER.parseFrom(input, extensionRegistry);
6330 public static Builder newBuilder() { return Builder.create(); }
6331 public Builder newBuilderForType() { return newBuilder(); }
6332 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node prototype) {
6333 return newBuilder().mergeFrom(prototype);
6335 public Builder toBuilder() { return newBuilder(this); }
6338 protected Builder newBuilderForType(
6339 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6340 Builder builder = new Builder(parent);
6344 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
6346 public static final class Builder extends
6347 com.google.protobuf.GeneratedMessage.Builder<Builder>
6348 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder {
6349 public static final com.google.protobuf.Descriptors.Descriptor
6351 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6354 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
6355 internalGetFieldAccessorTable() {
6356 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
6357 .ensureFieldAccessorsInitialized(
6358 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
6361 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder()
6363 maybeForceBuilderInitialization();
6367 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6369 maybeForceBuilderInitialization();
6371 private void maybeForceBuilderInitialization() {
6372 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
6373 getPathArgumentFieldBuilder();
6374 getAttributesFieldBuilder();
6375 getChildFieldBuilder();
6376 getInstanceIdentifierValueFieldBuilder();
6379 private static Builder create() {
6380 return new Builder();
6383 public Builder clear() {
6386 bitField0_ = (bitField0_ & ~0x00000001);
6388 bitField0_ = (bitField0_ & ~0x00000002);
6389 if (pathArgumentBuilder_ == null) {
6390 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6392 pathArgumentBuilder_.clear();
6394 bitField0_ = (bitField0_ & ~0x00000004);
6396 bitField0_ = (bitField0_ & ~0x00000008);
6397 if (attributesBuilder_ == null) {
6398 attributes_ = java.util.Collections.emptyList();
6399 bitField0_ = (bitField0_ & ~0x00000010);
6401 attributesBuilder_.clear();
6403 if (childBuilder_ == null) {
6404 child_ = java.util.Collections.emptyList();
6405 bitField0_ = (bitField0_ & ~0x00000020);
6407 childBuilder_.clear();
6410 bitField0_ = (bitField0_ & ~0x00000040);
6412 bitField0_ = (bitField0_ & ~0x00000080);
6414 bitField0_ = (bitField0_ & ~0x00000100);
6415 if (instanceIdentifierValueBuilder_ == null) {
6416 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
6418 instanceIdentifierValueBuilder_.clear();
6420 bitField0_ = (bitField0_ & ~0x00000200);
6421 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6422 bitField0_ = (bitField0_ & ~0x00000400);
6423 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6424 bitField0_ = (bitField0_ & ~0x00000800);
6425 bytesValue_ = com.google.protobuf.ByteString.EMPTY;
6426 bitField0_ = (bitField0_ & ~0x00001000);
6430 public Builder clone() {
6431 return create().mergeFrom(buildPartial());
6434 public com.google.protobuf.Descriptors.Descriptor
6435 getDescriptorForType() {
6436 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6439 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getDefaultInstanceForType() {
6440 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
6443 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node build() {
6444 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = buildPartial();
6445 if (!result.isInitialized()) {
6446 throw newUninitializedMessageException(result);
6451 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node buildPartial() {
6452 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node(this);
6453 int from_bitField0_ = bitField0_;
6454 int to_bitField0_ = 0;
6455 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
6456 to_bitField0_ |= 0x00000001;
6458 result.path_ = path_;
6459 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
6460 to_bitField0_ |= 0x00000002;
6462 result.type_ = type_;
6463 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
6464 to_bitField0_ |= 0x00000004;
6466 if (pathArgumentBuilder_ == null) {
6467 result.pathArgument_ = pathArgument_;
6469 result.pathArgument_ = pathArgumentBuilder_.build();
6471 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
6472 to_bitField0_ |= 0x00000008;
6474 result.intType_ = intType_;
6475 if (attributesBuilder_ == null) {
6476 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6477 attributes_ = java.util.Collections.unmodifiableList(attributes_);
6478 bitField0_ = (bitField0_ & ~0x00000010);
6480 result.attributes_ = attributes_;
6482 result.attributes_ = attributesBuilder_.build();
6484 if (childBuilder_ == null) {
6485 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6486 child_ = java.util.Collections.unmodifiableList(child_);
6487 bitField0_ = (bitField0_ & ~0x00000020);
6489 result.child_ = child_;
6491 result.child_ = childBuilder_.build();
6493 if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
6494 to_bitField0_ |= 0x00000010;
6496 result.value_ = value_;
6497 if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
6498 to_bitField0_ |= 0x00000020;
6500 result.valueType_ = valueType_;
6501 if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
6502 to_bitField0_ |= 0x00000040;
6504 result.intValueType_ = intValueType_;
6505 if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
6506 to_bitField0_ |= 0x00000080;
6508 if (instanceIdentifierValueBuilder_ == null) {
6509 result.instanceIdentifierValue_ = instanceIdentifierValue_;
6511 result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
6513 if (((bitField0_ & 0x00000400) == 0x00000400)) {
6514 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
6516 bitField0_ = (bitField0_ & ~0x00000400);
6518 result.bitsValue_ = bitsValue_;
6519 if (((bitField0_ & 0x00000800) == 0x00000800)) {
6520 code_ = new com.google.protobuf.UnmodifiableLazyStringList(
6522 bitField0_ = (bitField0_ & ~0x00000800);
6524 result.code_ = code_;
6525 if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
6526 to_bitField0_ |= 0x00000100;
6528 result.bytesValue_ = bytesValue_;
6529 result.bitField0_ = to_bitField0_;
6534 public Builder mergeFrom(com.google.protobuf.Message other) {
6535 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) {
6536 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node)other);
6538 super.mergeFrom(other);
6543 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node other) {
6544 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) return this;
6545 if (other.hasPath()) {
6546 bitField0_ |= 0x00000001;
6547 path_ = other.path_;
6550 if (other.hasType()) {
6551 bitField0_ |= 0x00000002;
6552 type_ = other.type_;
6555 if (other.hasPathArgument()) {
6556 mergePathArgument(other.getPathArgument());
6558 if (other.hasIntType()) {
6559 setIntType(other.getIntType());
6561 if (attributesBuilder_ == null) {
6562 if (!other.attributes_.isEmpty()) {
6563 if (attributes_.isEmpty()) {
6564 attributes_ = other.attributes_;
6565 bitField0_ = (bitField0_ & ~0x00000010);
6567 ensureAttributesIsMutable();
6568 attributes_.addAll(other.attributes_);
6573 if (!other.attributes_.isEmpty()) {
6574 if (attributesBuilder_.isEmpty()) {
6575 attributesBuilder_.dispose();
6576 attributesBuilder_ = null;
6577 attributes_ = other.attributes_;
6578 bitField0_ = (bitField0_ & ~0x00000010);
6579 attributesBuilder_ =
6580 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
6581 getAttributesFieldBuilder() : null;
6583 attributesBuilder_.addAllMessages(other.attributes_);
6587 if (childBuilder_ == null) {
6588 if (!other.child_.isEmpty()) {
6589 if (child_.isEmpty()) {
6590 child_ = other.child_;
6591 bitField0_ = (bitField0_ & ~0x00000020);
6593 ensureChildIsMutable();
6594 child_.addAll(other.child_);
6599 if (!other.child_.isEmpty()) {
6600 if (childBuilder_.isEmpty()) {
6601 childBuilder_.dispose();
6602 childBuilder_ = null;
6603 child_ = other.child_;
6604 bitField0_ = (bitField0_ & ~0x00000020);
6606 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
6607 getChildFieldBuilder() : null;
6609 childBuilder_.addAllMessages(other.child_);
6613 if (other.hasValue()) {
6614 bitField0_ |= 0x00000040;
6615 value_ = other.value_;
6618 if (other.hasValueType()) {
6619 bitField0_ |= 0x00000080;
6620 valueType_ = other.valueType_;
6623 if (other.hasIntValueType()) {
6624 setIntValueType(other.getIntValueType());
6626 if (other.hasInstanceIdentifierValue()) {
6627 mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
6629 if (!other.bitsValue_.isEmpty()) {
6630 if (bitsValue_.isEmpty()) {
6631 bitsValue_ = other.bitsValue_;
6632 bitField0_ = (bitField0_ & ~0x00000400);
6634 ensureBitsValueIsMutable();
6635 bitsValue_.addAll(other.bitsValue_);
6639 if (!other.code_.isEmpty()) {
6640 if (code_.isEmpty()) {
6641 code_ = other.code_;
6642 bitField0_ = (bitField0_ & ~0x00000800);
6644 ensureCodeIsMutable();
6645 code_.addAll(other.code_);
6649 if (other.hasBytesValue()) {
6650 setBytesValue(other.getBytesValue());
6652 this.mergeUnknownFields(other.getUnknownFields());
6656 public final boolean isInitialized() {
6657 if (hasPathArgument()) {
6658 if (!getPathArgument().isInitialized()) {
6663 for (int i = 0; i < getAttributesCount(); i++) {
6664 if (!getAttributes(i).isInitialized()) {
6669 for (int i = 0; i < getChildCount(); i++) {
6670 if (!getChild(i).isInitialized()) {
6675 if (hasInstanceIdentifierValue()) {
6676 if (!getInstanceIdentifierValue().isInitialized()) {
6684 public Builder mergeFrom(
6685 com.google.protobuf.CodedInputStream input,
6686 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6687 throws java.io.IOException {
6688 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parsedMessage = null;
6690 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
6691 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
6692 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) e.getUnfinishedMessage();
6695 if (parsedMessage != null) {
6696 mergeFrom(parsedMessage);
6701 private int bitField0_;
6703 // optional string path = 1;
6704 private java.lang.Object path_ = "";
6706 * <code>optional string path = 1;</code>
6709 * @deprecated(use pathArgument)
6712 public boolean hasPath() {
6713 return ((bitField0_ & 0x00000001) == 0x00000001);
6716 * <code>optional string path = 1;</code>
6719 * @deprecated(use pathArgument)
6722 public java.lang.String getPath() {
6723 java.lang.Object ref = path_;
6724 if (!(ref instanceof java.lang.String)) {
6725 java.lang.String s = ((com.google.protobuf.ByteString) ref)
6730 return (java.lang.String) ref;
6734 * <code>optional string path = 1;</code>
6737 * @deprecated(use pathArgument)
6740 public com.google.protobuf.ByteString
6742 java.lang.Object ref = path_;
6743 if (ref instanceof String) {
6744 com.google.protobuf.ByteString b =
6745 com.google.protobuf.ByteString.copyFromUtf8(
6746 (java.lang.String) ref);
6750 return (com.google.protobuf.ByteString) ref;
6754 * <code>optional string path = 1;</code>
6757 * @deprecated(use pathArgument)
6760 public Builder setPath(
6761 java.lang.String value) {
6762 if (value == null) {
6763 throw new NullPointerException();
6765 bitField0_ |= 0x00000001;
6771 * <code>optional string path = 1;</code>
6774 * @deprecated(use pathArgument)
6777 public Builder clearPath() {
6778 bitField0_ = (bitField0_ & ~0x00000001);
6779 path_ = getDefaultInstance().getPath();
6784 * <code>optional string path = 1;</code>
6787 * @deprecated(use pathArgument)
6790 public Builder setPathBytes(
6791 com.google.protobuf.ByteString value) {
6792 if (value == null) {
6793 throw new NullPointerException();
6795 bitField0_ |= 0x00000001;
6801 // optional string type = 2;
6802 private java.lang.Object type_ = "";
6804 * <code>optional string type = 2;</code>
6807 * @deprecated(use intType)
6810 public boolean hasType() {
6811 return ((bitField0_ & 0x00000002) == 0x00000002);
6814 * <code>optional string type = 2;</code>
6817 * @deprecated(use intType)
6820 public java.lang.String getType() {
6821 java.lang.Object ref = type_;
6822 if (!(ref instanceof java.lang.String)) {
6823 java.lang.String s = ((com.google.protobuf.ByteString) ref)
6828 return (java.lang.String) ref;
6832 * <code>optional string type = 2;</code>
6835 * @deprecated(use intType)
6838 public com.google.protobuf.ByteString
6840 java.lang.Object ref = type_;
6841 if (ref instanceof String) {
6842 com.google.protobuf.ByteString b =
6843 com.google.protobuf.ByteString.copyFromUtf8(
6844 (java.lang.String) ref);
6848 return (com.google.protobuf.ByteString) ref;
6852 * <code>optional string type = 2;</code>
6855 * @deprecated(use intType)
6858 public Builder setType(
6859 java.lang.String value) {
6860 if (value == null) {
6861 throw new NullPointerException();
6863 bitField0_ |= 0x00000002;
6869 * <code>optional string type = 2;</code>
6872 * @deprecated(use intType)
6875 public Builder clearType() {
6876 bitField0_ = (bitField0_ & ~0x00000002);
6877 type_ = getDefaultInstance().getType();
6882 * <code>optional string type = 2;</code>
6885 * @deprecated(use intType)
6888 public Builder setTypeBytes(
6889 com.google.protobuf.ByteString value) {
6890 if (value == null) {
6891 throw new NullPointerException();
6893 bitField0_ |= 0x00000002;
6899 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
6900 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6901 private com.google.protobuf.SingleFieldBuilder<
6902 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_;
6904 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6906 public boolean hasPathArgument() {
6907 return ((bitField0_ & 0x00000004) == 0x00000004);
6910 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6912 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
6913 if (pathArgumentBuilder_ == null) {
6914 return pathArgument_;
6916 return pathArgumentBuilder_.getMessage();
6920 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6922 public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
6923 if (pathArgumentBuilder_ == null) {
6924 if (value == null) {
6925 throw new NullPointerException();
6927 pathArgument_ = value;
6930 pathArgumentBuilder_.setMessage(value);
6932 bitField0_ |= 0x00000004;
6936 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6938 public Builder setPathArgument(
6939 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
6940 if (pathArgumentBuilder_ == null) {
6941 pathArgument_ = builderForValue.build();
6944 pathArgumentBuilder_.setMessage(builderForValue.build());
6946 bitField0_ |= 0x00000004;
6950 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6952 public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
6953 if (pathArgumentBuilder_ == null) {
6954 if (((bitField0_ & 0x00000004) == 0x00000004) &&
6955 pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) {
6957 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial();
6959 pathArgument_ = value;
6963 pathArgumentBuilder_.mergeFrom(value);
6965 bitField0_ |= 0x00000004;
6969 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6971 public Builder clearPathArgument() {
6972 if (pathArgumentBuilder_ == null) {
6973 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6976 pathArgumentBuilder_.clear();
6978 bitField0_ = (bitField0_ & ~0x00000004);
6982 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6984 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() {
6985 bitField0_ |= 0x00000004;
6987 return getPathArgumentFieldBuilder().getBuilder();
6990 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6992 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
6993 if (pathArgumentBuilder_ != null) {
6994 return pathArgumentBuilder_.getMessageOrBuilder();
6996 return pathArgument_;
7000 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7002 private com.google.protobuf.SingleFieldBuilder<
7003 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>
7004 getPathArgumentFieldBuilder() {
7005 if (pathArgumentBuilder_ == null) {
7006 pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7007 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>(
7009 getParentForChildren(),
7011 pathArgument_ = null;
7013 return pathArgumentBuilder_;
7016 // optional int32 intType = 4;
7017 private int intType_ ;
7019 * <code>optional int32 intType = 4;</code>
7021 public boolean hasIntType() {
7022 return ((bitField0_ & 0x00000008) == 0x00000008);
7025 * <code>optional int32 intType = 4;</code>
7027 public int getIntType() {
7031 * <code>optional int32 intType = 4;</code>
7033 public Builder setIntType(int value) {
7034 bitField0_ |= 0x00000008;
7040 * <code>optional int32 intType = 4;</code>
7042 public Builder clearIntType() {
7043 bitField0_ = (bitField0_ & ~0x00000008);
7049 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
7050 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
7051 java.util.Collections.emptyList();
7052 private void ensureAttributesIsMutable() {
7053 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
7054 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
7055 bitField0_ |= 0x00000010;
7059 private com.google.protobuf.RepeatedFieldBuilder<
7060 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_;
7063 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7065 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
7066 if (attributesBuilder_ == null) {
7067 return java.util.Collections.unmodifiableList(attributes_);
7069 return attributesBuilder_.getMessageList();
7073 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7075 public int getAttributesCount() {
7076 if (attributesBuilder_ == null) {
7077 return attributes_.size();
7079 return attributesBuilder_.getCount();
7083 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7085 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
7086 if (attributesBuilder_ == null) {
7087 return attributes_.get(index);
7089 return attributesBuilder_.getMessage(index);
7093 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7095 public Builder setAttributes(
7096 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7097 if (attributesBuilder_ == null) {
7098 if (value == null) {
7099 throw new NullPointerException();
7101 ensureAttributesIsMutable();
7102 attributes_.set(index, value);
7105 attributesBuilder_.setMessage(index, value);
7110 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7112 public Builder setAttributes(
7113 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7114 if (attributesBuilder_ == null) {
7115 ensureAttributesIsMutable();
7116 attributes_.set(index, builderForValue.build());
7119 attributesBuilder_.setMessage(index, builderForValue.build());
7124 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7126 public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7127 if (attributesBuilder_ == null) {
7128 if (value == null) {
7129 throw new NullPointerException();
7131 ensureAttributesIsMutable();
7132 attributes_.add(value);
7135 attributesBuilder_.addMessage(value);
7140 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7142 public Builder addAttributes(
7143 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7144 if (attributesBuilder_ == null) {
7145 if (value == null) {
7146 throw new NullPointerException();
7148 ensureAttributesIsMutable();
7149 attributes_.add(index, value);
7152 attributesBuilder_.addMessage(index, value);
7157 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7159 public Builder addAttributes(
7160 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7161 if (attributesBuilder_ == null) {
7162 ensureAttributesIsMutable();
7163 attributes_.add(builderForValue.build());
7166 attributesBuilder_.addMessage(builderForValue.build());
7171 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7173 public Builder addAttributes(
7174 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7175 if (attributesBuilder_ == null) {
7176 ensureAttributesIsMutable();
7177 attributes_.add(index, builderForValue.build());
7180 attributesBuilder_.addMessage(index, builderForValue.build());
7185 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7187 public Builder addAllAttributes(
7188 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
7189 if (attributesBuilder_ == null) {
7190 ensureAttributesIsMutable();
7191 super.addAll(values, attributes_);
7194 attributesBuilder_.addAllMessages(values);
7199 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7201 public Builder clearAttributes() {
7202 if (attributesBuilder_ == null) {
7203 attributes_ = java.util.Collections.emptyList();
7204 bitField0_ = (bitField0_ & ~0x00000010);
7207 attributesBuilder_.clear();
7212 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7214 public Builder removeAttributes(int index) {
7215 if (attributesBuilder_ == null) {
7216 ensureAttributesIsMutable();
7217 attributes_.remove(index);
7220 attributesBuilder_.remove(index);
7225 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7227 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
7229 return getAttributesFieldBuilder().getBuilder(index);
7232 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7234 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
7236 if (attributesBuilder_ == null) {
7237 return attributes_.get(index); } else {
7238 return attributesBuilder_.getMessageOrBuilder(index);
7242 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7244 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
7245 getAttributesOrBuilderList() {
7246 if (attributesBuilder_ != null) {
7247 return attributesBuilder_.getMessageOrBuilderList();
7249 return java.util.Collections.unmodifiableList(attributes_);
7253 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7255 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
7256 return getAttributesFieldBuilder().addBuilder(
7257 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
7260 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7262 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
7264 return getAttributesFieldBuilder().addBuilder(
7265 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
7268 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7270 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
7271 getAttributesBuilderList() {
7272 return getAttributesFieldBuilder().getBuilderList();
7274 private com.google.protobuf.RepeatedFieldBuilder<
7275 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>
7276 getAttributesFieldBuilder() {
7277 if (attributesBuilder_ == null) {
7278 attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
7279 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>(
7281 ((bitField0_ & 0x00000010) == 0x00000010),
7282 getParentForChildren(),
7286 return attributesBuilder_;
7289 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
7290 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_ =
7291 java.util.Collections.emptyList();
7292 private void ensureChildIsMutable() {
7293 if (!((bitField0_ & 0x00000020) == 0x00000020)) {
7294 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>(child_);
7295 bitField0_ |= 0x00000020;
7299 private com.google.protobuf.RepeatedFieldBuilder<
7300 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_;
7303 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7305 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
7306 if (childBuilder_ == null) {
7307 return java.util.Collections.unmodifiableList(child_);
7309 return childBuilder_.getMessageList();
7313 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7315 public int getChildCount() {
7316 if (childBuilder_ == null) {
7317 return child_.size();
7319 return childBuilder_.getCount();
7323 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7325 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
7326 if (childBuilder_ == null) {
7327 return child_.get(index);
7329 return childBuilder_.getMessage(index);
7333 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7335 public Builder setChild(
7336 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7337 if (childBuilder_ == null) {
7338 if (value == null) {
7339 throw new NullPointerException();
7341 ensureChildIsMutable();
7342 child_.set(index, value);
7345 childBuilder_.setMessage(index, value);
7350 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7352 public Builder setChild(
7353 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7354 if (childBuilder_ == null) {
7355 ensureChildIsMutable();
7356 child_.set(index, builderForValue.build());
7359 childBuilder_.setMessage(index, builderForValue.build());
7364 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7366 public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7367 if (childBuilder_ == null) {
7368 if (value == null) {
7369 throw new NullPointerException();
7371 ensureChildIsMutable();
7375 childBuilder_.addMessage(value);
7380 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7382 public Builder addChild(
7383 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7384 if (childBuilder_ == null) {
7385 if (value == null) {
7386 throw new NullPointerException();
7388 ensureChildIsMutable();
7389 child_.add(index, value);
7392 childBuilder_.addMessage(index, value);
7397 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7399 public Builder addChild(
7400 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7401 if (childBuilder_ == null) {
7402 ensureChildIsMutable();
7403 child_.add(builderForValue.build());
7406 childBuilder_.addMessage(builderForValue.build());
7411 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7413 public Builder addChild(
7414 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7415 if (childBuilder_ == null) {
7416 ensureChildIsMutable();
7417 child_.add(index, builderForValue.build());
7420 childBuilder_.addMessage(index, builderForValue.build());
7425 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7427 public Builder addAllChild(
7428 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> values) {
7429 if (childBuilder_ == null) {
7430 ensureChildIsMutable();
7431 super.addAll(values, child_);
7434 childBuilder_.addAllMessages(values);
7439 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7441 public Builder clearChild() {
7442 if (childBuilder_ == null) {
7443 child_ = java.util.Collections.emptyList();
7444 bitField0_ = (bitField0_ & ~0x00000020);
7447 childBuilder_.clear();
7452 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7454 public Builder removeChild(int index) {
7455 if (childBuilder_ == null) {
7456 ensureChildIsMutable();
7457 child_.remove(index);
7460 childBuilder_.remove(index);
7465 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7467 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder(
7469 return getChildFieldBuilder().getBuilder(index);
7472 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7474 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
7476 if (childBuilder_ == null) {
7477 return child_.get(index); } else {
7478 return childBuilder_.getMessageOrBuilder(index);
7482 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7484 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
7485 getChildOrBuilderList() {
7486 if (childBuilder_ != null) {
7487 return childBuilder_.getMessageOrBuilderList();
7489 return java.util.Collections.unmodifiableList(child_);
7493 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7495 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() {
7496 return getChildFieldBuilder().addBuilder(
7497 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
7500 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7502 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder(
7504 return getChildFieldBuilder().addBuilder(
7505 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
7508 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7510 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder>
7511 getChildBuilderList() {
7512 return getChildFieldBuilder().getBuilderList();
7514 private com.google.protobuf.RepeatedFieldBuilder<
7515 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>
7516 getChildFieldBuilder() {
7517 if (childBuilder_ == null) {
7518 childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
7519 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>(
7521 ((bitField0_ & 0x00000020) == 0x00000020),
7522 getParentForChildren(),
7526 return childBuilder_;
7529 // optional string value = 7;
7530 private java.lang.Object value_ = "";
7532 * <code>optional string value = 7;</code>
7534 public boolean hasValue() {
7535 return ((bitField0_ & 0x00000040) == 0x00000040);
7538 * <code>optional string value = 7;</code>
7540 public java.lang.String getValue() {
7541 java.lang.Object ref = value_;
7542 if (!(ref instanceof java.lang.String)) {
7543 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7548 return (java.lang.String) ref;
7552 * <code>optional string value = 7;</code>
7554 public com.google.protobuf.ByteString
7556 java.lang.Object ref = value_;
7557 if (ref instanceof String) {
7558 com.google.protobuf.ByteString b =
7559 com.google.protobuf.ByteString.copyFromUtf8(
7560 (java.lang.String) ref);
7564 return (com.google.protobuf.ByteString) ref;
7568 * <code>optional string value = 7;</code>
7570 public Builder setValue(
7571 java.lang.String value) {
7572 if (value == null) {
7573 throw new NullPointerException();
7575 bitField0_ |= 0x00000040;
7581 * <code>optional string value = 7;</code>
7583 public Builder clearValue() {
7584 bitField0_ = (bitField0_ & ~0x00000040);
7585 value_ = getDefaultInstance().getValue();
7590 * <code>optional string value = 7;</code>
7592 public Builder setValueBytes(
7593 com.google.protobuf.ByteString value) {
7594 if (value == null) {
7595 throw new NullPointerException();
7597 bitField0_ |= 0x00000040;
7603 // optional string valueType = 8;
7604 private java.lang.Object valueType_ = "";
7606 * <code>optional string valueType = 8;</code>
7609 * @deprecated(use intValueType)
7612 public boolean hasValueType() {
7613 return ((bitField0_ & 0x00000080) == 0x00000080);
7616 * <code>optional string valueType = 8;</code>
7619 * @deprecated(use intValueType)
7622 public java.lang.String getValueType() {
7623 java.lang.Object ref = valueType_;
7624 if (!(ref instanceof java.lang.String)) {
7625 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7630 return (java.lang.String) ref;
7634 * <code>optional string valueType = 8;</code>
7637 * @deprecated(use intValueType)
7640 public com.google.protobuf.ByteString
7641 getValueTypeBytes() {
7642 java.lang.Object ref = valueType_;
7643 if (ref instanceof String) {
7644 com.google.protobuf.ByteString b =
7645 com.google.protobuf.ByteString.copyFromUtf8(
7646 (java.lang.String) ref);
7650 return (com.google.protobuf.ByteString) ref;
7654 * <code>optional string valueType = 8;</code>
7657 * @deprecated(use intValueType)
7660 public Builder setValueType(
7661 java.lang.String value) {
7662 if (value == null) {
7663 throw new NullPointerException();
7665 bitField0_ |= 0x00000080;
7671 * <code>optional string valueType = 8;</code>
7674 * @deprecated(use intValueType)
7677 public Builder clearValueType() {
7678 bitField0_ = (bitField0_ & ~0x00000080);
7679 valueType_ = getDefaultInstance().getValueType();
7684 * <code>optional string valueType = 8;</code>
7687 * @deprecated(use intValueType)
7690 public Builder setValueTypeBytes(
7691 com.google.protobuf.ByteString value) {
7692 if (value == null) {
7693 throw new NullPointerException();
7695 bitField0_ |= 0x00000080;
7701 // optional int32 intValueType = 9;
7702 private int intValueType_ ;
7704 * <code>optional int32 intValueType = 9;</code>
7707 * instead of valueType
7710 public boolean hasIntValueType() {
7711 return ((bitField0_ & 0x00000100) == 0x00000100);
7714 * <code>optional int32 intValueType = 9;</code>
7717 * instead of valueType
7720 public int getIntValueType() {
7721 return intValueType_;
7724 * <code>optional int32 intValueType = 9;</code>
7727 * instead of valueType
7730 public Builder setIntValueType(int value) {
7731 bitField0_ |= 0x00000100;
7732 intValueType_ = value;
7737 * <code>optional int32 intValueType = 9;</code>
7740 * instead of valueType
7743 public Builder clearIntValueType() {
7744 bitField0_ = (bitField0_ & ~0x00000100);
7750 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
7751 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7752 private com.google.protobuf.SingleFieldBuilder<
7753 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_;
7755 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7761 public boolean hasInstanceIdentifierValue() {
7762 return ((bitField0_ & 0x00000200) == 0x00000200);
7765 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7771 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
7772 if (instanceIdentifierValueBuilder_ == null) {
7773 return instanceIdentifierValue_;
7775 return instanceIdentifierValueBuilder_.getMessage();
7779 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7785 public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
7786 if (instanceIdentifierValueBuilder_ == null) {
7787 if (value == null) {
7788 throw new NullPointerException();
7790 instanceIdentifierValue_ = value;
7793 instanceIdentifierValueBuilder_.setMessage(value);
7795 bitField0_ |= 0x00000200;
7799 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7805 public Builder setInstanceIdentifierValue(
7806 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
7807 if (instanceIdentifierValueBuilder_ == null) {
7808 instanceIdentifierValue_ = builderForValue.build();
7811 instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
7813 bitField0_ |= 0x00000200;
7817 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7823 public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
7824 if (instanceIdentifierValueBuilder_ == null) {
7825 if (((bitField0_ & 0x00000200) == 0x00000200) &&
7826 instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
7827 instanceIdentifierValue_ =
7828 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
7830 instanceIdentifierValue_ = value;
7834 instanceIdentifierValueBuilder_.mergeFrom(value);
7836 bitField0_ |= 0x00000200;
7840 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7846 public Builder clearInstanceIdentifierValue() {
7847 if (instanceIdentifierValueBuilder_ == null) {
7848 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7851 instanceIdentifierValueBuilder_.clear();
7853 bitField0_ = (bitField0_ & ~0x00000200);
7857 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7863 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
7864 bitField0_ |= 0x00000200;
7866 return getInstanceIdentifierValueFieldBuilder().getBuilder();
7869 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7875 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
7876 if (instanceIdentifierValueBuilder_ != null) {
7877 return instanceIdentifierValueBuilder_.getMessageOrBuilder();
7879 return instanceIdentifierValue_;
7883 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
7889 private com.google.protobuf.SingleFieldBuilder<
7890 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>
7891 getInstanceIdentifierValueFieldBuilder() {
7892 if (instanceIdentifierValueBuilder_ == null) {
7893 instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7894 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>(
7895 instanceIdentifierValue_,
7896 getParentForChildren(),
7898 instanceIdentifierValue_ = null;
7900 return instanceIdentifierValueBuilder_;
7903 // repeated string bitsValue = 11;
7904 private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7905 private void ensureBitsValueIsMutable() {
7906 if (!((bitField0_ & 0x00000400) == 0x00000400)) {
7907 bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
7908 bitField0_ |= 0x00000400;
7912 * <code>repeated string bitsValue = 11;</code>
7915 * intValueType = Bits
7918 public java.util.List<java.lang.String>
7919 getBitsValueList() {
7920 return java.util.Collections.unmodifiableList(bitsValue_);
7923 * <code>repeated string bitsValue = 11;</code>
7926 * intValueType = Bits
7929 public int getBitsValueCount() {
7930 return bitsValue_.size();
7933 * <code>repeated string bitsValue = 11;</code>
7936 * intValueType = Bits
7939 public java.lang.String getBitsValue(int index) {
7940 return bitsValue_.get(index);
7943 * <code>repeated string bitsValue = 11;</code>
7946 * intValueType = Bits
7949 public com.google.protobuf.ByteString
7950 getBitsValueBytes(int index) {
7951 return bitsValue_.getByteString(index);
7954 * <code>repeated string bitsValue = 11;</code>
7957 * intValueType = Bits
7960 public Builder setBitsValue(
7961 int index, java.lang.String value) {
7962 if (value == null) {
7963 throw new NullPointerException();
7965 ensureBitsValueIsMutable();
7966 bitsValue_.set(index, value);
7971 * <code>repeated string bitsValue = 11;</code>
7974 * intValueType = Bits
7977 public Builder addBitsValue(
7978 java.lang.String value) {
7979 if (value == null) {
7980 throw new NullPointerException();
7982 ensureBitsValueIsMutable();
7983 bitsValue_.add(value);
7988 * <code>repeated string bitsValue = 11;</code>
7991 * intValueType = Bits
7994 public Builder addAllBitsValue(
7995 java.lang.Iterable<java.lang.String> values) {
7996 ensureBitsValueIsMutable();
7997 super.addAll(values, bitsValue_);
8002 * <code>repeated string bitsValue = 11;</code>
8005 * intValueType = Bits
8008 public Builder clearBitsValue() {
8009 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8010 bitField0_ = (bitField0_ & ~0x00000400);
8015 * <code>repeated string bitsValue = 11;</code>
8018 * intValueType = Bits
8021 public Builder addBitsValueBytes(
8022 com.google.protobuf.ByteString value) {
8023 if (value == null) {
8024 throw new NullPointerException();
8026 ensureBitsValueIsMutable();
8027 bitsValue_.add(value);
8032 // repeated string code = 12;
8033 private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8034 private void ensureCodeIsMutable() {
8035 if (!((bitField0_ & 0x00000800) == 0x00000800)) {
8036 code_ = new com.google.protobuf.LazyStringArrayList(code_);
8037 bitField0_ |= 0x00000800;
8041 * <code>repeated string code = 12;</code>
8044 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8047 public java.util.List<java.lang.String>
8049 return java.util.Collections.unmodifiableList(code_);
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 int getCodeCount() {
8059 return code_.size();
8062 * <code>repeated string code = 12;</code>
8065 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8068 public java.lang.String getCode(int index) {
8069 return code_.get(index);
8072 * <code>repeated string code = 12;</code>
8075 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8078 public com.google.protobuf.ByteString
8079 getCodeBytes(int index) {
8080 return code_.getByteString(index);
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 setCode(
8090 int index, java.lang.String value) {
8091 if (value == null) {
8092 throw new NullPointerException();
8094 ensureCodeIsMutable();
8095 code_.set(index, value);
8100 * <code>repeated string code = 12;</code>
8103 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8106 public Builder addCode(
8107 java.lang.String value) {
8108 if (value == null) {
8109 throw new NullPointerException();
8111 ensureCodeIsMutable();
8117 * <code>repeated string code = 12;</code>
8120 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8123 public Builder addAllCode(
8124 java.lang.Iterable<java.lang.String> values) {
8125 ensureCodeIsMutable();
8126 super.addAll(values, code_);
8131 * <code>repeated string code = 12;</code>
8134 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8137 public Builder clearCode() {
8138 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8139 bitField0_ = (bitField0_ & ~0x00000800);
8144 * <code>repeated string code = 12;</code>
8147 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8150 public Builder addCodeBytes(
8151 com.google.protobuf.ByteString value) {
8152 if (value == null) {
8153 throw new NullPointerException();
8155 ensureCodeIsMutable();
8161 // optional bytes bytesValue = 13;
8162 private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
8164 * <code>optional bytes bytesValue = 13;</code>
8166 public boolean hasBytesValue() {
8167 return ((bitField0_ & 0x00001000) == 0x00001000);
8170 * <code>optional bytes bytesValue = 13;</code>
8172 public com.google.protobuf.ByteString getBytesValue() {
8176 * <code>optional bytes bytesValue = 13;</code>
8178 public Builder setBytesValue(com.google.protobuf.ByteString value) {
8179 if (value == null) {
8180 throw new NullPointerException();
8182 bitField0_ |= 0x00001000;
8183 bytesValue_ = value;
8188 * <code>optional bytes bytesValue = 13;</code>
8190 public Builder clearBytesValue() {
8191 bitField0_ = (bitField0_ & ~0x00001000);
8192 bytesValue_ = getDefaultInstance().getBytesValue();
8197 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
8201 defaultInstance = new Node(true);
8202 defaultInstance.initFields();
8205 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Node)
8208 public interface ContainerOrBuilder
8209 extends com.google.protobuf.MessageOrBuilder {
8211 // required string parentPath = 1;
8213 * <code>required string parentPath = 1;</code>
8215 boolean hasParentPath();
8217 * <code>required string parentPath = 1;</code>
8219 java.lang.String getParentPath();
8221 * <code>required string parentPath = 1;</code>
8223 com.google.protobuf.ByteString
8224 getParentPathBytes();
8226 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8228 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8230 boolean hasNormalizedNode();
8232 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8234 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
8236 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8238 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
8241 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
8243 public static final class Container extends
8244 com.google.protobuf.GeneratedMessage
8245 implements ContainerOrBuilder {
8246 // Use Container.newBuilder() to construct.
8247 private Container(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8249 this.unknownFields = builder.getUnknownFields();
8251 private Container(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
8253 private static final Container defaultInstance;
8254 public static Container getDefaultInstance() {
8255 return defaultInstance;
8258 public Container getDefaultInstanceForType() {
8259 return defaultInstance;
8262 private final com.google.protobuf.UnknownFieldSet unknownFields;
8264 public final com.google.protobuf.UnknownFieldSet
8265 getUnknownFields() {
8266 return this.unknownFields;
8269 com.google.protobuf.CodedInputStream input,
8270 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8271 throws com.google.protobuf.InvalidProtocolBufferException {
8273 int mutable_bitField0_ = 0;
8274 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
8275 com.google.protobuf.UnknownFieldSet.newBuilder();
8277 boolean done = false;
8279 int tag = input.readTag();
8285 if (!parseUnknownField(input, unknownFields,
8286 extensionRegistry, tag)) {
8292 bitField0_ |= 0x00000001;
8293 parentPath_ = input.readBytes();
8297 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
8298 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8299 subBuilder = normalizedNode_.toBuilder();
8301 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
8302 if (subBuilder != null) {
8303 subBuilder.mergeFrom(normalizedNode_);
8304 normalizedNode_ = subBuilder.buildPartial();
8306 bitField0_ |= 0x00000002;
8311 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8312 throw e.setUnfinishedMessage(this);
8313 } catch (java.io.IOException e) {
8314 throw new com.google.protobuf.InvalidProtocolBufferException(
8315 e.getMessage()).setUnfinishedMessage(this);
8317 this.unknownFields = unknownFields.build();
8318 makeExtensionsImmutable();
8321 public static final com.google.protobuf.Descriptors.Descriptor
8323 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8326 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8327 internalGetFieldAccessorTable() {
8328 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
8329 .ensureFieldAccessorsInitialized(
8330 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
8333 public static com.google.protobuf.Parser<Container> PARSER =
8334 new com.google.protobuf.AbstractParser<Container>() {
8335 public Container parsePartialFrom(
8336 com.google.protobuf.CodedInputStream input,
8337 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8338 throws com.google.protobuf.InvalidProtocolBufferException {
8339 return new Container(input, extensionRegistry);
8344 public com.google.protobuf.Parser<Container> getParserForType() {
8348 private int bitField0_;
8349 // required string parentPath = 1;
8350 public static final int PARENTPATH_FIELD_NUMBER = 1;
8351 private java.lang.Object parentPath_;
8353 * <code>required string parentPath = 1;</code>
8355 public boolean hasParentPath() {
8356 return ((bitField0_ & 0x00000001) == 0x00000001);
8359 * <code>required string parentPath = 1;</code>
8361 public java.lang.String getParentPath() {
8362 java.lang.Object ref = parentPath_;
8363 if (ref instanceof java.lang.String) {
8364 return (java.lang.String) ref;
8366 com.google.protobuf.ByteString bs =
8367 (com.google.protobuf.ByteString) ref;
8368 java.lang.String s = bs.toStringUtf8();
8369 if (bs.isValidUtf8()) {
8376 * <code>required string parentPath = 1;</code>
8378 public com.google.protobuf.ByteString
8379 getParentPathBytes() {
8380 java.lang.Object ref = parentPath_;
8381 if (ref instanceof java.lang.String) {
8382 com.google.protobuf.ByteString b =
8383 com.google.protobuf.ByteString.copyFromUtf8(
8384 (java.lang.String) ref);
8388 return (com.google.protobuf.ByteString) ref;
8392 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8393 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
8394 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
8396 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8398 public boolean hasNormalizedNode() {
8399 return ((bitField0_ & 0x00000002) == 0x00000002);
8402 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8404 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8405 return normalizedNode_;
8408 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8410 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8411 return normalizedNode_;
8414 private void initFields() {
8416 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8418 private byte memoizedIsInitialized = -1;
8419 public final boolean isInitialized() {
8420 byte isInitialized = memoizedIsInitialized;
8421 if (isInitialized != -1) return isInitialized == 1;
8423 if (!hasParentPath()) {
8424 memoizedIsInitialized = 0;
8427 if (hasNormalizedNode()) {
8428 if (!getNormalizedNode().isInitialized()) {
8429 memoizedIsInitialized = 0;
8433 memoizedIsInitialized = 1;
8437 public void writeTo(com.google.protobuf.CodedOutputStream output)
8438 throws java.io.IOException {
8439 getSerializedSize();
8440 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8441 output.writeBytes(1, getParentPathBytes());
8443 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8444 output.writeMessage(2, normalizedNode_);
8446 getUnknownFields().writeTo(output);
8449 private int memoizedSerializedSize = -1;
8450 public int getSerializedSize() {
8451 int size = memoizedSerializedSize;
8452 if (size != -1) return size;
8455 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8456 size += com.google.protobuf.CodedOutputStream
8457 .computeBytesSize(1, getParentPathBytes());
8459 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8460 size += com.google.protobuf.CodedOutputStream
8461 .computeMessageSize(2, normalizedNode_);
8463 size += getUnknownFields().getSerializedSize();
8464 memoizedSerializedSize = size;
8468 private static final long serialVersionUID = 0L;
8470 protected java.lang.Object writeReplace()
8471 throws java.io.ObjectStreamException {
8472 return super.writeReplace();
8475 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8476 com.google.protobuf.ByteString data)
8477 throws com.google.protobuf.InvalidProtocolBufferException {
8478 return PARSER.parseFrom(data);
8480 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8481 com.google.protobuf.ByteString data,
8482 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8483 throws com.google.protobuf.InvalidProtocolBufferException {
8484 return PARSER.parseFrom(data, extensionRegistry);
8486 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(byte[] data)
8487 throws com.google.protobuf.InvalidProtocolBufferException {
8488 return PARSER.parseFrom(data);
8490 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8492 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8493 throws com.google.protobuf.InvalidProtocolBufferException {
8494 return PARSER.parseFrom(data, extensionRegistry);
8496 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(java.io.InputStream input)
8497 throws java.io.IOException {
8498 return PARSER.parseFrom(input);
8500 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8501 java.io.InputStream input,
8502 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8503 throws java.io.IOException {
8504 return PARSER.parseFrom(input, extensionRegistry);
8506 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(java.io.InputStream input)
8507 throws java.io.IOException {
8508 return PARSER.parseDelimitedFrom(input);
8510 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(
8511 java.io.InputStream input,
8512 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8513 throws java.io.IOException {
8514 return PARSER.parseDelimitedFrom(input, extensionRegistry);
8516 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8517 com.google.protobuf.CodedInputStream input)
8518 throws java.io.IOException {
8519 return PARSER.parseFrom(input);
8521 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
8522 com.google.protobuf.CodedInputStream input,
8523 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8524 throws java.io.IOException {
8525 return PARSER.parseFrom(input, extensionRegistry);
8528 public static Builder newBuilder() { return Builder.create(); }
8529 public Builder newBuilderForType() { return newBuilder(); }
8530 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container prototype) {
8531 return newBuilder().mergeFrom(prototype);
8533 public Builder toBuilder() { return newBuilder(this); }
8536 protected Builder newBuilderForType(
8537 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8538 Builder builder = new Builder(parent);
8542 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
8544 public static final class Builder extends
8545 com.google.protobuf.GeneratedMessage.Builder<Builder>
8546 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.ContainerOrBuilder {
8547 public static final com.google.protobuf.Descriptors.Descriptor
8549 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8552 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8553 internalGetFieldAccessorTable() {
8554 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
8555 .ensureFieldAccessorsInitialized(
8556 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
8559 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.newBuilder()
8561 maybeForceBuilderInitialization();
8565 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8567 maybeForceBuilderInitialization();
8569 private void maybeForceBuilderInitialization() {
8570 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
8571 getNormalizedNodeFieldBuilder();
8574 private static Builder create() {
8575 return new Builder();
8578 public Builder clear() {
8581 bitField0_ = (bitField0_ & ~0x00000001);
8582 if (normalizedNodeBuilder_ == null) {
8583 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8585 normalizedNodeBuilder_.clear();
8587 bitField0_ = (bitField0_ & ~0x00000002);
8591 public Builder clone() {
8592 return create().mergeFrom(buildPartial());
8595 public com.google.protobuf.Descriptors.Descriptor
8596 getDescriptorForType() {
8597 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8600 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container getDefaultInstanceForType() {
8601 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance();
8604 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container build() {
8605 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = buildPartial();
8606 if (!result.isInitialized()) {
8607 throw newUninitializedMessageException(result);
8612 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container buildPartial() {
8613 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container(this);
8614 int from_bitField0_ = bitField0_;
8615 int to_bitField0_ = 0;
8616 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
8617 to_bitField0_ |= 0x00000001;
8619 result.parentPath_ = parentPath_;
8620 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
8621 to_bitField0_ |= 0x00000002;
8623 if (normalizedNodeBuilder_ == null) {
8624 result.normalizedNode_ = normalizedNode_;
8626 result.normalizedNode_ = normalizedNodeBuilder_.build();
8628 result.bitField0_ = to_bitField0_;
8633 public Builder mergeFrom(com.google.protobuf.Message other) {
8634 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) {
8635 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container)other);
8637 super.mergeFrom(other);
8642 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container other) {
8643 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance()) return this;
8644 if (other.hasParentPath()) {
8645 bitField0_ |= 0x00000001;
8646 parentPath_ = other.parentPath_;
8649 if (other.hasNormalizedNode()) {
8650 mergeNormalizedNode(other.getNormalizedNode());
8652 this.mergeUnknownFields(other.getUnknownFields());
8656 public final boolean isInitialized() {
8657 if (!hasParentPath()) {
8661 if (hasNormalizedNode()) {
8662 if (!getNormalizedNode().isInitialized()) {
8670 public Builder mergeFrom(
8671 com.google.protobuf.CodedInputStream input,
8672 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8673 throws java.io.IOException {
8674 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parsedMessage = null;
8676 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
8677 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8678 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) e.getUnfinishedMessage();
8681 if (parsedMessage != null) {
8682 mergeFrom(parsedMessage);
8687 private int bitField0_;
8689 // required string parentPath = 1;
8690 private java.lang.Object parentPath_ = "";
8692 * <code>required string parentPath = 1;</code>
8694 public boolean hasParentPath() {
8695 return ((bitField0_ & 0x00000001) == 0x00000001);
8698 * <code>required string parentPath = 1;</code>
8700 public java.lang.String getParentPath() {
8701 java.lang.Object ref = parentPath_;
8702 if (!(ref instanceof java.lang.String)) {
8703 java.lang.String s = ((com.google.protobuf.ByteString) ref)
8708 return (java.lang.String) ref;
8712 * <code>required string parentPath = 1;</code>
8714 public com.google.protobuf.ByteString
8715 getParentPathBytes() {
8716 java.lang.Object ref = parentPath_;
8717 if (ref instanceof String) {
8718 com.google.protobuf.ByteString b =
8719 com.google.protobuf.ByteString.copyFromUtf8(
8720 (java.lang.String) ref);
8724 return (com.google.protobuf.ByteString) ref;
8728 * <code>required string parentPath = 1;</code>
8730 public Builder setParentPath(
8731 java.lang.String value) {
8732 if (value == null) {
8733 throw new NullPointerException();
8735 bitField0_ |= 0x00000001;
8736 parentPath_ = value;
8741 * <code>required string parentPath = 1;</code>
8743 public Builder clearParentPath() {
8744 bitField0_ = (bitField0_ & ~0x00000001);
8745 parentPath_ = getDefaultInstance().getParentPath();
8750 * <code>required string parentPath = 1;</code>
8752 public Builder setParentPathBytes(
8753 com.google.protobuf.ByteString value) {
8754 if (value == null) {
8755 throw new NullPointerException();
8757 bitField0_ |= 0x00000001;
8758 parentPath_ = value;
8763 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8764 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8765 private com.google.protobuf.SingleFieldBuilder<
8766 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_;
8768 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8770 public boolean hasNormalizedNode() {
8771 return ((bitField0_ & 0x00000002) == 0x00000002);
8774 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8776 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
8777 if (normalizedNodeBuilder_ == null) {
8778 return normalizedNode_;
8780 return normalizedNodeBuilder_.getMessage();
8784 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8786 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
8787 if (normalizedNodeBuilder_ == null) {
8788 if (value == null) {
8789 throw new NullPointerException();
8791 normalizedNode_ = value;
8794 normalizedNodeBuilder_.setMessage(value);
8796 bitField0_ |= 0x00000002;
8800 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8802 public Builder setNormalizedNode(
8803 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
8804 if (normalizedNodeBuilder_ == null) {
8805 normalizedNode_ = builderForValue.build();
8808 normalizedNodeBuilder_.setMessage(builderForValue.build());
8810 bitField0_ |= 0x00000002;
8814 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8816 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
8817 if (normalizedNodeBuilder_ == null) {
8818 if (((bitField0_ & 0x00000002) == 0x00000002) &&
8819 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
8821 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
8823 normalizedNode_ = value;
8827 normalizedNodeBuilder_.mergeFrom(value);
8829 bitField0_ |= 0x00000002;
8833 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8835 public Builder clearNormalizedNode() {
8836 if (normalizedNodeBuilder_ == null) {
8837 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
8840 normalizedNodeBuilder_.clear();
8842 bitField0_ = (bitField0_ & ~0x00000002);
8846 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8848 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
8849 bitField0_ |= 0x00000002;
8851 return getNormalizedNodeFieldBuilder().getBuilder();
8854 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8856 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
8857 if (normalizedNodeBuilder_ != null) {
8858 return normalizedNodeBuilder_.getMessageOrBuilder();
8860 return normalizedNode_;
8864 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8866 private com.google.protobuf.SingleFieldBuilder<
8867 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>
8868 getNormalizedNodeFieldBuilder() {
8869 if (normalizedNodeBuilder_ == null) {
8870 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8871 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>(
8873 getParentForChildren(),
8875 normalizedNode_ = null;
8877 return normalizedNodeBuilder_;
8880 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Container)
8884 defaultInstance = new Container(true);
8885 defaultInstance.initFields();
8888 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Container)
8891 public interface NodeMapEntryOrBuilder
8892 extends com.google.protobuf.MessageOrBuilder {
8894 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
8896 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8898 boolean hasInstanceIdentifierPath();
8900 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8902 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
8904 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
8906 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
8908 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8910 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8912 boolean hasNormalizedNode();
8914 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8916 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
8918 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8920 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
8923 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
8925 public static final class NodeMapEntry extends
8926 com.google.protobuf.GeneratedMessage
8927 implements NodeMapEntryOrBuilder {
8928 // Use NodeMapEntry.newBuilder() to construct.
8929 private NodeMapEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8931 this.unknownFields = builder.getUnknownFields();
8933 private NodeMapEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
8935 private static final NodeMapEntry defaultInstance;
8936 public static NodeMapEntry getDefaultInstance() {
8937 return defaultInstance;
8940 public NodeMapEntry getDefaultInstanceForType() {
8941 return defaultInstance;
8944 private final com.google.protobuf.UnknownFieldSet unknownFields;
8946 public final com.google.protobuf.UnknownFieldSet
8947 getUnknownFields() {
8948 return this.unknownFields;
8950 private NodeMapEntry(
8951 com.google.protobuf.CodedInputStream input,
8952 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8953 throws com.google.protobuf.InvalidProtocolBufferException {
8955 int mutable_bitField0_ = 0;
8956 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
8957 com.google.protobuf.UnknownFieldSet.newBuilder();
8959 boolean done = false;
8961 int tag = input.readTag();
8967 if (!parseUnknownField(input, unknownFields,
8968 extensionRegistry, tag)) {
8974 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
8975 if (((bitField0_ & 0x00000001) == 0x00000001)) {
8976 subBuilder = instanceIdentifierPath_.toBuilder();
8978 instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
8979 if (subBuilder != null) {
8980 subBuilder.mergeFrom(instanceIdentifierPath_);
8981 instanceIdentifierPath_ = subBuilder.buildPartial();
8983 bitField0_ |= 0x00000001;
8987 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
8988 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8989 subBuilder = normalizedNode_.toBuilder();
8991 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
8992 if (subBuilder != null) {
8993 subBuilder.mergeFrom(normalizedNode_);
8994 normalizedNode_ = subBuilder.buildPartial();
8996 bitField0_ |= 0x00000002;
9001 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9002 throw e.setUnfinishedMessage(this);
9003 } catch (java.io.IOException e) {
9004 throw new com.google.protobuf.InvalidProtocolBufferException(
9005 e.getMessage()).setUnfinishedMessage(this);
9007 this.unknownFields = unknownFields.build();
9008 makeExtensionsImmutable();
9011 public static final com.google.protobuf.Descriptors.Descriptor
9013 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9016 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9017 internalGetFieldAccessorTable() {
9018 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
9019 .ensureFieldAccessorsInitialized(
9020 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
9023 public static com.google.protobuf.Parser<NodeMapEntry> PARSER =
9024 new com.google.protobuf.AbstractParser<NodeMapEntry>() {
9025 public NodeMapEntry parsePartialFrom(
9026 com.google.protobuf.CodedInputStream input,
9027 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9028 throws com.google.protobuf.InvalidProtocolBufferException {
9029 return new NodeMapEntry(input, extensionRegistry);
9034 public com.google.protobuf.Parser<NodeMapEntry> getParserForType() {
9038 private int bitField0_;
9039 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9040 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
9041 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
9043 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9045 public boolean hasInstanceIdentifierPath() {
9046 return ((bitField0_ & 0x00000001) == 0x00000001);
9049 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9051 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
9052 return instanceIdentifierPath_;
9055 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9057 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
9058 return instanceIdentifierPath_;
9061 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9062 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
9063 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
9065 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9067 public boolean hasNormalizedNode() {
9068 return ((bitField0_ & 0x00000002) == 0x00000002);
9071 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9073 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9074 return normalizedNode_;
9077 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9079 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9080 return normalizedNode_;
9083 private void initFields() {
9084 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9085 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9087 private byte memoizedIsInitialized = -1;
9088 public final boolean isInitialized() {
9089 byte isInitialized = memoizedIsInitialized;
9090 if (isInitialized != -1) return isInitialized == 1;
9092 if (!hasInstanceIdentifierPath()) {
9093 memoizedIsInitialized = 0;
9096 if (!getInstanceIdentifierPath().isInitialized()) {
9097 memoizedIsInitialized = 0;
9100 if (hasNormalizedNode()) {
9101 if (!getNormalizedNode().isInitialized()) {
9102 memoizedIsInitialized = 0;
9106 memoizedIsInitialized = 1;
9110 public void writeTo(com.google.protobuf.CodedOutputStream output)
9111 throws java.io.IOException {
9112 getSerializedSize();
9113 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9114 output.writeMessage(1, instanceIdentifierPath_);
9116 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9117 output.writeMessage(2, normalizedNode_);
9119 getUnknownFields().writeTo(output);
9122 private int memoizedSerializedSize = -1;
9123 public int getSerializedSize() {
9124 int size = memoizedSerializedSize;
9125 if (size != -1) return size;
9128 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9129 size += com.google.protobuf.CodedOutputStream
9130 .computeMessageSize(1, instanceIdentifierPath_);
9132 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9133 size += com.google.protobuf.CodedOutputStream
9134 .computeMessageSize(2, normalizedNode_);
9136 size += getUnknownFields().getSerializedSize();
9137 memoizedSerializedSize = size;
9141 private static final long serialVersionUID = 0L;
9143 protected java.lang.Object writeReplace()
9144 throws java.io.ObjectStreamException {
9145 return super.writeReplace();
9148 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9149 com.google.protobuf.ByteString data)
9150 throws com.google.protobuf.InvalidProtocolBufferException {
9151 return PARSER.parseFrom(data);
9153 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9154 com.google.protobuf.ByteString data,
9155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9156 throws com.google.protobuf.InvalidProtocolBufferException {
9157 return PARSER.parseFrom(data, extensionRegistry);
9159 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(byte[] data)
9160 throws com.google.protobuf.InvalidProtocolBufferException {
9161 return PARSER.parseFrom(data);
9163 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9166 throws com.google.protobuf.InvalidProtocolBufferException {
9167 return PARSER.parseFrom(data, extensionRegistry);
9169 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(java.io.InputStream input)
9170 throws java.io.IOException {
9171 return PARSER.parseFrom(input);
9173 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9174 java.io.InputStream input,
9175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9176 throws java.io.IOException {
9177 return PARSER.parseFrom(input, extensionRegistry);
9179 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(java.io.InputStream input)
9180 throws java.io.IOException {
9181 return PARSER.parseDelimitedFrom(input);
9183 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(
9184 java.io.InputStream input,
9185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9186 throws java.io.IOException {
9187 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9189 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9190 com.google.protobuf.CodedInputStream input)
9191 throws java.io.IOException {
9192 return PARSER.parseFrom(input);
9194 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9195 com.google.protobuf.CodedInputStream input,
9196 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9197 throws java.io.IOException {
9198 return PARSER.parseFrom(input, extensionRegistry);
9201 public static Builder newBuilder() { return Builder.create(); }
9202 public Builder newBuilderForType() { return newBuilder(); }
9203 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry prototype) {
9204 return newBuilder().mergeFrom(prototype);
9206 public Builder toBuilder() { return newBuilder(this); }
9209 protected Builder newBuilderForType(
9210 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9211 Builder builder = new Builder(parent);
9215 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
9217 public static final class Builder extends
9218 com.google.protobuf.GeneratedMessage.Builder<Builder>
9219 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder {
9220 public static final com.google.protobuf.Descriptors.Descriptor
9222 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9225 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9226 internalGetFieldAccessorTable() {
9227 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
9228 .ensureFieldAccessorsInitialized(
9229 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
9232 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.newBuilder()
9234 maybeForceBuilderInitialization();
9238 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9240 maybeForceBuilderInitialization();
9242 private void maybeForceBuilderInitialization() {
9243 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9244 getInstanceIdentifierPathFieldBuilder();
9245 getNormalizedNodeFieldBuilder();
9248 private static Builder create() {
9249 return new Builder();
9252 public Builder clear() {
9254 if (instanceIdentifierPathBuilder_ == null) {
9255 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9257 instanceIdentifierPathBuilder_.clear();
9259 bitField0_ = (bitField0_ & ~0x00000001);
9260 if (normalizedNodeBuilder_ == null) {
9261 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9263 normalizedNodeBuilder_.clear();
9265 bitField0_ = (bitField0_ & ~0x00000002);
9269 public Builder clone() {
9270 return create().mergeFrom(buildPartial());
9273 public com.google.protobuf.Descriptors.Descriptor
9274 getDescriptorForType() {
9275 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9278 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getDefaultInstanceForType() {
9279 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance();
9282 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry build() {
9283 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = buildPartial();
9284 if (!result.isInitialized()) {
9285 throw newUninitializedMessageException(result);
9290 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry buildPartial() {
9291 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry(this);
9292 int from_bitField0_ = bitField0_;
9293 int to_bitField0_ = 0;
9294 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
9295 to_bitField0_ |= 0x00000001;
9297 if (instanceIdentifierPathBuilder_ == null) {
9298 result.instanceIdentifierPath_ = instanceIdentifierPath_;
9300 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
9302 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
9303 to_bitField0_ |= 0x00000002;
9305 if (normalizedNodeBuilder_ == null) {
9306 result.normalizedNode_ = normalizedNode_;
9308 result.normalizedNode_ = normalizedNodeBuilder_.build();
9310 result.bitField0_ = to_bitField0_;
9315 public Builder mergeFrom(com.google.protobuf.Message other) {
9316 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) {
9317 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry)other);
9319 super.mergeFrom(other);
9324 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry other) {
9325 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance()) return this;
9326 if (other.hasInstanceIdentifierPath()) {
9327 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
9329 if (other.hasNormalizedNode()) {
9330 mergeNormalizedNode(other.getNormalizedNode());
9332 this.mergeUnknownFields(other.getUnknownFields());
9336 public final boolean isInitialized() {
9337 if (!hasInstanceIdentifierPath()) {
9341 if (!getInstanceIdentifierPath().isInitialized()) {
9345 if (hasNormalizedNode()) {
9346 if (!getNormalizedNode().isInitialized()) {
9354 public Builder mergeFrom(
9355 com.google.protobuf.CodedInputStream input,
9356 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9357 throws java.io.IOException {
9358 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parsedMessage = null;
9360 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
9361 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9362 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) e.getUnfinishedMessage();
9365 if (parsedMessage != null) {
9366 mergeFrom(parsedMessage);
9371 private int bitField0_;
9373 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9374 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9375 private com.google.protobuf.SingleFieldBuilder<
9376 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_;
9378 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9380 public boolean hasInstanceIdentifierPath() {
9381 return ((bitField0_ & 0x00000001) == 0x00000001);
9384 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9386 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
9387 if (instanceIdentifierPathBuilder_ == null) {
9388 return instanceIdentifierPath_;
9390 return instanceIdentifierPathBuilder_.getMessage();
9394 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9396 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
9397 if (instanceIdentifierPathBuilder_ == null) {
9398 if (value == null) {
9399 throw new NullPointerException();
9401 instanceIdentifierPath_ = value;
9404 instanceIdentifierPathBuilder_.setMessage(value);
9406 bitField0_ |= 0x00000001;
9410 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9412 public Builder setInstanceIdentifierPath(
9413 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
9414 if (instanceIdentifierPathBuilder_ == null) {
9415 instanceIdentifierPath_ = builderForValue.build();
9418 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
9420 bitField0_ |= 0x00000001;
9424 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9426 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
9427 if (instanceIdentifierPathBuilder_ == null) {
9428 if (((bitField0_ & 0x00000001) == 0x00000001) &&
9429 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
9430 instanceIdentifierPath_ =
9431 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
9433 instanceIdentifierPath_ = value;
9437 instanceIdentifierPathBuilder_.mergeFrom(value);
9439 bitField0_ |= 0x00000001;
9443 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9445 public Builder clearInstanceIdentifierPath() {
9446 if (instanceIdentifierPathBuilder_ == null) {
9447 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9450 instanceIdentifierPathBuilder_.clear();
9452 bitField0_ = (bitField0_ & ~0x00000001);
9456 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9458 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
9459 bitField0_ |= 0x00000001;
9461 return getInstanceIdentifierPathFieldBuilder().getBuilder();
9464 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9466 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
9467 if (instanceIdentifierPathBuilder_ != null) {
9468 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
9470 return instanceIdentifierPath_;
9474 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9476 private com.google.protobuf.SingleFieldBuilder<
9477 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>
9478 getInstanceIdentifierPathFieldBuilder() {
9479 if (instanceIdentifierPathBuilder_ == null) {
9480 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9481 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>(
9482 instanceIdentifierPath_,
9483 getParentForChildren(),
9485 instanceIdentifierPath_ = null;
9487 return instanceIdentifierPathBuilder_;
9490 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9491 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9492 private com.google.protobuf.SingleFieldBuilder<
9493 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_;
9495 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9497 public boolean hasNormalizedNode() {
9498 return ((bitField0_ & 0x00000002) == 0x00000002);
9501 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9503 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9504 if (normalizedNodeBuilder_ == null) {
9505 return normalizedNode_;
9507 return normalizedNodeBuilder_.getMessage();
9511 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9513 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9514 if (normalizedNodeBuilder_ == null) {
9515 if (value == null) {
9516 throw new NullPointerException();
9518 normalizedNode_ = value;
9521 normalizedNodeBuilder_.setMessage(value);
9523 bitField0_ |= 0x00000002;
9527 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9529 public Builder setNormalizedNode(
9530 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
9531 if (normalizedNodeBuilder_ == null) {
9532 normalizedNode_ = builderForValue.build();
9535 normalizedNodeBuilder_.setMessage(builderForValue.build());
9537 bitField0_ |= 0x00000002;
9541 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9543 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9544 if (normalizedNodeBuilder_ == null) {
9545 if (((bitField0_ & 0x00000002) == 0x00000002) &&
9546 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
9548 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
9550 normalizedNode_ = value;
9554 normalizedNodeBuilder_.mergeFrom(value);
9556 bitField0_ |= 0x00000002;
9560 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9562 public Builder clearNormalizedNode() {
9563 if (normalizedNodeBuilder_ == null) {
9564 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9567 normalizedNodeBuilder_.clear();
9569 bitField0_ = (bitField0_ & ~0x00000002);
9573 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9575 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
9576 bitField0_ |= 0x00000002;
9578 return getNormalizedNodeFieldBuilder().getBuilder();
9581 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9583 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9584 if (normalizedNodeBuilder_ != null) {
9585 return normalizedNodeBuilder_.getMessageOrBuilder();
9587 return normalizedNode_;
9591 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9593 private com.google.protobuf.SingleFieldBuilder<
9594 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>
9595 getNormalizedNodeFieldBuilder() {
9596 if (normalizedNodeBuilder_ == null) {
9597 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9598 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>(
9600 getParentForChildren(),
9602 normalizedNode_ = null;
9604 return normalizedNodeBuilder_;
9607 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
9611 defaultInstance = new NodeMapEntry(true);
9612 defaultInstance.initFields();
9615 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
9618 public interface NodeMapOrBuilder
9619 extends com.google.protobuf.MessageOrBuilder {
9621 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9623 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9625 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>
9626 getMapEntriesList();
9628 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9630 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index);
9632 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9634 int getMapEntriesCount();
9636 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9638 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9639 getMapEntriesOrBuilderList();
9641 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9643 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9647 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
9649 public static final class NodeMap extends
9650 com.google.protobuf.GeneratedMessage
9651 implements NodeMapOrBuilder {
9652 // Use NodeMap.newBuilder() to construct.
9653 private NodeMap(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
9655 this.unknownFields = builder.getUnknownFields();
9657 private NodeMap(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
9659 private static final NodeMap defaultInstance;
9660 public static NodeMap getDefaultInstance() {
9661 return defaultInstance;
9664 public NodeMap getDefaultInstanceForType() {
9665 return defaultInstance;
9668 private final com.google.protobuf.UnknownFieldSet unknownFields;
9670 public final com.google.protobuf.UnknownFieldSet
9671 getUnknownFields() {
9672 return this.unknownFields;
9675 com.google.protobuf.CodedInputStream input,
9676 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9677 throws com.google.protobuf.InvalidProtocolBufferException {
9679 int mutable_bitField0_ = 0;
9680 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
9681 com.google.protobuf.UnknownFieldSet.newBuilder();
9683 boolean done = false;
9685 int tag = input.readTag();
9691 if (!parseUnknownField(input, unknownFields,
9692 extensionRegistry, tag)) {
9698 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
9699 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>();
9700 mutable_bitField0_ |= 0x00000001;
9702 mapEntries_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.PARSER, extensionRegistry));
9707 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9708 throw e.setUnfinishedMessage(this);
9709 } catch (java.io.IOException e) {
9710 throw new com.google.protobuf.InvalidProtocolBufferException(
9711 e.getMessage()).setUnfinishedMessage(this);
9713 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
9714 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
9716 this.unknownFields = unknownFields.build();
9717 makeExtensionsImmutable();
9720 public static final com.google.protobuf.Descriptors.Descriptor
9722 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9725 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9726 internalGetFieldAccessorTable() {
9727 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
9728 .ensureFieldAccessorsInitialized(
9729 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
9732 public static com.google.protobuf.Parser<NodeMap> PARSER =
9733 new com.google.protobuf.AbstractParser<NodeMap>() {
9734 public NodeMap parsePartialFrom(
9735 com.google.protobuf.CodedInputStream input,
9736 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9737 throws com.google.protobuf.InvalidProtocolBufferException {
9738 return new NodeMap(input, extensionRegistry);
9743 public com.google.protobuf.Parser<NodeMap> getParserForType() {
9747 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
9748 public static final int MAPENTRIES_FIELD_NUMBER = 1;
9749 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_;
9751 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9753 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
9757 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9759 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
9760 getMapEntriesOrBuilderList() {
9764 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9766 public int getMapEntriesCount() {
9767 return mapEntries_.size();
9770 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9772 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
9773 return mapEntries_.get(index);
9776 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
9778 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
9780 return mapEntries_.get(index);
9783 private void initFields() {
9784 mapEntries_ = java.util.Collections.emptyList();
9786 private byte memoizedIsInitialized = -1;
9787 public final boolean isInitialized() {
9788 byte isInitialized = memoizedIsInitialized;
9789 if (isInitialized != -1) return isInitialized == 1;
9791 for (int i = 0; i < getMapEntriesCount(); i++) {
9792 if (!getMapEntries(i).isInitialized()) {
9793 memoizedIsInitialized = 0;
9797 memoizedIsInitialized = 1;
9801 public void writeTo(com.google.protobuf.CodedOutputStream output)
9802 throws java.io.IOException {
9803 getSerializedSize();
9804 for (int i = 0; i < mapEntries_.size(); i++) {
9805 output.writeMessage(1, mapEntries_.get(i));
9807 getUnknownFields().writeTo(output);
9810 private int memoizedSerializedSize = -1;
9811 public int getSerializedSize() {
9812 int size = memoizedSerializedSize;
9813 if (size != -1) return size;
9816 for (int i = 0; i < mapEntries_.size(); i++) {
9817 size += com.google.protobuf.CodedOutputStream
9818 .computeMessageSize(1, mapEntries_.get(i));
9820 size += getUnknownFields().getSerializedSize();
9821 memoizedSerializedSize = size;
9825 private static final long serialVersionUID = 0L;
9827 protected java.lang.Object writeReplace()
9828 throws java.io.ObjectStreamException {
9829 return super.writeReplace();
9832 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9833 com.google.protobuf.ByteString data)
9834 throws com.google.protobuf.InvalidProtocolBufferException {
9835 return PARSER.parseFrom(data);
9837 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9838 com.google.protobuf.ByteString data,
9839 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9840 throws com.google.protobuf.InvalidProtocolBufferException {
9841 return PARSER.parseFrom(data, extensionRegistry);
9843 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(byte[] data)
9844 throws com.google.protobuf.InvalidProtocolBufferException {
9845 return PARSER.parseFrom(data);
9847 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9849 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9850 throws com.google.protobuf.InvalidProtocolBufferException {
9851 return PARSER.parseFrom(data, extensionRegistry);
9853 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(java.io.InputStream input)
9854 throws java.io.IOException {
9855 return PARSER.parseFrom(input);
9857 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9858 java.io.InputStream input,
9859 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9860 throws java.io.IOException {
9861 return PARSER.parseFrom(input, extensionRegistry);
9863 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(java.io.InputStream input)
9864 throws java.io.IOException {
9865 return PARSER.parseDelimitedFrom(input);
9867 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(
9868 java.io.InputStream input,
9869 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9870 throws java.io.IOException {
9871 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9873 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9874 com.google.protobuf.CodedInputStream input)
9875 throws java.io.IOException {
9876 return PARSER.parseFrom(input);
9878 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
9879 com.google.protobuf.CodedInputStream input,
9880 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9881 throws java.io.IOException {
9882 return PARSER.parseFrom(input, extensionRegistry);
9885 public static Builder newBuilder() { return Builder.create(); }
9886 public Builder newBuilderForType() { return newBuilder(); }
9887 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap prototype) {
9888 return newBuilder().mergeFrom(prototype);
9890 public Builder toBuilder() { return newBuilder(this); }
9893 protected Builder newBuilderForType(
9894 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9895 Builder builder = new Builder(parent);
9899 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
9901 public static final class Builder extends
9902 com.google.protobuf.GeneratedMessage.Builder<Builder>
9903 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapOrBuilder {
9904 public static final com.google.protobuf.Descriptors.Descriptor
9906 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9909 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9910 internalGetFieldAccessorTable() {
9911 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
9912 .ensureFieldAccessorsInitialized(
9913 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
9916 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.newBuilder()
9918 maybeForceBuilderInitialization();
9922 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9924 maybeForceBuilderInitialization();
9926 private void maybeForceBuilderInitialization() {
9927 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9928 getMapEntriesFieldBuilder();
9931 private static Builder create() {
9932 return new Builder();
9935 public Builder clear() {
9937 if (mapEntriesBuilder_ == null) {
9938 mapEntries_ = java.util.Collections.emptyList();
9939 bitField0_ = (bitField0_ & ~0x00000001);
9941 mapEntriesBuilder_.clear();
9946 public Builder clone() {
9947 return create().mergeFrom(buildPartial());
9950 public com.google.protobuf.Descriptors.Descriptor
9951 getDescriptorForType() {
9952 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
9955 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap getDefaultInstanceForType() {
9956 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance();
9959 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap build() {
9960 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = buildPartial();
9961 if (!result.isInitialized()) {
9962 throw newUninitializedMessageException(result);
9967 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap buildPartial() {
9968 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap(this);
9969 int from_bitField0_ = bitField0_;
9970 if (mapEntriesBuilder_ == null) {
9971 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9972 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
9973 bitField0_ = (bitField0_ & ~0x00000001);
9975 result.mapEntries_ = mapEntries_;
9977 result.mapEntries_ = mapEntriesBuilder_.build();
9983 public Builder mergeFrom(com.google.protobuf.Message other) {
9984 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) {
9985 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap)other);
9987 super.mergeFrom(other);
9992 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap other) {
9993 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance()) return this;
9994 if (mapEntriesBuilder_ == null) {
9995 if (!other.mapEntries_.isEmpty()) {
9996 if (mapEntries_.isEmpty()) {
9997 mapEntries_ = other.mapEntries_;
9998 bitField0_ = (bitField0_ & ~0x00000001);
10000 ensureMapEntriesIsMutable();
10001 mapEntries_.addAll(other.mapEntries_);
10006 if (!other.mapEntries_.isEmpty()) {
10007 if (mapEntriesBuilder_.isEmpty()) {
10008 mapEntriesBuilder_.dispose();
10009 mapEntriesBuilder_ = null;
10010 mapEntries_ = other.mapEntries_;
10011 bitField0_ = (bitField0_ & ~0x00000001);
10012 mapEntriesBuilder_ =
10013 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
10014 getMapEntriesFieldBuilder() : null;
10016 mapEntriesBuilder_.addAllMessages(other.mapEntries_);
10020 this.mergeUnknownFields(other.getUnknownFields());
10024 public final boolean isInitialized() {
10025 for (int i = 0; i < getMapEntriesCount(); i++) {
10026 if (!getMapEntries(i).isInitialized()) {
10034 public Builder mergeFrom(
10035 com.google.protobuf.CodedInputStream input,
10036 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10037 throws java.io.IOException {
10038 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parsedMessage = null;
10040 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
10041 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
10042 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) e.getUnfinishedMessage();
10045 if (parsedMessage != null) {
10046 mergeFrom(parsedMessage);
10051 private int bitField0_;
10053 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
10054 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_ =
10055 java.util.Collections.emptyList();
10056 private void ensureMapEntriesIsMutable() {
10057 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
10058 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>(mapEntries_);
10059 bitField0_ |= 0x00000001;
10063 private com.google.protobuf.RepeatedFieldBuilder<
10064 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_;
10067 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10069 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
10070 if (mapEntriesBuilder_ == null) {
10071 return java.util.Collections.unmodifiableList(mapEntries_);
10073 return mapEntriesBuilder_.getMessageList();
10077 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10079 public int getMapEntriesCount() {
10080 if (mapEntriesBuilder_ == null) {
10081 return mapEntries_.size();
10083 return mapEntriesBuilder_.getCount();
10087 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10089 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
10090 if (mapEntriesBuilder_ == null) {
10091 return mapEntries_.get(index);
10093 return mapEntriesBuilder_.getMessage(index);
10097 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10099 public Builder setMapEntries(
10100 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10101 if (mapEntriesBuilder_ == null) {
10102 if (value == null) {
10103 throw new NullPointerException();
10105 ensureMapEntriesIsMutable();
10106 mapEntries_.set(index, value);
10109 mapEntriesBuilder_.setMessage(index, value);
10114 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10116 public Builder setMapEntries(
10117 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10118 if (mapEntriesBuilder_ == null) {
10119 ensureMapEntriesIsMutable();
10120 mapEntries_.set(index, builderForValue.build());
10123 mapEntriesBuilder_.setMessage(index, builderForValue.build());
10128 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10130 public Builder addMapEntries(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10131 if (mapEntriesBuilder_ == null) {
10132 if (value == null) {
10133 throw new NullPointerException();
10135 ensureMapEntriesIsMutable();
10136 mapEntries_.add(value);
10139 mapEntriesBuilder_.addMessage(value);
10144 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10146 public Builder addMapEntries(
10147 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10148 if (mapEntriesBuilder_ == null) {
10149 if (value == null) {
10150 throw new NullPointerException();
10152 ensureMapEntriesIsMutable();
10153 mapEntries_.add(index, value);
10156 mapEntriesBuilder_.addMessage(index, value);
10161 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10163 public Builder addMapEntries(
10164 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10165 if (mapEntriesBuilder_ == null) {
10166 ensureMapEntriesIsMutable();
10167 mapEntries_.add(builderForValue.build());
10170 mapEntriesBuilder_.addMessage(builderForValue.build());
10175 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10177 public Builder addMapEntries(
10178 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10179 if (mapEntriesBuilder_ == null) {
10180 ensureMapEntriesIsMutable();
10181 mapEntries_.add(index, builderForValue.build());
10184 mapEntriesBuilder_.addMessage(index, builderForValue.build());
10189 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10191 public Builder addAllMapEntries(
10192 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> values) {
10193 if (mapEntriesBuilder_ == null) {
10194 ensureMapEntriesIsMutable();
10195 super.addAll(values, mapEntries_);
10198 mapEntriesBuilder_.addAllMessages(values);
10203 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10205 public Builder clearMapEntries() {
10206 if (mapEntriesBuilder_ == null) {
10207 mapEntries_ = java.util.Collections.emptyList();
10208 bitField0_ = (bitField0_ & ~0x00000001);
10211 mapEntriesBuilder_.clear();
10216 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10218 public Builder removeMapEntries(int index) {
10219 if (mapEntriesBuilder_ == null) {
10220 ensureMapEntriesIsMutable();
10221 mapEntries_.remove(index);
10224 mapEntriesBuilder_.remove(index);
10229 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10231 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder getMapEntriesBuilder(
10233 return getMapEntriesFieldBuilder().getBuilder(index);
10236 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10238 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
10240 if (mapEntriesBuilder_ == null) {
10241 return mapEntries_.get(index); } else {
10242 return mapEntriesBuilder_.getMessageOrBuilder(index);
10246 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10248 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
10249 getMapEntriesOrBuilderList() {
10250 if (mapEntriesBuilder_ != null) {
10251 return mapEntriesBuilder_.getMessageOrBuilderList();
10253 return java.util.Collections.unmodifiableList(mapEntries_);
10257 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10259 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder() {
10260 return getMapEntriesFieldBuilder().addBuilder(
10261 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
10264 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10266 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder(
10268 return getMapEntriesFieldBuilder().addBuilder(
10269 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
10272 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10274 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder>
10275 getMapEntriesBuilderList() {
10276 return getMapEntriesFieldBuilder().getBuilderList();
10278 private com.google.protobuf.RepeatedFieldBuilder<
10279 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>
10280 getMapEntriesFieldBuilder() {
10281 if (mapEntriesBuilder_ == null) {
10282 mapEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
10283 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>(
10285 ((bitField0_ & 0x00000001) == 0x00000001),
10286 getParentForChildren(),
10288 mapEntries_ = null;
10290 return mapEntriesBuilder_;
10293 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMap)
10297 defaultInstance = new NodeMap(true);
10298 defaultInstance.initFields();
10301 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMap)
10304 private static com.google.protobuf.Descriptors.Descriptor
10305 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
10307 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10308 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable;
10309 private static com.google.protobuf.Descriptors.Descriptor
10310 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
10312 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10313 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable;
10314 private static com.google.protobuf.Descriptors.Descriptor
10315 internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
10317 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10318 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable;
10319 private static com.google.protobuf.Descriptors.Descriptor
10320 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
10322 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10323 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable;
10324 private static com.google.protobuf.Descriptors.Descriptor
10325 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
10327 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10328 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable;
10329 private static com.google.protobuf.Descriptors.Descriptor
10330 internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
10332 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10333 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable;
10334 private static com.google.protobuf.Descriptors.Descriptor
10335 internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
10337 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10338 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable;
10339 private static com.google.protobuf.Descriptors.Descriptor
10340 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
10342 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10343 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable;
10344 private static com.google.protobuf.Descriptors.Descriptor
10345 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
10347 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10348 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable;
10350 public static com.google.protobuf.Descriptors.FileDescriptor
10354 private static com.google.protobuf.Descriptors.FileDescriptor
10357 java.lang.String[] descriptorData = {
10358 "\n\014Common.proto\022!org.opendaylight.control" +
10359 "ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" +
10360 "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"l\n\025PathArgumen" +
10361 "tAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayli" +
10362 "ght.controller.mdsal.QName\022\r\n\005value\030\002 \001(" +
10363 "\t\022\014\n\004type\030\003 \001(\005\"N\n\005QName\022\r\n\005value\030\001 \001(\t\022" +
10364 "\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003 \001(\005\022\021\n\t" +
10365 "localName\030\004 \001(\005\"\207\002\n\014PathArgument\022\r\n\005valu" +
10366 "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeType\030\003 \001(\0132" +
10367 "(.org.opendaylight.controller.mdsal.QNam",
10368 "e\022K\n\tattribute\030\004 \003(\01328.org.opendaylight." +
10369 "controller.mdsal.PathArgumentAttribute\022@" +
10370 "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" +
10371 "ntroller.mdsal.Attribute\022\017\n\007intType\030\006 \001(" +
10372 "\005\"f\n\022InstanceIdentifier\022B\n\targuments\030\001 \003" +
10373 "(\0132/.org.opendaylight.controller.mdsal.P" +
10374 "athArgument\022\014\n\004code\030\002 \003(\t\"\271\003\n\004Node\022\014\n\004pa" +
10375 "th\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022E\n\014pathArgument\030\003" +
10376 " \001(\0132/.org.opendaylight.controller.mdsal" +
10377 ".PathArgument\022\017\n\007intType\030\004 \001(\005\022@\n\nattrib",
10378 "utes\030\005 \003(\0132,.org.opendaylight.controller" +
10379 ".mdsal.Attribute\0226\n\005child\030\006 \003(\0132\'.org.op" +
10380 "endaylight.controller.mdsal.Node\022\r\n\005valu" +
10381 "e\030\007 \001(\t\022\021\n\tvalueType\030\010 \001(\t\022\024\n\014intValueTy" +
10382 "pe\030\t \001(\005\022V\n\027instanceIdentifierValue\030\n \001(" +
10383 "\01325.org.opendaylight.controller.mdsal.In" +
10384 "stanceIdentifier\022\021\n\tbitsValue\030\013 \003(\t\022\014\n\004c" +
10385 "ode\030\014 \003(\t\022\022\n\nbytesValue\030\r \001(\014\"`\n\tContain" +
10386 "er\022\022\n\nparentPath\030\001 \002(\t\022?\n\016normalizedNode" +
10387 "\030\002 \001(\0132\'.org.opendaylight.controller.mds",
10388 "al.Node\"\246\001\n\014NodeMapEntry\022U\n\026instanceIden" +
10389 "tifierPath\030\001 \002(\01325.org.opendaylight.cont" +
10390 "roller.mdsal.InstanceIdentifier\022?\n\016norma" +
10391 "lizedNode\030\002 \001(\0132\'.org.opendaylight.contr" +
10392 "oller.mdsal.Node\"N\n\007NodeMap\022C\n\nmapEntrie" +
10393 "s\030\001 \003(\0132/.org.opendaylight.controller.md" +
10394 "sal.NodeMapEntryBO\n5org.opendaylight.con" +
10395 "troller.protobuff.messages.commonB\026Norma" +
10396 "lizedNodeMessages"
10398 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
10399 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
10400 public com.google.protobuf.ExtensionRegistry assignDescriptors(
10401 com.google.protobuf.Descriptors.FileDescriptor root) {
10403 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor =
10404 getDescriptor().getMessageTypes().get(0);
10405 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable = new
10406 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10407 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor,
10408 new java.lang.String[] { "Name", "Value", "Type", });
10409 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor =
10410 getDescriptor().getMessageTypes().get(1);
10411 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new
10412 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10413 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor,
10414 new java.lang.String[] { "Name", "Value", "Type", });
10415 internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
10416 getDescriptor().getMessageTypes().get(2);
10417 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new
10418 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10419 internal_static_org_opendaylight_controller_mdsal_QName_descriptor,
10420 new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", });
10421 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor =
10422 getDescriptor().getMessageTypes().get(3);
10423 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new
10424 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10425 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor,
10426 new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", });
10427 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor =
10428 getDescriptor().getMessageTypes().get(4);
10429 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new
10430 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10431 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor,
10432 new java.lang.String[] { "Arguments", "Code", });
10433 internal_static_org_opendaylight_controller_mdsal_Node_descriptor =
10434 getDescriptor().getMessageTypes().get(5);
10435 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new
10436 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10437 internal_static_org_opendaylight_controller_mdsal_Node_descriptor,
10438 new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", "BytesValue", });
10439 internal_static_org_opendaylight_controller_mdsal_Container_descriptor =
10440 getDescriptor().getMessageTypes().get(6);
10441 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new
10442 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10443 internal_static_org_opendaylight_controller_mdsal_Container_descriptor,
10444 new java.lang.String[] { "ParentPath", "NormalizedNode", });
10445 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor =
10446 getDescriptor().getMessageTypes().get(7);
10447 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new
10448 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10449 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor,
10450 new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", });
10451 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor =
10452 getDescriptor().getMessageTypes().get(8);
10453 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new
10454 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
10455 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,
10456 new java.lang.String[] { "MapEntries", });
10460 com.google.protobuf.Descriptors.FileDescriptor
10461 .internalBuildGeneratedFileFrom(descriptorData,
10462 new com.google.protobuf.Descriptors.FileDescriptor[] {
10466 // @@protoc_insertion_point(outer_class_scope)