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() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface ModificationOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
14 // required string type = 1;
16 * <code>required string type = 1;</code>
20 * <code>required string type = 1;</code>
22 java.lang.String getType();
24 * <code>required string type = 1;</code>
26 com.google.protobuf.ByteString
29 // required string path = 2;
31 * <code>required string path = 2;</code>
35 * <code>required string path = 2;</code>
37 java.lang.String getPath();
39 * <code>required string path = 2;</code>
41 com.google.protobuf.ByteString
44 // optional .org.opendaylight.controller.mdsal.Node data = 3;
46 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
50 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
52 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData();
54 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
56 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder();
59 * Protobuf type {@code org.opendaylight.controller.mdsal.Modification}
61 public static final class Modification extends
62 com.google.protobuf.GeneratedMessage
63 implements ModificationOrBuilder {
64 // Use Modification.newBuilder() to construct.
65 private Modification(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
67 this.unknownFields = builder.getUnknownFields();
69 private Modification(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
71 private static final Modification defaultInstance;
72 public static Modification getDefaultInstance() {
73 return defaultInstance;
76 public Modification getDefaultInstanceForType() {
77 return defaultInstance;
80 private final com.google.protobuf.UnknownFieldSet unknownFields;
82 public final com.google.protobuf.UnknownFieldSet
84 return this.unknownFields;
87 com.google.protobuf.CodedInputStream input,
88 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
89 throws com.google.protobuf.InvalidProtocolBufferException {
91 int mutable_bitField0_ = 0;
92 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
93 com.google.protobuf.UnknownFieldSet.newBuilder();
97 int tag = input.readTag();
103 if (!parseUnknownField(input, unknownFields,
104 extensionRegistry, tag)) {
110 bitField0_ |= 0x00000001;
111 type_ = input.readBytes();
115 bitField0_ |= 0x00000002;
116 path_ = input.readBytes();
120 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
121 if (((bitField0_ & 0x00000004) == 0x00000004)) {
122 subBuilder = data_.toBuilder();
124 data_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
125 if (subBuilder != null) {
126 subBuilder.mergeFrom(data_);
127 data_ = subBuilder.buildPartial();
129 bitField0_ |= 0x00000004;
134 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
135 throw e.setUnfinishedMessage(this);
136 } catch (java.io.IOException e) {
137 throw new com.google.protobuf.InvalidProtocolBufferException(
138 e.getMessage()).setUnfinishedMessage(this);
140 this.unknownFields = unknownFields.build();
141 makeExtensionsImmutable();
144 public static final com.google.protobuf.Descriptors.Descriptor
146 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
149 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
150 internalGetFieldAccessorTable() {
151 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable
152 .ensureFieldAccessorsInitialized(
153 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder.class);
156 public static com.google.protobuf.Parser<Modification> PARSER =
157 new com.google.protobuf.AbstractParser<Modification>() {
158 public Modification parsePartialFrom(
159 com.google.protobuf.CodedInputStream input,
160 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
161 throws com.google.protobuf.InvalidProtocolBufferException {
162 return new Modification(input, extensionRegistry);
167 public com.google.protobuf.Parser<Modification> getParserForType() {
171 private int bitField0_;
172 // required string type = 1;
173 public static final int TYPE_FIELD_NUMBER = 1;
174 private java.lang.Object type_;
176 * <code>required string type = 1;</code>
178 public boolean hasType() {
179 return ((bitField0_ & 0x00000001) == 0x00000001);
182 * <code>required string type = 1;</code>
184 public java.lang.String getType() {
185 java.lang.Object ref = type_;
186 if (ref instanceof java.lang.String) {
187 return (java.lang.String) ref;
189 com.google.protobuf.ByteString bs =
190 (com.google.protobuf.ByteString) ref;
191 java.lang.String s = bs.toStringUtf8();
192 if (bs.isValidUtf8()) {
199 * <code>required string type = 1;</code>
201 public com.google.protobuf.ByteString
203 java.lang.Object ref = type_;
204 if (ref instanceof java.lang.String) {
205 com.google.protobuf.ByteString b =
206 com.google.protobuf.ByteString.copyFromUtf8(
207 (java.lang.String) ref);
211 return (com.google.protobuf.ByteString) ref;
215 // required string path = 2;
216 public static final int PATH_FIELD_NUMBER = 2;
217 private java.lang.Object path_;
219 * <code>required string path = 2;</code>
221 public boolean hasPath() {
222 return ((bitField0_ & 0x00000002) == 0x00000002);
225 * <code>required string path = 2;</code>
227 public java.lang.String getPath() {
228 java.lang.Object ref = path_;
229 if (ref instanceof java.lang.String) {
230 return (java.lang.String) ref;
232 com.google.protobuf.ByteString bs =
233 (com.google.protobuf.ByteString) ref;
234 java.lang.String s = bs.toStringUtf8();
235 if (bs.isValidUtf8()) {
242 * <code>required string path = 2;</code>
244 public com.google.protobuf.ByteString
246 java.lang.Object ref = path_;
247 if (ref instanceof java.lang.String) {
248 com.google.protobuf.ByteString b =
249 com.google.protobuf.ByteString.copyFromUtf8(
250 (java.lang.String) ref);
254 return (com.google.protobuf.ByteString) ref;
258 // optional .org.opendaylight.controller.mdsal.Node data = 3;
259 public static final int DATA_FIELD_NUMBER = 3;
260 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node data_;
262 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
264 public boolean hasData() {
265 return ((bitField0_ & 0x00000004) == 0x00000004);
268 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
270 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData() {
274 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
276 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder() {
280 private void initFields() {
283 data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
285 private byte memoizedIsInitialized = -1;
286 public final boolean isInitialized() {
287 byte isInitialized = memoizedIsInitialized;
288 if (isInitialized != -1) return isInitialized == 1;
291 memoizedIsInitialized = 0;
295 memoizedIsInitialized = 0;
299 if (!getData().isInitialized()) {
300 memoizedIsInitialized = 0;
304 memoizedIsInitialized = 1;
308 public void writeTo(com.google.protobuf.CodedOutputStream output)
309 throws java.io.IOException {
311 if (((bitField0_ & 0x00000001) == 0x00000001)) {
312 output.writeBytes(1, getTypeBytes());
314 if (((bitField0_ & 0x00000002) == 0x00000002)) {
315 output.writeBytes(2, getPathBytes());
317 if (((bitField0_ & 0x00000004) == 0x00000004)) {
318 output.writeMessage(3, data_);
320 getUnknownFields().writeTo(output);
323 private int memoizedSerializedSize = -1;
324 public int getSerializedSize() {
325 int size = memoizedSerializedSize;
326 if (size != -1) return size;
329 if (((bitField0_ & 0x00000001) == 0x00000001)) {
330 size += com.google.protobuf.CodedOutputStream
331 .computeBytesSize(1, getTypeBytes());
333 if (((bitField0_ & 0x00000002) == 0x00000002)) {
334 size += com.google.protobuf.CodedOutputStream
335 .computeBytesSize(2, getPathBytes());
337 if (((bitField0_ & 0x00000004) == 0x00000004)) {
338 size += com.google.protobuf.CodedOutputStream
339 .computeMessageSize(3, data_);
341 size += getUnknownFields().getSerializedSize();
342 memoizedSerializedSize = size;
346 private static final long serialVersionUID = 0L;
348 protected java.lang.Object writeReplace()
349 throws java.io.ObjectStreamException {
350 return super.writeReplace();
353 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
354 com.google.protobuf.ByteString data)
355 throws com.google.protobuf.InvalidProtocolBufferException {
356 return PARSER.parseFrom(data);
358 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
359 com.google.protobuf.ByteString data,
360 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
361 throws com.google.protobuf.InvalidProtocolBufferException {
362 return PARSER.parseFrom(data, extensionRegistry);
364 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(byte[] data)
365 throws com.google.protobuf.InvalidProtocolBufferException {
366 return PARSER.parseFrom(data);
368 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
370 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
371 throws com.google.protobuf.InvalidProtocolBufferException {
372 return PARSER.parseFrom(data, extensionRegistry);
374 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(java.io.InputStream input)
375 throws java.io.IOException {
376 return PARSER.parseFrom(input);
378 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
379 java.io.InputStream input,
380 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
381 throws java.io.IOException {
382 return PARSER.parseFrom(input, extensionRegistry);
384 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseDelimitedFrom(java.io.InputStream input)
385 throws java.io.IOException {
386 return PARSER.parseDelimitedFrom(input);
388 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseDelimitedFrom(
389 java.io.InputStream input,
390 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
391 throws java.io.IOException {
392 return PARSER.parseDelimitedFrom(input, extensionRegistry);
394 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
395 com.google.protobuf.CodedInputStream input)
396 throws java.io.IOException {
397 return PARSER.parseFrom(input);
399 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parseFrom(
400 com.google.protobuf.CodedInputStream input,
401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
402 throws java.io.IOException {
403 return PARSER.parseFrom(input, extensionRegistry);
406 public static Builder newBuilder() { return Builder.create(); }
407 public Builder newBuilderForType() { return newBuilder(); }
408 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification prototype) {
409 return newBuilder().mergeFrom(prototype);
411 public Builder toBuilder() { return newBuilder(this); }
414 protected Builder newBuilderForType(
415 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
416 Builder builder = new Builder(parent);
420 * Protobuf type {@code org.opendaylight.controller.mdsal.Modification}
422 public static final class Builder extends
423 com.google.protobuf.GeneratedMessage.Builder<Builder>
424 implements org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder {
425 public static final com.google.protobuf.Descriptors.Descriptor
427 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
430 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
431 internalGetFieldAccessorTable() {
432 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable
433 .ensureFieldAccessorsInitialized(
434 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder.class);
437 // Construct using org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.newBuilder()
439 maybeForceBuilderInitialization();
443 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
445 maybeForceBuilderInitialization();
447 private void maybeForceBuilderInitialization() {
448 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
449 getDataFieldBuilder();
452 private static Builder create() {
453 return new Builder();
456 public Builder clear() {
459 bitField0_ = (bitField0_ & ~0x00000001);
461 bitField0_ = (bitField0_ & ~0x00000002);
462 if (dataBuilder_ == null) {
463 data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
465 dataBuilder_.clear();
467 bitField0_ = (bitField0_ & ~0x00000004);
471 public Builder clone() {
472 return create().mergeFrom(buildPartial());
475 public com.google.protobuf.Descriptors.Descriptor
476 getDescriptorForType() {
477 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
480 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getDefaultInstanceForType() {
481 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance();
484 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification build() {
485 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification result = buildPartial();
486 if (!result.isInitialized()) {
487 throw newUninitializedMessageException(result);
492 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification buildPartial() {
493 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification result = new org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification(this);
494 int from_bitField0_ = bitField0_;
495 int to_bitField0_ = 0;
496 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
497 to_bitField0_ |= 0x00000001;
499 result.type_ = type_;
500 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
501 to_bitField0_ |= 0x00000002;
503 result.path_ = path_;
504 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
505 to_bitField0_ |= 0x00000004;
507 if (dataBuilder_ == null) {
508 result.data_ = data_;
510 result.data_ = dataBuilder_.build();
512 result.bitField0_ = to_bitField0_;
517 public Builder mergeFrom(com.google.protobuf.Message other) {
518 if (other instanceof org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) {
519 return mergeFrom((org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification)other);
521 super.mergeFrom(other);
526 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification other) {
527 if (other == org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance()) return this;
528 if (other.hasType()) {
529 bitField0_ |= 0x00000001;
533 if (other.hasPath()) {
534 bitField0_ |= 0x00000002;
538 if (other.hasData()) {
539 mergeData(other.getData());
541 this.mergeUnknownFields(other.getUnknownFields());
545 public final boolean isInitialized() {
555 if (!getData().isInitialized()) {
563 public Builder mergeFrom(
564 com.google.protobuf.CodedInputStream input,
565 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
566 throws java.io.IOException {
567 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification parsedMessage = null;
569 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
570 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
571 parsedMessage = (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification) e.getUnfinishedMessage();
574 if (parsedMessage != null) {
575 mergeFrom(parsedMessage);
580 private int bitField0_;
582 // required string type = 1;
583 private java.lang.Object type_ = "";
585 * <code>required string type = 1;</code>
587 public boolean hasType() {
588 return ((bitField0_ & 0x00000001) == 0x00000001);
591 * <code>required string type = 1;</code>
593 public java.lang.String getType() {
594 java.lang.Object ref = type_;
595 if (!(ref instanceof java.lang.String)) {
596 java.lang.String s = ((com.google.protobuf.ByteString) ref)
601 return (java.lang.String) ref;
605 * <code>required string type = 1;</code>
607 public com.google.protobuf.ByteString
609 java.lang.Object ref = type_;
610 if (ref instanceof String) {
611 com.google.protobuf.ByteString b =
612 com.google.protobuf.ByteString.copyFromUtf8(
613 (java.lang.String) ref);
617 return (com.google.protobuf.ByteString) ref;
621 * <code>required string type = 1;</code>
623 public Builder setType(
624 java.lang.String value) {
626 throw new NullPointerException();
628 bitField0_ |= 0x00000001;
634 * <code>required string type = 1;</code>
636 public Builder clearType() {
637 bitField0_ = (bitField0_ & ~0x00000001);
638 type_ = getDefaultInstance().getType();
643 * <code>required string type = 1;</code>
645 public Builder setTypeBytes(
646 com.google.protobuf.ByteString value) {
648 throw new NullPointerException();
650 bitField0_ |= 0x00000001;
656 // required string path = 2;
657 private java.lang.Object path_ = "";
659 * <code>required string path = 2;</code>
661 public boolean hasPath() {
662 return ((bitField0_ & 0x00000002) == 0x00000002);
665 * <code>required string path = 2;</code>
667 public java.lang.String getPath() {
668 java.lang.Object ref = path_;
669 if (!(ref instanceof java.lang.String)) {
670 java.lang.String s = ((com.google.protobuf.ByteString) ref)
675 return (java.lang.String) ref;
679 * <code>required string path = 2;</code>
681 public com.google.protobuf.ByteString
683 java.lang.Object ref = path_;
684 if (ref instanceof String) {
685 com.google.protobuf.ByteString b =
686 com.google.protobuf.ByteString.copyFromUtf8(
687 (java.lang.String) ref);
691 return (com.google.protobuf.ByteString) ref;
695 * <code>required string path = 2;</code>
697 public Builder setPath(
698 java.lang.String value) {
700 throw new NullPointerException();
702 bitField0_ |= 0x00000002;
708 * <code>required string path = 2;</code>
710 public Builder clearPath() {
711 bitField0_ = (bitField0_ & ~0x00000002);
712 path_ = getDefaultInstance().getPath();
717 * <code>required string path = 2;</code>
719 public Builder setPathBytes(
720 com.google.protobuf.ByteString value) {
722 throw new NullPointerException();
724 bitField0_ |= 0x00000002;
730 // optional .org.opendaylight.controller.mdsal.Node data = 3;
731 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
732 private com.google.protobuf.SingleFieldBuilder<
733 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> dataBuilder_;
735 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
737 public boolean hasData() {
738 return ((bitField0_ & 0x00000004) == 0x00000004);
741 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
743 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getData() {
744 if (dataBuilder_ == null) {
747 return dataBuilder_.getMessage();
751 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
753 public Builder setData(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
754 if (dataBuilder_ == null) {
756 throw new NullPointerException();
761 dataBuilder_.setMessage(value);
763 bitField0_ |= 0x00000004;
767 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
769 public Builder setData(
770 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
771 if (dataBuilder_ == null) {
772 data_ = builderForValue.build();
775 dataBuilder_.setMessage(builderForValue.build());
777 bitField0_ |= 0x00000004;
781 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
783 public Builder mergeData(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
784 if (dataBuilder_ == null) {
785 if (((bitField0_ & 0x00000004) == 0x00000004) &&
786 data_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
788 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(data_).mergeFrom(value).buildPartial();
794 dataBuilder_.mergeFrom(value);
796 bitField0_ |= 0x00000004;
800 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
802 public Builder clearData() {
803 if (dataBuilder_ == null) {
804 data_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
807 dataBuilder_.clear();
809 bitField0_ = (bitField0_ & ~0x00000004);
813 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
815 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getDataBuilder() {
816 bitField0_ |= 0x00000004;
818 return getDataFieldBuilder().getBuilder();
821 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
823 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getDataOrBuilder() {
824 if (dataBuilder_ != null) {
825 return dataBuilder_.getMessageOrBuilder();
831 * <code>optional .org.opendaylight.controller.mdsal.Node data = 3;</code>
833 private com.google.protobuf.SingleFieldBuilder<
834 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>
835 getDataFieldBuilder() {
836 if (dataBuilder_ == null) {
837 dataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
838 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>(
840 getParentForChildren(),
847 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.Modification)
851 defaultInstance = new Modification(true);
852 defaultInstance.initFields();
855 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.Modification)
858 public interface CompositeModificationOrBuilder
859 extends com.google.protobuf.MessageOrBuilder {
861 // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
863 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
865 java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>
866 getModificationList();
868 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
870 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(int index);
872 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
874 int getModificationCount();
876 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
878 java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
879 getModificationOrBuilderList();
881 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
883 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
887 * Protobuf type {@code org.opendaylight.controller.mdsal.CompositeModification}
889 public static final class CompositeModification extends
890 com.google.protobuf.GeneratedMessage
891 implements CompositeModificationOrBuilder {
892 // Use CompositeModification.newBuilder() to construct.
893 private CompositeModification(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
895 this.unknownFields = builder.getUnknownFields();
897 private CompositeModification(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
899 private static final CompositeModification defaultInstance;
900 public static CompositeModification getDefaultInstance() {
901 return defaultInstance;
904 public CompositeModification getDefaultInstanceForType() {
905 return defaultInstance;
908 private final com.google.protobuf.UnknownFieldSet unknownFields;
910 public final com.google.protobuf.UnknownFieldSet
912 return this.unknownFields;
914 private CompositeModification(
915 com.google.protobuf.CodedInputStream input,
916 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
917 throws com.google.protobuf.InvalidProtocolBufferException {
919 int mutable_bitField0_ = 0;
920 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
921 com.google.protobuf.UnknownFieldSet.newBuilder();
923 boolean done = false;
925 int tag = input.readTag();
931 if (!parseUnknownField(input, unknownFields,
932 extensionRegistry, tag)) {
938 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
939 modification_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>();
940 mutable_bitField0_ |= 0x00000001;
942 modification_.add(input.readMessage(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.PARSER, extensionRegistry));
947 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
948 throw e.setUnfinishedMessage(this);
949 } catch (java.io.IOException e) {
950 throw new com.google.protobuf.InvalidProtocolBufferException(
951 e.getMessage()).setUnfinishedMessage(this);
953 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
954 modification_ = java.util.Collections.unmodifiableList(modification_);
956 this.unknownFields = unknownFields.build();
957 makeExtensionsImmutable();
960 public static final com.google.protobuf.Descriptors.Descriptor
962 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
965 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
966 internalGetFieldAccessorTable() {
967 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable
968 .ensureFieldAccessorsInitialized(
969 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.Builder.class);
972 public static com.google.protobuf.Parser<CompositeModification> PARSER =
973 new com.google.protobuf.AbstractParser<CompositeModification>() {
974 public CompositeModification parsePartialFrom(
975 com.google.protobuf.CodedInputStream input,
976 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
977 throws com.google.protobuf.InvalidProtocolBufferException {
978 return new CompositeModification(input, extensionRegistry);
983 public com.google.protobuf.Parser<CompositeModification> getParserForType() {
987 // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
988 public static final int MODIFICATION_FIELD_NUMBER = 1;
989 private java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> modification_;
991 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
993 public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> getModificationList() {
994 return modification_;
997 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
999 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1000 getModificationOrBuilderList() {
1001 return modification_;
1004 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1006 public int getModificationCount() {
1007 return modification_.size();
1010 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1012 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(int index) {
1013 return modification_.get(index);
1016 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1018 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1020 return modification_.get(index);
1023 private void initFields() {
1024 modification_ = java.util.Collections.emptyList();
1026 private byte memoizedIsInitialized = -1;
1027 public final boolean isInitialized() {
1028 byte isInitialized = memoizedIsInitialized;
1029 if (isInitialized != -1) return isInitialized == 1;
1031 for (int i = 0; i < getModificationCount(); i++) {
1032 if (!getModification(i).isInitialized()) {
1033 memoizedIsInitialized = 0;
1037 memoizedIsInitialized = 1;
1041 public void writeTo(com.google.protobuf.CodedOutputStream output)
1042 throws java.io.IOException {
1043 getSerializedSize();
1044 for (int i = 0; i < modification_.size(); i++) {
1045 output.writeMessage(1, modification_.get(i));
1047 getUnknownFields().writeTo(output);
1050 private int memoizedSerializedSize = -1;
1051 public int getSerializedSize() {
1052 int size = memoizedSerializedSize;
1053 if (size != -1) return size;
1056 for (int i = 0; i < modification_.size(); i++) {
1057 size += com.google.protobuf.CodedOutputStream
1058 .computeMessageSize(1, modification_.get(i));
1060 size += getUnknownFields().getSerializedSize();
1061 memoizedSerializedSize = size;
1065 private static final long serialVersionUID = 0L;
1067 protected java.lang.Object writeReplace()
1068 throws java.io.ObjectStreamException {
1069 return super.writeReplace();
1072 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1073 com.google.protobuf.ByteString data)
1074 throws com.google.protobuf.InvalidProtocolBufferException {
1075 return PARSER.parseFrom(data);
1077 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1078 com.google.protobuf.ByteString data,
1079 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1080 throws com.google.protobuf.InvalidProtocolBufferException {
1081 return PARSER.parseFrom(data, extensionRegistry);
1083 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(byte[] data)
1084 throws com.google.protobuf.InvalidProtocolBufferException {
1085 return PARSER.parseFrom(data);
1087 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1089 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1090 throws com.google.protobuf.InvalidProtocolBufferException {
1091 return PARSER.parseFrom(data, extensionRegistry);
1093 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(java.io.InputStream input)
1094 throws java.io.IOException {
1095 return PARSER.parseFrom(input);
1097 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1098 java.io.InputStream input,
1099 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1100 throws java.io.IOException {
1101 return PARSER.parseFrom(input, extensionRegistry);
1103 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseDelimitedFrom(java.io.InputStream input)
1104 throws java.io.IOException {
1105 return PARSER.parseDelimitedFrom(input);
1107 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseDelimitedFrom(
1108 java.io.InputStream input,
1109 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1110 throws java.io.IOException {
1111 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1113 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1114 com.google.protobuf.CodedInputStream input)
1115 throws java.io.IOException {
1116 return PARSER.parseFrom(input);
1118 public static org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parseFrom(
1119 com.google.protobuf.CodedInputStream input,
1120 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1121 throws java.io.IOException {
1122 return PARSER.parseFrom(input, extensionRegistry);
1125 public static Builder newBuilder() { return Builder.create(); }
1126 public Builder newBuilderForType() { return newBuilder(); }
1127 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification prototype) {
1128 return newBuilder().mergeFrom(prototype);
1130 public Builder toBuilder() { return newBuilder(this); }
1133 protected Builder newBuilderForType(
1134 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1135 Builder builder = new Builder(parent);
1139 * Protobuf type {@code org.opendaylight.controller.mdsal.CompositeModification}
1141 public static final class Builder extends
1142 com.google.protobuf.GeneratedMessage.Builder<Builder>
1143 implements org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModificationOrBuilder {
1144 public static final com.google.protobuf.Descriptors.Descriptor
1146 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1149 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1150 internalGetFieldAccessorTable() {
1151 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable
1152 .ensureFieldAccessorsInitialized(
1153 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.class, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.Builder.class);
1156 // Construct using org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.newBuilder()
1158 maybeForceBuilderInitialization();
1162 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1164 maybeForceBuilderInitialization();
1166 private void maybeForceBuilderInitialization() {
1167 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1168 getModificationFieldBuilder();
1171 private static Builder create() {
1172 return new Builder();
1175 public Builder clear() {
1177 if (modificationBuilder_ == null) {
1178 modification_ = java.util.Collections.emptyList();
1179 bitField0_ = (bitField0_ & ~0x00000001);
1181 modificationBuilder_.clear();
1186 public Builder clone() {
1187 return create().mergeFrom(buildPartial());
1190 public com.google.protobuf.Descriptors.Descriptor
1191 getDescriptorForType() {
1192 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1195 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification getDefaultInstanceForType() {
1196 return org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.getDefaultInstance();
1199 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification build() {
1200 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification result = buildPartial();
1201 if (!result.isInitialized()) {
1202 throw newUninitializedMessageException(result);
1207 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification buildPartial() {
1208 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification result = new org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification(this);
1209 int from_bitField0_ = bitField0_;
1210 if (modificationBuilder_ == null) {
1211 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1212 modification_ = java.util.Collections.unmodifiableList(modification_);
1213 bitField0_ = (bitField0_ & ~0x00000001);
1215 result.modification_ = modification_;
1217 result.modification_ = modificationBuilder_.build();
1223 public Builder mergeFrom(com.google.protobuf.Message other) {
1224 if (other instanceof org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) {
1225 return mergeFrom((org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification)other);
1227 super.mergeFrom(other);
1232 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification other) {
1233 if (other == org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification.getDefaultInstance()) return this;
1234 if (modificationBuilder_ == null) {
1235 if (!other.modification_.isEmpty()) {
1236 if (modification_.isEmpty()) {
1237 modification_ = other.modification_;
1238 bitField0_ = (bitField0_ & ~0x00000001);
1240 ensureModificationIsMutable();
1241 modification_.addAll(other.modification_);
1246 if (!other.modification_.isEmpty()) {
1247 if (modificationBuilder_.isEmpty()) {
1248 modificationBuilder_.dispose();
1249 modificationBuilder_ = null;
1250 modification_ = other.modification_;
1251 bitField0_ = (bitField0_ & ~0x00000001);
1252 modificationBuilder_ =
1253 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1254 getModificationFieldBuilder() : null;
1256 modificationBuilder_.addAllMessages(other.modification_);
1260 this.mergeUnknownFields(other.getUnknownFields());
1264 public final boolean isInitialized() {
1265 for (int i = 0; i < getModificationCount(); i++) {
1266 if (!getModification(i).isInitialized()) {
1274 public Builder mergeFrom(
1275 com.google.protobuf.CodedInputStream input,
1276 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1277 throws java.io.IOException {
1278 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification parsedMessage = null;
1280 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1281 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1282 parsedMessage = (org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.CompositeModification) e.getUnfinishedMessage();
1285 if (parsedMessage != null) {
1286 mergeFrom(parsedMessage);
1291 private int bitField0_;
1293 // repeated .org.opendaylight.controller.mdsal.Modification modification = 1;
1294 private java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> modification_ =
1295 java.util.Collections.emptyList();
1296 private void ensureModificationIsMutable() {
1297 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
1298 modification_ = new java.util.ArrayList<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification>(modification_);
1299 bitField0_ |= 0x00000001;
1303 private com.google.protobuf.RepeatedFieldBuilder<
1304 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> modificationBuilder_;
1307 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1309 public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> getModificationList() {
1310 if (modificationBuilder_ == null) {
1311 return java.util.Collections.unmodifiableList(modification_);
1313 return modificationBuilder_.getMessageList();
1317 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1319 public int getModificationCount() {
1320 if (modificationBuilder_ == null) {
1321 return modification_.size();
1323 return modificationBuilder_.getCount();
1327 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1329 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification getModification(int index) {
1330 if (modificationBuilder_ == null) {
1331 return modification_.get(index);
1333 return modificationBuilder_.getMessage(index);
1337 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1339 public Builder setModification(
1340 int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1341 if (modificationBuilder_ == null) {
1342 if (value == null) {
1343 throw new NullPointerException();
1345 ensureModificationIsMutable();
1346 modification_.set(index, value);
1349 modificationBuilder_.setMessage(index, value);
1354 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1356 public Builder setModification(
1357 int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1358 if (modificationBuilder_ == null) {
1359 ensureModificationIsMutable();
1360 modification_.set(index, builderForValue.build());
1363 modificationBuilder_.setMessage(index, builderForValue.build());
1368 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1370 public Builder addModification(org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1371 if (modificationBuilder_ == null) {
1372 if (value == null) {
1373 throw new NullPointerException();
1375 ensureModificationIsMutable();
1376 modification_.add(value);
1379 modificationBuilder_.addMessage(value);
1384 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1386 public Builder addModification(
1387 int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification value) {
1388 if (modificationBuilder_ == null) {
1389 if (value == null) {
1390 throw new NullPointerException();
1392 ensureModificationIsMutable();
1393 modification_.add(index, value);
1396 modificationBuilder_.addMessage(index, value);
1401 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1403 public Builder addModification(
1404 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1405 if (modificationBuilder_ == null) {
1406 ensureModificationIsMutable();
1407 modification_.add(builderForValue.build());
1410 modificationBuilder_.addMessage(builderForValue.build());
1415 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1417 public Builder addModification(
1418 int index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder builderForValue) {
1419 if (modificationBuilder_ == null) {
1420 ensureModificationIsMutable();
1421 modification_.add(index, builderForValue.build());
1424 modificationBuilder_.addMessage(index, builderForValue.build());
1429 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1431 public Builder addAllModification(
1432 java.lang.Iterable<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification> values) {
1433 if (modificationBuilder_ == null) {
1434 ensureModificationIsMutable();
1435 super.addAll(values, modification_);
1438 modificationBuilder_.addAllMessages(values);
1443 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1445 public Builder clearModification() {
1446 if (modificationBuilder_ == null) {
1447 modification_ = java.util.Collections.emptyList();
1448 bitField0_ = (bitField0_ & ~0x00000001);
1451 modificationBuilder_.clear();
1456 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1458 public Builder removeModification(int index) {
1459 if (modificationBuilder_ == null) {
1460 ensureModificationIsMutable();
1461 modification_.remove(index);
1464 modificationBuilder_.remove(index);
1469 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1471 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder getModificationBuilder(
1473 return getModificationFieldBuilder().getBuilder(index);
1476 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1478 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder getModificationOrBuilder(
1480 if (modificationBuilder_ == null) {
1481 return modification_.get(index); } else {
1482 return modificationBuilder_.getMessageOrBuilder(index);
1486 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1488 public java.util.List<? extends org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.ModificationOrBuilder>
1489 getModificationOrBuilderList() {
1490 if (modificationBuilder_ != null) {
1491 return modificationBuilder_.getMessageOrBuilderList();
1493 return java.util.Collections.unmodifiableList(modification_);
1497 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1499 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder addModificationBuilder() {
1500 return getModificationFieldBuilder().addBuilder(
1501 org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance());
1504 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1506 public org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder addModificationBuilder(
1508 return getModificationFieldBuilder().addBuilder(
1509 index, org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.getDefaultInstance());
1512 * <code>repeated .org.opendaylight.controller.mdsal.Modification modification = 1;</code>
1514 public java.util.List<org.opendaylight.controller.protobuff.messages.persistent.PersistentMessages.Modification.Builder>
1515 getModificationBuilderList() {
1516 return getModificationFieldBuilder().getBuilderList();
1518 private com.google.protobuf.RepeatedFieldBuilder<
1519 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>
1520 getModificationFieldBuilder() {
1521 if (modificationBuilder_ == null) {
1522 modificationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1523 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>(
1525 ((bitField0_ & 0x00000001) == 0x00000001),
1526 getParentForChildren(),
1528 modification_ = null;
1530 return modificationBuilder_;
1533 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CompositeModification)
1537 defaultInstance = new CompositeModification(true);
1538 defaultInstance.initFields();
1541 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CompositeModification)
1544 private static com.google.protobuf.Descriptors.Descriptor
1545 internal_static_org_opendaylight_controller_mdsal_Modification_descriptor;
1547 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1548 internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable;
1549 private static com.google.protobuf.Descriptors.Descriptor
1550 internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor;
1552 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1553 internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable;
1555 public static com.google.protobuf.Descriptors.FileDescriptor
1559 private static com.google.protobuf.Descriptors.FileDescriptor
1562 java.lang.String[] descriptorData = {
1563 "\n\020Persistent.proto\022!org.opendaylight.con" +
1564 "troller.mdsal\032\014Common.proto\"a\n\014Modificat" +
1565 "ion\022\014\n\004type\030\001 \002(\t\022\014\n\004path\030\002 \002(\t\0225\n\004data\030" +
1566 "\003 \001(\0132\'.org.opendaylight.controller.mdsa" +
1567 "l.Node\"^\n\025CompositeModification\022E\n\014modif" +
1568 "ication\030\001 \003(\0132/.org.opendaylight.control" +
1569 "ler.mdsal.ModificationBO\n9org.opendaylig" +
1570 "ht.controller.protobuff.messages.persist" +
1571 "entB\022PersistentMessages"
1573 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1574 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1575 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1576 com.google.protobuf.Descriptors.FileDescriptor root) {
1578 internal_static_org_opendaylight_controller_mdsal_Modification_descriptor =
1579 getDescriptor().getMessageTypes().get(0);
1580 internal_static_org_opendaylight_controller_mdsal_Modification_fieldAccessorTable = new
1581 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1582 internal_static_org_opendaylight_controller_mdsal_Modification_descriptor,
1583 new java.lang.String[] { "Type", "Path", "Data", });
1584 internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor =
1585 getDescriptor().getMessageTypes().get(1);
1586 internal_static_org_opendaylight_controller_mdsal_CompositeModification_fieldAccessorTable = new
1587 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1588 internal_static_org_opendaylight_controller_mdsal_CompositeModification_descriptor,
1589 new java.lang.String[] { "Modification", });
1593 com.google.protobuf.Descriptors.FileDescriptor
1594 .internalBuildGeneratedFileFrom(descriptorData,
1595 new com.google.protobuf.Descriptors.FileDescriptor[] {
1596 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
1600 // @@protoc_insertion_point(outer_class_scope)