1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: Persistent.proto
4 package org.opendaylight.controller.protobuff.messages.persistent;
6 public final class PersistentMessages {
7 private PersistentMessages() {
10 public static void registerAllExtensions(
11 com.google.protobuf.ExtensionRegistry registry) {
14 public interface ModificationOrBuilder
15 extends com.google.protobuf.MessageOrBuilder {
17 // required string type = 1;
20 * <code>required string type = 1;</code>
25 * <code>required string type = 1;</code>
27 java.lang.String getType();
30 * <code>required string type = 1;</code>
32 com.google.protobuf.ByteString
35 // required string path = 2;
38 * <code>required string path = 2;</code>
43 * <code>required string path = 2;</code>
45 java.lang.String getPath();
48 * <code>required string path = 2;</code>
50 com.google.protobuf.ByteString
53 // optional .org.opendaylight.controller.mdsal.Node data = 3;
56 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
61 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
63 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData();
66 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
68 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder();
73 * Protobuf type {@code org.opendaylight.controller.mdsal.Modification}
75 public static final class Modification extends
76 com.google.protobuf.GeneratedMessage
77 implements ModificationOrBuilder {
78 // Use Modification.newBuilder() to construct.
80 com.google.protobuf.GeneratedMessage.Builder<?> builder) {
82 this.unknownFields = builder.getUnknownFields();
85 private Modification(boolean noInit) {
87 com.google.protobuf.UnknownFieldSet.getDefaultInstance();
90 private static final Modification defaultInstance;
92 public static Modification getDefaultInstance() {
93 return defaultInstance;
96 public Modification getDefaultInstanceForType() {
97 return defaultInstance;
100 private final com.google.protobuf.UnknownFieldSet unknownFields;
103 public final com.google.protobuf.UnknownFieldSet
105 return this.unknownFields;
108 private Modification(
109 com.google.protobuf.CodedInputStream input,
110 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
111 throws com.google.protobuf.InvalidProtocolBufferException {
113 int mutable_bitField0_ = 0;
114 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
115 com.google.protobuf.UnknownFieldSet.newBuilder();
117 boolean done = false;
119 int tag = input.readTag();
125 if (!parseUnknownField(input, unknownFields,
126 extensionRegistry, tag)) {
132 bitField0_ |= 0x00000001;
133 type_ = input.readBytes();
137 bitField0_ |= 0x00000002;
138 path_ = input.readBytes();
142 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder
144 if (((bitField0_ & 0x00000004) == 0x00000004)) {
145 subBuilder = data_.toBuilder();
147 data_ = input.readMessage(
148 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER,
150 if (subBuilder != null) {
151 subBuilder.mergeFrom(data_);
152 data_ = subBuilder.buildPartial();
154 bitField0_ |= 0x00000004;
159 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
160 throw e.setUnfinishedMessage(this);
161 } catch (java.io.IOException e) {
162 throw new com.google.protobuf.InvalidProtocolBufferException(
163 e.getMessage()).setUnfinishedMessage(this);
165 this.unknownFields = unknownFields.build();
166 makeExtensionsImmutable();
170 public static final com.google.protobuf.Descriptors.Descriptor
172 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
175 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
176 internalGetFieldAccessorTable() {
177 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable
178 .ensureFieldAccessorsInitialized(
179 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.class,
180 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder.class);
183 public static com.google.protobuf.Parser<Modification> PARSER =
184 new com.google.protobuf.AbstractParser<Modification>() {
185 public Modification parsePartialFrom(
186 com.google.protobuf.CodedInputStream input,
187 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
188 throws com.google.protobuf.InvalidProtocolBufferException {
189 return new Modification(input, extensionRegistry);
194 public com.google.protobuf.Parser<Modification> getParserForType() {
198 private int bitField0_;
199 // required string type = 1;
200 public static final int TYPE_FIELD_NUMBER = 1;
201 private java.lang.Object type_;
204 * <code>required string type = 1;</code>
206 public boolean hasType() {
207 return ((bitField0_ & 0x00000001) == 0x00000001);
211 * <code>required string type = 1;</code>
213 public java.lang.String getType() {
214 java.lang.Object ref = type_;
215 if (ref instanceof java.lang.String) {
216 return (java.lang.String) ref;
218 com.google.protobuf.ByteString bs =
219 (com.google.protobuf.ByteString) ref;
220 java.lang.String s = bs.toStringUtf8();
221 if (bs.isValidUtf8()) {
229 * <code>required string type = 1;</code>
231 public com.google.protobuf.ByteString
233 java.lang.Object ref = type_;
234 if (ref instanceof java.lang.String) {
235 com.google.protobuf.ByteString b =
236 com.google.protobuf.ByteString.copyFromUtf8(
237 (java.lang.String) ref);
241 return (com.google.protobuf.ByteString) ref;
245 // required string path = 2;
246 public static final int PATH_FIELD_NUMBER = 2;
247 private java.lang.Object path_;
250 * <code>required string path = 2;</code>
252 public boolean hasPath() {
253 return ((bitField0_ & 0x00000002) == 0x00000002);
257 * <code>required string path = 2;</code>
259 public java.lang.String getPath() {
260 java.lang.Object ref = path_;
261 if (ref instanceof java.lang.String) {
262 return (java.lang.String) ref;
264 com.google.protobuf.ByteString bs =
265 (com.google.protobuf.ByteString) ref;
266 java.lang.String s = bs.toStringUtf8();
267 if (bs.isValidUtf8()) {
275 * <code>required string path = 2;</code>
277 public com.google.protobuf.ByteString
279 java.lang.Object ref = path_;
280 if (ref instanceof java.lang.String) {
281 com.google.protobuf.ByteString b =
282 com.google.protobuf.ByteString.copyFromUtf8(
283 (java.lang.String) ref);
287 return (com.google.protobuf.ByteString) ref;
291 // optional .org.opendaylight.controller.mdsal.Node data = 3;
292 public static final int DATA_FIELD_NUMBER = 3;
293 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
297 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
299 public boolean hasData() {
300 return ((bitField0_ & 0x00000004) == 0x00000004);
304 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
306 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData() {
311 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
313 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder() {
317 private void initFields() {
321 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
322 .getDefaultInstance();
325 private byte memoizedIsInitialized = -1;
327 public final boolean isInitialized() {
328 byte isInitialized = memoizedIsInitialized;
329 if (isInitialized != -1)
330 return isInitialized == 1;
333 memoizedIsInitialized = 0;
337 memoizedIsInitialized = 0;
341 if (!getData().isInitialized()) {
342 memoizedIsInitialized = 0;
346 memoizedIsInitialized = 1;
350 public void writeTo(com.google.protobuf.CodedOutputStream output)
351 throws java.io.IOException {
353 if (((bitField0_ & 0x00000001) == 0x00000001)) {
354 output.writeBytes(1, getTypeBytes());
356 if (((bitField0_ & 0x00000002) == 0x00000002)) {
357 output.writeBytes(2, getPathBytes());
359 if (((bitField0_ & 0x00000004) == 0x00000004)) {
360 output.writeMessage(3, data_);
362 getUnknownFields().writeTo(output);
365 private int memoizedSerializedSize = -1;
367 public int getSerializedSize() {
368 int size = memoizedSerializedSize;
373 if (((bitField0_ & 0x00000001) == 0x00000001)) {
374 size += com.google.protobuf.CodedOutputStream
375 .computeBytesSize(1, getTypeBytes());
377 if (((bitField0_ & 0x00000002) == 0x00000002)) {
378 size += com.google.protobuf.CodedOutputStream
379 .computeBytesSize(2, getPathBytes());
381 if (((bitField0_ & 0x00000004) == 0x00000004)) {
382 size += com.google.protobuf.CodedOutputStream
383 .computeMessageSize(3, data_);
385 size += getUnknownFields().getSerializedSize();
386 memoizedSerializedSize = size;
390 private static final long serialVersionUID = 0L;
393 protected java.lang.Object writeReplace()
394 throws java.io.ObjectStreamException {
395 return super.writeReplace();
398 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
399 com.google.protobuf.ByteString data)
400 throws com.google.protobuf.InvalidProtocolBufferException {
401 return PARSER.parseFrom(data);
404 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
405 com.google.protobuf.ByteString data,
406 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
407 throws com.google.protobuf.InvalidProtocolBufferException {
408 return PARSER.parseFrom(data, extensionRegistry);
411 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
413 throws com.google.protobuf.InvalidProtocolBufferException {
414 return PARSER.parseFrom(data);
417 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
419 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
420 throws com.google.protobuf.InvalidProtocolBufferException {
421 return PARSER.parseFrom(data, extensionRegistry);
424 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
425 java.io.InputStream input)
426 throws java.io.IOException {
427 return PARSER.parseFrom(input);
430 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
431 java.io.InputStream input,
432 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
433 throws java.io.IOException {
434 return PARSER.parseFrom(input, extensionRegistry);
437 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseDelimitedFrom(
438 java.io.InputStream input)
439 throws java.io.IOException {
440 return PARSER.parseDelimitedFrom(input);
443 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseDelimitedFrom(
444 java.io.InputStream input,
445 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
446 throws java.io.IOException {
447 return PARSER.parseDelimitedFrom(input, extensionRegistry);
450 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
451 com.google.protobuf.CodedInputStream input)
452 throws java.io.IOException {
453 return PARSER.parseFrom(input);
456 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
457 com.google.protobuf.CodedInputStream input,
458 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
459 throws java.io.IOException {
460 return PARSER.parseFrom(input, extensionRegistry);
463 public static Builder newBuilder() {
464 return Builder.create();
467 public Builder newBuilderForType() {
471 public static Builder newBuilder(
472 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification prototype) {
473 return newBuilder().mergeFrom(prototype);
476 public Builder toBuilder() {
477 return newBuilder(this);
481 protected Builder newBuilderForType(
482 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
483 Builder builder = new Builder(parent);
488 * Protobuf type {@code org.opendaylight.controller.mdsal.Modification}
490 public static final class Builder extends
491 com.google.protobuf.GeneratedMessage.Builder<Builder>
493 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder {
494 public static final com.google.protobuf.Descriptors.Descriptor
496 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
499 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
500 internalGetFieldAccessorTable() {
501 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable
502 .ensureFieldAccessorsInitialized(
503 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.class,
504 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder.class);
507 // Construct using org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.newBuilder()
509 maybeForceBuilderInitialization();
513 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
515 maybeForceBuilderInitialization();
518 private void maybeForceBuilderInitialization() {
519 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
520 getDataFieldBuilder();
524 private static Builder create() {
525 return new Builder();
528 public Builder clear() {
531 bitField0_ = (bitField0_ & ~0x00000001);
533 bitField0_ = (bitField0_ & ~0x00000002);
534 if (dataBuilder_ == null) {
536 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
537 .getDefaultInstance();
539 dataBuilder_.clear();
541 bitField0_ = (bitField0_ & ~0x00000004);
545 public Builder clone() {
546 return create().mergeFrom(buildPartial());
549 public com.google.protobuf.Descriptors.Descriptor
550 getDescriptorForType() {
551 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
554 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getDefaultInstanceForType() {
555 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
556 .getDefaultInstance();
559 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification build() {
560 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
561 result = buildPartial();
562 if (!result.isInitialized()) {
563 throw newUninitializedMessageException(result);
568 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification buildPartial() {
569 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
571 new org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification(
573 int from_bitField0_ = bitField0_;
574 int to_bitField0_ = 0;
575 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
576 to_bitField0_ |= 0x00000001;
578 result.type_ = type_;
579 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
580 to_bitField0_ |= 0x00000002;
582 result.path_ = path_;
583 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
584 to_bitField0_ |= 0x00000004;
586 if (dataBuilder_ == null) {
587 result.data_ = data_;
589 result.data_ = dataBuilder_.build();
591 result.bitField0_ = to_bitField0_;
596 public Builder mergeFrom(com.google.protobuf.Message other) {
597 if (other instanceof org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) {
599 (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) other);
601 super.mergeFrom(other);
606 public Builder mergeFrom(
607 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification other) {
609 == org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
610 .getDefaultInstance())
612 if (other.hasType()) {
613 bitField0_ |= 0x00000001;
617 if (other.hasPath()) {
618 bitField0_ |= 0x00000002;
622 if (other.hasData()) {
623 mergeData(other.getData());
625 this.mergeUnknownFields(other.getUnknownFields());
629 public final boolean isInitialized() {
639 if (!getData().isInitialized()) {
647 public Builder mergeFrom(
648 com.google.protobuf.CodedInputStream input,
649 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
650 throws java.io.IOException {
651 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
652 parsedMessage = null;
655 PARSER.parsePartialFrom(input, extensionRegistry);
656 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
658 (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) e
659 .getUnfinishedMessage();
662 if (parsedMessage != null) {
663 mergeFrom(parsedMessage);
669 private int bitField0_;
671 // required string type = 1;
672 private java.lang.Object type_ = "";
675 * <code>required string type = 1;</code>
677 public boolean hasType() {
678 return ((bitField0_ & 0x00000001) == 0x00000001);
682 * <code>required string type = 1;</code>
684 public java.lang.String getType() {
685 java.lang.Object ref = type_;
686 if (!(ref instanceof java.lang.String)) {
687 java.lang.String s = ((com.google.protobuf.ByteString) ref)
692 return (java.lang.String) ref;
697 * <code>required string type = 1;</code>
699 public com.google.protobuf.ByteString
701 java.lang.Object ref = type_;
702 if (ref instanceof String) {
703 com.google.protobuf.ByteString b =
704 com.google.protobuf.ByteString.copyFromUtf8(
705 (java.lang.String) ref);
709 return (com.google.protobuf.ByteString) ref;
714 * <code>required string type = 1;</code>
716 public Builder setType(
717 java.lang.String value) {
719 throw new NullPointerException();
721 bitField0_ |= 0x00000001;
728 * <code>required string type = 1;</code>
730 public Builder clearType() {
731 bitField0_ = (bitField0_ & ~0x00000001);
732 type_ = getDefaultInstance().getType();
738 * <code>required string type = 1;</code>
740 public Builder setTypeBytes(
741 com.google.protobuf.ByteString value) {
743 throw new NullPointerException();
745 bitField0_ |= 0x00000001;
751 // required string path = 2;
752 private java.lang.Object path_ = "";
755 * <code>required string path = 2;</code>
757 public boolean hasPath() {
758 return ((bitField0_ & 0x00000002) == 0x00000002);
762 * <code>required string path = 2;</code>
764 public java.lang.String getPath() {
765 java.lang.Object ref = path_;
766 if (!(ref instanceof java.lang.String)) {
767 java.lang.String s = ((com.google.protobuf.ByteString) ref)
772 return (java.lang.String) ref;
777 * <code>required string path = 2;</code>
779 public com.google.protobuf.ByteString
781 java.lang.Object ref = path_;
782 if (ref instanceof String) {
783 com.google.protobuf.ByteString b =
784 com.google.protobuf.ByteString.copyFromUtf8(
785 (java.lang.String) ref);
789 return (com.google.protobuf.ByteString) ref;
794 * <code>required string path = 2;</code>
796 public Builder setPath(
797 java.lang.String value) {
799 throw new NullPointerException();
801 bitField0_ |= 0x00000002;
808 * <code>required string path = 2;</code>
810 public Builder clearPath() {
811 bitField0_ = (bitField0_ & ~0x00000002);
812 path_ = getDefaultInstance().getPath();
818 * <code>required string path = 2;</code>
820 public Builder setPathBytes(
821 com.google.protobuf.ByteString value) {
823 throw new NullPointerException();
825 bitField0_ |= 0x00000002;
831 // optional .org.opendaylight.controller.mdsal.Node data = 3;
832 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
834 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
835 .getDefaultInstance();
836 private com.google.protobuf.SingleFieldBuilder<
837 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>
841 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
843 public boolean hasData() {
844 return ((bitField0_ & 0x00000004) == 0x00000004);
848 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
850 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData() {
851 if (dataBuilder_ == null) {
854 return dataBuilder_.getMessage();
859 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
861 public Builder setData(
862 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
863 if (dataBuilder_ == null) {
865 throw new NullPointerException();
870 dataBuilder_.setMessage(value);
872 bitField0_ |= 0x00000004;
877 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
879 public Builder setData(
880 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
881 if (dataBuilder_ == null) {
882 data_ = builderForValue.build();
885 dataBuilder_.setMessage(builderForValue.build());
887 bitField0_ |= 0x00000004;
892 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
894 public Builder mergeData(
895 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
896 if (dataBuilder_ == null) {
897 if (((bitField0_ & 0x00000004) == 0x00000004) &&
899 != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
900 .getDefaultInstance()) {
902 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
903 .newBuilder(data_).mergeFrom(value)
910 dataBuilder_.mergeFrom(value);
912 bitField0_ |= 0x00000004;
917 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
919 public Builder clearData() {
920 if (dataBuilder_ == null) {
922 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node
923 .getDefaultInstance();
926 dataBuilder_.clear();
928 bitField0_ = (bitField0_ & ~0x00000004);
933 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
935 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getDataBuilder() {
936 bitField0_ |= 0x00000004;
938 return getDataFieldBuilder().getBuilder();
942 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
944 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder() {
945 if (dataBuilder_ != null) {
946 return dataBuilder_.getMessageOrBuilder();
953 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
955 private com.google.protobuf.SingleFieldBuilder<
956 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>
957 getDataFieldBuilder() {
958 if (dataBuilder_ == null) {
959 dataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
960 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>(
962 getParentForChildren(),
969 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Modification)
974 defaultInstance = new Modification(true);
975 defaultInstance.initFields();
978 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Modification)
982 public interface CompositeModificationOrBuilder
983 extends com.google.protobuf.MessageOrBuilder {
985 // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
988 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
990 java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>
991 getModificationList();
994 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
996 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(
1000 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1002 int getModificationCount();
1005 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1007 java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1008 getModificationOrBuilderList();
1011 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1013 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1019 * Protobuf type {@code org.opendaylight.controller.mdsal.CompositeModification}
1021 public static final class CompositeModification extends
1022 com.google.protobuf.GeneratedMessage
1023 implements CompositeModificationOrBuilder {
1024 // Use CompositeModification.newBuilder() to construct.
1025 private CompositeModification(
1026 com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1028 this.unknownFields = builder.getUnknownFields();
1031 private CompositeModification(boolean noInit) {
1032 this.unknownFields =
1033 com.google.protobuf.UnknownFieldSet.getDefaultInstance();
1036 private static final CompositeModification defaultInstance;
1038 public static CompositeModification getDefaultInstance() {
1039 return defaultInstance;
1042 public CompositeModification getDefaultInstanceForType() {
1043 return defaultInstance;
1046 private final com.google.protobuf.UnknownFieldSet unknownFields;
1049 public final com.google.protobuf.UnknownFieldSet
1050 getUnknownFields() {
1051 return this.unknownFields;
1054 private CompositeModification(
1055 com.google.protobuf.CodedInputStream input,
1056 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1057 throws com.google.protobuf.InvalidProtocolBufferException {
1059 int mutable_bitField0_ = 0;
1060 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1061 com.google.protobuf.UnknownFieldSet.newBuilder();
1063 boolean done = false;
1065 int tag = input.readTag();
1071 if (!parseUnknownField(input, unknownFields,
1072 extensionRegistry, tag)) {
1078 if (!((mutable_bitField0_ & 0x00000001)
1081 new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>();
1082 mutable_bitField0_ |= 0x00000001;
1084 modification_.add(input.readMessage(
1085 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.PARSER,
1086 extensionRegistry));
1091 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1092 throw e.setUnfinishedMessage(this);
1093 } catch (java.io.IOException e) {
1094 throw new com.google.protobuf.InvalidProtocolBufferException(
1095 e.getMessage()).setUnfinishedMessage(this);
1097 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1099 java.util.Collections.unmodifiableList(modification_);
1101 this.unknownFields = unknownFields.build();
1102 makeExtensionsImmutable();
1106 public static final com.google.protobuf.Descriptors.Descriptor
1108 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1111 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1112 internalGetFieldAccessorTable() {
1113 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable
1114 .ensureFieldAccessorsInitialized(
1115 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.class,
1116 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.Builder.class);
1119 public static com.google.protobuf.Parser<CompositeModification> PARSER =
1120 new com.google.protobuf.AbstractParser<CompositeModification>() {
1121 public CompositeModification parsePartialFrom(
1122 com.google.protobuf.CodedInputStream input,
1123 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1124 throws com.google.protobuf.InvalidProtocolBufferException {
1125 return new CompositeModification(input, extensionRegistry);
1130 public com.google.protobuf.Parser<CompositeModification> getParserForType() {
1134 // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
1135 public static final int MODIFICATION_FIELD_NUMBER = 1;
1136 private java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>
1140 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1142 public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> getModificationList() {
1143 return modification_;
1147 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1149 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1150 getModificationOrBuilderList() {
1151 return modification_;
1155 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1157 public int getModificationCount() {
1158 return modification_.size();
1162 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1164 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(
1166 return modification_.get(index);
1170 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1172 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1174 return modification_.get(index);
1177 private void initFields() {
1178 modification_ = java.util.Collections.emptyList();
1181 private byte memoizedIsInitialized = -1;
1183 public final boolean isInitialized() {
1184 byte isInitialized = memoizedIsInitialized;
1185 if (isInitialized != -1)
1186 return isInitialized == 1;
1188 for (int i = 0; i < getModificationCount(); i++) {
1189 if (!getModification(i).isInitialized()) {
1190 memoizedIsInitialized = 0;
1194 memoizedIsInitialized = 1;
1198 public void writeTo(com.google.protobuf.CodedOutputStream output)
1199 throws java.io.IOException {
1200 getSerializedSize();
1201 for (int i = 0; i < modification_.size(); i++) {
1202 output.writeMessage(1, modification_.get(i));
1204 getUnknownFields().writeTo(output);
1207 private int memoizedSerializedSize = -1;
1209 public int getSerializedSize() {
1210 int size = memoizedSerializedSize;
1215 for (int i = 0; i < modification_.size(); i++) {
1216 size += com.google.protobuf.CodedOutputStream
1217 .computeMessageSize(1, modification_.get(i));
1219 size += getUnknownFields().getSerializedSize();
1220 memoizedSerializedSize = size;
1224 private static final long serialVersionUID = 0L;
1227 protected java.lang.Object writeReplace()
1228 throws java.io.ObjectStreamException {
1229 return super.writeReplace();
1232 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1233 com.google.protobuf.ByteString data)
1234 throws com.google.protobuf.InvalidProtocolBufferException {
1235 return PARSER.parseFrom(data);
1238 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1239 com.google.protobuf.ByteString data,
1240 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1241 throws com.google.protobuf.InvalidProtocolBufferException {
1242 return PARSER.parseFrom(data, extensionRegistry);
1245 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1247 throws com.google.protobuf.InvalidProtocolBufferException {
1248 return PARSER.parseFrom(data);
1251 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1253 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1254 throws com.google.protobuf.InvalidProtocolBufferException {
1255 return PARSER.parseFrom(data, extensionRegistry);
1258 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1259 java.io.InputStream input)
1260 throws java.io.IOException {
1261 return PARSER.parseFrom(input);
1264 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1265 java.io.InputStream input,
1266 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1267 throws java.io.IOException {
1268 return PARSER.parseFrom(input, extensionRegistry);
1271 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseDelimitedFrom(
1272 java.io.InputStream input)
1273 throws java.io.IOException {
1274 return PARSER.parseDelimitedFrom(input);
1277 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseDelimitedFrom(
1278 java.io.InputStream input,
1279 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1280 throws java.io.IOException {
1281 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1284 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1285 com.google.protobuf.CodedInputStream input)
1286 throws java.io.IOException {
1287 return PARSER.parseFrom(input);
1290 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1291 com.google.protobuf.CodedInputStream input,
1292 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1293 throws java.io.IOException {
1294 return PARSER.parseFrom(input, extensionRegistry);
1297 public static Builder newBuilder() {
1298 return Builder.create();
1301 public Builder newBuilderForType() {
1302 return newBuilder();
1305 public static Builder newBuilder(
1306 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification prototype) {
1307 return newBuilder().mergeFrom(prototype);
1310 public Builder toBuilder() {
1311 return newBuilder(this);
1315 protected Builder newBuilderForType(
1316 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1317 Builder builder = new Builder(parent);
1322 * Protobuf type {@code org.opendaylight.controller.mdsal.CompositeModification}
1324 public static final class Builder extends
1325 com.google.protobuf.GeneratedMessage.Builder<Builder>
1327 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModificationOrBuilder {
1328 public static final com.google.protobuf.Descriptors.Descriptor
1330 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1333 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1334 internalGetFieldAccessorTable() {
1335 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable
1336 .ensureFieldAccessorsInitialized(
1337 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.class,
1338 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.Builder.class);
1341 // Construct using org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.newBuilder()
1343 maybeForceBuilderInitialization();
1347 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1349 maybeForceBuilderInitialization();
1352 private void maybeForceBuilderInitialization() {
1353 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1354 getModificationFieldBuilder();
1358 private static Builder create() {
1359 return new Builder();
1362 public Builder clear() {
1364 if (modificationBuilder_ == null) {
1365 modification_ = java.util.Collections.emptyList();
1366 bitField0_ = (bitField0_ & ~0x00000001);
1368 modificationBuilder_.clear();
1373 public Builder clone() {
1374 return create().mergeFrom(buildPartial());
1377 public com.google.protobuf.Descriptors.Descriptor
1378 getDescriptorForType() {
1379 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1382 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification getDefaultInstanceForType() {
1383 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification
1384 .getDefaultInstance();
1387 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification build() {
1388 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification
1389 result = buildPartial();
1390 if (!result.isInitialized()) {
1391 throw newUninitializedMessageException(result);
1396 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification buildPartial() {
1397 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification
1399 new org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification(
1401 int from_bitField0_ = bitField0_;
1402 if (modificationBuilder_ == null) {
1403 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1404 modification_ = java.util.Collections
1405 .unmodifiableList(modification_);
1406 bitField0_ = (bitField0_ & ~0x00000001);
1408 result.modification_ = modification_;
1410 result.modification_ = modificationBuilder_.build();
1416 public Builder mergeFrom(com.google.protobuf.Message other) {
1417 if (other instanceof org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) {
1419 (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) other);
1421 super.mergeFrom(other);
1426 public Builder mergeFrom(
1427 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification other) {
1429 == org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification
1430 .getDefaultInstance())
1432 if (modificationBuilder_ == null) {
1433 if (!other.modification_.isEmpty()) {
1434 if (modification_.isEmpty()) {
1435 modification_ = other.modification_;
1436 bitField0_ = (bitField0_ & ~0x00000001);
1438 ensureModificationIsMutable();
1439 modification_.addAll(other.modification_);
1444 if (!other.modification_.isEmpty()) {
1445 if (modificationBuilder_.isEmpty()) {
1446 modificationBuilder_.dispose();
1447 modificationBuilder_ = null;
1448 modification_ = other.modification_;
1449 bitField0_ = (bitField0_ & ~0x00000001);
1450 modificationBuilder_ =
1451 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1452 getModificationFieldBuilder() : null;
1454 modificationBuilder_
1455 .addAllMessages(other.modification_);
1459 this.mergeUnknownFields(other.getUnknownFields());
1463 public final boolean isInitialized() {
1464 for (int i = 0; i < getModificationCount(); i++) {
1465 if (!getModification(i).isInitialized()) {
1473 public Builder mergeFrom(
1474 com.google.protobuf.CodedInputStream input,
1475 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1476 throws java.io.IOException {
1477 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification
1478 parsedMessage = null;
1481 PARSER.parsePartialFrom(input, extensionRegistry);
1482 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1484 (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) e
1485 .getUnfinishedMessage();
1488 if (parsedMessage != null) {
1489 mergeFrom(parsedMessage);
1495 private int bitField0_;
1497 // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
1498 private java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>
1500 java.util.Collections.emptyList();
1502 private void ensureModificationIsMutable() {
1503 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
1505 new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>(
1507 bitField0_ |= 0x00000001;
1511 private com.google.protobuf.RepeatedFieldBuilder<
1512 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1513 modificationBuilder_;
1516 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1518 public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> getModificationList() {
1519 if (modificationBuilder_ == null) {
1520 return java.util.Collections
1521 .unmodifiableList(modification_);
1523 return modificationBuilder_.getMessageList();
1528 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1530 public int getModificationCount() {
1531 if (modificationBuilder_ == null) {
1532 return modification_.size();
1534 return modificationBuilder_.getCount();
1539 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1541 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(
1543 if (modificationBuilder_ == null) {
1544 return modification_.get(index);
1546 return modificationBuilder_.getMessage(index);
1551 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1553 public Builder setModification(
1555 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1556 if (modificationBuilder_ == null) {
1557 if (value == null) {
1558 throw new NullPointerException();
1560 ensureModificationIsMutable();
1561 modification_.set(index, value);
1564 modificationBuilder_.setMessage(index, value);
1570 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1572 public Builder setModification(
1574 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1575 if (modificationBuilder_ == null) {
1576 ensureModificationIsMutable();
1577 modification_.set(index, builderForValue.build());
1580 modificationBuilder_
1581 .setMessage(index, builderForValue.build());
1587 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1589 public Builder addModification(
1590 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1591 if (modificationBuilder_ == null) {
1592 if (value == null) {
1593 throw new NullPointerException();
1595 ensureModificationIsMutable();
1596 modification_.add(value);
1599 modificationBuilder_.addMessage(value);
1605 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1607 public Builder addModification(
1609 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1610 if (modificationBuilder_ == null) {
1611 if (value == null) {
1612 throw new NullPointerException();
1614 ensureModificationIsMutable();
1615 modification_.add(index, value);
1618 modificationBuilder_.addMessage(index, value);
1624 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1626 public Builder addModification(
1627 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1628 if (modificationBuilder_ == null) {
1629 ensureModificationIsMutable();
1630 modification_.add(builderForValue.build());
1633 modificationBuilder_.addMessage(builderForValue.build());
1639 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1641 public Builder addModification(
1643 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1644 if (modificationBuilder_ == null) {
1645 ensureModificationIsMutable();
1646 modification_.add(index, builderForValue.build());
1649 modificationBuilder_
1650 .addMessage(index, builderForValue.build());
1656 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1658 public Builder addAllModification(
1659 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> values) {
1660 if (modificationBuilder_ == null) {
1661 ensureModificationIsMutable();
1662 super.addAll(values, modification_);
1665 modificationBuilder_.addAllMessages(values);
1671 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1673 public Builder clearModification() {
1674 if (modificationBuilder_ == null) {
1675 modification_ = java.util.Collections.emptyList();
1676 bitField0_ = (bitField0_ & ~0x00000001);
1679 modificationBuilder_.clear();
1685 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1687 public Builder removeModification(int index) {
1688 if (modificationBuilder_ == null) {
1689 ensureModificationIsMutable();
1690 modification_.remove(index);
1693 modificationBuilder_.remove(index);
1699 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1701 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder getModificationBuilder(
1703 return getModificationFieldBuilder().getBuilder(index);
1707 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1709 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1711 if (modificationBuilder_ == null) {
1712 return modification_.get(index);
1714 return modificationBuilder_.getMessageOrBuilder(index);
1719 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1721 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1722 getModificationOrBuilderList() {
1723 if (modificationBuilder_ != null) {
1724 return modificationBuilder_.getMessageOrBuilderList();
1726 return java.util.Collections
1727 .unmodifiableList(modification_);
1732 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1734 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder addModificationBuilder() {
1735 return getModificationFieldBuilder().addBuilder(
1736 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
1737 .getDefaultInstance());
1741 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1743 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder addModificationBuilder(
1745 return getModificationFieldBuilder().addBuilder(
1747 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification
1748 .getDefaultInstance());
1752 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1754 public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder>
1755 getModificationBuilderList() {
1756 return getModificationFieldBuilder().getBuilderList();
1759 private com.google.protobuf.RepeatedFieldBuilder<
1760 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1761 getModificationFieldBuilder() {
1762 if (modificationBuilder_ == null) {
1763 modificationBuilder_ =
1764 new com.google.protobuf.RepeatedFieldBuilder<
1765 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>(
1767 ((bitField0_ & 0x00000001) == 0x00000001),
1768 getParentForChildren(),
1770 modification_ = null;
1772 return modificationBuilder_;
1775 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CompositeModification)
1780 defaultInstance = new CompositeModification(true);
1781 defaultInstance.initFields();
1784 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CompositeModification)
1788 private static com.google.protobuf.Descriptors.Descriptor
1789 internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
1791 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1792 internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable;
1793 private static com.google.protobuf.Descriptors.Descriptor
1794 internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1796 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1797 internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable;
1799 public static com.google.protobuf.Descriptors.FileDescriptor
1804 private static com.google.protobuf.Descriptors.FileDescriptor
1808 java.lang.String[] descriptorData = {
1809 "\n\020Persistent.proto\022!org.opendaylight.con" +
1810 "troller.mdsal\032\014Common.proto\"a\n\014Modificat" +
1811 "ion\022\014\n\004type\030\001 \002(\t\022\014\n\004path\030\002 \002(\t\0225\n\004data\030"
1813 "\003 \001(\0132\'.org.opendaylight.controller.mdsa" +
1814 "l.Node\"^\n\025CompositeModification\022E\n\014modif" +
1815 "ication\030\001 \003(\0132/.org.opendaylight.control" +
1816 "ler.mdsal.ModificationBO\n9org.opendaylig" +
1817 "ht.controller.protobuff.messages.persist" +
1818 "entB\022PersistentMessages"
1820 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner
1822 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1823 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1824 com.google.protobuf.Descriptors.FileDescriptor root) {
1826 internal_static_org_opendaylight_controller_mdsal_Modification_descriptor =
1827 getDescriptor().getMessageTypes().get(0);
1828 internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable =
1830 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1831 internal_static_org_opendaylight_controller_mdsal_Modification_descriptor,
1832 new java.lang.String[] {"Type", "Path", "Data",});
1833 internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor =
1834 getDescriptor().getMessageTypes().get(1);
1835 internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable =
1837 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1838 internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor,
1839 new java.lang.String[] {"Modification",});
1843 com.google.protobuf.Descriptors.FileDescriptor
1844 .internalBuildGeneratedFileFrom(descriptorData,
1845 new com.google.protobuf.Descriptors.FileDescriptor[] {
1846 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages
1852 // @@protoc_insertion_point(outer_class_scope)