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>
844 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
846 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
852 boolean hasInstanceIdentifierValue();
854 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
860 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
862 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
868 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
870 // repeated string bitsValue = 5;
872 * <code>repeated string bitsValue = 5;</code>
875 * intValueType = Bits
878 java.util.List<java.lang.String>
881 * <code>repeated string bitsValue = 5;</code>
884 * intValueType = Bits
887 int getBitsValueCount();
889 * <code>repeated string bitsValue = 5;</code>
892 * intValueType = Bits
895 java.lang.String getBitsValue(int index);
897 * <code>repeated string bitsValue = 5;</code>
900 * intValueType = Bits
903 com.google.protobuf.ByteString
904 getBitsValueBytes(int index);
906 // optional bytes bytesValue = 6;
908 * <code>optional bytes bytesValue = 6;</code>
910 boolean hasBytesValue();
912 * <code>optional bytes bytesValue = 6;</code>
914 com.google.protobuf.ByteString getBytesValue();
917 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
919 public static final class PathArgumentAttribute extends
920 com.google.protobuf.GeneratedMessage
921 implements PathArgumentAttributeOrBuilder {
922 // Use PathArgumentAttribute.newBuilder() to construct.
923 private PathArgumentAttribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
925 this.unknownFields = builder.getUnknownFields();
927 private PathArgumentAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
929 private static final PathArgumentAttribute defaultInstance;
930 public static PathArgumentAttribute getDefaultInstance() {
931 return defaultInstance;
934 public PathArgumentAttribute getDefaultInstanceForType() {
935 return defaultInstance;
938 private final com.google.protobuf.UnknownFieldSet unknownFields;
940 public final com.google.protobuf.UnknownFieldSet
942 return this.unknownFields;
944 private PathArgumentAttribute(
945 com.google.protobuf.CodedInputStream input,
946 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
947 throws com.google.protobuf.InvalidProtocolBufferException {
949 int mutable_bitField0_ = 0;
950 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
951 com.google.protobuf.UnknownFieldSet.newBuilder();
953 boolean done = false;
955 int tag = input.readTag();
961 if (!parseUnknownField(input, unknownFields,
962 extensionRegistry, tag)) {
968 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
969 if (((bitField0_ & 0x00000001) == 0x00000001)) {
970 subBuilder = name_.toBuilder();
972 name_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
973 if (subBuilder != null) {
974 subBuilder.mergeFrom(name_);
975 name_ = subBuilder.buildPartial();
977 bitField0_ |= 0x00000001;
981 bitField0_ |= 0x00000002;
982 value_ = input.readBytes();
986 bitField0_ |= 0x00000004;
987 type_ = input.readInt32();
991 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
992 if (((bitField0_ & 0x00000008) == 0x00000008)) {
993 subBuilder = instanceIdentifierValue_.toBuilder();
995 instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
996 if (subBuilder != null) {
997 subBuilder.mergeFrom(instanceIdentifierValue_);
998 instanceIdentifierValue_ = subBuilder.buildPartial();
1000 bitField0_ |= 0x00000008;
1004 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
1005 bitsValue_ = new com.google.protobuf.LazyStringArrayList();
1006 mutable_bitField0_ |= 0x00000010;
1008 bitsValue_.add(input.readBytes());
1012 bitField0_ |= 0x00000010;
1013 bytesValue_ = input.readBytes();
1018 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1019 throw e.setUnfinishedMessage(this);
1020 } catch (java.io.IOException e) {
1021 throw new com.google.protobuf.InvalidProtocolBufferException(
1022 e.getMessage()).setUnfinishedMessage(this);
1024 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
1025 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
1027 this.unknownFields = unknownFields.build();
1028 makeExtensionsImmutable();
1031 public static final com.google.protobuf.Descriptors.Descriptor
1033 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
1036 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1037 internalGetFieldAccessorTable() {
1038 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
1039 .ensureFieldAccessorsInitialized(
1040 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
1043 public static com.google.protobuf.Parser<PathArgumentAttribute> PARSER =
1044 new com.google.protobuf.AbstractParser<PathArgumentAttribute>() {
1045 public PathArgumentAttribute parsePartialFrom(
1046 com.google.protobuf.CodedInputStream input,
1047 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1048 throws com.google.protobuf.InvalidProtocolBufferException {
1049 return new PathArgumentAttribute(input, extensionRegistry);
1054 public com.google.protobuf.Parser<PathArgumentAttribute> getParserForType() {
1058 private int bitField0_;
1059 // optional .org.opendaylight.controller.mdsal.QName name = 1;
1060 public static final int NAME_FIELD_NUMBER = 1;
1061 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_;
1063 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1065 public boolean hasName() {
1066 return ((bitField0_ & 0x00000001) == 0x00000001);
1069 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1071 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
1075 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1077 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
1081 // optional string value = 2;
1082 public static final int VALUE_FIELD_NUMBER = 2;
1083 private java.lang.Object value_;
1085 * <code>optional string value = 2;</code>
1087 public boolean hasValue() {
1088 return ((bitField0_ & 0x00000002) == 0x00000002);
1091 * <code>optional string value = 2;</code>
1093 public java.lang.String getValue() {
1094 java.lang.Object ref = value_;
1095 if (ref instanceof java.lang.String) {
1096 return (java.lang.String) ref;
1098 com.google.protobuf.ByteString bs =
1099 (com.google.protobuf.ByteString) ref;
1100 java.lang.String s = bs.toStringUtf8();
1101 if (bs.isValidUtf8()) {
1108 * <code>optional string value = 2;</code>
1110 public com.google.protobuf.ByteString
1112 java.lang.Object ref = value_;
1113 if (ref instanceof java.lang.String) {
1114 com.google.protobuf.ByteString b =
1115 com.google.protobuf.ByteString.copyFromUtf8(
1116 (java.lang.String) ref);
1120 return (com.google.protobuf.ByteString) ref;
1124 // optional int32 type = 3;
1125 public static final int TYPE_FIELD_NUMBER = 3;
1128 * <code>optional int32 type = 3;</code>
1130 public boolean hasType() {
1131 return ((bitField0_ & 0x00000004) == 0x00000004);
1134 * <code>optional int32 type = 3;</code>
1136 public int getType() {
1140 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
1141 public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 4;
1142 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
1144 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1150 public boolean hasInstanceIdentifierValue() {
1151 return ((bitField0_ & 0x00000008) == 0x00000008);
1154 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1160 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
1161 return instanceIdentifierValue_;
1164 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1170 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
1171 return instanceIdentifierValue_;
1174 // repeated string bitsValue = 5;
1175 public static final int BITSVALUE_FIELD_NUMBER = 5;
1176 private com.google.protobuf.LazyStringList bitsValue_;
1178 * <code>repeated string bitsValue = 5;</code>
1181 * intValueType = Bits
1184 public java.util.List<java.lang.String>
1185 getBitsValueList() {
1189 * <code>repeated string bitsValue = 5;</code>
1192 * intValueType = Bits
1195 public int getBitsValueCount() {
1196 return bitsValue_.size();
1199 * <code>repeated string bitsValue = 5;</code>
1202 * intValueType = Bits
1205 public java.lang.String getBitsValue(int index) {
1206 return bitsValue_.get(index);
1209 * <code>repeated string bitsValue = 5;</code>
1212 * intValueType = Bits
1215 public com.google.protobuf.ByteString
1216 getBitsValueBytes(int index) {
1217 return bitsValue_.getByteString(index);
1220 // optional bytes bytesValue = 6;
1221 public static final int BYTESVALUE_FIELD_NUMBER = 6;
1222 private com.google.protobuf.ByteString bytesValue_;
1224 * <code>optional bytes bytesValue = 6;</code>
1226 public boolean hasBytesValue() {
1227 return ((bitField0_ & 0x00000010) == 0x00000010);
1230 * <code>optional bytes bytesValue = 6;</code>
1232 public com.google.protobuf.ByteString getBytesValue() {
1236 private void initFields() {
1237 name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1240 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1241 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1242 bytesValue_ = com.google.protobuf.ByteString.EMPTY;
1244 private byte memoizedIsInitialized = -1;
1245 public final boolean isInitialized() {
1246 byte isInitialized = memoizedIsInitialized;
1247 if (isInitialized != -1) return isInitialized == 1;
1249 if (hasInstanceIdentifierValue()) {
1250 if (!getInstanceIdentifierValue().isInitialized()) {
1251 memoizedIsInitialized = 0;
1255 memoizedIsInitialized = 1;
1259 public void writeTo(com.google.protobuf.CodedOutputStream output)
1260 throws java.io.IOException {
1261 getSerializedSize();
1262 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1263 output.writeMessage(1, name_);
1265 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1266 output.writeBytes(2, getValueBytes());
1268 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1269 output.writeInt32(3, type_);
1271 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1272 output.writeMessage(4, instanceIdentifierValue_);
1274 for (int i = 0; i < bitsValue_.size(); i++) {
1275 output.writeBytes(5, bitsValue_.getByteString(i));
1277 if (((bitField0_ & 0x00000010) == 0x00000010)) {
1278 output.writeBytes(6, bytesValue_);
1280 getUnknownFields().writeTo(output);
1283 private int memoizedSerializedSize = -1;
1284 public int getSerializedSize() {
1285 int size = memoizedSerializedSize;
1286 if (size != -1) return size;
1289 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1290 size += com.google.protobuf.CodedOutputStream
1291 .computeMessageSize(1, name_);
1293 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1294 size += com.google.protobuf.CodedOutputStream
1295 .computeBytesSize(2, getValueBytes());
1297 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1298 size += com.google.protobuf.CodedOutputStream
1299 .computeInt32Size(3, type_);
1301 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1302 size += com.google.protobuf.CodedOutputStream
1303 .computeMessageSize(4, instanceIdentifierValue_);
1307 for (int i = 0; i < bitsValue_.size(); i++) {
1308 dataSize += com.google.protobuf.CodedOutputStream
1309 .computeBytesSizeNoTag(bitsValue_.getByteString(i));
1312 size += 1 * getBitsValueList().size();
1314 if (((bitField0_ & 0x00000010) == 0x00000010)) {
1315 size += com.google.protobuf.CodedOutputStream
1316 .computeBytesSize(6, bytesValue_);
1318 size += getUnknownFields().getSerializedSize();
1319 memoizedSerializedSize = size;
1323 private static final long serialVersionUID = 0L;
1325 protected java.lang.Object writeReplace()
1326 throws java.io.ObjectStreamException {
1327 return super.writeReplace();
1330 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1331 com.google.protobuf.ByteString data)
1332 throws com.google.protobuf.InvalidProtocolBufferException {
1333 return PARSER.parseFrom(data);
1335 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1336 com.google.protobuf.ByteString data,
1337 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1338 throws com.google.protobuf.InvalidProtocolBufferException {
1339 return PARSER.parseFrom(data, extensionRegistry);
1341 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(byte[] data)
1342 throws com.google.protobuf.InvalidProtocolBufferException {
1343 return PARSER.parseFrom(data);
1345 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1347 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1348 throws com.google.protobuf.InvalidProtocolBufferException {
1349 return PARSER.parseFrom(data, extensionRegistry);
1351 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(java.io.InputStream input)
1352 throws java.io.IOException {
1353 return PARSER.parseFrom(input);
1355 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1356 java.io.InputStream input,
1357 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1358 throws java.io.IOException {
1359 return PARSER.parseFrom(input, extensionRegistry);
1361 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(java.io.InputStream input)
1362 throws java.io.IOException {
1363 return PARSER.parseDelimitedFrom(input);
1365 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseDelimitedFrom(
1366 java.io.InputStream input,
1367 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1368 throws java.io.IOException {
1369 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1371 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1372 com.google.protobuf.CodedInputStream input)
1373 throws java.io.IOException {
1374 return PARSER.parseFrom(input);
1376 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parseFrom(
1377 com.google.protobuf.CodedInputStream input,
1378 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1379 throws java.io.IOException {
1380 return PARSER.parseFrom(input, extensionRegistry);
1383 public static Builder newBuilder() { return Builder.create(); }
1384 public Builder newBuilderForType() { return newBuilder(); }
1385 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute prototype) {
1386 return newBuilder().mergeFrom(prototype);
1388 public Builder toBuilder() { return newBuilder(this); }
1391 protected Builder newBuilderForType(
1392 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1393 Builder builder = new Builder(parent);
1397 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgumentAttribute}
1399 public static final class Builder extends
1400 com.google.protobuf.GeneratedMessage.Builder<Builder>
1401 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder {
1402 public static final com.google.protobuf.Descriptors.Descriptor
1404 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
1407 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1408 internalGetFieldAccessorTable() {
1409 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable
1410 .ensureFieldAccessorsInitialized(
1411 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder.class);
1414 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.newBuilder()
1416 maybeForceBuilderInitialization();
1420 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1422 maybeForceBuilderInitialization();
1424 private void maybeForceBuilderInitialization() {
1425 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1426 getNameFieldBuilder();
1427 getInstanceIdentifierValueFieldBuilder();
1430 private static Builder create() {
1431 return new Builder();
1434 public Builder clear() {
1436 if (nameBuilder_ == null) {
1437 name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1439 nameBuilder_.clear();
1441 bitField0_ = (bitField0_ & ~0x00000001);
1443 bitField0_ = (bitField0_ & ~0x00000002);
1445 bitField0_ = (bitField0_ & ~0x00000004);
1446 if (instanceIdentifierValueBuilder_ == null) {
1447 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1449 instanceIdentifierValueBuilder_.clear();
1451 bitField0_ = (bitField0_ & ~0x00000008);
1452 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1453 bitField0_ = (bitField0_ & ~0x00000010);
1454 bytesValue_ = com.google.protobuf.ByteString.EMPTY;
1455 bitField0_ = (bitField0_ & ~0x00000020);
1459 public Builder clone() {
1460 return create().mergeFrom(buildPartial());
1463 public com.google.protobuf.Descriptors.Descriptor
1464 getDescriptorForType() {
1465 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
1468 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getDefaultInstanceForType() {
1469 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance();
1472 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute build() {
1473 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = buildPartial();
1474 if (!result.isInitialized()) {
1475 throw newUninitializedMessageException(result);
1480 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute buildPartial() {
1481 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute(this);
1482 int from_bitField0_ = bitField0_;
1483 int to_bitField0_ = 0;
1484 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1485 to_bitField0_ |= 0x00000001;
1487 if (nameBuilder_ == null) {
1488 result.name_ = name_;
1490 result.name_ = nameBuilder_.build();
1492 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1493 to_bitField0_ |= 0x00000002;
1495 result.value_ = value_;
1496 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1497 to_bitField0_ |= 0x00000004;
1499 result.type_ = type_;
1500 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1501 to_bitField0_ |= 0x00000008;
1503 if (instanceIdentifierValueBuilder_ == null) {
1504 result.instanceIdentifierValue_ = instanceIdentifierValue_;
1506 result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
1508 if (((bitField0_ & 0x00000010) == 0x00000010)) {
1509 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
1511 bitField0_ = (bitField0_ & ~0x00000010);
1513 result.bitsValue_ = bitsValue_;
1514 if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
1515 to_bitField0_ |= 0x00000010;
1517 result.bytesValue_ = bytesValue_;
1518 result.bitField0_ = to_bitField0_;
1523 public Builder mergeFrom(com.google.protobuf.Message other) {
1524 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) {
1525 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute)other);
1527 super.mergeFrom(other);
1532 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute other) {
1533 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance()) return this;
1534 if (other.hasName()) {
1535 mergeName(other.getName());
1537 if (other.hasValue()) {
1538 bitField0_ |= 0x00000002;
1539 value_ = other.value_;
1542 if (other.hasType()) {
1543 setType(other.getType());
1545 if (other.hasInstanceIdentifierValue()) {
1546 mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
1548 if (!other.bitsValue_.isEmpty()) {
1549 if (bitsValue_.isEmpty()) {
1550 bitsValue_ = other.bitsValue_;
1551 bitField0_ = (bitField0_ & ~0x00000010);
1553 ensureBitsValueIsMutable();
1554 bitsValue_.addAll(other.bitsValue_);
1558 if (other.hasBytesValue()) {
1559 setBytesValue(other.getBytesValue());
1561 this.mergeUnknownFields(other.getUnknownFields());
1565 public final boolean isInitialized() {
1566 if (hasInstanceIdentifierValue()) {
1567 if (!getInstanceIdentifierValue().isInitialized()) {
1575 public Builder mergeFrom(
1576 com.google.protobuf.CodedInputStream input,
1577 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1578 throws java.io.IOException {
1579 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute parsedMessage = null;
1581 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1582 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1583 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute) e.getUnfinishedMessage();
1586 if (parsedMessage != null) {
1587 mergeFrom(parsedMessage);
1592 private int bitField0_;
1594 // optional .org.opendaylight.controller.mdsal.QName name = 1;
1595 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1596 private com.google.protobuf.SingleFieldBuilder<
1597 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_;
1599 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1601 public boolean hasName() {
1602 return ((bitField0_ & 0x00000001) == 0x00000001);
1605 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1607 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getName() {
1608 if (nameBuilder_ == null) {
1611 return nameBuilder_.getMessage();
1615 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1617 public Builder setName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
1618 if (nameBuilder_ == null) {
1619 if (value == null) {
1620 throw new NullPointerException();
1625 nameBuilder_.setMessage(value);
1627 bitField0_ |= 0x00000001;
1631 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1633 public Builder setName(
1634 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
1635 if (nameBuilder_ == null) {
1636 name_ = builderForValue.build();
1639 nameBuilder_.setMessage(builderForValue.build());
1641 bitField0_ |= 0x00000001;
1645 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1647 public Builder mergeName(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
1648 if (nameBuilder_ == null) {
1649 if (((bitField0_ & 0x00000001) == 0x00000001) &&
1650 name_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
1652 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(name_).mergeFrom(value).buildPartial();
1658 nameBuilder_.mergeFrom(value);
1660 bitField0_ |= 0x00000001;
1664 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1666 public Builder clearName() {
1667 if (nameBuilder_ == null) {
1668 name_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
1671 nameBuilder_.clear();
1673 bitField0_ = (bitField0_ & ~0x00000001);
1677 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1679 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNameBuilder() {
1680 bitField0_ |= 0x00000001;
1682 return getNameFieldBuilder().getBuilder();
1685 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1687 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNameOrBuilder() {
1688 if (nameBuilder_ != null) {
1689 return nameBuilder_.getMessageOrBuilder();
1695 * <code>optional .org.opendaylight.controller.mdsal.QName name = 1;</code>
1697 private com.google.protobuf.SingleFieldBuilder<
1698 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>
1699 getNameFieldBuilder() {
1700 if (nameBuilder_ == null) {
1701 nameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1702 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>(
1704 getParentForChildren(),
1708 return nameBuilder_;
1711 // optional string value = 2;
1712 private java.lang.Object value_ = "";
1714 * <code>optional string value = 2;</code>
1716 public boolean hasValue() {
1717 return ((bitField0_ & 0x00000002) == 0x00000002);
1720 * <code>optional string value = 2;</code>
1722 public java.lang.String getValue() {
1723 java.lang.Object ref = value_;
1724 if (!(ref instanceof java.lang.String)) {
1725 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1730 return (java.lang.String) ref;
1734 * <code>optional string value = 2;</code>
1736 public com.google.protobuf.ByteString
1738 java.lang.Object ref = value_;
1739 if (ref instanceof String) {
1740 com.google.protobuf.ByteString b =
1741 com.google.protobuf.ByteString.copyFromUtf8(
1742 (java.lang.String) ref);
1746 return (com.google.protobuf.ByteString) ref;
1750 * <code>optional string value = 2;</code>
1752 public Builder setValue(
1753 java.lang.String value) {
1754 if (value == null) {
1755 throw new NullPointerException();
1757 bitField0_ |= 0x00000002;
1763 * <code>optional string value = 2;</code>
1765 public Builder clearValue() {
1766 bitField0_ = (bitField0_ & ~0x00000002);
1767 value_ = getDefaultInstance().getValue();
1772 * <code>optional string value = 2;</code>
1774 public Builder setValueBytes(
1775 com.google.protobuf.ByteString value) {
1776 if (value == null) {
1777 throw new NullPointerException();
1779 bitField0_ |= 0x00000002;
1785 // optional int32 type = 3;
1788 * <code>optional int32 type = 3;</code>
1790 public boolean hasType() {
1791 return ((bitField0_ & 0x00000004) == 0x00000004);
1794 * <code>optional int32 type = 3;</code>
1796 public int getType() {
1800 * <code>optional int32 type = 3;</code>
1802 public Builder setType(int value) {
1803 bitField0_ |= 0x00000004;
1809 * <code>optional int32 type = 3;</code>
1811 public Builder clearType() {
1812 bitField0_ = (bitField0_ & ~0x00000004);
1818 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;
1819 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1820 private com.google.protobuf.SingleFieldBuilder<
1821 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_;
1823 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1829 public boolean hasInstanceIdentifierValue() {
1830 return ((bitField0_ & 0x00000008) == 0x00000008);
1833 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1839 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
1840 if (instanceIdentifierValueBuilder_ == null) {
1841 return instanceIdentifierValue_;
1843 return instanceIdentifierValueBuilder_.getMessage();
1847 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1853 public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1854 if (instanceIdentifierValueBuilder_ == null) {
1855 if (value == null) {
1856 throw new NullPointerException();
1858 instanceIdentifierValue_ = value;
1861 instanceIdentifierValueBuilder_.setMessage(value);
1863 bitField0_ |= 0x00000008;
1867 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1873 public Builder setInstanceIdentifierValue(
1874 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
1875 if (instanceIdentifierValueBuilder_ == null) {
1876 instanceIdentifierValue_ = builderForValue.build();
1879 instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
1881 bitField0_ |= 0x00000008;
1885 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1891 public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
1892 if (instanceIdentifierValueBuilder_ == null) {
1893 if (((bitField0_ & 0x00000008) == 0x00000008) &&
1894 instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
1895 instanceIdentifierValue_ =
1896 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
1898 instanceIdentifierValue_ = value;
1902 instanceIdentifierValueBuilder_.mergeFrom(value);
1904 bitField0_ |= 0x00000008;
1908 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1914 public Builder clearInstanceIdentifierValue() {
1915 if (instanceIdentifierValueBuilder_ == null) {
1916 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
1919 instanceIdentifierValueBuilder_.clear();
1921 bitField0_ = (bitField0_ & ~0x00000008);
1925 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1931 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
1932 bitField0_ |= 0x00000008;
1934 return getInstanceIdentifierValueFieldBuilder().getBuilder();
1937 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1943 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
1944 if (instanceIdentifierValueBuilder_ != null) {
1945 return instanceIdentifierValueBuilder_.getMessageOrBuilder();
1947 return instanceIdentifierValue_;
1951 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 4;</code>
1957 private com.google.protobuf.SingleFieldBuilder<
1958 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>
1959 getInstanceIdentifierValueFieldBuilder() {
1960 if (instanceIdentifierValueBuilder_ == null) {
1961 instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1962 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>(
1963 instanceIdentifierValue_,
1964 getParentForChildren(),
1966 instanceIdentifierValue_ = null;
1968 return instanceIdentifierValueBuilder_;
1971 // repeated string bitsValue = 5;
1972 private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1973 private void ensureBitsValueIsMutable() {
1974 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
1975 bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
1976 bitField0_ |= 0x00000010;
1980 * <code>repeated string bitsValue = 5;</code>
1983 * intValueType = Bits
1986 public java.util.List<java.lang.String>
1987 getBitsValueList() {
1988 return java.util.Collections.unmodifiableList(bitsValue_);
1991 * <code>repeated string bitsValue = 5;</code>
1994 * intValueType = Bits
1997 public int getBitsValueCount() {
1998 return bitsValue_.size();
2001 * <code>repeated string bitsValue = 5;</code>
2004 * intValueType = Bits
2007 public java.lang.String getBitsValue(int index) {
2008 return bitsValue_.get(index);
2011 * <code>repeated string bitsValue = 5;</code>
2014 * intValueType = Bits
2017 public com.google.protobuf.ByteString
2018 getBitsValueBytes(int index) {
2019 return bitsValue_.getByteString(index);
2022 * <code>repeated string bitsValue = 5;</code>
2025 * intValueType = Bits
2028 public Builder setBitsValue(
2029 int index, java.lang.String value) {
2030 if (value == null) {
2031 throw new NullPointerException();
2033 ensureBitsValueIsMutable();
2034 bitsValue_.set(index, value);
2039 * <code>repeated string bitsValue = 5;</code>
2042 * intValueType = Bits
2045 public Builder addBitsValue(
2046 java.lang.String value) {
2047 if (value == null) {
2048 throw new NullPointerException();
2050 ensureBitsValueIsMutable();
2051 bitsValue_.add(value);
2056 * <code>repeated string bitsValue = 5;</code>
2059 * intValueType = Bits
2062 public Builder addAllBitsValue(
2063 java.lang.Iterable<java.lang.String> values) {
2064 ensureBitsValueIsMutable();
2065 super.addAll(values, bitsValue_);
2070 * <code>repeated string bitsValue = 5;</code>
2073 * intValueType = Bits
2076 public Builder clearBitsValue() {
2077 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2078 bitField0_ = (bitField0_ & ~0x00000010);
2083 * <code>repeated string bitsValue = 5;</code>
2086 * intValueType = Bits
2089 public Builder addBitsValueBytes(
2090 com.google.protobuf.ByteString value) {
2091 if (value == null) {
2092 throw new NullPointerException();
2094 ensureBitsValueIsMutable();
2095 bitsValue_.add(value);
2100 // optional bytes bytesValue = 6;
2101 private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
2103 * <code>optional bytes bytesValue = 6;</code>
2105 public boolean hasBytesValue() {
2106 return ((bitField0_ & 0x00000020) == 0x00000020);
2109 * <code>optional bytes bytesValue = 6;</code>
2111 public com.google.protobuf.ByteString getBytesValue() {
2115 * <code>optional bytes bytesValue = 6;</code>
2117 public Builder setBytesValue(com.google.protobuf.ByteString value) {
2118 if (value == null) {
2119 throw new NullPointerException();
2121 bitField0_ |= 0x00000020;
2122 bytesValue_ = value;
2127 * <code>optional bytes bytesValue = 6;</code>
2129 public Builder clearBytesValue() {
2130 bitField0_ = (bitField0_ & ~0x00000020);
2131 bytesValue_ = getDefaultInstance().getBytesValue();
2136 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
2140 defaultInstance = new PathArgumentAttribute(true);
2141 defaultInstance.initFields();
2144 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgumentAttribute)
2147 public interface QNameOrBuilder
2148 extends com.google.protobuf.MessageOrBuilder {
2150 // optional string value = 1;
2152 * <code>optional string value = 1;</code>
2160 * <code>optional string value = 1;</code>
2166 java.lang.String getValue();
2168 * <code>optional string value = 1;</code>
2174 com.google.protobuf.ByteString
2177 // optional int32 namespace = 2;
2179 * <code>optional int32 namespace = 2;</code>
2181 boolean hasNamespace();
2183 * <code>optional int32 namespace = 2;</code>
2187 // optional int32 revision = 3;
2189 * <code>optional int32 revision = 3;</code>
2191 boolean hasRevision();
2193 * <code>optional int32 revision = 3;</code>
2197 // optional int32 localName = 4;
2199 * <code>optional int32 localName = 4;</code>
2201 boolean hasLocalName();
2203 * <code>optional int32 localName = 4;</code>
2208 * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
2210 public static final class QName extends
2211 com.google.protobuf.GeneratedMessage
2212 implements QNameOrBuilder {
2213 // Use QName.newBuilder() to construct.
2214 private QName(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2216 this.unknownFields = builder.getUnknownFields();
2218 private QName(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2220 private static final QName defaultInstance;
2221 public static QName getDefaultInstance() {
2222 return defaultInstance;
2225 public QName getDefaultInstanceForType() {
2226 return defaultInstance;
2229 private final com.google.protobuf.UnknownFieldSet unknownFields;
2231 public final com.google.protobuf.UnknownFieldSet
2232 getUnknownFields() {
2233 return this.unknownFields;
2236 com.google.protobuf.CodedInputStream input,
2237 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2238 throws com.google.protobuf.InvalidProtocolBufferException {
2240 int mutable_bitField0_ = 0;
2241 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2242 com.google.protobuf.UnknownFieldSet.newBuilder();
2244 boolean done = false;
2246 int tag = input.readTag();
2252 if (!parseUnknownField(input, unknownFields,
2253 extensionRegistry, tag)) {
2259 bitField0_ |= 0x00000001;
2260 value_ = input.readBytes();
2264 bitField0_ |= 0x00000002;
2265 namespace_ = input.readInt32();
2269 bitField0_ |= 0x00000004;
2270 revision_ = input.readInt32();
2274 bitField0_ |= 0x00000008;
2275 localName_ = input.readInt32();
2280 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2281 throw e.setUnfinishedMessage(this);
2282 } catch (java.io.IOException e) {
2283 throw new com.google.protobuf.InvalidProtocolBufferException(
2284 e.getMessage()).setUnfinishedMessage(this);
2286 this.unknownFields = unknownFields.build();
2287 makeExtensionsImmutable();
2290 public static final com.google.protobuf.Descriptors.Descriptor
2292 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
2295 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2296 internalGetFieldAccessorTable() {
2297 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
2298 .ensureFieldAccessorsInitialized(
2299 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
2302 public static com.google.protobuf.Parser<QName> PARSER =
2303 new com.google.protobuf.AbstractParser<QName>() {
2304 public QName parsePartialFrom(
2305 com.google.protobuf.CodedInputStream input,
2306 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2307 throws com.google.protobuf.InvalidProtocolBufferException {
2308 return new QName(input, extensionRegistry);
2313 public com.google.protobuf.Parser<QName> getParserForType() {
2317 private int bitField0_;
2318 // optional string value = 1;
2319 public static final int VALUE_FIELD_NUMBER = 1;
2320 private java.lang.Object value_;
2322 * <code>optional string value = 1;</code>
2328 public boolean hasValue() {
2329 return ((bitField0_ & 0x00000001) == 0x00000001);
2332 * <code>optional string value = 1;</code>
2338 public java.lang.String getValue() {
2339 java.lang.Object ref = value_;
2340 if (ref instanceof java.lang.String) {
2341 return (java.lang.String) ref;
2343 com.google.protobuf.ByteString bs =
2344 (com.google.protobuf.ByteString) ref;
2345 java.lang.String s = bs.toStringUtf8();
2346 if (bs.isValidUtf8()) {
2353 * <code>optional string value = 1;</code>
2359 public com.google.protobuf.ByteString
2361 java.lang.Object ref = value_;
2362 if (ref instanceof java.lang.String) {
2363 com.google.protobuf.ByteString b =
2364 com.google.protobuf.ByteString.copyFromUtf8(
2365 (java.lang.String) ref);
2369 return (com.google.protobuf.ByteString) ref;
2373 // optional int32 namespace = 2;
2374 public static final int NAMESPACE_FIELD_NUMBER = 2;
2375 private int namespace_;
2377 * <code>optional int32 namespace = 2;</code>
2379 public boolean hasNamespace() {
2380 return ((bitField0_ & 0x00000002) == 0x00000002);
2383 * <code>optional int32 namespace = 2;</code>
2385 public int getNamespace() {
2389 // optional int32 revision = 3;
2390 public static final int REVISION_FIELD_NUMBER = 3;
2391 private int revision_;
2393 * <code>optional int32 revision = 3;</code>
2395 public boolean hasRevision() {
2396 return ((bitField0_ & 0x00000004) == 0x00000004);
2399 * <code>optional int32 revision = 3;</code>
2401 public int getRevision() {
2405 // optional int32 localName = 4;
2406 public static final int LOCALNAME_FIELD_NUMBER = 4;
2407 private int localName_;
2409 * <code>optional int32 localName = 4;</code>
2411 public boolean hasLocalName() {
2412 return ((bitField0_ & 0x00000008) == 0x00000008);
2415 * <code>optional int32 localName = 4;</code>
2417 public int getLocalName() {
2421 private void initFields() {
2427 private byte memoizedIsInitialized = -1;
2428 public final boolean isInitialized() {
2429 byte isInitialized = memoizedIsInitialized;
2430 if (isInitialized != -1) return isInitialized == 1;
2432 memoizedIsInitialized = 1;
2436 public void writeTo(com.google.protobuf.CodedOutputStream output)
2437 throws java.io.IOException {
2438 getSerializedSize();
2439 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2440 output.writeBytes(1, getValueBytes());
2442 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2443 output.writeInt32(2, namespace_);
2445 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2446 output.writeInt32(3, revision_);
2448 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2449 output.writeInt32(4, localName_);
2451 getUnknownFields().writeTo(output);
2454 private int memoizedSerializedSize = -1;
2455 public int getSerializedSize() {
2456 int size = memoizedSerializedSize;
2457 if (size != -1) return size;
2460 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2461 size += com.google.protobuf.CodedOutputStream
2462 .computeBytesSize(1, getValueBytes());
2464 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2465 size += com.google.protobuf.CodedOutputStream
2466 .computeInt32Size(2, namespace_);
2468 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2469 size += com.google.protobuf.CodedOutputStream
2470 .computeInt32Size(3, revision_);
2472 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2473 size += com.google.protobuf.CodedOutputStream
2474 .computeInt32Size(4, localName_);
2476 size += getUnknownFields().getSerializedSize();
2477 memoizedSerializedSize = size;
2481 private static final long serialVersionUID = 0L;
2483 protected java.lang.Object writeReplace()
2484 throws java.io.ObjectStreamException {
2485 return super.writeReplace();
2488 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
2489 com.google.protobuf.ByteString data)
2490 throws com.google.protobuf.InvalidProtocolBufferException {
2491 return PARSER.parseFrom(data);
2493 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
2494 com.google.protobuf.ByteString data,
2495 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2496 throws com.google.protobuf.InvalidProtocolBufferException {
2497 return PARSER.parseFrom(data, extensionRegistry);
2499 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(byte[] data)
2500 throws com.google.protobuf.InvalidProtocolBufferException {
2501 return PARSER.parseFrom(data);
2503 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
2505 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2506 throws com.google.protobuf.InvalidProtocolBufferException {
2507 return PARSER.parseFrom(data, extensionRegistry);
2509 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(java.io.InputStream input)
2510 throws java.io.IOException {
2511 return PARSER.parseFrom(input);
2513 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
2514 java.io.InputStream input,
2515 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2516 throws java.io.IOException {
2517 return PARSER.parseFrom(input, extensionRegistry);
2519 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(java.io.InputStream input)
2520 throws java.io.IOException {
2521 return PARSER.parseDelimitedFrom(input);
2523 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseDelimitedFrom(
2524 java.io.InputStream input,
2525 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2526 throws java.io.IOException {
2527 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2529 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
2530 com.google.protobuf.CodedInputStream input)
2531 throws java.io.IOException {
2532 return PARSER.parseFrom(input);
2534 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parseFrom(
2535 com.google.protobuf.CodedInputStream input,
2536 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2537 throws java.io.IOException {
2538 return PARSER.parseFrom(input, extensionRegistry);
2541 public static Builder newBuilder() { return Builder.create(); }
2542 public Builder newBuilderForType() { return newBuilder(); }
2543 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName prototype) {
2544 return newBuilder().mergeFrom(prototype);
2546 public Builder toBuilder() { return newBuilder(this); }
2549 protected Builder newBuilderForType(
2550 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2551 Builder builder = new Builder(parent);
2555 * Protobuf type {@code org.opendaylight.controller.mdsal.QName}
2557 public static final class Builder extends
2558 com.google.protobuf.GeneratedMessage.Builder<Builder>
2559 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder {
2560 public static final com.google.protobuf.Descriptors.Descriptor
2562 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
2565 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2566 internalGetFieldAccessorTable() {
2567 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable
2568 .ensureFieldAccessorsInitialized(
2569 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder.class);
2572 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder()
2574 maybeForceBuilderInitialization();
2578 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2580 maybeForceBuilderInitialization();
2582 private void maybeForceBuilderInitialization() {
2583 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2586 private static Builder create() {
2587 return new Builder();
2590 public Builder clear() {
2593 bitField0_ = (bitField0_ & ~0x00000001);
2595 bitField0_ = (bitField0_ & ~0x00000002);
2597 bitField0_ = (bitField0_ & ~0x00000004);
2599 bitField0_ = (bitField0_ & ~0x00000008);
2603 public Builder clone() {
2604 return create().mergeFrom(buildPartial());
2607 public com.google.protobuf.Descriptors.Descriptor
2608 getDescriptorForType() {
2609 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
2612 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getDefaultInstanceForType() {
2613 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
2616 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName build() {
2617 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = buildPartial();
2618 if (!result.isInitialized()) {
2619 throw newUninitializedMessageException(result);
2624 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName buildPartial() {
2625 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName(this);
2626 int from_bitField0_ = bitField0_;
2627 int to_bitField0_ = 0;
2628 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2629 to_bitField0_ |= 0x00000001;
2631 result.value_ = value_;
2632 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
2633 to_bitField0_ |= 0x00000002;
2635 result.namespace_ = namespace_;
2636 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
2637 to_bitField0_ |= 0x00000004;
2639 result.revision_ = revision_;
2640 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
2641 to_bitField0_ |= 0x00000008;
2643 result.localName_ = localName_;
2644 result.bitField0_ = to_bitField0_;
2649 public Builder mergeFrom(com.google.protobuf.Message other) {
2650 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) {
2651 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName)other);
2653 super.mergeFrom(other);
2658 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName other) {
2659 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) return this;
2660 if (other.hasValue()) {
2661 bitField0_ |= 0x00000001;
2662 value_ = other.value_;
2665 if (other.hasNamespace()) {
2666 setNamespace(other.getNamespace());
2668 if (other.hasRevision()) {
2669 setRevision(other.getRevision());
2671 if (other.hasLocalName()) {
2672 setLocalName(other.getLocalName());
2674 this.mergeUnknownFields(other.getUnknownFields());
2678 public final boolean isInitialized() {
2682 public Builder mergeFrom(
2683 com.google.protobuf.CodedInputStream input,
2684 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2685 throws java.io.IOException {
2686 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName parsedMessage = null;
2688 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2689 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2690 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName) e.getUnfinishedMessage();
2693 if (parsedMessage != null) {
2694 mergeFrom(parsedMessage);
2699 private int bitField0_;
2701 // optional string value = 1;
2702 private java.lang.Object value_ = "";
2704 * <code>optional string value = 1;</code>
2710 public boolean hasValue() {
2711 return ((bitField0_ & 0x00000001) == 0x00000001);
2714 * <code>optional string value = 1;</code>
2720 public java.lang.String getValue() {
2721 java.lang.Object ref = value_;
2722 if (!(ref instanceof java.lang.String)) {
2723 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2728 return (java.lang.String) ref;
2732 * <code>optional string value = 1;</code>
2738 public com.google.protobuf.ByteString
2740 java.lang.Object ref = value_;
2741 if (ref instanceof String) {
2742 com.google.protobuf.ByteString b =
2743 com.google.protobuf.ByteString.copyFromUtf8(
2744 (java.lang.String) ref);
2748 return (com.google.protobuf.ByteString) ref;
2752 * <code>optional string value = 1;</code>
2758 public Builder setValue(
2759 java.lang.String value) {
2760 if (value == null) {
2761 throw new NullPointerException();
2763 bitField0_ |= 0x00000001;
2769 * <code>optional string value = 1;</code>
2775 public Builder clearValue() {
2776 bitField0_ = (bitField0_ & ~0x00000001);
2777 value_ = getDefaultInstance().getValue();
2782 * <code>optional string value = 1;</code>
2788 public Builder setValueBytes(
2789 com.google.protobuf.ByteString value) {
2790 if (value == null) {
2791 throw new NullPointerException();
2793 bitField0_ |= 0x00000001;
2799 // optional int32 namespace = 2;
2800 private int namespace_ ;
2802 * <code>optional int32 namespace = 2;</code>
2804 public boolean hasNamespace() {
2805 return ((bitField0_ & 0x00000002) == 0x00000002);
2808 * <code>optional int32 namespace = 2;</code>
2810 public int getNamespace() {
2814 * <code>optional int32 namespace = 2;</code>
2816 public Builder setNamespace(int value) {
2817 bitField0_ |= 0x00000002;
2823 * <code>optional int32 namespace = 2;</code>
2825 public Builder clearNamespace() {
2826 bitField0_ = (bitField0_ & ~0x00000002);
2832 // optional int32 revision = 3;
2833 private int revision_ ;
2835 * <code>optional int32 revision = 3;</code>
2837 public boolean hasRevision() {
2838 return ((bitField0_ & 0x00000004) == 0x00000004);
2841 * <code>optional int32 revision = 3;</code>
2843 public int getRevision() {
2847 * <code>optional int32 revision = 3;</code>
2849 public Builder setRevision(int value) {
2850 bitField0_ |= 0x00000004;
2856 * <code>optional int32 revision = 3;</code>
2858 public Builder clearRevision() {
2859 bitField0_ = (bitField0_ & ~0x00000004);
2865 // optional int32 localName = 4;
2866 private int localName_ ;
2868 * <code>optional int32 localName = 4;</code>
2870 public boolean hasLocalName() {
2871 return ((bitField0_ & 0x00000008) == 0x00000008);
2874 * <code>optional int32 localName = 4;</code>
2876 public int getLocalName() {
2880 * <code>optional int32 localName = 4;</code>
2882 public Builder setLocalName(int value) {
2883 bitField0_ |= 0x00000008;
2889 * <code>optional int32 localName = 4;</code>
2891 public Builder clearLocalName() {
2892 bitField0_ = (bitField0_ & ~0x00000008);
2898 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.QName)
2902 defaultInstance = new QName(true);
2903 defaultInstance.initFields();
2906 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.QName)
2909 public interface PathArgumentOrBuilder
2910 extends com.google.protobuf.MessageOrBuilder {
2912 // optional string value = 1;
2914 * <code>optional string value = 1;</code>
2922 * <code>optional string value = 1;</code>
2928 java.lang.String getValue();
2930 * <code>optional string value = 1;</code>
2936 com.google.protobuf.ByteString
2939 // optional string type = 2;
2941 * <code>optional string type = 2;</code>
2949 * <code>optional string type = 2;</code>
2955 java.lang.String getType();
2957 * <code>optional string type = 2;</code>
2963 com.google.protobuf.ByteString
2966 // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
2968 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2970 boolean hasNodeType();
2972 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2974 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType();
2976 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
2978 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder();
2980 // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
2982 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2984 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>
2987 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2989 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index);
2991 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2993 int getAttributeCount();
2995 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
2997 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
2998 getAttributeOrBuilderList();
3000 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3002 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
3005 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
3007 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3010 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3013 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
3014 getAttributesList();
3016 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3019 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3022 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
3024 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3027 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3030 int getAttributesCount();
3032 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3035 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3038 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
3039 getAttributesOrBuilderList();
3041 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3044 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3047 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
3050 // optional int32 intType = 6;
3052 * <code>optional int32 intType = 6;</code>
3054 boolean hasIntType();
3056 * <code>optional int32 intType = 6;</code>
3061 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
3063 public static final class PathArgument extends
3064 com.google.protobuf.GeneratedMessage
3065 implements PathArgumentOrBuilder {
3066 // Use PathArgument.newBuilder() to construct.
3067 private PathArgument(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3069 this.unknownFields = builder.getUnknownFields();
3071 private PathArgument(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3073 private static final PathArgument defaultInstance;
3074 public static PathArgument getDefaultInstance() {
3075 return defaultInstance;
3078 public PathArgument getDefaultInstanceForType() {
3079 return defaultInstance;
3082 private final com.google.protobuf.UnknownFieldSet unknownFields;
3084 public final com.google.protobuf.UnknownFieldSet
3085 getUnknownFields() {
3086 return this.unknownFields;
3088 private PathArgument(
3089 com.google.protobuf.CodedInputStream input,
3090 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3091 throws com.google.protobuf.InvalidProtocolBufferException {
3093 int mutable_bitField0_ = 0;
3094 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3095 com.google.protobuf.UnknownFieldSet.newBuilder();
3097 boolean done = false;
3099 int tag = input.readTag();
3105 if (!parseUnknownField(input, unknownFields,
3106 extensionRegistry, tag)) {
3112 bitField0_ |= 0x00000001;
3113 value_ = input.readBytes();
3117 bitField0_ |= 0x00000002;
3118 type_ = input.readBytes();
3122 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder subBuilder = null;
3123 if (((bitField0_ & 0x00000004) == 0x00000004)) {
3124 subBuilder = nodeType_.toBuilder();
3126 nodeType_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.PARSER, extensionRegistry);
3127 if (subBuilder != null) {
3128 subBuilder.mergeFrom(nodeType_);
3129 nodeType_ = subBuilder.buildPartial();
3131 bitField0_ |= 0x00000004;
3135 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
3136 attribute_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>();
3137 mutable_bitField0_ |= 0x00000008;
3139 attribute_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.PARSER, extensionRegistry));
3143 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
3144 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
3145 mutable_bitField0_ |= 0x00000010;
3147 attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
3151 bitField0_ |= 0x00000008;
3152 intType_ = input.readInt32();
3157 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3158 throw e.setUnfinishedMessage(this);
3159 } catch (java.io.IOException e) {
3160 throw new com.google.protobuf.InvalidProtocolBufferException(
3161 e.getMessage()).setUnfinishedMessage(this);
3163 if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
3164 attribute_ = java.util.Collections.unmodifiableList(attribute_);
3166 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
3167 attributes_ = java.util.Collections.unmodifiableList(attributes_);
3169 this.unknownFields = unknownFields.build();
3170 makeExtensionsImmutable();
3173 public static final com.google.protobuf.Descriptors.Descriptor
3175 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
3178 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3179 internalGetFieldAccessorTable() {
3180 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
3181 .ensureFieldAccessorsInitialized(
3182 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
3185 public static com.google.protobuf.Parser<PathArgument> PARSER =
3186 new com.google.protobuf.AbstractParser<PathArgument>() {
3187 public PathArgument parsePartialFrom(
3188 com.google.protobuf.CodedInputStream input,
3189 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3190 throws com.google.protobuf.InvalidProtocolBufferException {
3191 return new PathArgument(input, extensionRegistry);
3196 public com.google.protobuf.Parser<PathArgument> getParserForType() {
3200 private int bitField0_;
3201 // optional string value = 1;
3202 public static final int VALUE_FIELD_NUMBER = 1;
3203 private java.lang.Object value_;
3205 * <code>optional string value = 1;</code>
3211 public boolean hasValue() {
3212 return ((bitField0_ & 0x00000001) == 0x00000001);
3215 * <code>optional string value = 1;</code>
3221 public java.lang.String getValue() {
3222 java.lang.Object ref = value_;
3223 if (ref instanceof java.lang.String) {
3224 return (java.lang.String) ref;
3226 com.google.protobuf.ByteString bs =
3227 (com.google.protobuf.ByteString) ref;
3228 java.lang.String s = bs.toStringUtf8();
3229 if (bs.isValidUtf8()) {
3236 * <code>optional string value = 1;</code>
3242 public com.google.protobuf.ByteString
3244 java.lang.Object ref = value_;
3245 if (ref instanceof java.lang.String) {
3246 com.google.protobuf.ByteString b =
3247 com.google.protobuf.ByteString.copyFromUtf8(
3248 (java.lang.String) ref);
3252 return (com.google.protobuf.ByteString) ref;
3256 // optional string type = 2;
3257 public static final int TYPE_FIELD_NUMBER = 2;
3258 private java.lang.Object type_;
3260 * <code>optional string type = 2;</code>
3266 public boolean hasType() {
3267 return ((bitField0_ & 0x00000002) == 0x00000002);
3270 * <code>optional string type = 2;</code>
3276 public java.lang.String getType() {
3277 java.lang.Object ref = type_;
3278 if (ref instanceof java.lang.String) {
3279 return (java.lang.String) ref;
3281 com.google.protobuf.ByteString bs =
3282 (com.google.protobuf.ByteString) ref;
3283 java.lang.String s = bs.toStringUtf8();
3284 if (bs.isValidUtf8()) {
3291 * <code>optional string type = 2;</code>
3297 public com.google.protobuf.ByteString
3299 java.lang.Object ref = type_;
3300 if (ref instanceof java.lang.String) {
3301 com.google.protobuf.ByteString b =
3302 com.google.protobuf.ByteString.copyFromUtf8(
3303 (java.lang.String) ref);
3307 return (com.google.protobuf.ByteString) ref;
3311 // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
3312 public static final int NODETYPE_FIELD_NUMBER = 3;
3313 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_;
3315 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3317 public boolean hasNodeType() {
3318 return ((bitField0_ & 0x00000004) == 0x00000004);
3321 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3323 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
3327 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
3329 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
3333 // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
3334 public static final int ATTRIBUTE_FIELD_NUMBER = 4;
3335 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_;
3337 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3339 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
3343 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3345 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
3346 getAttributeOrBuilderList() {
3350 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3352 public int getAttributeCount() {
3353 return attribute_.size();
3356 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3358 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
3359 return attribute_.get(index);
3362 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
3364 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
3366 return attribute_.get(index);
3369 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
3370 public static final int ATTRIBUTES_FIELD_NUMBER = 5;
3371 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
3373 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3376 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3379 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
3383 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3386 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3389 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
3390 getAttributesOrBuilderList() {
3394 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3397 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3400 public int getAttributesCount() {
3401 return attributes_.size();
3404 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3407 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3410 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
3411 return attributes_.get(index);
3414 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
3417 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
3420 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
3422 return attributes_.get(index);
3425 // optional int32 intType = 6;
3426 public static final int INTTYPE_FIELD_NUMBER = 6;
3427 private int intType_;
3429 * <code>optional int32 intType = 6;</code>
3431 public boolean hasIntType() {
3432 return ((bitField0_ & 0x00000008) == 0x00000008);
3435 * <code>optional int32 intType = 6;</code>
3437 public int getIntType() {
3441 private void initFields() {
3444 nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
3445 attribute_ = java.util.Collections.emptyList();
3446 attributes_ = java.util.Collections.emptyList();
3449 private byte memoizedIsInitialized = -1;
3450 public final boolean isInitialized() {
3451 byte isInitialized = memoizedIsInitialized;
3452 if (isInitialized != -1) return isInitialized == 1;
3454 for (int i = 0; i < getAttributeCount(); i++) {
3455 if (!getAttribute(i).isInitialized()) {
3456 memoizedIsInitialized = 0;
3460 for (int i = 0; i < getAttributesCount(); i++) {
3461 if (!getAttributes(i).isInitialized()) {
3462 memoizedIsInitialized = 0;
3466 memoizedIsInitialized = 1;
3470 public void writeTo(com.google.protobuf.CodedOutputStream output)
3471 throws java.io.IOException {
3472 getSerializedSize();
3473 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3474 output.writeBytes(1, getValueBytes());
3476 if (((bitField0_ & 0x00000002) == 0x00000002)) {
3477 output.writeBytes(2, getTypeBytes());
3479 if (((bitField0_ & 0x00000004) == 0x00000004)) {
3480 output.writeMessage(3, nodeType_);
3482 for (int i = 0; i < attribute_.size(); i++) {
3483 output.writeMessage(4, attribute_.get(i));
3485 for (int i = 0; i < attributes_.size(); i++) {
3486 output.writeMessage(5, attributes_.get(i));
3488 if (((bitField0_ & 0x00000008) == 0x00000008)) {
3489 output.writeInt32(6, intType_);
3491 getUnknownFields().writeTo(output);
3494 private int memoizedSerializedSize = -1;
3495 public int getSerializedSize() {
3496 int size = memoizedSerializedSize;
3497 if (size != -1) return size;
3500 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3501 size += com.google.protobuf.CodedOutputStream
3502 .computeBytesSize(1, getValueBytes());
3504 if (((bitField0_ & 0x00000002) == 0x00000002)) {
3505 size += com.google.protobuf.CodedOutputStream
3506 .computeBytesSize(2, getTypeBytes());
3508 if (((bitField0_ & 0x00000004) == 0x00000004)) {
3509 size += com.google.protobuf.CodedOutputStream
3510 .computeMessageSize(3, nodeType_);
3512 for (int i = 0; i < attribute_.size(); i++) {
3513 size += com.google.protobuf.CodedOutputStream
3514 .computeMessageSize(4, attribute_.get(i));
3516 for (int i = 0; i < attributes_.size(); i++) {
3517 size += com.google.protobuf.CodedOutputStream
3518 .computeMessageSize(5, attributes_.get(i));
3520 if (((bitField0_ & 0x00000008) == 0x00000008)) {
3521 size += com.google.protobuf.CodedOutputStream
3522 .computeInt32Size(6, intType_);
3524 size += getUnknownFields().getSerializedSize();
3525 memoizedSerializedSize = size;
3529 private static final long serialVersionUID = 0L;
3531 protected java.lang.Object writeReplace()
3532 throws java.io.ObjectStreamException {
3533 return super.writeReplace();
3536 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
3537 com.google.protobuf.ByteString data)
3538 throws com.google.protobuf.InvalidProtocolBufferException {
3539 return PARSER.parseFrom(data);
3541 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
3542 com.google.protobuf.ByteString data,
3543 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3544 throws com.google.protobuf.InvalidProtocolBufferException {
3545 return PARSER.parseFrom(data, extensionRegistry);
3547 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(byte[] data)
3548 throws com.google.protobuf.InvalidProtocolBufferException {
3549 return PARSER.parseFrom(data);
3551 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
3553 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3554 throws com.google.protobuf.InvalidProtocolBufferException {
3555 return PARSER.parseFrom(data, extensionRegistry);
3557 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(java.io.InputStream input)
3558 throws java.io.IOException {
3559 return PARSER.parseFrom(input);
3561 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
3562 java.io.InputStream input,
3563 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3564 throws java.io.IOException {
3565 return PARSER.parseFrom(input, extensionRegistry);
3567 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(java.io.InputStream input)
3568 throws java.io.IOException {
3569 return PARSER.parseDelimitedFrom(input);
3571 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseDelimitedFrom(
3572 java.io.InputStream input,
3573 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3574 throws java.io.IOException {
3575 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3577 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
3578 com.google.protobuf.CodedInputStream input)
3579 throws java.io.IOException {
3580 return PARSER.parseFrom(input);
3582 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parseFrom(
3583 com.google.protobuf.CodedInputStream input,
3584 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3585 throws java.io.IOException {
3586 return PARSER.parseFrom(input, extensionRegistry);
3589 public static Builder newBuilder() { return Builder.create(); }
3590 public Builder newBuilderForType() { return newBuilder(); }
3591 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument prototype) {
3592 return newBuilder().mergeFrom(prototype);
3594 public Builder toBuilder() { return newBuilder(this); }
3597 protected Builder newBuilderForType(
3598 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3599 Builder builder = new Builder(parent);
3603 * Protobuf type {@code org.opendaylight.controller.mdsal.PathArgument}
3605 public static final class Builder extends
3606 com.google.protobuf.GeneratedMessage.Builder<Builder>
3607 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder {
3608 public static final com.google.protobuf.Descriptors.Descriptor
3610 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
3613 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3614 internalGetFieldAccessorTable() {
3615 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable
3616 .ensureFieldAccessorsInitialized(
3617 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder.class);
3620 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder()
3622 maybeForceBuilderInitialization();
3626 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3628 maybeForceBuilderInitialization();
3630 private void maybeForceBuilderInitialization() {
3631 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3632 getNodeTypeFieldBuilder();
3633 getAttributeFieldBuilder();
3634 getAttributesFieldBuilder();
3637 private static Builder create() {
3638 return new Builder();
3641 public Builder clear() {
3644 bitField0_ = (bitField0_ & ~0x00000001);
3646 bitField0_ = (bitField0_ & ~0x00000002);
3647 if (nodeTypeBuilder_ == null) {
3648 nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
3650 nodeTypeBuilder_.clear();
3652 bitField0_ = (bitField0_ & ~0x00000004);
3653 if (attributeBuilder_ == null) {
3654 attribute_ = java.util.Collections.emptyList();
3655 bitField0_ = (bitField0_ & ~0x00000008);
3657 attributeBuilder_.clear();
3659 if (attributesBuilder_ == null) {
3660 attributes_ = java.util.Collections.emptyList();
3661 bitField0_ = (bitField0_ & ~0x00000010);
3663 attributesBuilder_.clear();
3666 bitField0_ = (bitField0_ & ~0x00000020);
3670 public Builder clone() {
3671 return create().mergeFrom(buildPartial());
3674 public com.google.protobuf.Descriptors.Descriptor
3675 getDescriptorForType() {
3676 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
3679 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getDefaultInstanceForType() {
3680 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
3683 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument build() {
3684 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = buildPartial();
3685 if (!result.isInitialized()) {
3686 throw newUninitializedMessageException(result);
3691 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument buildPartial() {
3692 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument(this);
3693 int from_bitField0_ = bitField0_;
3694 int to_bitField0_ = 0;
3695 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3696 to_bitField0_ |= 0x00000001;
3698 result.value_ = value_;
3699 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
3700 to_bitField0_ |= 0x00000002;
3702 result.type_ = type_;
3703 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
3704 to_bitField0_ |= 0x00000004;
3706 if (nodeTypeBuilder_ == null) {
3707 result.nodeType_ = nodeType_;
3709 result.nodeType_ = nodeTypeBuilder_.build();
3711 if (attributeBuilder_ == null) {
3712 if (((bitField0_ & 0x00000008) == 0x00000008)) {
3713 attribute_ = java.util.Collections.unmodifiableList(attribute_);
3714 bitField0_ = (bitField0_ & ~0x00000008);
3716 result.attribute_ = attribute_;
3718 result.attribute_ = attributeBuilder_.build();
3720 if (attributesBuilder_ == null) {
3721 if (((bitField0_ & 0x00000010) == 0x00000010)) {
3722 attributes_ = java.util.Collections.unmodifiableList(attributes_);
3723 bitField0_ = (bitField0_ & ~0x00000010);
3725 result.attributes_ = attributes_;
3727 result.attributes_ = attributesBuilder_.build();
3729 if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
3730 to_bitField0_ |= 0x00000008;
3732 result.intType_ = intType_;
3733 result.bitField0_ = to_bitField0_;
3738 public Builder mergeFrom(com.google.protobuf.Message other) {
3739 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) {
3740 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument)other);
3742 super.mergeFrom(other);
3747 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument other) {
3748 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) return this;
3749 if (other.hasValue()) {
3750 bitField0_ |= 0x00000001;
3751 value_ = other.value_;
3754 if (other.hasType()) {
3755 bitField0_ |= 0x00000002;
3756 type_ = other.type_;
3759 if (other.hasNodeType()) {
3760 mergeNodeType(other.getNodeType());
3762 if (attributeBuilder_ == null) {
3763 if (!other.attribute_.isEmpty()) {
3764 if (attribute_.isEmpty()) {
3765 attribute_ = other.attribute_;
3766 bitField0_ = (bitField0_ & ~0x00000008);
3768 ensureAttributeIsMutable();
3769 attribute_.addAll(other.attribute_);
3774 if (!other.attribute_.isEmpty()) {
3775 if (attributeBuilder_.isEmpty()) {
3776 attributeBuilder_.dispose();
3777 attributeBuilder_ = null;
3778 attribute_ = other.attribute_;
3779 bitField0_ = (bitField0_ & ~0x00000008);
3781 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3782 getAttributeFieldBuilder() : null;
3784 attributeBuilder_.addAllMessages(other.attribute_);
3788 if (attributesBuilder_ == null) {
3789 if (!other.attributes_.isEmpty()) {
3790 if (attributes_.isEmpty()) {
3791 attributes_ = other.attributes_;
3792 bitField0_ = (bitField0_ & ~0x00000010);
3794 ensureAttributesIsMutable();
3795 attributes_.addAll(other.attributes_);
3800 if (!other.attributes_.isEmpty()) {
3801 if (attributesBuilder_.isEmpty()) {
3802 attributesBuilder_.dispose();
3803 attributesBuilder_ = null;
3804 attributes_ = other.attributes_;
3805 bitField0_ = (bitField0_ & ~0x00000010);
3806 attributesBuilder_ =
3807 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3808 getAttributesFieldBuilder() : null;
3810 attributesBuilder_.addAllMessages(other.attributes_);
3814 if (other.hasIntType()) {
3815 setIntType(other.getIntType());
3817 this.mergeUnknownFields(other.getUnknownFields());
3821 public final boolean isInitialized() {
3822 for (int i = 0; i < getAttributeCount(); i++) {
3823 if (!getAttribute(i).isInitialized()) {
3828 for (int i = 0; i < getAttributesCount(); i++) {
3829 if (!getAttributes(i).isInitialized()) {
3837 public Builder mergeFrom(
3838 com.google.protobuf.CodedInputStream input,
3839 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3840 throws java.io.IOException {
3841 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument parsedMessage = null;
3843 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3844 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3845 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument) e.getUnfinishedMessage();
3848 if (parsedMessage != null) {
3849 mergeFrom(parsedMessage);
3854 private int bitField0_;
3856 // optional string value = 1;
3857 private java.lang.Object value_ = "";
3859 * <code>optional string value = 1;</code>
3865 public boolean hasValue() {
3866 return ((bitField0_ & 0x00000001) == 0x00000001);
3869 * <code>optional string value = 1;</code>
3875 public java.lang.String getValue() {
3876 java.lang.Object ref = value_;
3877 if (!(ref instanceof java.lang.String)) {
3878 java.lang.String s = ((com.google.protobuf.ByteString) ref)
3883 return (java.lang.String) ref;
3887 * <code>optional string value = 1;</code>
3893 public com.google.protobuf.ByteString
3895 java.lang.Object ref = value_;
3896 if (ref instanceof String) {
3897 com.google.protobuf.ByteString b =
3898 com.google.protobuf.ByteString.copyFromUtf8(
3899 (java.lang.String) ref);
3903 return (com.google.protobuf.ByteString) ref;
3907 * <code>optional string value = 1;</code>
3913 public Builder setValue(
3914 java.lang.String value) {
3915 if (value == null) {
3916 throw new NullPointerException();
3918 bitField0_ |= 0x00000001;
3924 * <code>optional string value = 1;</code>
3930 public Builder clearValue() {
3931 bitField0_ = (bitField0_ & ~0x00000001);
3932 value_ = getDefaultInstance().getValue();
3937 * <code>optional string value = 1;</code>
3943 public Builder setValueBytes(
3944 com.google.protobuf.ByteString value) {
3945 if (value == null) {
3946 throw new NullPointerException();
3948 bitField0_ |= 0x00000001;
3954 // optional string type = 2;
3955 private java.lang.Object type_ = "";
3957 * <code>optional string type = 2;</code>
3963 public boolean hasType() {
3964 return ((bitField0_ & 0x00000002) == 0x00000002);
3967 * <code>optional string type = 2;</code>
3973 public java.lang.String getType() {
3974 java.lang.Object ref = type_;
3975 if (!(ref instanceof java.lang.String)) {
3976 java.lang.String s = ((com.google.protobuf.ByteString) ref)
3981 return (java.lang.String) ref;
3985 * <code>optional string type = 2;</code>
3991 public com.google.protobuf.ByteString
3993 java.lang.Object ref = type_;
3994 if (ref instanceof String) {
3995 com.google.protobuf.ByteString b =
3996 com.google.protobuf.ByteString.copyFromUtf8(
3997 (java.lang.String) ref);
4001 return (com.google.protobuf.ByteString) ref;
4005 * <code>optional string type = 2;</code>
4011 public Builder setType(
4012 java.lang.String value) {
4013 if (value == null) {
4014 throw new NullPointerException();
4016 bitField0_ |= 0x00000002;
4022 * <code>optional string type = 2;</code>
4028 public Builder clearType() {
4029 bitField0_ = (bitField0_ & ~0x00000002);
4030 type_ = getDefaultInstance().getType();
4035 * <code>optional string type = 2;</code>
4041 public Builder setTypeBytes(
4042 com.google.protobuf.ByteString value) {
4043 if (value == null) {
4044 throw new NullPointerException();
4046 bitField0_ |= 0x00000002;
4052 // optional .org.opendaylight.controller.mdsal.QName nodeType = 3;
4053 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
4054 private com.google.protobuf.SingleFieldBuilder<
4055 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_;
4057 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4059 public boolean hasNodeType() {
4060 return ((bitField0_ & 0x00000004) == 0x00000004);
4063 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4065 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName getNodeType() {
4066 if (nodeTypeBuilder_ == null) {
4069 return nodeTypeBuilder_.getMessage();
4073 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4075 public Builder setNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
4076 if (nodeTypeBuilder_ == null) {
4077 if (value == null) {
4078 throw new NullPointerException();
4083 nodeTypeBuilder_.setMessage(value);
4085 bitField0_ |= 0x00000004;
4089 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4091 public Builder setNodeType(
4092 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder builderForValue) {
4093 if (nodeTypeBuilder_ == null) {
4094 nodeType_ = builderForValue.build();
4097 nodeTypeBuilder_.setMessage(builderForValue.build());
4099 bitField0_ |= 0x00000004;
4103 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4105 public Builder mergeNodeType(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName value) {
4106 if (nodeTypeBuilder_ == null) {
4107 if (((bitField0_ & 0x00000004) == 0x00000004) &&
4108 nodeType_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance()) {
4110 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.newBuilder(nodeType_).mergeFrom(value).buildPartial();
4116 nodeTypeBuilder_.mergeFrom(value);
4118 bitField0_ |= 0x00000004;
4122 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4124 public Builder clearNodeType() {
4125 if (nodeTypeBuilder_ == null) {
4126 nodeType_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.getDefaultInstance();
4129 nodeTypeBuilder_.clear();
4131 bitField0_ = (bitField0_ & ~0x00000004);
4135 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4137 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QName.Builder getNodeTypeBuilder() {
4138 bitField0_ |= 0x00000004;
4140 return getNodeTypeFieldBuilder().getBuilder();
4143 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4145 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.QNameOrBuilder getNodeTypeOrBuilder() {
4146 if (nodeTypeBuilder_ != null) {
4147 return nodeTypeBuilder_.getMessageOrBuilder();
4153 * <code>optional .org.opendaylight.controller.mdsal.QName nodeType = 3;</code>
4155 private com.google.protobuf.SingleFieldBuilder<
4156 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>
4157 getNodeTypeFieldBuilder() {
4158 if (nodeTypeBuilder_ == null) {
4159 nodeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
4160 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>(
4162 getParentForChildren(),
4166 return nodeTypeBuilder_;
4169 // repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;
4170 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> attribute_ =
4171 java.util.Collections.emptyList();
4172 private void ensureAttributeIsMutable() {
4173 if (!((bitField0_ & 0x00000008) == 0x00000008)) {
4174 attribute_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute>(attribute_);
4175 bitField0_ |= 0x00000008;
4179 private com.google.protobuf.RepeatedFieldBuilder<
4180 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_;
4183 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4185 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> getAttributeList() {
4186 if (attributeBuilder_ == null) {
4187 return java.util.Collections.unmodifiableList(attribute_);
4189 return attributeBuilder_.getMessageList();
4193 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4195 public int getAttributeCount() {
4196 if (attributeBuilder_ == null) {
4197 return attribute_.size();
4199 return attributeBuilder_.getCount();
4203 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4205 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute getAttribute(int index) {
4206 if (attributeBuilder_ == null) {
4207 return attribute_.get(index);
4209 return attributeBuilder_.getMessage(index);
4213 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4215 public Builder setAttribute(
4216 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
4217 if (attributeBuilder_ == null) {
4218 if (value == null) {
4219 throw new NullPointerException();
4221 ensureAttributeIsMutable();
4222 attribute_.set(index, value);
4225 attributeBuilder_.setMessage(index, value);
4230 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4232 public Builder setAttribute(
4233 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
4234 if (attributeBuilder_ == null) {
4235 ensureAttributeIsMutable();
4236 attribute_.set(index, builderForValue.build());
4239 attributeBuilder_.setMessage(index, builderForValue.build());
4244 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4246 public Builder addAttribute(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
4247 if (attributeBuilder_ == null) {
4248 if (value == null) {
4249 throw new NullPointerException();
4251 ensureAttributeIsMutable();
4252 attribute_.add(value);
4255 attributeBuilder_.addMessage(value);
4260 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4262 public Builder addAttribute(
4263 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute value) {
4264 if (attributeBuilder_ == null) {
4265 if (value == null) {
4266 throw new NullPointerException();
4268 ensureAttributeIsMutable();
4269 attribute_.add(index, value);
4272 attributeBuilder_.addMessage(index, value);
4277 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4279 public Builder addAttribute(
4280 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
4281 if (attributeBuilder_ == null) {
4282 ensureAttributeIsMutable();
4283 attribute_.add(builderForValue.build());
4286 attributeBuilder_.addMessage(builderForValue.build());
4291 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4293 public Builder addAttribute(
4294 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder builderForValue) {
4295 if (attributeBuilder_ == null) {
4296 ensureAttributeIsMutable();
4297 attribute_.add(index, builderForValue.build());
4300 attributeBuilder_.addMessage(index, builderForValue.build());
4305 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4307 public Builder addAllAttribute(
4308 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute> values) {
4309 if (attributeBuilder_ == null) {
4310 ensureAttributeIsMutable();
4311 super.addAll(values, attribute_);
4314 attributeBuilder_.addAllMessages(values);
4319 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4321 public Builder clearAttribute() {
4322 if (attributeBuilder_ == null) {
4323 attribute_ = java.util.Collections.emptyList();
4324 bitField0_ = (bitField0_ & ~0x00000008);
4327 attributeBuilder_.clear();
4332 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4334 public Builder removeAttribute(int index) {
4335 if (attributeBuilder_ == null) {
4336 ensureAttributeIsMutable();
4337 attribute_.remove(index);
4340 attributeBuilder_.remove(index);
4345 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4347 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder getAttributeBuilder(
4349 return getAttributeFieldBuilder().getBuilder(index);
4352 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4354 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder getAttributeOrBuilder(
4356 if (attributeBuilder_ == null) {
4357 return attribute_.get(index); } else {
4358 return attributeBuilder_.getMessageOrBuilder(index);
4362 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4364 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttributeOrBuilder>
4365 getAttributeOrBuilderList() {
4366 if (attributeBuilder_ != null) {
4367 return attributeBuilder_.getMessageOrBuilderList();
4369 return java.util.Collections.unmodifiableList(attribute_);
4373 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4375 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder() {
4376 return getAttributeFieldBuilder().addBuilder(
4377 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
4380 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4382 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder addAttributeBuilder(
4384 return getAttributeFieldBuilder().addBuilder(
4385 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.getDefaultInstance());
4388 * <code>repeated .org.opendaylight.controller.mdsal.PathArgumentAttribute attribute = 4;</code>
4390 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentAttribute.Builder>
4391 getAttributeBuilderList() {
4392 return getAttributeFieldBuilder().getBuilderList();
4394 private com.google.protobuf.RepeatedFieldBuilder<
4395 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>
4396 getAttributeFieldBuilder() {
4397 if (attributeBuilder_ == null) {
4398 attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4399 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>(
4401 ((bitField0_ & 0x00000008) == 0x00000008),
4402 getParentForChildren(),
4406 return attributeBuilder_;
4409 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
4410 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
4411 java.util.Collections.emptyList();
4412 private void ensureAttributesIsMutable() {
4413 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
4414 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
4415 bitField0_ |= 0x00000010;
4419 private com.google.protobuf.RepeatedFieldBuilder<
4420 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_;
4423 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4426 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4429 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
4430 if (attributesBuilder_ == null) {
4431 return java.util.Collections.unmodifiableList(attributes_);
4433 return attributesBuilder_.getMessageList();
4437 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4440 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4443 public int getAttributesCount() {
4444 if (attributesBuilder_ == null) {
4445 return attributes_.size();
4447 return attributesBuilder_.getCount();
4451 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4454 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4457 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
4458 if (attributesBuilder_ == null) {
4459 return attributes_.get(index);
4461 return attributesBuilder_.getMessage(index);
4465 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4468 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4471 public Builder setAttributes(
4472 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
4473 if (attributesBuilder_ == null) {
4474 if (value == null) {
4475 throw new NullPointerException();
4477 ensureAttributesIsMutable();
4478 attributes_.set(index, value);
4481 attributesBuilder_.setMessage(index, value);
4486 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4489 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4492 public Builder setAttributes(
4493 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
4494 if (attributesBuilder_ == null) {
4495 ensureAttributesIsMutable();
4496 attributes_.set(index, builderForValue.build());
4499 attributesBuilder_.setMessage(index, builderForValue.build());
4504 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4507 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4510 public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
4511 if (attributesBuilder_ == null) {
4512 if (value == null) {
4513 throw new NullPointerException();
4515 ensureAttributesIsMutable();
4516 attributes_.add(value);
4519 attributesBuilder_.addMessage(value);
4524 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4527 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4530 public Builder addAttributes(
4531 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
4532 if (attributesBuilder_ == null) {
4533 if (value == null) {
4534 throw new NullPointerException();
4536 ensureAttributesIsMutable();
4537 attributes_.add(index, value);
4540 attributesBuilder_.addMessage(index, value);
4545 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4548 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4551 public Builder addAttributes(
4552 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
4553 if (attributesBuilder_ == null) {
4554 ensureAttributesIsMutable();
4555 attributes_.add(builderForValue.build());
4558 attributesBuilder_.addMessage(builderForValue.build());
4563 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4566 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4569 public Builder addAttributes(
4570 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
4571 if (attributesBuilder_ == null) {
4572 ensureAttributesIsMutable();
4573 attributes_.add(index, builderForValue.build());
4576 attributesBuilder_.addMessage(index, builderForValue.build());
4581 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4584 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4587 public Builder addAllAttributes(
4588 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
4589 if (attributesBuilder_ == null) {
4590 ensureAttributesIsMutable();
4591 super.addAll(values, attributes_);
4594 attributesBuilder_.addAllMessages(values);
4599 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4602 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4605 public Builder clearAttributes() {
4606 if (attributesBuilder_ == null) {
4607 attributes_ = java.util.Collections.emptyList();
4608 bitField0_ = (bitField0_ & ~0x00000010);
4611 attributesBuilder_.clear();
4616 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4619 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4622 public Builder removeAttributes(int index) {
4623 if (attributesBuilder_ == null) {
4624 ensureAttributesIsMutable();
4625 attributes_.remove(index);
4628 attributesBuilder_.remove(index);
4633 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4636 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4639 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
4641 return getAttributesFieldBuilder().getBuilder(index);
4644 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4647 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4650 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
4652 if (attributesBuilder_ == null) {
4653 return attributes_.get(index); } else {
4654 return attributesBuilder_.getMessageOrBuilder(index);
4658 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4661 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4664 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
4665 getAttributesOrBuilderList() {
4666 if (attributesBuilder_ != null) {
4667 return attributesBuilder_.getMessageOrBuilderList();
4669 return java.util.Collections.unmodifiableList(attributes_);
4673 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4676 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4679 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
4680 return getAttributesFieldBuilder().addBuilder(
4681 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
4684 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4687 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4690 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
4692 return getAttributesFieldBuilder().addBuilder(
4693 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
4696 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
4699 * @deprecated For backward compatibility (see InstanceIdentifierUtils)
4702 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
4703 getAttributesBuilderList() {
4704 return getAttributesFieldBuilder().getBuilderList();
4706 private com.google.protobuf.RepeatedFieldBuilder<
4707 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>
4708 getAttributesFieldBuilder() {
4709 if (attributesBuilder_ == null) {
4710 attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4711 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>(
4713 ((bitField0_ & 0x00000010) == 0x00000010),
4714 getParentForChildren(),
4718 return attributesBuilder_;
4721 // optional int32 intType = 6;
4722 private int intType_ ;
4724 * <code>optional int32 intType = 6;</code>
4726 public boolean hasIntType() {
4727 return ((bitField0_ & 0x00000020) == 0x00000020);
4730 * <code>optional int32 intType = 6;</code>
4732 public int getIntType() {
4736 * <code>optional int32 intType = 6;</code>
4738 public Builder setIntType(int value) {
4739 bitField0_ |= 0x00000020;
4745 * <code>optional int32 intType = 6;</code>
4747 public Builder clearIntType() {
4748 bitField0_ = (bitField0_ & ~0x00000020);
4754 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PathArgument)
4758 defaultInstance = new PathArgument(true);
4759 defaultInstance.initFields();
4762 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PathArgument)
4765 public interface InstanceIdentifierOrBuilder
4766 extends com.google.protobuf.MessageOrBuilder {
4768 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4770 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4772 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>
4775 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4777 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index);
4779 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4781 int getArgumentsCount();
4783 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4785 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4786 getArgumentsOrBuilderList();
4788 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4790 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4793 // repeated string code = 2;
4795 * <code>repeated string code = 2;</code>
4798 * A list of string codes which can be used for any repeated strings in the path args. This is
4799 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4800 * that contains the codes.
4803 java.util.List<java.lang.String>
4806 * <code>repeated string code = 2;</code>
4809 * A list of string codes which can be used for any repeated strings in the path args. This is
4810 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4811 * that contains the codes.
4816 * <code>repeated string code = 2;</code>
4819 * A list of string codes which can be used for any repeated strings in the path args. This is
4820 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4821 * that contains the codes.
4824 java.lang.String getCode(int index);
4826 * <code>repeated string code = 2;</code>
4829 * A list of string codes which can be used for any repeated strings in the path args. This is
4830 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
4831 * that contains the codes.
4834 com.google.protobuf.ByteString
4835 getCodeBytes(int index);
4838 * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
4840 public static final class InstanceIdentifier extends
4841 com.google.protobuf.GeneratedMessage
4842 implements InstanceIdentifierOrBuilder {
4843 // Use InstanceIdentifier.newBuilder() to construct.
4844 private InstanceIdentifier(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
4846 this.unknownFields = builder.getUnknownFields();
4848 private InstanceIdentifier(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
4850 private static final InstanceIdentifier defaultInstance;
4851 public static InstanceIdentifier getDefaultInstance() {
4852 return defaultInstance;
4855 public InstanceIdentifier getDefaultInstanceForType() {
4856 return defaultInstance;
4859 private final com.google.protobuf.UnknownFieldSet unknownFields;
4861 public final com.google.protobuf.UnknownFieldSet
4862 getUnknownFields() {
4863 return this.unknownFields;
4865 private InstanceIdentifier(
4866 com.google.protobuf.CodedInputStream input,
4867 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4868 throws com.google.protobuf.InvalidProtocolBufferException {
4870 int mutable_bitField0_ = 0;
4871 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
4872 com.google.protobuf.UnknownFieldSet.newBuilder();
4874 boolean done = false;
4876 int tag = input.readTag();
4882 if (!parseUnknownField(input, unknownFields,
4883 extensionRegistry, tag)) {
4889 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
4890 arguments_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>();
4891 mutable_bitField0_ |= 0x00000001;
4893 arguments_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry));
4897 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
4898 code_ = new com.google.protobuf.LazyStringArrayList();
4899 mutable_bitField0_ |= 0x00000002;
4901 code_.add(input.readBytes());
4906 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4907 throw e.setUnfinishedMessage(this);
4908 } catch (java.io.IOException e) {
4909 throw new com.google.protobuf.InvalidProtocolBufferException(
4910 e.getMessage()).setUnfinishedMessage(this);
4912 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
4913 arguments_ = java.util.Collections.unmodifiableList(arguments_);
4915 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
4916 code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
4918 this.unknownFields = unknownFields.build();
4919 makeExtensionsImmutable();
4922 public static final com.google.protobuf.Descriptors.Descriptor
4924 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
4927 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4928 internalGetFieldAccessorTable() {
4929 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
4930 .ensureFieldAccessorsInitialized(
4931 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
4934 public static com.google.protobuf.Parser<InstanceIdentifier> PARSER =
4935 new com.google.protobuf.AbstractParser<InstanceIdentifier>() {
4936 public InstanceIdentifier parsePartialFrom(
4937 com.google.protobuf.CodedInputStream input,
4938 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4939 throws com.google.protobuf.InvalidProtocolBufferException {
4940 return new InstanceIdentifier(input, extensionRegistry);
4945 public com.google.protobuf.Parser<InstanceIdentifier> getParserForType() {
4949 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
4950 public static final int ARGUMENTS_FIELD_NUMBER = 1;
4951 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_;
4953 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4955 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
4959 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4961 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
4962 getArgumentsOrBuilderList() {
4966 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4968 public int getArgumentsCount() {
4969 return arguments_.size();
4972 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4974 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
4975 return arguments_.get(index);
4978 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
4980 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
4982 return arguments_.get(index);
4985 // repeated string code = 2;
4986 public static final int CODE_FIELD_NUMBER = 2;
4987 private com.google.protobuf.LazyStringList 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 java.util.List<java.lang.String>
5002 * <code>repeated string code = 2;</code>
5005 * A list of string codes which can be used for any repeated strings in the path args. This is
5006 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5007 * that contains the codes.
5010 public int getCodeCount() {
5011 return code_.size();
5014 * <code>repeated string code = 2;</code>
5017 * A list of string codes which can be used for any repeated strings in the path args. This is
5018 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5019 * that contains the codes.
5022 public java.lang.String getCode(int index) {
5023 return code_.get(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 com.google.protobuf.ByteString
5035 getCodeBytes(int index) {
5036 return code_.getByteString(index);
5039 private void initFields() {
5040 arguments_ = java.util.Collections.emptyList();
5041 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5043 private byte memoizedIsInitialized = -1;
5044 public final boolean isInitialized() {
5045 byte isInitialized = memoizedIsInitialized;
5046 if (isInitialized != -1) return isInitialized == 1;
5048 for (int i = 0; i < getArgumentsCount(); i++) {
5049 if (!getArguments(i).isInitialized()) {
5050 memoizedIsInitialized = 0;
5054 memoizedIsInitialized = 1;
5058 public void writeTo(com.google.protobuf.CodedOutputStream output)
5059 throws java.io.IOException {
5060 getSerializedSize();
5061 for (int i = 0; i < arguments_.size(); i++) {
5062 output.writeMessage(1, arguments_.get(i));
5064 for (int i = 0; i < code_.size(); i++) {
5065 output.writeBytes(2, code_.getByteString(i));
5067 getUnknownFields().writeTo(output);
5070 private int memoizedSerializedSize = -1;
5071 public int getSerializedSize() {
5072 int size = memoizedSerializedSize;
5073 if (size != -1) return size;
5076 for (int i = 0; i < arguments_.size(); i++) {
5077 size += com.google.protobuf.CodedOutputStream
5078 .computeMessageSize(1, arguments_.get(i));
5082 for (int i = 0; i < code_.size(); i++) {
5083 dataSize += com.google.protobuf.CodedOutputStream
5084 .computeBytesSizeNoTag(code_.getByteString(i));
5087 size += 1 * getCodeList().size();
5089 size += getUnknownFields().getSerializedSize();
5090 memoizedSerializedSize = size;
5094 private static final long serialVersionUID = 0L;
5096 protected java.lang.Object writeReplace()
5097 throws java.io.ObjectStreamException {
5098 return super.writeReplace();
5101 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
5102 com.google.protobuf.ByteString data)
5103 throws com.google.protobuf.InvalidProtocolBufferException {
5104 return PARSER.parseFrom(data);
5106 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
5107 com.google.protobuf.ByteString data,
5108 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5109 throws com.google.protobuf.InvalidProtocolBufferException {
5110 return PARSER.parseFrom(data, extensionRegistry);
5112 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(byte[] data)
5113 throws com.google.protobuf.InvalidProtocolBufferException {
5114 return PARSER.parseFrom(data);
5116 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
5118 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5119 throws com.google.protobuf.InvalidProtocolBufferException {
5120 return PARSER.parseFrom(data, extensionRegistry);
5122 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(java.io.InputStream input)
5123 throws java.io.IOException {
5124 return PARSER.parseFrom(input);
5126 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
5127 java.io.InputStream input,
5128 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5129 throws java.io.IOException {
5130 return PARSER.parseFrom(input, extensionRegistry);
5132 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(java.io.InputStream input)
5133 throws java.io.IOException {
5134 return PARSER.parseDelimitedFrom(input);
5136 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseDelimitedFrom(
5137 java.io.InputStream input,
5138 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5139 throws java.io.IOException {
5140 return PARSER.parseDelimitedFrom(input, extensionRegistry);
5142 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
5143 com.google.protobuf.CodedInputStream input)
5144 throws java.io.IOException {
5145 return PARSER.parseFrom(input);
5147 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parseFrom(
5148 com.google.protobuf.CodedInputStream input,
5149 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5150 throws java.io.IOException {
5151 return PARSER.parseFrom(input, extensionRegistry);
5154 public static Builder newBuilder() { return Builder.create(); }
5155 public Builder newBuilderForType() { return newBuilder(); }
5156 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier prototype) {
5157 return newBuilder().mergeFrom(prototype);
5159 public Builder toBuilder() { return newBuilder(this); }
5162 protected Builder newBuilderForType(
5163 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5164 Builder builder = new Builder(parent);
5168 * Protobuf type {@code org.opendaylight.controller.mdsal.InstanceIdentifier}
5170 public static final class Builder extends
5171 com.google.protobuf.GeneratedMessage.Builder<Builder>
5172 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder {
5173 public static final com.google.protobuf.Descriptors.Descriptor
5175 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
5178 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5179 internalGetFieldAccessorTable() {
5180 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable
5181 .ensureFieldAccessorsInitialized(
5182 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder.class);
5185 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder()
5187 maybeForceBuilderInitialization();
5191 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5193 maybeForceBuilderInitialization();
5195 private void maybeForceBuilderInitialization() {
5196 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
5197 getArgumentsFieldBuilder();
5200 private static Builder create() {
5201 return new Builder();
5204 public Builder clear() {
5206 if (argumentsBuilder_ == null) {
5207 arguments_ = java.util.Collections.emptyList();
5208 bitField0_ = (bitField0_ & ~0x00000001);
5210 argumentsBuilder_.clear();
5212 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5213 bitField0_ = (bitField0_ & ~0x00000002);
5217 public Builder clone() {
5218 return create().mergeFrom(buildPartial());
5221 public com.google.protobuf.Descriptors.Descriptor
5222 getDescriptorForType() {
5223 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
5226 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getDefaultInstanceForType() {
5227 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
5230 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier build() {
5231 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = buildPartial();
5232 if (!result.isInitialized()) {
5233 throw newUninitializedMessageException(result);
5238 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier buildPartial() {
5239 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier(this);
5240 int from_bitField0_ = bitField0_;
5241 if (argumentsBuilder_ == null) {
5242 if (((bitField0_ & 0x00000001) == 0x00000001)) {
5243 arguments_ = java.util.Collections.unmodifiableList(arguments_);
5244 bitField0_ = (bitField0_ & ~0x00000001);
5246 result.arguments_ = arguments_;
5248 result.arguments_ = argumentsBuilder_.build();
5250 if (((bitField0_ & 0x00000002) == 0x00000002)) {
5251 code_ = new com.google.protobuf.UnmodifiableLazyStringList(
5253 bitField0_ = (bitField0_ & ~0x00000002);
5255 result.code_ = code_;
5260 public Builder mergeFrom(com.google.protobuf.Message other) {
5261 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) {
5262 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier)other);
5264 super.mergeFrom(other);
5269 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier other) {
5270 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) return this;
5271 if (argumentsBuilder_ == null) {
5272 if (!other.arguments_.isEmpty()) {
5273 if (arguments_.isEmpty()) {
5274 arguments_ = other.arguments_;
5275 bitField0_ = (bitField0_ & ~0x00000001);
5277 ensureArgumentsIsMutable();
5278 arguments_.addAll(other.arguments_);
5283 if (!other.arguments_.isEmpty()) {
5284 if (argumentsBuilder_.isEmpty()) {
5285 argumentsBuilder_.dispose();
5286 argumentsBuilder_ = null;
5287 arguments_ = other.arguments_;
5288 bitField0_ = (bitField0_ & ~0x00000001);
5290 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
5291 getArgumentsFieldBuilder() : null;
5293 argumentsBuilder_.addAllMessages(other.arguments_);
5297 if (!other.code_.isEmpty()) {
5298 if (code_.isEmpty()) {
5299 code_ = other.code_;
5300 bitField0_ = (bitField0_ & ~0x00000002);
5302 ensureCodeIsMutable();
5303 code_.addAll(other.code_);
5307 this.mergeUnknownFields(other.getUnknownFields());
5311 public final boolean isInitialized() {
5312 for (int i = 0; i < getArgumentsCount(); i++) {
5313 if (!getArguments(i).isInitialized()) {
5321 public Builder mergeFrom(
5322 com.google.protobuf.CodedInputStream input,
5323 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5324 throws java.io.IOException {
5325 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier parsedMessage = null;
5327 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
5328 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5329 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier) e.getUnfinishedMessage();
5332 if (parsedMessage != null) {
5333 mergeFrom(parsedMessage);
5338 private int bitField0_;
5340 // repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;
5341 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> arguments_ =
5342 java.util.Collections.emptyList();
5343 private void ensureArgumentsIsMutable() {
5344 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
5345 arguments_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument>(arguments_);
5346 bitField0_ |= 0x00000001;
5350 private com.google.protobuf.RepeatedFieldBuilder<
5351 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_;
5354 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5356 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> getArgumentsList() {
5357 if (argumentsBuilder_ == null) {
5358 return java.util.Collections.unmodifiableList(arguments_);
5360 return argumentsBuilder_.getMessageList();
5364 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5366 public int getArgumentsCount() {
5367 if (argumentsBuilder_ == null) {
5368 return arguments_.size();
5370 return argumentsBuilder_.getCount();
5374 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5376 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getArguments(int index) {
5377 if (argumentsBuilder_ == null) {
5378 return arguments_.get(index);
5380 return argumentsBuilder_.getMessage(index);
5384 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5386 public Builder setArguments(
5387 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
5388 if (argumentsBuilder_ == null) {
5389 if (value == null) {
5390 throw new NullPointerException();
5392 ensureArgumentsIsMutable();
5393 arguments_.set(index, value);
5396 argumentsBuilder_.setMessage(index, value);
5401 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5403 public Builder setArguments(
5404 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
5405 if (argumentsBuilder_ == null) {
5406 ensureArgumentsIsMutable();
5407 arguments_.set(index, builderForValue.build());
5410 argumentsBuilder_.setMessage(index, builderForValue.build());
5415 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5417 public Builder addArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
5418 if (argumentsBuilder_ == null) {
5419 if (value == null) {
5420 throw new NullPointerException();
5422 ensureArgumentsIsMutable();
5423 arguments_.add(value);
5426 argumentsBuilder_.addMessage(value);
5431 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5433 public Builder addArguments(
5434 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
5435 if (argumentsBuilder_ == null) {
5436 if (value == null) {
5437 throw new NullPointerException();
5439 ensureArgumentsIsMutable();
5440 arguments_.add(index, value);
5443 argumentsBuilder_.addMessage(index, value);
5448 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5450 public Builder addArguments(
5451 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
5452 if (argumentsBuilder_ == null) {
5453 ensureArgumentsIsMutable();
5454 arguments_.add(builderForValue.build());
5457 argumentsBuilder_.addMessage(builderForValue.build());
5462 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5464 public Builder addArguments(
5465 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
5466 if (argumentsBuilder_ == null) {
5467 ensureArgumentsIsMutable();
5468 arguments_.add(index, builderForValue.build());
5471 argumentsBuilder_.addMessage(index, builderForValue.build());
5476 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5478 public Builder addAllArguments(
5479 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument> values) {
5480 if (argumentsBuilder_ == null) {
5481 ensureArgumentsIsMutable();
5482 super.addAll(values, arguments_);
5485 argumentsBuilder_.addAllMessages(values);
5490 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5492 public Builder clearArguments() {
5493 if (argumentsBuilder_ == null) {
5494 arguments_ = java.util.Collections.emptyList();
5495 bitField0_ = (bitField0_ & ~0x00000001);
5498 argumentsBuilder_.clear();
5503 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5505 public Builder removeArguments(int index) {
5506 if (argumentsBuilder_ == null) {
5507 ensureArgumentsIsMutable();
5508 arguments_.remove(index);
5511 argumentsBuilder_.remove(index);
5516 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5518 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getArgumentsBuilder(
5520 return getArgumentsFieldBuilder().getBuilder(index);
5523 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5525 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getArgumentsOrBuilder(
5527 if (argumentsBuilder_ == null) {
5528 return arguments_.get(index); } else {
5529 return argumentsBuilder_.getMessageOrBuilder(index);
5533 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5535 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder>
5536 getArgumentsOrBuilderList() {
5537 if (argumentsBuilder_ != null) {
5538 return argumentsBuilder_.getMessageOrBuilderList();
5540 return java.util.Collections.unmodifiableList(arguments_);
5544 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5546 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder() {
5547 return getArgumentsFieldBuilder().addBuilder(
5548 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
5551 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5553 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder addArgumentsBuilder(
5555 return getArgumentsFieldBuilder().addBuilder(
5556 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance());
5559 * <code>repeated .org.opendaylight.controller.mdsal.PathArgument arguments = 1;</code>
5561 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder>
5562 getArgumentsBuilderList() {
5563 return getArgumentsFieldBuilder().getBuilderList();
5565 private com.google.protobuf.RepeatedFieldBuilder<
5566 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>
5567 getArgumentsFieldBuilder() {
5568 if (argumentsBuilder_ == null) {
5569 argumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
5570 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>(
5572 ((bitField0_ & 0x00000001) == 0x00000001),
5573 getParentForChildren(),
5577 return argumentsBuilder_;
5580 // repeated string code = 2;
5581 private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5582 private void ensureCodeIsMutable() {
5583 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
5584 code_ = new com.google.protobuf.LazyStringArrayList(code_);
5585 bitField0_ |= 0x00000002;
5589 * <code>repeated string code = 2;</code>
5592 * A list of string codes which can be used for any repeated strings in the path args. This is
5593 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5594 * that contains the codes.
5597 public java.util.List<java.lang.String>
5599 return java.util.Collections.unmodifiableList(code_);
5602 * <code>repeated string code = 2;</code>
5605 * A list of string codes which can be used for any repeated strings in the path args. This is
5606 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5607 * that contains the codes.
5610 public int getCodeCount() {
5611 return code_.size();
5614 * <code>repeated string code = 2;</code>
5617 * A list of string codes which can be used for any repeated strings in the path args. This is
5618 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5619 * that contains the codes.
5622 public java.lang.String getCode(int index) {
5623 return code_.get(index);
5626 * <code>repeated string code = 2;</code>
5629 * A list of string codes which can be used for any repeated strings in the path args. This is
5630 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5631 * that contains the codes.
5634 public com.google.protobuf.ByteString
5635 getCodeBytes(int index) {
5636 return code_.getByteString(index);
5639 * <code>repeated string code = 2;</code>
5642 * A list of string codes which can be used for any repeated strings in the path args. This is
5643 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5644 * that contains the codes.
5647 public Builder setCode(
5648 int index, java.lang.String value) {
5649 if (value == null) {
5650 throw new NullPointerException();
5652 ensureCodeIsMutable();
5653 code_.set(index, value);
5658 * <code>repeated string code = 2;</code>
5661 * A list of string codes which can be used for any repeated strings in the path args. This is
5662 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5663 * that contains the codes.
5666 public Builder addCode(
5667 java.lang.String value) {
5668 if (value == null) {
5669 throw new NullPointerException();
5671 ensureCodeIsMutable();
5677 * <code>repeated string code = 2;</code>
5680 * A list of string codes which can be used for any repeated strings in the path args. This is
5681 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5682 * that contains the codes.
5685 public Builder addAllCode(
5686 java.lang.Iterable<java.lang.String> values) {
5687 ensureCodeIsMutable();
5688 super.addAll(values, code_);
5693 * <code>repeated string code = 2;</code>
5696 * A list of string codes which can be used for any repeated strings in the path args. This is
5697 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5698 * that contains the codes.
5701 public Builder clearCode() {
5702 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
5703 bitField0_ = (bitField0_ & ~0x00000002);
5708 * <code>repeated string code = 2;</code>
5711 * A list of string codes which can be used for any repeated strings in the path args. This is
5712 * optional - an InstanceIdentifier may be encoded as part of another message, eg NormalizedNode,
5713 * that contains the codes.
5716 public Builder addCodeBytes(
5717 com.google.protobuf.ByteString value) {
5718 if (value == null) {
5719 throw new NullPointerException();
5721 ensureCodeIsMutable();
5727 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
5731 defaultInstance = new InstanceIdentifier(true);
5732 defaultInstance.initFields();
5735 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.InstanceIdentifier)
5738 public interface NodeOrBuilder
5739 extends com.google.protobuf.MessageOrBuilder {
5741 // optional string path = 1;
5743 * <code>optional string path = 1;</code>
5746 * @deprecated(use pathArgument)
5751 * <code>optional string path = 1;</code>
5754 * @deprecated(use pathArgument)
5757 java.lang.String getPath();
5759 * <code>optional string path = 1;</code>
5762 * @deprecated(use pathArgument)
5765 com.google.protobuf.ByteString
5768 // optional string type = 2;
5770 * <code>optional string type = 2;</code>
5773 * @deprecated(use intType)
5778 * <code>optional string type = 2;</code>
5781 * @deprecated(use intType)
5784 java.lang.String getType();
5786 * <code>optional string type = 2;</code>
5789 * @deprecated(use intType)
5792 com.google.protobuf.ByteString
5795 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
5797 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5799 boolean hasPathArgument();
5801 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5803 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument();
5805 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
5807 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder();
5809 // optional int32 intType = 4;
5811 * <code>optional int32 intType = 4;</code>
5813 boolean hasIntType();
5815 * <code>optional int32 intType = 4;</code>
5819 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
5821 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5823 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>
5824 getAttributesList();
5826 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5828 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index);
5830 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5832 int getAttributesCount();
5834 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5836 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
5837 getAttributesOrBuilderList();
5839 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
5841 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
5844 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
5846 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5848 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>
5851 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5853 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index);
5855 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5857 int getChildCount();
5859 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5861 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
5862 getChildOrBuilderList();
5864 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
5866 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
5869 // optional string value = 7;
5871 * <code>optional string value = 7;</code>
5875 * <code>optional string value = 7;</code>
5877 java.lang.String getValue();
5879 * <code>optional string value = 7;</code>
5881 com.google.protobuf.ByteString
5884 // optional string valueType = 8;
5886 * <code>optional string valueType = 8;</code>
5889 * @deprecated(use intValueType)
5892 boolean hasValueType();
5894 * <code>optional string valueType = 8;</code>
5897 * @deprecated(use intValueType)
5900 java.lang.String getValueType();
5902 * <code>optional string valueType = 8;</code>
5905 * @deprecated(use intValueType)
5908 com.google.protobuf.ByteString
5909 getValueTypeBytes();
5911 // optional int32 intValueType = 9;
5913 * <code>optional int32 intValueType = 9;</code>
5916 * instead of valueType
5919 boolean hasIntValueType();
5921 * <code>optional int32 intValueType = 9;</code>
5924 * instead of valueType
5927 int getIntValueType();
5929 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
5931 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5937 boolean hasInstanceIdentifierValue();
5939 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5945 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue();
5947 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
5953 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder();
5955 // repeated string bitsValue = 11;
5957 * <code>repeated string bitsValue = 11;</code>
5960 * intValueType = Bits
5963 java.util.List<java.lang.String>
5966 * <code>repeated string bitsValue = 11;</code>
5969 * intValueType = Bits
5972 int getBitsValueCount();
5974 * <code>repeated string bitsValue = 11;</code>
5977 * intValueType = Bits
5980 java.lang.String getBitsValue(int index);
5982 * <code>repeated string bitsValue = 11;</code>
5985 * intValueType = Bits
5988 com.google.protobuf.ByteString
5989 getBitsValueBytes(int index);
5991 // repeated string code = 12;
5993 * <code>repeated string code = 12;</code>
5996 * A list of string codes which can be used for any repeated strings in the NormalizedNode
5999 java.util.List<java.lang.String>
6002 * <code>repeated string code = 12;</code>
6005 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6010 * <code>repeated string code = 12;</code>
6013 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6016 java.lang.String getCode(int index);
6018 * <code>repeated string code = 12;</code>
6021 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6024 com.google.protobuf.ByteString
6025 getCodeBytes(int index);
6027 // optional bytes bytesValue = 13;
6029 * <code>optional bytes bytesValue = 13;</code>
6031 boolean hasBytesValue();
6033 * <code>optional bytes bytesValue = 13;</code>
6035 com.google.protobuf.ByteString getBytesValue();
6038 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
6040 public static final class Node extends
6041 com.google.protobuf.GeneratedMessage
6042 implements NodeOrBuilder {
6043 // Use Node.newBuilder() to construct.
6044 private Node(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
6046 this.unknownFields = builder.getUnknownFields();
6048 private Node(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
6050 private static final Node defaultInstance;
6051 public static Node getDefaultInstance() {
6052 return defaultInstance;
6055 public Node getDefaultInstanceForType() {
6056 return defaultInstance;
6059 private final com.google.protobuf.UnknownFieldSet unknownFields;
6061 public final com.google.protobuf.UnknownFieldSet
6062 getUnknownFields() {
6063 return this.unknownFields;
6066 com.google.protobuf.CodedInputStream input,
6067 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6068 throws com.google.protobuf.InvalidProtocolBufferException {
6070 int mutable_bitField0_ = 0;
6071 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
6072 com.google.protobuf.UnknownFieldSet.newBuilder();
6074 boolean done = false;
6076 int tag = input.readTag();
6082 if (!parseUnknownField(input, unknownFields,
6083 extensionRegistry, tag)) {
6089 bitField0_ |= 0x00000001;
6090 path_ = input.readBytes();
6094 bitField0_ |= 0x00000002;
6095 type_ = input.readBytes();
6099 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder subBuilder = null;
6100 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6101 subBuilder = pathArgument_.toBuilder();
6103 pathArgument_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.PARSER, extensionRegistry);
6104 if (subBuilder != null) {
6105 subBuilder.mergeFrom(pathArgument_);
6106 pathArgument_ = subBuilder.buildPartial();
6108 bitField0_ |= 0x00000004;
6112 bitField0_ |= 0x00000008;
6113 intType_ = input.readInt32();
6117 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
6118 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>();
6119 mutable_bitField0_ |= 0x00000010;
6121 attributes_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.PARSER, extensionRegistry));
6125 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
6126 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>();
6127 mutable_bitField0_ |= 0x00000020;
6129 child_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry));
6133 bitField0_ |= 0x00000010;
6134 value_ = input.readBytes();
6138 bitField0_ |= 0x00000020;
6139 valueType_ = input.readBytes();
6143 bitField0_ |= 0x00000040;
6144 intValueType_ = input.readInt32();
6148 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
6149 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6150 subBuilder = instanceIdentifierValue_.toBuilder();
6152 instanceIdentifierValue_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
6153 if (subBuilder != null) {
6154 subBuilder.mergeFrom(instanceIdentifierValue_);
6155 instanceIdentifierValue_ = subBuilder.buildPartial();
6157 bitField0_ |= 0x00000080;
6161 if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
6162 bitsValue_ = new com.google.protobuf.LazyStringArrayList();
6163 mutable_bitField0_ |= 0x00000400;
6165 bitsValue_.add(input.readBytes());
6169 if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
6170 code_ = new com.google.protobuf.LazyStringArrayList();
6171 mutable_bitField0_ |= 0x00000800;
6173 code_.add(input.readBytes());
6177 bitField0_ |= 0x00000100;
6178 bytesValue_ = input.readBytes();
6183 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
6184 throw e.setUnfinishedMessage(this);
6185 } catch (java.io.IOException e) {
6186 throw new com.google.protobuf.InvalidProtocolBufferException(
6187 e.getMessage()).setUnfinishedMessage(this);
6189 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
6190 attributes_ = java.util.Collections.unmodifiableList(attributes_);
6192 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
6193 child_ = java.util.Collections.unmodifiableList(child_);
6195 if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
6196 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(bitsValue_);
6198 if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
6199 code_ = new com.google.protobuf.UnmodifiableLazyStringList(code_);
6201 this.unknownFields = unknownFields.build();
6202 makeExtensionsImmutable();
6205 public static final com.google.protobuf.Descriptors.Descriptor
6207 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6210 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
6211 internalGetFieldAccessorTable() {
6212 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
6213 .ensureFieldAccessorsInitialized(
6214 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
6217 public static com.google.protobuf.Parser<Node> PARSER =
6218 new com.google.protobuf.AbstractParser<Node>() {
6219 public Node parsePartialFrom(
6220 com.google.protobuf.CodedInputStream input,
6221 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6222 throws com.google.protobuf.InvalidProtocolBufferException {
6223 return new Node(input, extensionRegistry);
6228 public com.google.protobuf.Parser<Node> getParserForType() {
6232 private int bitField0_;
6233 // optional string path = 1;
6234 public static final int PATH_FIELD_NUMBER = 1;
6235 private java.lang.Object path_;
6237 * <code>optional string path = 1;</code>
6240 * @deprecated(use pathArgument)
6243 public boolean hasPath() {
6244 return ((bitField0_ & 0x00000001) == 0x00000001);
6247 * <code>optional string path = 1;</code>
6250 * @deprecated(use pathArgument)
6253 public java.lang.String getPath() {
6254 java.lang.Object ref = path_;
6255 if (ref instanceof java.lang.String) {
6256 return (java.lang.String) ref;
6258 com.google.protobuf.ByteString bs =
6259 (com.google.protobuf.ByteString) ref;
6260 java.lang.String s = bs.toStringUtf8();
6261 if (bs.isValidUtf8()) {
6268 * <code>optional string path = 1;</code>
6271 * @deprecated(use pathArgument)
6274 public com.google.protobuf.ByteString
6276 java.lang.Object ref = path_;
6277 if (ref instanceof java.lang.String) {
6278 com.google.protobuf.ByteString b =
6279 com.google.protobuf.ByteString.copyFromUtf8(
6280 (java.lang.String) ref);
6284 return (com.google.protobuf.ByteString) ref;
6288 // optional string type = 2;
6289 public static final int TYPE_FIELD_NUMBER = 2;
6290 private java.lang.Object type_;
6292 * <code>optional string type = 2;</code>
6295 * @deprecated(use intType)
6298 public boolean hasType() {
6299 return ((bitField0_ & 0x00000002) == 0x00000002);
6302 * <code>optional string type = 2;</code>
6305 * @deprecated(use intType)
6308 public java.lang.String getType() {
6309 java.lang.Object ref = type_;
6310 if (ref instanceof java.lang.String) {
6311 return (java.lang.String) ref;
6313 com.google.protobuf.ByteString bs =
6314 (com.google.protobuf.ByteString) ref;
6315 java.lang.String s = bs.toStringUtf8();
6316 if (bs.isValidUtf8()) {
6323 * <code>optional string type = 2;</code>
6326 * @deprecated(use intType)
6329 public com.google.protobuf.ByteString
6331 java.lang.Object ref = type_;
6332 if (ref instanceof java.lang.String) {
6333 com.google.protobuf.ByteString b =
6334 com.google.protobuf.ByteString.copyFromUtf8(
6335 (java.lang.String) ref);
6339 return (com.google.protobuf.ByteString) ref;
6343 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
6344 public static final int PATHARGUMENT_FIELD_NUMBER = 3;
6345 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_;
6347 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6349 public boolean hasPathArgument() {
6350 return ((bitField0_ & 0x00000004) == 0x00000004);
6353 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6355 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
6356 return pathArgument_;
6359 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
6361 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
6362 return pathArgument_;
6365 // optional int32 intType = 4;
6366 public static final int INTTYPE_FIELD_NUMBER = 4;
6367 private int intType_;
6369 * <code>optional int32 intType = 4;</code>
6371 public boolean hasIntType() {
6372 return ((bitField0_ & 0x00000008) == 0x00000008);
6375 * <code>optional int32 intType = 4;</code>
6377 public int getIntType() {
6381 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
6382 public static final int ATTRIBUTES_FIELD_NUMBER = 5;
6383 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_;
6385 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6387 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
6391 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6393 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
6394 getAttributesOrBuilderList() {
6398 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6400 public int getAttributesCount() {
6401 return attributes_.size();
6404 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6406 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
6407 return attributes_.get(index);
6410 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
6412 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
6414 return attributes_.get(index);
6417 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
6418 public static final int CHILD_FIELD_NUMBER = 6;
6419 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_;
6421 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6423 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
6427 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6429 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
6430 getChildOrBuilderList() {
6434 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6436 public int getChildCount() {
6437 return child_.size();
6440 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6442 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
6443 return child_.get(index);
6446 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
6448 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
6450 return child_.get(index);
6453 // optional string value = 7;
6454 public static final int VALUE_FIELD_NUMBER = 7;
6455 private java.lang.Object value_;
6457 * <code>optional string value = 7;</code>
6459 public boolean hasValue() {
6460 return ((bitField0_ & 0x00000010) == 0x00000010);
6463 * <code>optional string value = 7;</code>
6465 public java.lang.String getValue() {
6466 java.lang.Object ref = value_;
6467 if (ref instanceof java.lang.String) {
6468 return (java.lang.String) ref;
6470 com.google.protobuf.ByteString bs =
6471 (com.google.protobuf.ByteString) ref;
6472 java.lang.String s = bs.toStringUtf8();
6473 if (bs.isValidUtf8()) {
6480 * <code>optional string value = 7;</code>
6482 public com.google.protobuf.ByteString
6484 java.lang.Object ref = value_;
6485 if (ref instanceof java.lang.String) {
6486 com.google.protobuf.ByteString b =
6487 com.google.protobuf.ByteString.copyFromUtf8(
6488 (java.lang.String) ref);
6492 return (com.google.protobuf.ByteString) ref;
6496 // optional string valueType = 8;
6497 public static final int VALUETYPE_FIELD_NUMBER = 8;
6498 private java.lang.Object valueType_;
6500 * <code>optional string valueType = 8;</code>
6503 * @deprecated(use intValueType)
6506 public boolean hasValueType() {
6507 return ((bitField0_ & 0x00000020) == 0x00000020);
6510 * <code>optional string valueType = 8;</code>
6513 * @deprecated(use intValueType)
6516 public java.lang.String getValueType() {
6517 java.lang.Object ref = valueType_;
6518 if (ref instanceof java.lang.String) {
6519 return (java.lang.String) ref;
6521 com.google.protobuf.ByteString bs =
6522 (com.google.protobuf.ByteString) ref;
6523 java.lang.String s = bs.toStringUtf8();
6524 if (bs.isValidUtf8()) {
6531 * <code>optional string valueType = 8;</code>
6534 * @deprecated(use intValueType)
6537 public com.google.protobuf.ByteString
6538 getValueTypeBytes() {
6539 java.lang.Object ref = valueType_;
6540 if (ref instanceof java.lang.String) {
6541 com.google.protobuf.ByteString b =
6542 com.google.protobuf.ByteString.copyFromUtf8(
6543 (java.lang.String) ref);
6547 return (com.google.protobuf.ByteString) ref;
6551 // optional int32 intValueType = 9;
6552 public static final int INTVALUETYPE_FIELD_NUMBER = 9;
6553 private int intValueType_;
6555 * <code>optional int32 intValueType = 9;</code>
6558 * instead of valueType
6561 public boolean hasIntValueType() {
6562 return ((bitField0_ & 0x00000040) == 0x00000040);
6565 * <code>optional int32 intValueType = 9;</code>
6568 * instead of valueType
6571 public int getIntValueType() {
6572 return intValueType_;
6575 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
6576 public static final int INSTANCEIDENTIFIERVALUE_FIELD_NUMBER = 10;
6577 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_;
6579 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
6585 public boolean hasInstanceIdentifierValue() {
6586 return ((bitField0_ & 0x00000080) == 0x00000080);
6589 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
6595 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
6596 return instanceIdentifierValue_;
6599 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
6605 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
6606 return instanceIdentifierValue_;
6609 // repeated string bitsValue = 11;
6610 public static final int BITSVALUE_FIELD_NUMBER = 11;
6611 private com.google.protobuf.LazyStringList bitsValue_;
6613 * <code>repeated string bitsValue = 11;</code>
6616 * intValueType = Bits
6619 public java.util.List<java.lang.String>
6620 getBitsValueList() {
6624 * <code>repeated string bitsValue = 11;</code>
6627 * intValueType = Bits
6630 public int getBitsValueCount() {
6631 return bitsValue_.size();
6634 * <code>repeated string bitsValue = 11;</code>
6637 * intValueType = Bits
6640 public java.lang.String getBitsValue(int index) {
6641 return bitsValue_.get(index);
6644 * <code>repeated string bitsValue = 11;</code>
6647 * intValueType = Bits
6650 public com.google.protobuf.ByteString
6651 getBitsValueBytes(int index) {
6652 return bitsValue_.getByteString(index);
6655 // repeated string code = 12;
6656 public static final int CODE_FIELD_NUMBER = 12;
6657 private com.google.protobuf.LazyStringList code_;
6659 * <code>repeated string code = 12;</code>
6662 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6665 public java.util.List<java.lang.String>
6670 * <code>repeated string code = 12;</code>
6673 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6676 public int getCodeCount() {
6677 return code_.size();
6680 * <code>repeated string code = 12;</code>
6683 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6686 public java.lang.String getCode(int index) {
6687 return code_.get(index);
6690 * <code>repeated string code = 12;</code>
6693 * A list of string codes which can be used for any repeated strings in the NormalizedNode
6696 public com.google.protobuf.ByteString
6697 getCodeBytes(int index) {
6698 return code_.getByteString(index);
6701 // optional bytes bytesValue = 13;
6702 public static final int BYTESVALUE_FIELD_NUMBER = 13;
6703 private com.google.protobuf.ByteString bytesValue_;
6705 * <code>optional bytes bytesValue = 13;</code>
6707 public boolean hasBytesValue() {
6708 return ((bitField0_ & 0x00000100) == 0x00000100);
6711 * <code>optional bytes bytesValue = 13;</code>
6713 public com.google.protobuf.ByteString getBytesValue() {
6717 private void initFields() {
6720 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
6722 attributes_ = java.util.Collections.emptyList();
6723 child_ = java.util.Collections.emptyList();
6727 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
6728 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6729 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
6730 bytesValue_ = com.google.protobuf.ByteString.EMPTY;
6732 private byte memoizedIsInitialized = -1;
6733 public final boolean isInitialized() {
6734 byte isInitialized = memoizedIsInitialized;
6735 if (isInitialized != -1) return isInitialized == 1;
6737 if (hasPathArgument()) {
6738 if (!getPathArgument().isInitialized()) {
6739 memoizedIsInitialized = 0;
6743 for (int i = 0; i < getAttributesCount(); i++) {
6744 if (!getAttributes(i).isInitialized()) {
6745 memoizedIsInitialized = 0;
6749 for (int i = 0; i < getChildCount(); i++) {
6750 if (!getChild(i).isInitialized()) {
6751 memoizedIsInitialized = 0;
6755 if (hasInstanceIdentifierValue()) {
6756 if (!getInstanceIdentifierValue().isInitialized()) {
6757 memoizedIsInitialized = 0;
6761 memoizedIsInitialized = 1;
6765 public void writeTo(com.google.protobuf.CodedOutputStream output)
6766 throws java.io.IOException {
6767 getSerializedSize();
6768 if (((bitField0_ & 0x00000001) == 0x00000001)) {
6769 output.writeBytes(1, getPathBytes());
6771 if (((bitField0_ & 0x00000002) == 0x00000002)) {
6772 output.writeBytes(2, getTypeBytes());
6774 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6775 output.writeMessage(3, pathArgument_);
6777 if (((bitField0_ & 0x00000008) == 0x00000008)) {
6778 output.writeInt32(4, intType_);
6780 for (int i = 0; i < attributes_.size(); i++) {
6781 output.writeMessage(5, attributes_.get(i));
6783 for (int i = 0; i < child_.size(); i++) {
6784 output.writeMessage(6, child_.get(i));
6786 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6787 output.writeBytes(7, getValueBytes());
6789 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6790 output.writeBytes(8, getValueTypeBytes());
6792 if (((bitField0_ & 0x00000040) == 0x00000040)) {
6793 output.writeInt32(9, intValueType_);
6795 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6796 output.writeMessage(10, instanceIdentifierValue_);
6798 for (int i = 0; i < bitsValue_.size(); i++) {
6799 output.writeBytes(11, bitsValue_.getByteString(i));
6801 for (int i = 0; i < code_.size(); i++) {
6802 output.writeBytes(12, code_.getByteString(i));
6804 if (((bitField0_ & 0x00000100) == 0x00000100)) {
6805 output.writeBytes(13, bytesValue_);
6807 getUnknownFields().writeTo(output);
6810 private int memoizedSerializedSize = -1;
6811 public int getSerializedSize() {
6812 int size = memoizedSerializedSize;
6813 if (size != -1) return size;
6816 if (((bitField0_ & 0x00000001) == 0x00000001)) {
6817 size += com.google.protobuf.CodedOutputStream
6818 .computeBytesSize(1, getPathBytes());
6820 if (((bitField0_ & 0x00000002) == 0x00000002)) {
6821 size += com.google.protobuf.CodedOutputStream
6822 .computeBytesSize(2, getTypeBytes());
6824 if (((bitField0_ & 0x00000004) == 0x00000004)) {
6825 size += com.google.protobuf.CodedOutputStream
6826 .computeMessageSize(3, pathArgument_);
6828 if (((bitField0_ & 0x00000008) == 0x00000008)) {
6829 size += com.google.protobuf.CodedOutputStream
6830 .computeInt32Size(4, intType_);
6832 for (int i = 0; i < attributes_.size(); i++) {
6833 size += com.google.protobuf.CodedOutputStream
6834 .computeMessageSize(5, attributes_.get(i));
6836 for (int i = 0; i < child_.size(); i++) {
6837 size += com.google.protobuf.CodedOutputStream
6838 .computeMessageSize(6, child_.get(i));
6840 if (((bitField0_ & 0x00000010) == 0x00000010)) {
6841 size += com.google.protobuf.CodedOutputStream
6842 .computeBytesSize(7, getValueBytes());
6844 if (((bitField0_ & 0x00000020) == 0x00000020)) {
6845 size += com.google.protobuf.CodedOutputStream
6846 .computeBytesSize(8, getValueTypeBytes());
6848 if (((bitField0_ & 0x00000040) == 0x00000040)) {
6849 size += com.google.protobuf.CodedOutputStream
6850 .computeInt32Size(9, intValueType_);
6852 if (((bitField0_ & 0x00000080) == 0x00000080)) {
6853 size += com.google.protobuf.CodedOutputStream
6854 .computeMessageSize(10, instanceIdentifierValue_);
6858 for (int i = 0; i < bitsValue_.size(); i++) {
6859 dataSize += com.google.protobuf.CodedOutputStream
6860 .computeBytesSizeNoTag(bitsValue_.getByteString(i));
6863 size += 1 * getBitsValueList().size();
6867 for (int i = 0; i < code_.size(); i++) {
6868 dataSize += com.google.protobuf.CodedOutputStream
6869 .computeBytesSizeNoTag(code_.getByteString(i));
6872 size += 1 * getCodeList().size();
6874 if (((bitField0_ & 0x00000100) == 0x00000100)) {
6875 size += com.google.protobuf.CodedOutputStream
6876 .computeBytesSize(13, bytesValue_);
6878 size += getUnknownFields().getSerializedSize();
6879 memoizedSerializedSize = size;
6883 private static final long serialVersionUID = 0L;
6885 protected java.lang.Object writeReplace()
6886 throws java.io.ObjectStreamException {
6887 return super.writeReplace();
6890 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6891 com.google.protobuf.ByteString data)
6892 throws com.google.protobuf.InvalidProtocolBufferException {
6893 return PARSER.parseFrom(data);
6895 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6896 com.google.protobuf.ByteString data,
6897 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6898 throws com.google.protobuf.InvalidProtocolBufferException {
6899 return PARSER.parseFrom(data, extensionRegistry);
6901 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(byte[] data)
6902 throws com.google.protobuf.InvalidProtocolBufferException {
6903 return PARSER.parseFrom(data);
6905 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6907 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6908 throws com.google.protobuf.InvalidProtocolBufferException {
6909 return PARSER.parseFrom(data, extensionRegistry);
6911 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(java.io.InputStream input)
6912 throws java.io.IOException {
6913 return PARSER.parseFrom(input);
6915 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6916 java.io.InputStream input,
6917 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6918 throws java.io.IOException {
6919 return PARSER.parseFrom(input, extensionRegistry);
6921 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(java.io.InputStream input)
6922 throws java.io.IOException {
6923 return PARSER.parseDelimitedFrom(input);
6925 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseDelimitedFrom(
6926 java.io.InputStream input,
6927 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6928 throws java.io.IOException {
6929 return PARSER.parseDelimitedFrom(input, extensionRegistry);
6931 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6932 com.google.protobuf.CodedInputStream input)
6933 throws java.io.IOException {
6934 return PARSER.parseFrom(input);
6936 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parseFrom(
6937 com.google.protobuf.CodedInputStream input,
6938 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
6939 throws java.io.IOException {
6940 return PARSER.parseFrom(input, extensionRegistry);
6943 public static Builder newBuilder() { return Builder.create(); }
6944 public Builder newBuilderForType() { return newBuilder(); }
6945 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node prototype) {
6946 return newBuilder().mergeFrom(prototype);
6948 public Builder toBuilder() { return newBuilder(this); }
6951 protected Builder newBuilderForType(
6952 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6953 Builder builder = new Builder(parent);
6957 * Protobuf type {@code org.opendaylight.controller.mdsal.Node}
6959 public static final class Builder extends
6960 com.google.protobuf.GeneratedMessage.Builder<Builder>
6961 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder {
6962 public static final com.google.protobuf.Descriptors.Descriptor
6964 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
6967 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
6968 internalGetFieldAccessorTable() {
6969 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable
6970 .ensureFieldAccessorsInitialized(
6971 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder.class);
6974 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder()
6976 maybeForceBuilderInitialization();
6980 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
6982 maybeForceBuilderInitialization();
6984 private void maybeForceBuilderInitialization() {
6985 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
6986 getPathArgumentFieldBuilder();
6987 getAttributesFieldBuilder();
6988 getChildFieldBuilder();
6989 getInstanceIdentifierValueFieldBuilder();
6992 private static Builder create() {
6993 return new Builder();
6996 public Builder clear() {
6999 bitField0_ = (bitField0_ & ~0x00000001);
7001 bitField0_ = (bitField0_ & ~0x00000002);
7002 if (pathArgumentBuilder_ == null) {
7003 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
7005 pathArgumentBuilder_.clear();
7007 bitField0_ = (bitField0_ & ~0x00000004);
7009 bitField0_ = (bitField0_ & ~0x00000008);
7010 if (attributesBuilder_ == null) {
7011 attributes_ = java.util.Collections.emptyList();
7012 bitField0_ = (bitField0_ & ~0x00000010);
7014 attributesBuilder_.clear();
7016 if (childBuilder_ == null) {
7017 child_ = java.util.Collections.emptyList();
7018 bitField0_ = (bitField0_ & ~0x00000020);
7020 childBuilder_.clear();
7023 bitField0_ = (bitField0_ & ~0x00000040);
7025 bitField0_ = (bitField0_ & ~0x00000080);
7027 bitField0_ = (bitField0_ & ~0x00000100);
7028 if (instanceIdentifierValueBuilder_ == null) {
7029 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
7031 instanceIdentifierValueBuilder_.clear();
7033 bitField0_ = (bitField0_ & ~0x00000200);
7034 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7035 bitField0_ = (bitField0_ & ~0x00000400);
7036 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
7037 bitField0_ = (bitField0_ & ~0x00000800);
7038 bytesValue_ = com.google.protobuf.ByteString.EMPTY;
7039 bitField0_ = (bitField0_ & ~0x00001000);
7043 public Builder clone() {
7044 return create().mergeFrom(buildPartial());
7047 public com.google.protobuf.Descriptors.Descriptor
7048 getDescriptorForType() {
7049 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
7052 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getDefaultInstanceForType() {
7053 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
7056 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node build() {
7057 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = buildPartial();
7058 if (!result.isInitialized()) {
7059 throw newUninitializedMessageException(result);
7064 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node buildPartial() {
7065 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node(this);
7066 int from_bitField0_ = bitField0_;
7067 int to_bitField0_ = 0;
7068 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
7069 to_bitField0_ |= 0x00000001;
7071 result.path_ = path_;
7072 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
7073 to_bitField0_ |= 0x00000002;
7075 result.type_ = type_;
7076 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
7077 to_bitField0_ |= 0x00000004;
7079 if (pathArgumentBuilder_ == null) {
7080 result.pathArgument_ = pathArgument_;
7082 result.pathArgument_ = pathArgumentBuilder_.build();
7084 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
7085 to_bitField0_ |= 0x00000008;
7087 result.intType_ = intType_;
7088 if (attributesBuilder_ == null) {
7089 if (((bitField0_ & 0x00000010) == 0x00000010)) {
7090 attributes_ = java.util.Collections.unmodifiableList(attributes_);
7091 bitField0_ = (bitField0_ & ~0x00000010);
7093 result.attributes_ = attributes_;
7095 result.attributes_ = attributesBuilder_.build();
7097 if (childBuilder_ == null) {
7098 if (((bitField0_ & 0x00000020) == 0x00000020)) {
7099 child_ = java.util.Collections.unmodifiableList(child_);
7100 bitField0_ = (bitField0_ & ~0x00000020);
7102 result.child_ = child_;
7104 result.child_ = childBuilder_.build();
7106 if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
7107 to_bitField0_ |= 0x00000010;
7109 result.value_ = value_;
7110 if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
7111 to_bitField0_ |= 0x00000020;
7113 result.valueType_ = valueType_;
7114 if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
7115 to_bitField0_ |= 0x00000040;
7117 result.intValueType_ = intValueType_;
7118 if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
7119 to_bitField0_ |= 0x00000080;
7121 if (instanceIdentifierValueBuilder_ == null) {
7122 result.instanceIdentifierValue_ = instanceIdentifierValue_;
7124 result.instanceIdentifierValue_ = instanceIdentifierValueBuilder_.build();
7126 if (((bitField0_ & 0x00000400) == 0x00000400)) {
7127 bitsValue_ = new com.google.protobuf.UnmodifiableLazyStringList(
7129 bitField0_ = (bitField0_ & ~0x00000400);
7131 result.bitsValue_ = bitsValue_;
7132 if (((bitField0_ & 0x00000800) == 0x00000800)) {
7133 code_ = new com.google.protobuf.UnmodifiableLazyStringList(
7135 bitField0_ = (bitField0_ & ~0x00000800);
7137 result.code_ = code_;
7138 if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
7139 to_bitField0_ |= 0x00000100;
7141 result.bytesValue_ = bytesValue_;
7142 result.bitField0_ = to_bitField0_;
7147 public Builder mergeFrom(com.google.protobuf.Message other) {
7148 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) {
7149 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node)other);
7151 super.mergeFrom(other);
7156 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node other) {
7157 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) return this;
7158 if (other.hasPath()) {
7159 bitField0_ |= 0x00000001;
7160 path_ = other.path_;
7163 if (other.hasType()) {
7164 bitField0_ |= 0x00000002;
7165 type_ = other.type_;
7168 if (other.hasPathArgument()) {
7169 mergePathArgument(other.getPathArgument());
7171 if (other.hasIntType()) {
7172 setIntType(other.getIntType());
7174 if (attributesBuilder_ == null) {
7175 if (!other.attributes_.isEmpty()) {
7176 if (attributes_.isEmpty()) {
7177 attributes_ = other.attributes_;
7178 bitField0_ = (bitField0_ & ~0x00000010);
7180 ensureAttributesIsMutable();
7181 attributes_.addAll(other.attributes_);
7186 if (!other.attributes_.isEmpty()) {
7187 if (attributesBuilder_.isEmpty()) {
7188 attributesBuilder_.dispose();
7189 attributesBuilder_ = null;
7190 attributes_ = other.attributes_;
7191 bitField0_ = (bitField0_ & ~0x00000010);
7192 attributesBuilder_ =
7193 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
7194 getAttributesFieldBuilder() : null;
7196 attributesBuilder_.addAllMessages(other.attributes_);
7200 if (childBuilder_ == null) {
7201 if (!other.child_.isEmpty()) {
7202 if (child_.isEmpty()) {
7203 child_ = other.child_;
7204 bitField0_ = (bitField0_ & ~0x00000020);
7206 ensureChildIsMutable();
7207 child_.addAll(other.child_);
7212 if (!other.child_.isEmpty()) {
7213 if (childBuilder_.isEmpty()) {
7214 childBuilder_.dispose();
7215 childBuilder_ = null;
7216 child_ = other.child_;
7217 bitField0_ = (bitField0_ & ~0x00000020);
7219 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
7220 getChildFieldBuilder() : null;
7222 childBuilder_.addAllMessages(other.child_);
7226 if (other.hasValue()) {
7227 bitField0_ |= 0x00000040;
7228 value_ = other.value_;
7231 if (other.hasValueType()) {
7232 bitField0_ |= 0x00000080;
7233 valueType_ = other.valueType_;
7236 if (other.hasIntValueType()) {
7237 setIntValueType(other.getIntValueType());
7239 if (other.hasInstanceIdentifierValue()) {
7240 mergeInstanceIdentifierValue(other.getInstanceIdentifierValue());
7242 if (!other.bitsValue_.isEmpty()) {
7243 if (bitsValue_.isEmpty()) {
7244 bitsValue_ = other.bitsValue_;
7245 bitField0_ = (bitField0_ & ~0x00000400);
7247 ensureBitsValueIsMutable();
7248 bitsValue_.addAll(other.bitsValue_);
7252 if (!other.code_.isEmpty()) {
7253 if (code_.isEmpty()) {
7254 code_ = other.code_;
7255 bitField0_ = (bitField0_ & ~0x00000800);
7257 ensureCodeIsMutable();
7258 code_.addAll(other.code_);
7262 if (other.hasBytesValue()) {
7263 setBytesValue(other.getBytesValue());
7265 this.mergeUnknownFields(other.getUnknownFields());
7269 public final boolean isInitialized() {
7270 if (hasPathArgument()) {
7271 if (!getPathArgument().isInitialized()) {
7276 for (int i = 0; i < getAttributesCount(); i++) {
7277 if (!getAttributes(i).isInitialized()) {
7282 for (int i = 0; i < getChildCount(); i++) {
7283 if (!getChild(i).isInitialized()) {
7288 if (hasInstanceIdentifierValue()) {
7289 if (!getInstanceIdentifierValue().isInitialized()) {
7297 public Builder mergeFrom(
7298 com.google.protobuf.CodedInputStream input,
7299 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7300 throws java.io.IOException {
7301 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node parsedMessage = null;
7303 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
7304 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
7305 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node) e.getUnfinishedMessage();
7308 if (parsedMessage != null) {
7309 mergeFrom(parsedMessage);
7314 private int bitField0_;
7316 // optional string path = 1;
7317 private java.lang.Object path_ = "";
7319 * <code>optional string path = 1;</code>
7322 * @deprecated(use pathArgument)
7325 public boolean hasPath() {
7326 return ((bitField0_ & 0x00000001) == 0x00000001);
7329 * <code>optional string path = 1;</code>
7332 * @deprecated(use pathArgument)
7335 public java.lang.String getPath() {
7336 java.lang.Object ref = path_;
7337 if (!(ref instanceof java.lang.String)) {
7338 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7343 return (java.lang.String) ref;
7347 * <code>optional string path = 1;</code>
7350 * @deprecated(use pathArgument)
7353 public com.google.protobuf.ByteString
7355 java.lang.Object ref = path_;
7356 if (ref instanceof String) {
7357 com.google.protobuf.ByteString b =
7358 com.google.protobuf.ByteString.copyFromUtf8(
7359 (java.lang.String) ref);
7363 return (com.google.protobuf.ByteString) ref;
7367 * <code>optional string path = 1;</code>
7370 * @deprecated(use pathArgument)
7373 public Builder setPath(
7374 java.lang.String value) {
7375 if (value == null) {
7376 throw new NullPointerException();
7378 bitField0_ |= 0x00000001;
7384 * <code>optional string path = 1;</code>
7387 * @deprecated(use pathArgument)
7390 public Builder clearPath() {
7391 bitField0_ = (bitField0_ & ~0x00000001);
7392 path_ = getDefaultInstance().getPath();
7397 * <code>optional string path = 1;</code>
7400 * @deprecated(use pathArgument)
7403 public Builder setPathBytes(
7404 com.google.protobuf.ByteString value) {
7405 if (value == null) {
7406 throw new NullPointerException();
7408 bitField0_ |= 0x00000001;
7414 // optional string type = 2;
7415 private java.lang.Object type_ = "";
7417 * <code>optional string type = 2;</code>
7420 * @deprecated(use intType)
7423 public boolean hasType() {
7424 return ((bitField0_ & 0x00000002) == 0x00000002);
7427 * <code>optional string type = 2;</code>
7430 * @deprecated(use intType)
7433 public java.lang.String getType() {
7434 java.lang.Object ref = type_;
7435 if (!(ref instanceof java.lang.String)) {
7436 java.lang.String s = ((com.google.protobuf.ByteString) ref)
7441 return (java.lang.String) ref;
7445 * <code>optional string type = 2;</code>
7448 * @deprecated(use intType)
7451 public com.google.protobuf.ByteString
7453 java.lang.Object ref = type_;
7454 if (ref instanceof String) {
7455 com.google.protobuf.ByteString b =
7456 com.google.protobuf.ByteString.copyFromUtf8(
7457 (java.lang.String) ref);
7461 return (com.google.protobuf.ByteString) ref;
7465 * <code>optional string type = 2;</code>
7468 * @deprecated(use intType)
7471 public Builder setType(
7472 java.lang.String value) {
7473 if (value == null) {
7474 throw new NullPointerException();
7476 bitField0_ |= 0x00000002;
7482 * <code>optional string type = 2;</code>
7485 * @deprecated(use intType)
7488 public Builder clearType() {
7489 bitField0_ = (bitField0_ & ~0x00000002);
7490 type_ = getDefaultInstance().getType();
7495 * <code>optional string type = 2;</code>
7498 * @deprecated(use intType)
7501 public Builder setTypeBytes(
7502 com.google.protobuf.ByteString value) {
7503 if (value == null) {
7504 throw new NullPointerException();
7506 bitField0_ |= 0x00000002;
7512 // optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;
7513 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
7514 private com.google.protobuf.SingleFieldBuilder<
7515 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_;
7517 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7519 public boolean hasPathArgument() {
7520 return ((bitField0_ & 0x00000004) == 0x00000004);
7523 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7525 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument getPathArgument() {
7526 if (pathArgumentBuilder_ == null) {
7527 return pathArgument_;
7529 return pathArgumentBuilder_.getMessage();
7533 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7535 public Builder setPathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
7536 if (pathArgumentBuilder_ == null) {
7537 if (value == null) {
7538 throw new NullPointerException();
7540 pathArgument_ = value;
7543 pathArgumentBuilder_.setMessage(value);
7545 bitField0_ |= 0x00000004;
7549 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7551 public Builder setPathArgument(
7552 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder builderForValue) {
7553 if (pathArgumentBuilder_ == null) {
7554 pathArgument_ = builderForValue.build();
7557 pathArgumentBuilder_.setMessage(builderForValue.build());
7559 bitField0_ |= 0x00000004;
7563 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7565 public Builder mergePathArgument(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument value) {
7566 if (pathArgumentBuilder_ == null) {
7567 if (((bitField0_ & 0x00000004) == 0x00000004) &&
7568 pathArgument_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance()) {
7570 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.newBuilder(pathArgument_).mergeFrom(value).buildPartial();
7572 pathArgument_ = value;
7576 pathArgumentBuilder_.mergeFrom(value);
7578 bitField0_ |= 0x00000004;
7582 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7584 public Builder clearPathArgument() {
7585 if (pathArgumentBuilder_ == null) {
7586 pathArgument_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.getDefaultInstance();
7589 pathArgumentBuilder_.clear();
7591 bitField0_ = (bitField0_ & ~0x00000004);
7595 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7597 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgument.Builder getPathArgumentBuilder() {
7598 bitField0_ |= 0x00000004;
7600 return getPathArgumentFieldBuilder().getBuilder();
7603 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7605 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.PathArgumentOrBuilder getPathArgumentOrBuilder() {
7606 if (pathArgumentBuilder_ != null) {
7607 return pathArgumentBuilder_.getMessageOrBuilder();
7609 return pathArgument_;
7613 * <code>optional .org.opendaylight.controller.mdsal.PathArgument pathArgument = 3;</code>
7615 private com.google.protobuf.SingleFieldBuilder<
7616 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>
7617 getPathArgumentFieldBuilder() {
7618 if (pathArgumentBuilder_ == null) {
7619 pathArgumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7620 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>(
7622 getParentForChildren(),
7624 pathArgument_ = null;
7626 return pathArgumentBuilder_;
7629 // optional int32 intType = 4;
7630 private int intType_ ;
7632 * <code>optional int32 intType = 4;</code>
7634 public boolean hasIntType() {
7635 return ((bitField0_ & 0x00000008) == 0x00000008);
7638 * <code>optional int32 intType = 4;</code>
7640 public int getIntType() {
7644 * <code>optional int32 intType = 4;</code>
7646 public Builder setIntType(int value) {
7647 bitField0_ |= 0x00000008;
7653 * <code>optional int32 intType = 4;</code>
7655 public Builder clearIntType() {
7656 bitField0_ = (bitField0_ & ~0x00000008);
7662 // repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;
7663 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> attributes_ =
7664 java.util.Collections.emptyList();
7665 private void ensureAttributesIsMutable() {
7666 if (!((bitField0_ & 0x00000010) == 0x00000010)) {
7667 attributes_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute>(attributes_);
7668 bitField0_ |= 0x00000010;
7672 private com.google.protobuf.RepeatedFieldBuilder<
7673 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_;
7676 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7678 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> getAttributesList() {
7679 if (attributesBuilder_ == null) {
7680 return java.util.Collections.unmodifiableList(attributes_);
7682 return attributesBuilder_.getMessageList();
7686 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7688 public int getAttributesCount() {
7689 if (attributesBuilder_ == null) {
7690 return attributes_.size();
7692 return attributesBuilder_.getCount();
7696 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7698 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute getAttributes(int index) {
7699 if (attributesBuilder_ == null) {
7700 return attributes_.get(index);
7702 return attributesBuilder_.getMessage(index);
7706 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7708 public Builder setAttributes(
7709 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7710 if (attributesBuilder_ == null) {
7711 if (value == null) {
7712 throw new NullPointerException();
7714 ensureAttributesIsMutable();
7715 attributes_.set(index, value);
7718 attributesBuilder_.setMessage(index, value);
7723 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7725 public Builder setAttributes(
7726 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7727 if (attributesBuilder_ == null) {
7728 ensureAttributesIsMutable();
7729 attributes_.set(index, builderForValue.build());
7732 attributesBuilder_.setMessage(index, builderForValue.build());
7737 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7739 public Builder addAttributes(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7740 if (attributesBuilder_ == null) {
7741 if (value == null) {
7742 throw new NullPointerException();
7744 ensureAttributesIsMutable();
7745 attributes_.add(value);
7748 attributesBuilder_.addMessage(value);
7753 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7755 public Builder addAttributes(
7756 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute value) {
7757 if (attributesBuilder_ == null) {
7758 if (value == null) {
7759 throw new NullPointerException();
7761 ensureAttributesIsMutable();
7762 attributes_.add(index, value);
7765 attributesBuilder_.addMessage(index, value);
7770 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7772 public Builder addAttributes(
7773 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7774 if (attributesBuilder_ == null) {
7775 ensureAttributesIsMutable();
7776 attributes_.add(builderForValue.build());
7779 attributesBuilder_.addMessage(builderForValue.build());
7784 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7786 public Builder addAttributes(
7787 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder builderForValue) {
7788 if (attributesBuilder_ == null) {
7789 ensureAttributesIsMutable();
7790 attributes_.add(index, builderForValue.build());
7793 attributesBuilder_.addMessage(index, builderForValue.build());
7798 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7800 public Builder addAllAttributes(
7801 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute> values) {
7802 if (attributesBuilder_ == null) {
7803 ensureAttributesIsMutable();
7804 super.addAll(values, attributes_);
7807 attributesBuilder_.addAllMessages(values);
7812 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7814 public Builder clearAttributes() {
7815 if (attributesBuilder_ == null) {
7816 attributes_ = java.util.Collections.emptyList();
7817 bitField0_ = (bitField0_ & ~0x00000010);
7820 attributesBuilder_.clear();
7825 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7827 public Builder removeAttributes(int index) {
7828 if (attributesBuilder_ == null) {
7829 ensureAttributesIsMutable();
7830 attributes_.remove(index);
7833 attributesBuilder_.remove(index);
7838 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7840 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder getAttributesBuilder(
7842 return getAttributesFieldBuilder().getBuilder(index);
7845 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7847 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder getAttributesOrBuilder(
7849 if (attributesBuilder_ == null) {
7850 return attributes_.get(index); } else {
7851 return attributesBuilder_.getMessageOrBuilder(index);
7855 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7857 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.AttributeOrBuilder>
7858 getAttributesOrBuilderList() {
7859 if (attributesBuilder_ != null) {
7860 return attributesBuilder_.getMessageOrBuilderList();
7862 return java.util.Collections.unmodifiableList(attributes_);
7866 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7868 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder() {
7869 return getAttributesFieldBuilder().addBuilder(
7870 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
7873 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7875 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder addAttributesBuilder(
7877 return getAttributesFieldBuilder().addBuilder(
7878 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.getDefaultInstance());
7881 * <code>repeated .org.opendaylight.controller.mdsal.Attribute attributes = 5;</code>
7883 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Attribute.Builder>
7884 getAttributesBuilderList() {
7885 return getAttributesFieldBuilder().getBuilderList();
7887 private com.google.protobuf.RepeatedFieldBuilder<
7888 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>
7889 getAttributesFieldBuilder() {
7890 if (attributesBuilder_ == null) {
7891 attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
7892 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>(
7894 ((bitField0_ & 0x00000010) == 0x00000010),
7895 getParentForChildren(),
7899 return attributesBuilder_;
7902 // repeated .org.opendaylight.controller.mdsal.Node child = 6;
7903 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> child_ =
7904 java.util.Collections.emptyList();
7905 private void ensureChildIsMutable() {
7906 if (!((bitField0_ & 0x00000020) == 0x00000020)) {
7907 child_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node>(child_);
7908 bitField0_ |= 0x00000020;
7912 private com.google.protobuf.RepeatedFieldBuilder<
7913 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_;
7916 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7918 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> getChildList() {
7919 if (childBuilder_ == null) {
7920 return java.util.Collections.unmodifiableList(child_);
7922 return childBuilder_.getMessageList();
7926 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7928 public int getChildCount() {
7929 if (childBuilder_ == null) {
7930 return child_.size();
7932 return childBuilder_.getCount();
7936 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7938 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getChild(int index) {
7939 if (childBuilder_ == null) {
7940 return child_.get(index);
7942 return childBuilder_.getMessage(index);
7946 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7948 public Builder setChild(
7949 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7950 if (childBuilder_ == null) {
7951 if (value == null) {
7952 throw new NullPointerException();
7954 ensureChildIsMutable();
7955 child_.set(index, value);
7958 childBuilder_.setMessage(index, value);
7963 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7965 public Builder setChild(
7966 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
7967 if (childBuilder_ == null) {
7968 ensureChildIsMutable();
7969 child_.set(index, builderForValue.build());
7972 childBuilder_.setMessage(index, builderForValue.build());
7977 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7979 public Builder addChild(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7980 if (childBuilder_ == null) {
7981 if (value == null) {
7982 throw new NullPointerException();
7984 ensureChildIsMutable();
7988 childBuilder_.addMessage(value);
7993 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
7995 public Builder addChild(
7996 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
7997 if (childBuilder_ == null) {
7998 if (value == null) {
7999 throw new NullPointerException();
8001 ensureChildIsMutable();
8002 child_.add(index, value);
8005 childBuilder_.addMessage(index, value);
8010 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8012 public Builder addChild(
8013 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
8014 if (childBuilder_ == null) {
8015 ensureChildIsMutable();
8016 child_.add(builderForValue.build());
8019 childBuilder_.addMessage(builderForValue.build());
8024 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8026 public Builder addChild(
8027 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
8028 if (childBuilder_ == null) {
8029 ensureChildIsMutable();
8030 child_.add(index, builderForValue.build());
8033 childBuilder_.addMessage(index, builderForValue.build());
8038 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8040 public Builder addAllChild(
8041 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node> values) {
8042 if (childBuilder_ == null) {
8043 ensureChildIsMutable();
8044 super.addAll(values, child_);
8047 childBuilder_.addAllMessages(values);
8052 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8054 public Builder clearChild() {
8055 if (childBuilder_ == null) {
8056 child_ = java.util.Collections.emptyList();
8057 bitField0_ = (bitField0_ & ~0x00000020);
8060 childBuilder_.clear();
8065 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8067 public Builder removeChild(int index) {
8068 if (childBuilder_ == null) {
8069 ensureChildIsMutable();
8070 child_.remove(index);
8073 childBuilder_.remove(index);
8078 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8080 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getChildBuilder(
8082 return getChildFieldBuilder().getBuilder(index);
8085 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8087 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getChildOrBuilder(
8089 if (childBuilder_ == null) {
8090 return child_.get(index); } else {
8091 return childBuilder_.getMessageOrBuilder(index);
8095 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8097 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
8098 getChildOrBuilderList() {
8099 if (childBuilder_ != null) {
8100 return childBuilder_.getMessageOrBuilderList();
8102 return java.util.Collections.unmodifiableList(child_);
8106 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8108 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder() {
8109 return getChildFieldBuilder().addBuilder(
8110 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
8113 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8115 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder addChildBuilder(
8117 return getChildFieldBuilder().addBuilder(
8118 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance());
8121 * <code>repeated .org.opendaylight.controller.mdsal.Node child = 6;</code>
8123 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder>
8124 getChildBuilderList() {
8125 return getChildFieldBuilder().getBuilderList();
8127 private com.google.protobuf.RepeatedFieldBuilder<
8128 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>
8129 getChildFieldBuilder() {
8130 if (childBuilder_ == null) {
8131 childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
8132 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>(
8134 ((bitField0_ & 0x00000020) == 0x00000020),
8135 getParentForChildren(),
8139 return childBuilder_;
8142 // optional string value = 7;
8143 private java.lang.Object value_ = "";
8145 * <code>optional string value = 7;</code>
8147 public boolean hasValue() {
8148 return ((bitField0_ & 0x00000040) == 0x00000040);
8151 * <code>optional string value = 7;</code>
8153 public java.lang.String getValue() {
8154 java.lang.Object ref = value_;
8155 if (!(ref instanceof java.lang.String)) {
8156 java.lang.String s = ((com.google.protobuf.ByteString) ref)
8161 return (java.lang.String) ref;
8165 * <code>optional string value = 7;</code>
8167 public com.google.protobuf.ByteString
8169 java.lang.Object ref = value_;
8170 if (ref instanceof String) {
8171 com.google.protobuf.ByteString b =
8172 com.google.protobuf.ByteString.copyFromUtf8(
8173 (java.lang.String) ref);
8177 return (com.google.protobuf.ByteString) ref;
8181 * <code>optional string value = 7;</code>
8183 public Builder setValue(
8184 java.lang.String value) {
8185 if (value == null) {
8186 throw new NullPointerException();
8188 bitField0_ |= 0x00000040;
8194 * <code>optional string value = 7;</code>
8196 public Builder clearValue() {
8197 bitField0_ = (bitField0_ & ~0x00000040);
8198 value_ = getDefaultInstance().getValue();
8203 * <code>optional string value = 7;</code>
8205 public Builder setValueBytes(
8206 com.google.protobuf.ByteString value) {
8207 if (value == null) {
8208 throw new NullPointerException();
8210 bitField0_ |= 0x00000040;
8216 // optional string valueType = 8;
8217 private java.lang.Object valueType_ = "";
8219 * <code>optional string valueType = 8;</code>
8222 * @deprecated(use intValueType)
8225 public boolean hasValueType() {
8226 return ((bitField0_ & 0x00000080) == 0x00000080);
8229 * <code>optional string valueType = 8;</code>
8232 * @deprecated(use intValueType)
8235 public java.lang.String getValueType() {
8236 java.lang.Object ref = valueType_;
8237 if (!(ref instanceof java.lang.String)) {
8238 java.lang.String s = ((com.google.protobuf.ByteString) ref)
8243 return (java.lang.String) ref;
8247 * <code>optional string valueType = 8;</code>
8250 * @deprecated(use intValueType)
8253 public com.google.protobuf.ByteString
8254 getValueTypeBytes() {
8255 java.lang.Object ref = valueType_;
8256 if (ref instanceof String) {
8257 com.google.protobuf.ByteString b =
8258 com.google.protobuf.ByteString.copyFromUtf8(
8259 (java.lang.String) ref);
8263 return (com.google.protobuf.ByteString) ref;
8267 * <code>optional string valueType = 8;</code>
8270 * @deprecated(use intValueType)
8273 public Builder setValueType(
8274 java.lang.String value) {
8275 if (value == null) {
8276 throw new NullPointerException();
8278 bitField0_ |= 0x00000080;
8284 * <code>optional string valueType = 8;</code>
8287 * @deprecated(use intValueType)
8290 public Builder clearValueType() {
8291 bitField0_ = (bitField0_ & ~0x00000080);
8292 valueType_ = getDefaultInstance().getValueType();
8297 * <code>optional string valueType = 8;</code>
8300 * @deprecated(use intValueType)
8303 public Builder setValueTypeBytes(
8304 com.google.protobuf.ByteString value) {
8305 if (value == null) {
8306 throw new NullPointerException();
8308 bitField0_ |= 0x00000080;
8314 // optional int32 intValueType = 9;
8315 private int intValueType_ ;
8317 * <code>optional int32 intValueType = 9;</code>
8320 * instead of valueType
8323 public boolean hasIntValueType() {
8324 return ((bitField0_ & 0x00000100) == 0x00000100);
8327 * <code>optional int32 intValueType = 9;</code>
8330 * instead of valueType
8333 public int getIntValueType() {
8334 return intValueType_;
8337 * <code>optional int32 intValueType = 9;</code>
8340 * instead of valueType
8343 public Builder setIntValueType(int value) {
8344 bitField0_ |= 0x00000100;
8345 intValueType_ = value;
8350 * <code>optional int32 intValueType = 9;</code>
8353 * instead of valueType
8356 public Builder clearIntValueType() {
8357 bitField0_ = (bitField0_ & ~0x00000100);
8363 // optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;
8364 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
8365 private com.google.protobuf.SingleFieldBuilder<
8366 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_;
8368 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8374 public boolean hasInstanceIdentifierValue() {
8375 return ((bitField0_ & 0x00000200) == 0x00000200);
8378 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8384 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierValue() {
8385 if (instanceIdentifierValueBuilder_ == null) {
8386 return instanceIdentifierValue_;
8388 return instanceIdentifierValueBuilder_.getMessage();
8392 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8398 public Builder setInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
8399 if (instanceIdentifierValueBuilder_ == null) {
8400 if (value == null) {
8401 throw new NullPointerException();
8403 instanceIdentifierValue_ = value;
8406 instanceIdentifierValueBuilder_.setMessage(value);
8408 bitField0_ |= 0x00000200;
8412 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8418 public Builder setInstanceIdentifierValue(
8419 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
8420 if (instanceIdentifierValueBuilder_ == null) {
8421 instanceIdentifierValue_ = builderForValue.build();
8424 instanceIdentifierValueBuilder_.setMessage(builderForValue.build());
8426 bitField0_ |= 0x00000200;
8430 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8436 public Builder mergeInstanceIdentifierValue(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
8437 if (instanceIdentifierValueBuilder_ == null) {
8438 if (((bitField0_ & 0x00000200) == 0x00000200) &&
8439 instanceIdentifierValue_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
8440 instanceIdentifierValue_ =
8441 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierValue_).mergeFrom(value).buildPartial();
8443 instanceIdentifierValue_ = value;
8447 instanceIdentifierValueBuilder_.mergeFrom(value);
8449 bitField0_ |= 0x00000200;
8453 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8459 public Builder clearInstanceIdentifierValue() {
8460 if (instanceIdentifierValueBuilder_ == null) {
8461 instanceIdentifierValue_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
8464 instanceIdentifierValueBuilder_.clear();
8466 bitField0_ = (bitField0_ & ~0x00000200);
8470 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8476 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierValueBuilder() {
8477 bitField0_ |= 0x00000200;
8479 return getInstanceIdentifierValueFieldBuilder().getBuilder();
8482 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8488 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierValueOrBuilder() {
8489 if (instanceIdentifierValueBuilder_ != null) {
8490 return instanceIdentifierValueBuilder_.getMessageOrBuilder();
8492 return instanceIdentifierValue_;
8496 * <code>optional .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierValue = 10;</code>
8502 private com.google.protobuf.SingleFieldBuilder<
8503 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>
8504 getInstanceIdentifierValueFieldBuilder() {
8505 if (instanceIdentifierValueBuilder_ == null) {
8506 instanceIdentifierValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8507 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>(
8508 instanceIdentifierValue_,
8509 getParentForChildren(),
8511 instanceIdentifierValue_ = null;
8513 return instanceIdentifierValueBuilder_;
8516 // repeated string bitsValue = 11;
8517 private com.google.protobuf.LazyStringList bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8518 private void ensureBitsValueIsMutable() {
8519 if (!((bitField0_ & 0x00000400) == 0x00000400)) {
8520 bitsValue_ = new com.google.protobuf.LazyStringArrayList(bitsValue_);
8521 bitField0_ |= 0x00000400;
8525 * <code>repeated string bitsValue = 11;</code>
8528 * intValueType = Bits
8531 public java.util.List<java.lang.String>
8532 getBitsValueList() {
8533 return java.util.Collections.unmodifiableList(bitsValue_);
8536 * <code>repeated string bitsValue = 11;</code>
8539 * intValueType = Bits
8542 public int getBitsValueCount() {
8543 return bitsValue_.size();
8546 * <code>repeated string bitsValue = 11;</code>
8549 * intValueType = Bits
8552 public java.lang.String getBitsValue(int index) {
8553 return bitsValue_.get(index);
8556 * <code>repeated string bitsValue = 11;</code>
8559 * intValueType = Bits
8562 public com.google.protobuf.ByteString
8563 getBitsValueBytes(int index) {
8564 return bitsValue_.getByteString(index);
8567 * <code>repeated string bitsValue = 11;</code>
8570 * intValueType = Bits
8573 public Builder setBitsValue(
8574 int index, java.lang.String value) {
8575 if (value == null) {
8576 throw new NullPointerException();
8578 ensureBitsValueIsMutable();
8579 bitsValue_.set(index, value);
8584 * <code>repeated string bitsValue = 11;</code>
8587 * intValueType = Bits
8590 public Builder addBitsValue(
8591 java.lang.String value) {
8592 if (value == null) {
8593 throw new NullPointerException();
8595 ensureBitsValueIsMutable();
8596 bitsValue_.add(value);
8601 * <code>repeated string bitsValue = 11;</code>
8604 * intValueType = Bits
8607 public Builder addAllBitsValue(
8608 java.lang.Iterable<java.lang.String> values) {
8609 ensureBitsValueIsMutable();
8610 super.addAll(values, bitsValue_);
8615 * <code>repeated string bitsValue = 11;</code>
8618 * intValueType = Bits
8621 public Builder clearBitsValue() {
8622 bitsValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8623 bitField0_ = (bitField0_ & ~0x00000400);
8628 * <code>repeated string bitsValue = 11;</code>
8631 * intValueType = Bits
8634 public Builder addBitsValueBytes(
8635 com.google.protobuf.ByteString value) {
8636 if (value == null) {
8637 throw new NullPointerException();
8639 ensureBitsValueIsMutable();
8640 bitsValue_.add(value);
8645 // repeated string code = 12;
8646 private com.google.protobuf.LazyStringList code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8647 private void ensureCodeIsMutable() {
8648 if (!((bitField0_ & 0x00000800) == 0x00000800)) {
8649 code_ = new com.google.protobuf.LazyStringArrayList(code_);
8650 bitField0_ |= 0x00000800;
8654 * <code>repeated string code = 12;</code>
8657 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8660 public java.util.List<java.lang.String>
8662 return java.util.Collections.unmodifiableList(code_);
8665 * <code>repeated string code = 12;</code>
8668 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8671 public int getCodeCount() {
8672 return code_.size();
8675 * <code>repeated string code = 12;</code>
8678 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8681 public java.lang.String getCode(int index) {
8682 return code_.get(index);
8685 * <code>repeated string code = 12;</code>
8688 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8691 public com.google.protobuf.ByteString
8692 getCodeBytes(int index) {
8693 return code_.getByteString(index);
8696 * <code>repeated string code = 12;</code>
8699 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8702 public Builder setCode(
8703 int index, java.lang.String value) {
8704 if (value == null) {
8705 throw new NullPointerException();
8707 ensureCodeIsMutable();
8708 code_.set(index, value);
8713 * <code>repeated string code = 12;</code>
8716 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8719 public Builder addCode(
8720 java.lang.String value) {
8721 if (value == null) {
8722 throw new NullPointerException();
8724 ensureCodeIsMutable();
8730 * <code>repeated string code = 12;</code>
8733 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8736 public Builder addAllCode(
8737 java.lang.Iterable<java.lang.String> values) {
8738 ensureCodeIsMutable();
8739 super.addAll(values, code_);
8744 * <code>repeated string code = 12;</code>
8747 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8750 public Builder clearCode() {
8751 code_ = com.google.protobuf.LazyStringArrayList.EMPTY;
8752 bitField0_ = (bitField0_ & ~0x00000800);
8757 * <code>repeated string code = 12;</code>
8760 * A list of string codes which can be used for any repeated strings in the NormalizedNode
8763 public Builder addCodeBytes(
8764 com.google.protobuf.ByteString value) {
8765 if (value == null) {
8766 throw new NullPointerException();
8768 ensureCodeIsMutable();
8774 // optional bytes bytesValue = 13;
8775 private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
8777 * <code>optional bytes bytesValue = 13;</code>
8779 public boolean hasBytesValue() {
8780 return ((bitField0_ & 0x00001000) == 0x00001000);
8783 * <code>optional bytes bytesValue = 13;</code>
8785 public com.google.protobuf.ByteString getBytesValue() {
8789 * <code>optional bytes bytesValue = 13;</code>
8791 public Builder setBytesValue(com.google.protobuf.ByteString value) {
8792 if (value == null) {
8793 throw new NullPointerException();
8795 bitField0_ |= 0x00001000;
8796 bytesValue_ = value;
8801 * <code>optional bytes bytesValue = 13;</code>
8803 public Builder clearBytesValue() {
8804 bitField0_ = (bitField0_ & ~0x00001000);
8805 bytesValue_ = getDefaultInstance().getBytesValue();
8810 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Node)
8814 defaultInstance = new Node(true);
8815 defaultInstance.initFields();
8818 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Node)
8821 public interface ContainerOrBuilder
8822 extends com.google.protobuf.MessageOrBuilder {
8824 // required string parentPath = 1;
8826 * <code>required string parentPath = 1;</code>
8828 boolean hasParentPath();
8830 * <code>required string parentPath = 1;</code>
8832 java.lang.String getParentPath();
8834 * <code>required string parentPath = 1;</code>
8836 com.google.protobuf.ByteString
8837 getParentPathBytes();
8839 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
8841 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8843 boolean hasNormalizedNode();
8845 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8847 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
8849 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
8851 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
8854 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
8856 public static final class Container extends
8857 com.google.protobuf.GeneratedMessage
8858 implements ContainerOrBuilder {
8859 // Use Container.newBuilder() to construct.
8860 private Container(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8862 this.unknownFields = builder.getUnknownFields();
8864 private Container(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
8866 private static final Container defaultInstance;
8867 public static Container getDefaultInstance() {
8868 return defaultInstance;
8871 public Container getDefaultInstanceForType() {
8872 return defaultInstance;
8875 private final com.google.protobuf.UnknownFieldSet unknownFields;
8877 public final com.google.protobuf.UnknownFieldSet
8878 getUnknownFields() {
8879 return this.unknownFields;
8882 com.google.protobuf.CodedInputStream input,
8883 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8884 throws com.google.protobuf.InvalidProtocolBufferException {
8886 int mutable_bitField0_ = 0;
8887 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
8888 com.google.protobuf.UnknownFieldSet.newBuilder();
8890 boolean done = false;
8892 int tag = input.readTag();
8898 if (!parseUnknownField(input, unknownFields,
8899 extensionRegistry, tag)) {
8905 bitField0_ |= 0x00000001;
8906 parentPath_ = input.readBytes();
8910 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
8911 if (((bitField0_ & 0x00000002) == 0x00000002)) {
8912 subBuilder = normalizedNode_.toBuilder();
8914 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
8915 if (subBuilder != null) {
8916 subBuilder.mergeFrom(normalizedNode_);
8917 normalizedNode_ = subBuilder.buildPartial();
8919 bitField0_ |= 0x00000002;
8924 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8925 throw e.setUnfinishedMessage(this);
8926 } catch (java.io.IOException e) {
8927 throw new com.google.protobuf.InvalidProtocolBufferException(
8928 e.getMessage()).setUnfinishedMessage(this);
8930 this.unknownFields = unknownFields.build();
8931 makeExtensionsImmutable();
8934 public static final com.google.protobuf.Descriptors.Descriptor
8936 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
8939 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8940 internalGetFieldAccessorTable() {
8941 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
8942 .ensureFieldAccessorsInitialized(
8943 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
8946 public static com.google.protobuf.Parser<Container> PARSER =
8947 new com.google.protobuf.AbstractParser<Container>() {
8948 public Container parsePartialFrom(
8949 com.google.protobuf.CodedInputStream input,
8950 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8951 throws com.google.protobuf.InvalidProtocolBufferException {
8952 return new Container(input, extensionRegistry);
8957 public com.google.protobuf.Parser<Container> getParserForType() {
8961 private int bitField0_;
8962 // required string parentPath = 1;
8963 public static final int PARENTPATH_FIELD_NUMBER = 1;
8964 private java.lang.Object parentPath_;
8966 * <code>required string parentPath = 1;</code>
8968 public boolean hasParentPath() {
8969 return ((bitField0_ & 0x00000001) == 0x00000001);
8972 * <code>required string parentPath = 1;</code>
8974 public java.lang.String getParentPath() {
8975 java.lang.Object ref = parentPath_;
8976 if (ref instanceof java.lang.String) {
8977 return (java.lang.String) ref;
8979 com.google.protobuf.ByteString bs =
8980 (com.google.protobuf.ByteString) ref;
8981 java.lang.String s = bs.toStringUtf8();
8982 if (bs.isValidUtf8()) {
8989 * <code>required string parentPath = 1;</code>
8991 public com.google.protobuf.ByteString
8992 getParentPathBytes() {
8993 java.lang.Object ref = parentPath_;
8994 if (ref instanceof java.lang.String) {
8995 com.google.protobuf.ByteString b =
8996 com.google.protobuf.ByteString.copyFromUtf8(
8997 (java.lang.String) ref);
9001 return (com.google.protobuf.ByteString) ref;
9005 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9006 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
9007 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
9009 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9011 public boolean hasNormalizedNode() {
9012 return ((bitField0_ & 0x00000002) == 0x00000002);
9015 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9017 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9018 return normalizedNode_;
9021 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9023 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9024 return normalizedNode_;
9027 private void initFields() {
9029 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9031 private byte memoizedIsInitialized = -1;
9032 public final boolean isInitialized() {
9033 byte isInitialized = memoizedIsInitialized;
9034 if (isInitialized != -1) return isInitialized == 1;
9036 if (!hasParentPath()) {
9037 memoizedIsInitialized = 0;
9040 if (hasNormalizedNode()) {
9041 if (!getNormalizedNode().isInitialized()) {
9042 memoizedIsInitialized = 0;
9046 memoizedIsInitialized = 1;
9050 public void writeTo(com.google.protobuf.CodedOutputStream output)
9051 throws java.io.IOException {
9052 getSerializedSize();
9053 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9054 output.writeBytes(1, getParentPathBytes());
9056 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9057 output.writeMessage(2, normalizedNode_);
9059 getUnknownFields().writeTo(output);
9062 private int memoizedSerializedSize = -1;
9063 public int getSerializedSize() {
9064 int size = memoizedSerializedSize;
9065 if (size != -1) return size;
9068 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9069 size += com.google.protobuf.CodedOutputStream
9070 .computeBytesSize(1, getParentPathBytes());
9072 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9073 size += com.google.protobuf.CodedOutputStream
9074 .computeMessageSize(2, normalizedNode_);
9076 size += getUnknownFields().getSerializedSize();
9077 memoizedSerializedSize = size;
9081 private static final long serialVersionUID = 0L;
9083 protected java.lang.Object writeReplace()
9084 throws java.io.ObjectStreamException {
9085 return super.writeReplace();
9088 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
9089 com.google.protobuf.ByteString data)
9090 throws com.google.protobuf.InvalidProtocolBufferException {
9091 return PARSER.parseFrom(data);
9093 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
9094 com.google.protobuf.ByteString data,
9095 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9096 throws com.google.protobuf.InvalidProtocolBufferException {
9097 return PARSER.parseFrom(data, extensionRegistry);
9099 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(byte[] data)
9100 throws com.google.protobuf.InvalidProtocolBufferException {
9101 return PARSER.parseFrom(data);
9103 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
9105 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9106 throws com.google.protobuf.InvalidProtocolBufferException {
9107 return PARSER.parseFrom(data, extensionRegistry);
9109 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(java.io.InputStream input)
9110 throws java.io.IOException {
9111 return PARSER.parseFrom(input);
9113 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
9114 java.io.InputStream input,
9115 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9116 throws java.io.IOException {
9117 return PARSER.parseFrom(input, extensionRegistry);
9119 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(java.io.InputStream input)
9120 throws java.io.IOException {
9121 return PARSER.parseDelimitedFrom(input);
9123 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseDelimitedFrom(
9124 java.io.InputStream input,
9125 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9126 throws java.io.IOException {
9127 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9129 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
9130 com.google.protobuf.CodedInputStream input)
9131 throws java.io.IOException {
9132 return PARSER.parseFrom(input);
9134 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parseFrom(
9135 com.google.protobuf.CodedInputStream input,
9136 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9137 throws java.io.IOException {
9138 return PARSER.parseFrom(input, extensionRegistry);
9141 public static Builder newBuilder() { return Builder.create(); }
9142 public Builder newBuilderForType() { return newBuilder(); }
9143 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container prototype) {
9144 return newBuilder().mergeFrom(prototype);
9146 public Builder toBuilder() { return newBuilder(this); }
9149 protected Builder newBuilderForType(
9150 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9151 Builder builder = new Builder(parent);
9155 * Protobuf type {@code org.opendaylight.controller.mdsal.Container}
9157 public static final class Builder extends
9158 com.google.protobuf.GeneratedMessage.Builder<Builder>
9159 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.ContainerOrBuilder {
9160 public static final com.google.protobuf.Descriptors.Descriptor
9162 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
9165 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9166 internalGetFieldAccessorTable() {
9167 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable
9168 .ensureFieldAccessorsInitialized(
9169 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.Builder.class);
9172 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.newBuilder()
9174 maybeForceBuilderInitialization();
9178 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9180 maybeForceBuilderInitialization();
9182 private void maybeForceBuilderInitialization() {
9183 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9184 getNormalizedNodeFieldBuilder();
9187 private static Builder create() {
9188 return new Builder();
9191 public Builder clear() {
9194 bitField0_ = (bitField0_ & ~0x00000001);
9195 if (normalizedNodeBuilder_ == null) {
9196 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9198 normalizedNodeBuilder_.clear();
9200 bitField0_ = (bitField0_ & ~0x00000002);
9204 public Builder clone() {
9205 return create().mergeFrom(buildPartial());
9208 public com.google.protobuf.Descriptors.Descriptor
9209 getDescriptorForType() {
9210 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
9213 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container getDefaultInstanceForType() {
9214 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance();
9217 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container build() {
9218 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = buildPartial();
9219 if (!result.isInitialized()) {
9220 throw newUninitializedMessageException(result);
9225 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container buildPartial() {
9226 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container(this);
9227 int from_bitField0_ = bitField0_;
9228 int to_bitField0_ = 0;
9229 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
9230 to_bitField0_ |= 0x00000001;
9232 result.parentPath_ = parentPath_;
9233 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
9234 to_bitField0_ |= 0x00000002;
9236 if (normalizedNodeBuilder_ == null) {
9237 result.normalizedNode_ = normalizedNode_;
9239 result.normalizedNode_ = normalizedNodeBuilder_.build();
9241 result.bitField0_ = to_bitField0_;
9246 public Builder mergeFrom(com.google.protobuf.Message other) {
9247 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) {
9248 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container)other);
9250 super.mergeFrom(other);
9255 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container other) {
9256 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container.getDefaultInstance()) return this;
9257 if (other.hasParentPath()) {
9258 bitField0_ |= 0x00000001;
9259 parentPath_ = other.parentPath_;
9262 if (other.hasNormalizedNode()) {
9263 mergeNormalizedNode(other.getNormalizedNode());
9265 this.mergeUnknownFields(other.getUnknownFields());
9269 public final boolean isInitialized() {
9270 if (!hasParentPath()) {
9274 if (hasNormalizedNode()) {
9275 if (!getNormalizedNode().isInitialized()) {
9283 public Builder mergeFrom(
9284 com.google.protobuf.CodedInputStream input,
9285 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9286 throws java.io.IOException {
9287 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container parsedMessage = null;
9289 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
9290 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9291 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Container) e.getUnfinishedMessage();
9294 if (parsedMessage != null) {
9295 mergeFrom(parsedMessage);
9300 private int bitField0_;
9302 // required string parentPath = 1;
9303 private java.lang.Object parentPath_ = "";
9305 * <code>required string parentPath = 1;</code>
9307 public boolean hasParentPath() {
9308 return ((bitField0_ & 0x00000001) == 0x00000001);
9311 * <code>required string parentPath = 1;</code>
9313 public java.lang.String getParentPath() {
9314 java.lang.Object ref = parentPath_;
9315 if (!(ref instanceof java.lang.String)) {
9316 java.lang.String s = ((com.google.protobuf.ByteString) ref)
9321 return (java.lang.String) ref;
9325 * <code>required string parentPath = 1;</code>
9327 public com.google.protobuf.ByteString
9328 getParentPathBytes() {
9329 java.lang.Object ref = parentPath_;
9330 if (ref instanceof String) {
9331 com.google.protobuf.ByteString b =
9332 com.google.protobuf.ByteString.copyFromUtf8(
9333 (java.lang.String) ref);
9337 return (com.google.protobuf.ByteString) ref;
9341 * <code>required string parentPath = 1;</code>
9343 public Builder setParentPath(
9344 java.lang.String value) {
9345 if (value == null) {
9346 throw new NullPointerException();
9348 bitField0_ |= 0x00000001;
9349 parentPath_ = value;
9354 * <code>required string parentPath = 1;</code>
9356 public Builder clearParentPath() {
9357 bitField0_ = (bitField0_ & ~0x00000001);
9358 parentPath_ = getDefaultInstance().getParentPath();
9363 * <code>required string parentPath = 1;</code>
9365 public Builder setParentPathBytes(
9366 com.google.protobuf.ByteString value) {
9367 if (value == null) {
9368 throw new NullPointerException();
9370 bitField0_ |= 0x00000001;
9371 parentPath_ = value;
9376 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9377 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9378 private com.google.protobuf.SingleFieldBuilder<
9379 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_;
9381 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9383 public boolean hasNormalizedNode() {
9384 return ((bitField0_ & 0x00000002) == 0x00000002);
9387 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9389 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9390 if (normalizedNodeBuilder_ == null) {
9391 return normalizedNode_;
9393 return normalizedNodeBuilder_.getMessage();
9397 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9399 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9400 if (normalizedNodeBuilder_ == null) {
9401 if (value == null) {
9402 throw new NullPointerException();
9404 normalizedNode_ = value;
9407 normalizedNodeBuilder_.setMessage(value);
9409 bitField0_ |= 0x00000002;
9413 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9415 public Builder setNormalizedNode(
9416 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
9417 if (normalizedNodeBuilder_ == null) {
9418 normalizedNode_ = builderForValue.build();
9421 normalizedNodeBuilder_.setMessage(builderForValue.build());
9423 bitField0_ |= 0x00000002;
9427 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9429 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
9430 if (normalizedNodeBuilder_ == null) {
9431 if (((bitField0_ & 0x00000002) == 0x00000002) &&
9432 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
9434 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
9436 normalizedNode_ = value;
9440 normalizedNodeBuilder_.mergeFrom(value);
9442 bitField0_ |= 0x00000002;
9446 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9448 public Builder clearNormalizedNode() {
9449 if (normalizedNodeBuilder_ == null) {
9450 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9453 normalizedNodeBuilder_.clear();
9455 bitField0_ = (bitField0_ & ~0x00000002);
9459 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9461 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
9462 bitField0_ |= 0x00000002;
9464 return getNormalizedNodeFieldBuilder().getBuilder();
9467 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9469 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9470 if (normalizedNodeBuilder_ != null) {
9471 return normalizedNodeBuilder_.getMessageOrBuilder();
9473 return normalizedNode_;
9477 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9479 private com.google.protobuf.SingleFieldBuilder<
9480 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>
9481 getNormalizedNodeFieldBuilder() {
9482 if (normalizedNodeBuilder_ == null) {
9483 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
9484 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>(
9486 getParentForChildren(),
9488 normalizedNode_ = null;
9490 return normalizedNodeBuilder_;
9493 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Container)
9497 defaultInstance = new Container(true);
9498 defaultInstance.initFields();
9501 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Container)
9504 public interface NodeMapEntryOrBuilder
9505 extends com.google.protobuf.MessageOrBuilder {
9507 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9509 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9511 boolean hasInstanceIdentifierPath();
9513 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9515 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath();
9517 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9519 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder();
9521 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9523 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9525 boolean hasNormalizedNode();
9527 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9529 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
9531 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9533 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
9536 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
9538 public static final class NodeMapEntry extends
9539 com.google.protobuf.GeneratedMessage
9540 implements NodeMapEntryOrBuilder {
9541 // Use NodeMapEntry.newBuilder() to construct.
9542 private NodeMapEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
9544 this.unknownFields = builder.getUnknownFields();
9546 private NodeMapEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
9548 private static final NodeMapEntry defaultInstance;
9549 public static NodeMapEntry getDefaultInstance() {
9550 return defaultInstance;
9553 public NodeMapEntry getDefaultInstanceForType() {
9554 return defaultInstance;
9557 private final com.google.protobuf.UnknownFieldSet unknownFields;
9559 public final com.google.protobuf.UnknownFieldSet
9560 getUnknownFields() {
9561 return this.unknownFields;
9563 private NodeMapEntry(
9564 com.google.protobuf.CodedInputStream input,
9565 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9566 throws com.google.protobuf.InvalidProtocolBufferException {
9568 int mutable_bitField0_ = 0;
9569 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
9570 com.google.protobuf.UnknownFieldSet.newBuilder();
9572 boolean done = false;
9574 int tag = input.readTag();
9580 if (!parseUnknownField(input, unknownFields,
9581 extensionRegistry, tag)) {
9587 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
9588 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9589 subBuilder = instanceIdentifierPath_.toBuilder();
9591 instanceIdentifierPath_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
9592 if (subBuilder != null) {
9593 subBuilder.mergeFrom(instanceIdentifierPath_);
9594 instanceIdentifierPath_ = subBuilder.buildPartial();
9596 bitField0_ |= 0x00000001;
9600 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
9601 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9602 subBuilder = normalizedNode_.toBuilder();
9604 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
9605 if (subBuilder != null) {
9606 subBuilder.mergeFrom(normalizedNode_);
9607 normalizedNode_ = subBuilder.buildPartial();
9609 bitField0_ |= 0x00000002;
9614 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9615 throw e.setUnfinishedMessage(this);
9616 } catch (java.io.IOException e) {
9617 throw new com.google.protobuf.InvalidProtocolBufferException(
9618 e.getMessage()).setUnfinishedMessage(this);
9620 this.unknownFields = unknownFields.build();
9621 makeExtensionsImmutable();
9624 public static final com.google.protobuf.Descriptors.Descriptor
9626 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9629 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9630 internalGetFieldAccessorTable() {
9631 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
9632 .ensureFieldAccessorsInitialized(
9633 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
9636 public static com.google.protobuf.Parser<NodeMapEntry> PARSER =
9637 new com.google.protobuf.AbstractParser<NodeMapEntry>() {
9638 public NodeMapEntry parsePartialFrom(
9639 com.google.protobuf.CodedInputStream input,
9640 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9641 throws com.google.protobuf.InvalidProtocolBufferException {
9642 return new NodeMapEntry(input, extensionRegistry);
9647 public com.google.protobuf.Parser<NodeMapEntry> getParserForType() {
9651 private int bitField0_;
9652 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9653 public static final int INSTANCEIDENTIFIERPATH_FIELD_NUMBER = 1;
9654 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_;
9656 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9658 public boolean hasInstanceIdentifierPath() {
9659 return ((bitField0_ & 0x00000001) == 0x00000001);
9662 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9664 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
9665 return instanceIdentifierPath_;
9668 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9670 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
9671 return instanceIdentifierPath_;
9674 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
9675 public static final int NORMALIZEDNODE_FIELD_NUMBER = 2;
9676 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
9678 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9680 public boolean hasNormalizedNode() {
9681 return ((bitField0_ & 0x00000002) == 0x00000002);
9684 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9686 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
9687 return normalizedNode_;
9690 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
9692 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
9693 return normalizedNode_;
9696 private void initFields() {
9697 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9698 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9700 private byte memoizedIsInitialized = -1;
9701 public final boolean isInitialized() {
9702 byte isInitialized = memoizedIsInitialized;
9703 if (isInitialized != -1) return isInitialized == 1;
9705 if (!hasInstanceIdentifierPath()) {
9706 memoizedIsInitialized = 0;
9709 if (!getInstanceIdentifierPath().isInitialized()) {
9710 memoizedIsInitialized = 0;
9713 if (hasNormalizedNode()) {
9714 if (!getNormalizedNode().isInitialized()) {
9715 memoizedIsInitialized = 0;
9719 memoizedIsInitialized = 1;
9723 public void writeTo(com.google.protobuf.CodedOutputStream output)
9724 throws java.io.IOException {
9725 getSerializedSize();
9726 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9727 output.writeMessage(1, instanceIdentifierPath_);
9729 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9730 output.writeMessage(2, normalizedNode_);
9732 getUnknownFields().writeTo(output);
9735 private int memoizedSerializedSize = -1;
9736 public int getSerializedSize() {
9737 int size = memoizedSerializedSize;
9738 if (size != -1) return size;
9741 if (((bitField0_ & 0x00000001) == 0x00000001)) {
9742 size += com.google.protobuf.CodedOutputStream
9743 .computeMessageSize(1, instanceIdentifierPath_);
9745 if (((bitField0_ & 0x00000002) == 0x00000002)) {
9746 size += com.google.protobuf.CodedOutputStream
9747 .computeMessageSize(2, normalizedNode_);
9749 size += getUnknownFields().getSerializedSize();
9750 memoizedSerializedSize = size;
9754 private static final long serialVersionUID = 0L;
9756 protected java.lang.Object writeReplace()
9757 throws java.io.ObjectStreamException {
9758 return super.writeReplace();
9761 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9762 com.google.protobuf.ByteString data)
9763 throws com.google.protobuf.InvalidProtocolBufferException {
9764 return PARSER.parseFrom(data);
9766 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9767 com.google.protobuf.ByteString data,
9768 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9769 throws com.google.protobuf.InvalidProtocolBufferException {
9770 return PARSER.parseFrom(data, extensionRegistry);
9772 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(byte[] data)
9773 throws com.google.protobuf.InvalidProtocolBufferException {
9774 return PARSER.parseFrom(data);
9776 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9778 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9779 throws com.google.protobuf.InvalidProtocolBufferException {
9780 return PARSER.parseFrom(data, extensionRegistry);
9782 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(java.io.InputStream input)
9783 throws java.io.IOException {
9784 return PARSER.parseFrom(input);
9786 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9787 java.io.InputStream input,
9788 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9789 throws java.io.IOException {
9790 return PARSER.parseFrom(input, extensionRegistry);
9792 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(java.io.InputStream input)
9793 throws java.io.IOException {
9794 return PARSER.parseDelimitedFrom(input);
9796 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseDelimitedFrom(
9797 java.io.InputStream input,
9798 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9799 throws java.io.IOException {
9800 return PARSER.parseDelimitedFrom(input, extensionRegistry);
9802 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9803 com.google.protobuf.CodedInputStream input)
9804 throws java.io.IOException {
9805 return PARSER.parseFrom(input);
9807 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parseFrom(
9808 com.google.protobuf.CodedInputStream input,
9809 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9810 throws java.io.IOException {
9811 return PARSER.parseFrom(input, extensionRegistry);
9814 public static Builder newBuilder() { return Builder.create(); }
9815 public Builder newBuilderForType() { return newBuilder(); }
9816 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry prototype) {
9817 return newBuilder().mergeFrom(prototype);
9819 public Builder toBuilder() { return newBuilder(this); }
9822 protected Builder newBuilderForType(
9823 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9824 Builder builder = new Builder(parent);
9828 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMapEntry}
9830 public static final class Builder extends
9831 com.google.protobuf.GeneratedMessage.Builder<Builder>
9832 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder {
9833 public static final com.google.protobuf.Descriptors.Descriptor
9835 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9838 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9839 internalGetFieldAccessorTable() {
9840 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable
9841 .ensureFieldAccessorsInitialized(
9842 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder.class);
9845 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.newBuilder()
9847 maybeForceBuilderInitialization();
9851 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9853 maybeForceBuilderInitialization();
9855 private void maybeForceBuilderInitialization() {
9856 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
9857 getInstanceIdentifierPathFieldBuilder();
9858 getNormalizedNodeFieldBuilder();
9861 private static Builder create() {
9862 return new Builder();
9865 public Builder clear() {
9867 if (instanceIdentifierPathBuilder_ == null) {
9868 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9870 instanceIdentifierPathBuilder_.clear();
9872 bitField0_ = (bitField0_ & ~0x00000001);
9873 if (normalizedNodeBuilder_ == null) {
9874 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
9876 normalizedNodeBuilder_.clear();
9878 bitField0_ = (bitField0_ & ~0x00000002);
9882 public Builder clone() {
9883 return create().mergeFrom(buildPartial());
9886 public com.google.protobuf.Descriptors.Descriptor
9887 getDescriptorForType() {
9888 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
9891 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getDefaultInstanceForType() {
9892 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance();
9895 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry build() {
9896 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = buildPartial();
9897 if (!result.isInitialized()) {
9898 throw newUninitializedMessageException(result);
9903 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry buildPartial() {
9904 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry(this);
9905 int from_bitField0_ = bitField0_;
9906 int to_bitField0_ = 0;
9907 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
9908 to_bitField0_ |= 0x00000001;
9910 if (instanceIdentifierPathBuilder_ == null) {
9911 result.instanceIdentifierPath_ = instanceIdentifierPath_;
9913 result.instanceIdentifierPath_ = instanceIdentifierPathBuilder_.build();
9915 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
9916 to_bitField0_ |= 0x00000002;
9918 if (normalizedNodeBuilder_ == null) {
9919 result.normalizedNode_ = normalizedNode_;
9921 result.normalizedNode_ = normalizedNodeBuilder_.build();
9923 result.bitField0_ = to_bitField0_;
9928 public Builder mergeFrom(com.google.protobuf.Message other) {
9929 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) {
9930 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry)other);
9932 super.mergeFrom(other);
9937 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry other) {
9938 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance()) return this;
9939 if (other.hasInstanceIdentifierPath()) {
9940 mergeInstanceIdentifierPath(other.getInstanceIdentifierPath());
9942 if (other.hasNormalizedNode()) {
9943 mergeNormalizedNode(other.getNormalizedNode());
9945 this.mergeUnknownFields(other.getUnknownFields());
9949 public final boolean isInitialized() {
9950 if (!hasInstanceIdentifierPath()) {
9954 if (!getInstanceIdentifierPath().isInitialized()) {
9958 if (hasNormalizedNode()) {
9959 if (!getNormalizedNode().isInitialized()) {
9967 public Builder mergeFrom(
9968 com.google.protobuf.CodedInputStream input,
9969 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9970 throws java.io.IOException {
9971 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry parsedMessage = null;
9973 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
9974 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9975 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry) e.getUnfinishedMessage();
9978 if (parsedMessage != null) {
9979 mergeFrom(parsedMessage);
9984 private int bitField0_;
9986 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;
9987 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
9988 private com.google.protobuf.SingleFieldBuilder<
9989 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_;
9991 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9993 public boolean hasInstanceIdentifierPath() {
9994 return ((bitField0_ & 0x00000001) == 0x00000001);
9997 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
9999 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPath() {
10000 if (instanceIdentifierPathBuilder_ == null) {
10001 return instanceIdentifierPath_;
10003 return instanceIdentifierPathBuilder_.getMessage();
10007 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10009 public Builder setInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
10010 if (instanceIdentifierPathBuilder_ == null) {
10011 if (value == null) {
10012 throw new NullPointerException();
10014 instanceIdentifierPath_ = value;
10017 instanceIdentifierPathBuilder_.setMessage(value);
10019 bitField0_ |= 0x00000001;
10023 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10025 public Builder setInstanceIdentifierPath(
10026 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
10027 if (instanceIdentifierPathBuilder_ == null) {
10028 instanceIdentifierPath_ = builderForValue.build();
10031 instanceIdentifierPathBuilder_.setMessage(builderForValue.build());
10033 bitField0_ |= 0x00000001;
10037 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10039 public Builder mergeInstanceIdentifierPath(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
10040 if (instanceIdentifierPathBuilder_ == null) {
10041 if (((bitField0_ & 0x00000001) == 0x00000001) &&
10042 instanceIdentifierPath_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
10043 instanceIdentifierPath_ =
10044 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPath_).mergeFrom(value).buildPartial();
10046 instanceIdentifierPath_ = value;
10050 instanceIdentifierPathBuilder_.mergeFrom(value);
10052 bitField0_ |= 0x00000001;
10056 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10058 public Builder clearInstanceIdentifierPath() {
10059 if (instanceIdentifierPathBuilder_ == null) {
10060 instanceIdentifierPath_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
10063 instanceIdentifierPathBuilder_.clear();
10065 bitField0_ = (bitField0_ & ~0x00000001);
10069 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10071 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathBuilder() {
10072 bitField0_ |= 0x00000001;
10074 return getInstanceIdentifierPathFieldBuilder().getBuilder();
10077 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10079 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathOrBuilder() {
10080 if (instanceIdentifierPathBuilder_ != null) {
10081 return instanceIdentifierPathBuilder_.getMessageOrBuilder();
10083 return instanceIdentifierPath_;
10087 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPath = 1;</code>
10089 private com.google.protobuf.SingleFieldBuilder<
10090 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>
10091 getInstanceIdentifierPathFieldBuilder() {
10092 if (instanceIdentifierPathBuilder_ == null) {
10093 instanceIdentifierPathBuilder_ = new com.google.protobuf.SingleFieldBuilder<
10094 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>(
10095 instanceIdentifierPath_,
10096 getParentForChildren(),
10098 instanceIdentifierPath_ = null;
10100 return instanceIdentifierPathBuilder_;
10103 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;
10104 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
10105 private com.google.protobuf.SingleFieldBuilder<
10106 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_;
10108 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10110 public boolean hasNormalizedNode() {
10111 return ((bitField0_ & 0x00000002) == 0x00000002);
10114 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10116 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
10117 if (normalizedNodeBuilder_ == null) {
10118 return normalizedNode_;
10120 return normalizedNodeBuilder_.getMessage();
10124 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10126 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
10127 if (normalizedNodeBuilder_ == null) {
10128 if (value == null) {
10129 throw new NullPointerException();
10131 normalizedNode_ = value;
10134 normalizedNodeBuilder_.setMessage(value);
10136 bitField0_ |= 0x00000002;
10140 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10142 public Builder setNormalizedNode(
10143 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
10144 if (normalizedNodeBuilder_ == null) {
10145 normalizedNode_ = builderForValue.build();
10148 normalizedNodeBuilder_.setMessage(builderForValue.build());
10150 bitField0_ |= 0x00000002;
10154 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10156 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
10157 if (normalizedNodeBuilder_ == null) {
10158 if (((bitField0_ & 0x00000002) == 0x00000002) &&
10159 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
10161 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
10163 normalizedNode_ = value;
10167 normalizedNodeBuilder_.mergeFrom(value);
10169 bitField0_ |= 0x00000002;
10173 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10175 public Builder clearNormalizedNode() {
10176 if (normalizedNodeBuilder_ == null) {
10177 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
10180 normalizedNodeBuilder_.clear();
10182 bitField0_ = (bitField0_ & ~0x00000002);
10186 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10188 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
10189 bitField0_ |= 0x00000002;
10191 return getNormalizedNodeFieldBuilder().getBuilder();
10194 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10196 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
10197 if (normalizedNodeBuilder_ != null) {
10198 return normalizedNodeBuilder_.getMessageOrBuilder();
10200 return normalizedNode_;
10204 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 2;</code>
10206 private com.google.protobuf.SingleFieldBuilder<
10207 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>
10208 getNormalizedNodeFieldBuilder() {
10209 if (normalizedNodeBuilder_ == null) {
10210 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
10211 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>(
10213 getParentForChildren(),
10215 normalizedNode_ = null;
10217 return normalizedNodeBuilder_;
10220 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
10224 defaultInstance = new NodeMapEntry(true);
10225 defaultInstance.initFields();
10228 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMapEntry)
10231 public interface NodeMapOrBuilder
10232 extends com.google.protobuf.MessageOrBuilder {
10234 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
10236 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10238 java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>
10239 getMapEntriesList();
10241 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10243 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index);
10245 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10247 int getMapEntriesCount();
10249 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10251 java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
10252 getMapEntriesOrBuilderList();
10254 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10256 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
10260 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
10262 public static final class NodeMap extends
10263 com.google.protobuf.GeneratedMessage
10264 implements NodeMapOrBuilder {
10265 // Use NodeMap.newBuilder() to construct.
10266 private NodeMap(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
10268 this.unknownFields = builder.getUnknownFields();
10270 private NodeMap(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
10272 private static final NodeMap defaultInstance;
10273 public static NodeMap getDefaultInstance() {
10274 return defaultInstance;
10277 public NodeMap getDefaultInstanceForType() {
10278 return defaultInstance;
10281 private final com.google.protobuf.UnknownFieldSet unknownFields;
10282 @java.lang.Override
10283 public final com.google.protobuf.UnknownFieldSet
10284 getUnknownFields() {
10285 return this.unknownFields;
10288 com.google.protobuf.CodedInputStream input,
10289 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10290 throws com.google.protobuf.InvalidProtocolBufferException {
10292 int mutable_bitField0_ = 0;
10293 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
10294 com.google.protobuf.UnknownFieldSet.newBuilder();
10296 boolean done = false;
10298 int tag = input.readTag();
10304 if (!parseUnknownField(input, unknownFields,
10305 extensionRegistry, tag)) {
10311 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
10312 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>();
10313 mutable_bitField0_ |= 0x00000001;
10315 mapEntries_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.PARSER, extensionRegistry));
10320 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
10321 throw e.setUnfinishedMessage(this);
10322 } catch (java.io.IOException e) {
10323 throw new com.google.protobuf.InvalidProtocolBufferException(
10324 e.getMessage()).setUnfinishedMessage(this);
10326 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
10327 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
10329 this.unknownFields = unknownFields.build();
10330 makeExtensionsImmutable();
10333 public static final com.google.protobuf.Descriptors.Descriptor
10335 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
10338 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
10339 internalGetFieldAccessorTable() {
10340 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
10341 .ensureFieldAccessorsInitialized(
10342 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
10345 public static com.google.protobuf.Parser<NodeMap> PARSER =
10346 new com.google.protobuf.AbstractParser<NodeMap>() {
10347 public NodeMap parsePartialFrom(
10348 com.google.protobuf.CodedInputStream input,
10349 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10350 throws com.google.protobuf.InvalidProtocolBufferException {
10351 return new NodeMap(input, extensionRegistry);
10355 @java.lang.Override
10356 public com.google.protobuf.Parser<NodeMap> getParserForType() {
10360 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
10361 public static final int MAPENTRIES_FIELD_NUMBER = 1;
10362 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_;
10364 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10366 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
10367 return mapEntries_;
10370 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10372 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
10373 getMapEntriesOrBuilderList() {
10374 return mapEntries_;
10377 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10379 public int getMapEntriesCount() {
10380 return mapEntries_.size();
10383 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10385 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
10386 return mapEntries_.get(index);
10389 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10391 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
10393 return mapEntries_.get(index);
10396 private void initFields() {
10397 mapEntries_ = java.util.Collections.emptyList();
10399 private byte memoizedIsInitialized = -1;
10400 public final boolean isInitialized() {
10401 byte isInitialized = memoizedIsInitialized;
10402 if (isInitialized != -1) return isInitialized == 1;
10404 for (int i = 0; i < getMapEntriesCount(); i++) {
10405 if (!getMapEntries(i).isInitialized()) {
10406 memoizedIsInitialized = 0;
10410 memoizedIsInitialized = 1;
10414 public void writeTo(com.google.protobuf.CodedOutputStream output)
10415 throws java.io.IOException {
10416 getSerializedSize();
10417 for (int i = 0; i < mapEntries_.size(); i++) {
10418 output.writeMessage(1, mapEntries_.get(i));
10420 getUnknownFields().writeTo(output);
10423 private int memoizedSerializedSize = -1;
10424 public int getSerializedSize() {
10425 int size = memoizedSerializedSize;
10426 if (size != -1) return size;
10429 for (int i = 0; i < mapEntries_.size(); i++) {
10430 size += com.google.protobuf.CodedOutputStream
10431 .computeMessageSize(1, mapEntries_.get(i));
10433 size += getUnknownFields().getSerializedSize();
10434 memoizedSerializedSize = size;
10438 private static final long serialVersionUID = 0L;
10439 @java.lang.Override
10440 protected java.lang.Object writeReplace()
10441 throws java.io.ObjectStreamException {
10442 return super.writeReplace();
10445 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
10446 com.google.protobuf.ByteString data)
10447 throws com.google.protobuf.InvalidProtocolBufferException {
10448 return PARSER.parseFrom(data);
10450 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
10451 com.google.protobuf.ByteString data,
10452 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10453 throws com.google.protobuf.InvalidProtocolBufferException {
10454 return PARSER.parseFrom(data, extensionRegistry);
10456 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(byte[] data)
10457 throws com.google.protobuf.InvalidProtocolBufferException {
10458 return PARSER.parseFrom(data);
10460 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
10462 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10463 throws com.google.protobuf.InvalidProtocolBufferException {
10464 return PARSER.parseFrom(data, extensionRegistry);
10466 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(java.io.InputStream input)
10467 throws java.io.IOException {
10468 return PARSER.parseFrom(input);
10470 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
10471 java.io.InputStream input,
10472 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10473 throws java.io.IOException {
10474 return PARSER.parseFrom(input, extensionRegistry);
10476 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(java.io.InputStream input)
10477 throws java.io.IOException {
10478 return PARSER.parseDelimitedFrom(input);
10480 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseDelimitedFrom(
10481 java.io.InputStream input,
10482 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10483 throws java.io.IOException {
10484 return PARSER.parseDelimitedFrom(input, extensionRegistry);
10486 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
10487 com.google.protobuf.CodedInputStream input)
10488 throws java.io.IOException {
10489 return PARSER.parseFrom(input);
10491 public static org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parseFrom(
10492 com.google.protobuf.CodedInputStream input,
10493 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10494 throws java.io.IOException {
10495 return PARSER.parseFrom(input, extensionRegistry);
10498 public static Builder newBuilder() { return Builder.create(); }
10499 public Builder newBuilderForType() { return newBuilder(); }
10500 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap prototype) {
10501 return newBuilder().mergeFrom(prototype);
10503 public Builder toBuilder() { return newBuilder(this); }
10505 @java.lang.Override
10506 protected Builder newBuilderForType(
10507 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
10508 Builder builder = new Builder(parent);
10512 * Protobuf type {@code org.opendaylight.controller.mdsal.NodeMap}
10514 public static final class Builder extends
10515 com.google.protobuf.GeneratedMessage.Builder<Builder>
10516 implements org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapOrBuilder {
10517 public static final com.google.protobuf.Descriptors.Descriptor
10519 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
10522 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
10523 internalGetFieldAccessorTable() {
10524 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable
10525 .ensureFieldAccessorsInitialized(
10526 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.class, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.Builder.class);
10529 // Construct using org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.newBuilder()
10530 private Builder() {
10531 maybeForceBuilderInitialization();
10535 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
10537 maybeForceBuilderInitialization();
10539 private void maybeForceBuilderInitialization() {
10540 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
10541 getMapEntriesFieldBuilder();
10544 private static Builder create() {
10545 return new Builder();
10548 public Builder clear() {
10550 if (mapEntriesBuilder_ == null) {
10551 mapEntries_ = java.util.Collections.emptyList();
10552 bitField0_ = (bitField0_ & ~0x00000001);
10554 mapEntriesBuilder_.clear();
10559 public Builder clone() {
10560 return create().mergeFrom(buildPartial());
10563 public com.google.protobuf.Descriptors.Descriptor
10564 getDescriptorForType() {
10565 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
10568 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap getDefaultInstanceForType() {
10569 return org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance();
10572 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap build() {
10573 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = buildPartial();
10574 if (!result.isInitialized()) {
10575 throw newUninitializedMessageException(result);
10580 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap buildPartial() {
10581 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap result = new org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap(this);
10582 int from_bitField0_ = bitField0_;
10583 if (mapEntriesBuilder_ == null) {
10584 if (((bitField0_ & 0x00000001) == 0x00000001)) {
10585 mapEntries_ = java.util.Collections.unmodifiableList(mapEntries_);
10586 bitField0_ = (bitField0_ & ~0x00000001);
10588 result.mapEntries_ = mapEntries_;
10590 result.mapEntries_ = mapEntriesBuilder_.build();
10596 public Builder mergeFrom(com.google.protobuf.Message other) {
10597 if (other instanceof org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) {
10598 return mergeFrom((org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap)other);
10600 super.mergeFrom(other);
10605 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap other) {
10606 if (other == org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap.getDefaultInstance()) return this;
10607 if (mapEntriesBuilder_ == null) {
10608 if (!other.mapEntries_.isEmpty()) {
10609 if (mapEntries_.isEmpty()) {
10610 mapEntries_ = other.mapEntries_;
10611 bitField0_ = (bitField0_ & ~0x00000001);
10613 ensureMapEntriesIsMutable();
10614 mapEntries_.addAll(other.mapEntries_);
10619 if (!other.mapEntries_.isEmpty()) {
10620 if (mapEntriesBuilder_.isEmpty()) {
10621 mapEntriesBuilder_.dispose();
10622 mapEntriesBuilder_ = null;
10623 mapEntries_ = other.mapEntries_;
10624 bitField0_ = (bitField0_ & ~0x00000001);
10625 mapEntriesBuilder_ =
10626 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
10627 getMapEntriesFieldBuilder() : null;
10629 mapEntriesBuilder_.addAllMessages(other.mapEntries_);
10633 this.mergeUnknownFields(other.getUnknownFields());
10637 public final boolean isInitialized() {
10638 for (int i = 0; i < getMapEntriesCount(); i++) {
10639 if (!getMapEntries(i).isInitialized()) {
10647 public Builder mergeFrom(
10648 com.google.protobuf.CodedInputStream input,
10649 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10650 throws java.io.IOException {
10651 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap parsedMessage = null;
10653 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
10654 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
10655 parsedMessage = (org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMap) e.getUnfinishedMessage();
10658 if (parsedMessage != null) {
10659 mergeFrom(parsedMessage);
10664 private int bitField0_;
10666 // repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;
10667 private java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> mapEntries_ =
10668 java.util.Collections.emptyList();
10669 private void ensureMapEntriesIsMutable() {
10670 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
10671 mapEntries_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry>(mapEntries_);
10672 bitField0_ |= 0x00000001;
10676 private com.google.protobuf.RepeatedFieldBuilder<
10677 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_;
10680 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10682 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> getMapEntriesList() {
10683 if (mapEntriesBuilder_ == null) {
10684 return java.util.Collections.unmodifiableList(mapEntries_);
10686 return mapEntriesBuilder_.getMessageList();
10690 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10692 public int getMapEntriesCount() {
10693 if (mapEntriesBuilder_ == null) {
10694 return mapEntries_.size();
10696 return mapEntriesBuilder_.getCount();
10700 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10702 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry getMapEntries(int index) {
10703 if (mapEntriesBuilder_ == null) {
10704 return mapEntries_.get(index);
10706 return mapEntriesBuilder_.getMessage(index);
10710 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10712 public Builder setMapEntries(
10713 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10714 if (mapEntriesBuilder_ == null) {
10715 if (value == null) {
10716 throw new NullPointerException();
10718 ensureMapEntriesIsMutable();
10719 mapEntries_.set(index, value);
10722 mapEntriesBuilder_.setMessage(index, value);
10727 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10729 public Builder setMapEntries(
10730 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10731 if (mapEntriesBuilder_ == null) {
10732 ensureMapEntriesIsMutable();
10733 mapEntries_.set(index, builderForValue.build());
10736 mapEntriesBuilder_.setMessage(index, builderForValue.build());
10741 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10743 public Builder addMapEntries(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10744 if (mapEntriesBuilder_ == null) {
10745 if (value == null) {
10746 throw new NullPointerException();
10748 ensureMapEntriesIsMutable();
10749 mapEntries_.add(value);
10752 mapEntriesBuilder_.addMessage(value);
10757 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10759 public Builder addMapEntries(
10760 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry value) {
10761 if (mapEntriesBuilder_ == null) {
10762 if (value == null) {
10763 throw new NullPointerException();
10765 ensureMapEntriesIsMutable();
10766 mapEntries_.add(index, value);
10769 mapEntriesBuilder_.addMessage(index, value);
10774 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10776 public Builder addMapEntries(
10777 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10778 if (mapEntriesBuilder_ == null) {
10779 ensureMapEntriesIsMutable();
10780 mapEntries_.add(builderForValue.build());
10783 mapEntriesBuilder_.addMessage(builderForValue.build());
10788 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10790 public Builder addMapEntries(
10791 int index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder builderForValue) {
10792 if (mapEntriesBuilder_ == null) {
10793 ensureMapEntriesIsMutable();
10794 mapEntries_.add(index, builderForValue.build());
10797 mapEntriesBuilder_.addMessage(index, builderForValue.build());
10802 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10804 public Builder addAllMapEntries(
10805 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry> values) {
10806 if (mapEntriesBuilder_ == null) {
10807 ensureMapEntriesIsMutable();
10808 super.addAll(values, mapEntries_);
10811 mapEntriesBuilder_.addAllMessages(values);
10816 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10818 public Builder clearMapEntries() {
10819 if (mapEntriesBuilder_ == null) {
10820 mapEntries_ = java.util.Collections.emptyList();
10821 bitField0_ = (bitField0_ & ~0x00000001);
10824 mapEntriesBuilder_.clear();
10829 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10831 public Builder removeMapEntries(int index) {
10832 if (mapEntriesBuilder_ == null) {
10833 ensureMapEntriesIsMutable();
10834 mapEntries_.remove(index);
10837 mapEntriesBuilder_.remove(index);
10842 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10844 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder getMapEntriesBuilder(
10846 return getMapEntriesFieldBuilder().getBuilder(index);
10849 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10851 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder getMapEntriesOrBuilder(
10853 if (mapEntriesBuilder_ == null) {
10854 return mapEntries_.get(index); } else {
10855 return mapEntriesBuilder_.getMessageOrBuilder(index);
10859 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10861 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntryOrBuilder>
10862 getMapEntriesOrBuilderList() {
10863 if (mapEntriesBuilder_ != null) {
10864 return mapEntriesBuilder_.getMessageOrBuilderList();
10866 return java.util.Collections.unmodifiableList(mapEntries_);
10870 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10872 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder() {
10873 return getMapEntriesFieldBuilder().addBuilder(
10874 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
10877 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10879 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder addMapEntriesBuilder(
10881 return getMapEntriesFieldBuilder().addBuilder(
10882 index, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.getDefaultInstance());
10885 * <code>repeated .org.opendaylight.controller.mdsal.NodeMapEntry mapEntries = 1;</code>
10887 public java.util.List<org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeMapEntry.Builder>
10888 getMapEntriesBuilderList() {
10889 return getMapEntriesFieldBuilder().getBuilderList();
10891 private com.google.protobuf.RepeatedFieldBuilder<
10892 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>
10893 getMapEntriesFieldBuilder() {
10894 if (mapEntriesBuilder_ == null) {
10895 mapEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
10896 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>(
10898 ((bitField0_ & 0x00000001) == 0x00000001),
10899 getParentForChildren(),
10901 mapEntries_ = null;
10903 return mapEntriesBuilder_;
10906 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NodeMap)
10910 defaultInstance = new NodeMap(true);
10911 defaultInstance.initFields();
10914 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NodeMap)
10917 private static com.google.protobuf.Descriptors.Descriptor
10918 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor;
10920 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10921 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable;
10922 private static com.google.protobuf.Descriptors.Descriptor
10923 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor;
10925 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10926 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable;
10927 private static com.google.protobuf.Descriptors.Descriptor
10928 internal_static_org_opendaylight_controller_mdsal_QName_descriptor;
10930 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10931 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable;
10932 private static com.google.protobuf.Descriptors.Descriptor
10933 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor;
10935 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10936 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable;
10937 private static com.google.protobuf.Descriptors.Descriptor
10938 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor;
10940 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10941 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable;
10942 private static com.google.protobuf.Descriptors.Descriptor
10943 internal_static_org_opendaylight_controller_mdsal_Node_descriptor;
10945 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10946 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable;
10947 private static com.google.protobuf.Descriptors.Descriptor
10948 internal_static_org_opendaylight_controller_mdsal_Container_descriptor;
10950 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10951 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable;
10952 private static com.google.protobuf.Descriptors.Descriptor
10953 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor;
10955 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10956 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable;
10957 private static com.google.protobuf.Descriptors.Descriptor
10958 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor;
10960 com.google.protobuf.GeneratedMessage.FieldAccessorTable
10961 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable;
10963 public static com.google.protobuf.Descriptors.FileDescriptor
10967 private static com.google.protobuf.Descriptors.FileDescriptor
10970 java.lang.String[] descriptorData = {
10971 "\n\014Common.proto\022!org.opendaylight.control" +
10972 "ler.mdsal\"6\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n\005" +
10973 "value\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\"\353\001\n\025PathArgume" +
10974 "ntAttribute\0226\n\004name\030\001 \001(\0132(.org.opendayl" +
10975 "ight.controller.mdsal.QName\022\r\n\005value\030\002 \001" +
10976 "(\t\022\014\n\004type\030\003 \001(\005\022V\n\027instanceIdentifierVa" +
10977 "lue\030\004 \001(\01325.org.opendaylight.controller." +
10978 "mdsal.InstanceIdentifier\022\021\n\tbitsValue\030\005 " +
10979 "\003(\t\022\022\n\nbytesValue\030\006 \001(\014\"N\n\005QName\022\r\n\005valu" +
10980 "e\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\005\022\020\n\010revision\030\003",
10981 " \001(\005\022\021\n\tlocalName\030\004 \001(\005\"\207\002\n\014PathArgument" +
10982 "\022\r\n\005value\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022:\n\010nodeTyp" +
10983 "e\030\003 \001(\0132(.org.opendaylight.controller.md" +
10984 "sal.QName\022K\n\tattribute\030\004 \003(\01328.org.opend" +
10985 "aylight.controller.mdsal.PathArgumentAtt" +
10986 "ribute\022@\n\nattributes\030\005 \003(\0132,.org.openday" +
10987 "light.controller.mdsal.Attribute\022\017\n\007intT" +
10988 "ype\030\006 \001(\005\"f\n\022InstanceIdentifier\022B\n\targum" +
10989 "ents\030\001 \003(\0132/.org.opendaylight.controller" +
10990 ".mdsal.PathArgument\022\014\n\004code\030\002 \003(\t\"\271\003\n\004No",
10991 "de\022\014\n\004path\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022E\n\014pathAr" +
10992 "gument\030\003 \001(\0132/.org.opendaylight.controll" +
10993 "er.mdsal.PathArgument\022\017\n\007intType\030\004 \001(\005\022@" +
10994 "\n\nattributes\030\005 \003(\0132,.org.opendaylight.co" +
10995 "ntroller.mdsal.Attribute\0226\n\005child\030\006 \003(\0132" +
10996 "\'.org.opendaylight.controller.mdsal.Node" +
10997 "\022\r\n\005value\030\007 \001(\t\022\021\n\tvalueType\030\010 \001(\t\022\024\n\014in" +
10998 "tValueType\030\t \001(\005\022V\n\027instanceIdentifierVa" +
10999 "lue\030\n \001(\01325.org.opendaylight.controller." +
11000 "mdsal.InstanceIdentifier\022\021\n\tbitsValue\030\013 ",
11001 "\003(\t\022\014\n\004code\030\014 \003(\t\022\022\n\nbytesValue\030\r \001(\014\"`\n" +
11002 "\tContainer\022\022\n\nparentPath\030\001 \002(\t\022?\n\016normal" +
11003 "izedNode\030\002 \001(\0132\'.org.opendaylight.contro" +
11004 "ller.mdsal.Node\"\246\001\n\014NodeMapEntry\022U\n\026inst" +
11005 "anceIdentifierPath\030\001 \002(\01325.org.opendayli" +
11006 "ght.controller.mdsal.InstanceIdentifier\022" +
11007 "?\n\016normalizedNode\030\002 \001(\0132\'.org.opendaylig" +
11008 "ht.controller.mdsal.Node\"N\n\007NodeMap\022C\n\nm" +
11009 "apEntries\030\001 \003(\0132/.org.opendaylight.contr" +
11010 "oller.mdsal.NodeMapEntryBO\n5org.opendayl",
11011 "ight.controller.protobuff.messages.commo" +
11012 "nB\026NormalizedNodeMessages"
11014 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
11015 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
11016 public com.google.protobuf.ExtensionRegistry assignDescriptors(
11017 com.google.protobuf.Descriptors.FileDescriptor root) {
11019 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor =
11020 getDescriptor().getMessageTypes().get(0);
11021 internal_static_org_opendaylight_controller_mdsal_Attribute_fieldAccessorTable = new
11022 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11023 internal_static_org_opendaylight_controller_mdsal_Attribute_descriptor,
11024 new java.lang.String[] { "Name", "Value", "Type", });
11025 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor =
11026 getDescriptor().getMessageTypes().get(1);
11027 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_fieldAccessorTable = new
11028 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11029 internal_static_org_opendaylight_controller_mdsal_PathArgumentAttribute_descriptor,
11030 new java.lang.String[] { "Name", "Value", "Type", "InstanceIdentifierValue", "BitsValue", "BytesValue", });
11031 internal_static_org_opendaylight_controller_mdsal_QName_descriptor =
11032 getDescriptor().getMessageTypes().get(2);
11033 internal_static_org_opendaylight_controller_mdsal_QName_fieldAccessorTable = new
11034 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11035 internal_static_org_opendaylight_controller_mdsal_QName_descriptor,
11036 new java.lang.String[] { "Value", "Namespace", "Revision", "LocalName", });
11037 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor =
11038 getDescriptor().getMessageTypes().get(3);
11039 internal_static_org_opendaylight_controller_mdsal_PathArgument_fieldAccessorTable = new
11040 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11041 internal_static_org_opendaylight_controller_mdsal_PathArgument_descriptor,
11042 new java.lang.String[] { "Value", "Type", "NodeType", "Attribute", "Attributes", "IntType", });
11043 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor =
11044 getDescriptor().getMessageTypes().get(4);
11045 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_fieldAccessorTable = new
11046 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11047 internal_static_org_opendaylight_controller_mdsal_InstanceIdentifier_descriptor,
11048 new java.lang.String[] { "Arguments", "Code", });
11049 internal_static_org_opendaylight_controller_mdsal_Node_descriptor =
11050 getDescriptor().getMessageTypes().get(5);
11051 internal_static_org_opendaylight_controller_mdsal_Node_fieldAccessorTable = new
11052 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11053 internal_static_org_opendaylight_controller_mdsal_Node_descriptor,
11054 new java.lang.String[] { "Path", "Type", "PathArgument", "IntType", "Attributes", "Child", "Value", "ValueType", "IntValueType", "InstanceIdentifierValue", "BitsValue", "Code", "BytesValue", });
11055 internal_static_org_opendaylight_controller_mdsal_Container_descriptor =
11056 getDescriptor().getMessageTypes().get(6);
11057 internal_static_org_opendaylight_controller_mdsal_Container_fieldAccessorTable = new
11058 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11059 internal_static_org_opendaylight_controller_mdsal_Container_descriptor,
11060 new java.lang.String[] { "ParentPath", "NormalizedNode", });
11061 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor =
11062 getDescriptor().getMessageTypes().get(7);
11063 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_fieldAccessorTable = new
11064 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11065 internal_static_org_opendaylight_controller_mdsal_NodeMapEntry_descriptor,
11066 new java.lang.String[] { "InstanceIdentifierPath", "NormalizedNode", });
11067 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor =
11068 getDescriptor().getMessageTypes().get(8);
11069 internal_static_org_opendaylight_controller_mdsal_NodeMap_fieldAccessorTable = new
11070 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
11071 internal_static_org_opendaylight_controller_mdsal_NodeMap_descriptor,
11072 new java.lang.String[] { "MapEntries", });
11076 com.google.protobuf.Descriptors.FileDescriptor
11077 .internalBuildGeneratedFileFrom(descriptorData,
11078 new com.google.protobuf.Descriptors.FileDescriptor[] {
11082 // @@protoc_insertion_point(outer_class_scope)