Bug 1112: Update toaster to use async best practices
[controller.git] / opendaylight / md-sal / sal-protocolbuffer-encoding / src / main / java / org / opendaylight / controller / cluster / datastore / common / SimpleNormalizedNodeMessage.java
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: SimpleNormalizedNode.proto
3
4 package org.opendaylight.controller.cluster.datastore.common;
5
6 public final class SimpleNormalizedNodeMessage {
7   private SimpleNormalizedNodeMessage() {}
8
9   public static void registerAllExtensions(
10       com.google.protobuf.ExtensionRegistry registry) {}
11
12   public interface NormalizedNodeXmlOrBuilder extends
13       com.google.protobuf.MessageOrBuilder {
14
15     // required string nodeIdentifier = 1;
16     /**
17      * <code>required string nodeIdentifier = 1;</code>
18      */
19     boolean hasNodeIdentifier();
20
21     /**
22      * <code>required string nodeIdentifier = 1;</code>
23      */
24     java.lang.String getNodeIdentifier();
25
26     /**
27      * <code>required string nodeIdentifier = 1;</code>
28      */
29     com.google.protobuf.ByteString getNodeIdentifierBytes();
30
31     // required string xmlString = 2;
32     /**
33      * <code>required string xmlString = 2;</code>
34      */
35     boolean hasXmlString();
36
37     /**
38      * <code>required string xmlString = 2;</code>
39      */
40     java.lang.String getXmlString();
41
42     /**
43      * <code>required string xmlString = 2;</code>
44      */
45     com.google.protobuf.ByteString getXmlStringBytes();
46   }
47   /**
48    * Protobuf type {@code org.opendaylight.controller.mdsal.NormalizedNodeXml}
49    */
50   public static final class NormalizedNodeXml extends
51       com.google.protobuf.GeneratedMessage implements
52       NormalizedNodeXmlOrBuilder {
53     // Use NormalizedNodeXml.newBuilder() to construct.
54     private NormalizedNodeXml(
55         com.google.protobuf.GeneratedMessage.Builder<?> builder) {
56       super(builder);
57       this.unknownFields = builder.getUnknownFields();
58     }
59
60     private NormalizedNodeXml(boolean noInit) {
61       this.unknownFields =
62           com.google.protobuf.UnknownFieldSet.getDefaultInstance();
63     }
64
65     private static final NormalizedNodeXml defaultInstance;
66
67     public static NormalizedNodeXml getDefaultInstance() {
68       return defaultInstance;
69     }
70
71     public NormalizedNodeXml getDefaultInstanceForType() {
72       return defaultInstance;
73     }
74
75     private final com.google.protobuf.UnknownFieldSet unknownFields;
76
77     @java.lang.Override
78     public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
79       return this.unknownFields;
80     }
81
82     private NormalizedNodeXml(com.google.protobuf.CodedInputStream input,
83         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
84         throws com.google.protobuf.InvalidProtocolBufferException {
85       initFields();
86       int mutable_bitField0_ = 0;
87       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
88           com.google.protobuf.UnknownFieldSet.newBuilder();
89       try {
90         boolean done = false;
91         while (!done) {
92           int tag = input.readTag();
93           switch (tag) {
94             case 0:
95               done = true;
96               break;
97             default: {
98               if (!parseUnknownField(input, unknownFields, extensionRegistry,
99                   tag)) {
100                 done = true;
101               }
102               break;
103             }
104             case 10: {
105               bitField0_ |= 0x00000001;
106               nodeIdentifier_ = input.readBytes();
107               break;
108             }
109             case 18: {
110               bitField0_ |= 0x00000002;
111               xmlString_ = input.readBytes();
112               break;
113             }
114           }
115         }
116       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
117         throw e.setUnfinishedMessage(this);
118       } catch (java.io.IOException e) {
119         throw new com.google.protobuf.InvalidProtocolBufferException(
120             e.getMessage()).setUnfinishedMessage(this);
121       } finally {
122         this.unknownFields = unknownFields.build();
123         makeExtensionsImmutable();
124       }
125     }
126
127     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
128       return org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_descriptor;
129     }
130
131     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
132       return org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_fieldAccessorTable
133           .ensureFieldAccessorsInitialized(
134               org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.class,
135               org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder.class);
136     }
137
138     public static com.google.protobuf.Parser<NormalizedNodeXml> PARSER =
139         new com.google.protobuf.AbstractParser<NormalizedNodeXml>() {
140           public NormalizedNodeXml parsePartialFrom(
141               com.google.protobuf.CodedInputStream input,
142               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
143               throws com.google.protobuf.InvalidProtocolBufferException {
144             return new NormalizedNodeXml(input, extensionRegistry);
145           }
146         };
147
148     @java.lang.Override
149     public com.google.protobuf.Parser<NormalizedNodeXml> getParserForType() {
150       return PARSER;
151     }
152
153     private int bitField0_;
154     // required string nodeIdentifier = 1;
155     public static final int NODEIDENTIFIER_FIELD_NUMBER = 1;
156     private java.lang.Object nodeIdentifier_;
157
158     /**
159      * <code>required string nodeIdentifier = 1;</code>
160      */
161     public boolean hasNodeIdentifier() {
162       return ((bitField0_ & 0x00000001) == 0x00000001);
163     }
164
165     /**
166      * <code>required string nodeIdentifier = 1;</code>
167      */
168     public java.lang.String getNodeIdentifier() {
169       java.lang.Object ref = nodeIdentifier_;
170       if (ref instanceof java.lang.String) {
171         return (java.lang.String) ref;
172       } else {
173         com.google.protobuf.ByteString bs =
174             (com.google.protobuf.ByteString) ref;
175         java.lang.String s = bs.toStringUtf8();
176         if (bs.isValidUtf8()) {
177           nodeIdentifier_ = s;
178         }
179         return s;
180       }
181     }
182
183     /**
184      * <code>required string nodeIdentifier = 1;</code>
185      */
186     public com.google.protobuf.ByteString getNodeIdentifierBytes() {
187       java.lang.Object ref = nodeIdentifier_;
188       if (ref instanceof java.lang.String) {
189         com.google.protobuf.ByteString b =
190             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
191         nodeIdentifier_ = b;
192         return b;
193       } else {
194         return (com.google.protobuf.ByteString) ref;
195       }
196     }
197
198     // required string xmlString = 2;
199     public static final int XMLSTRING_FIELD_NUMBER = 2;
200     private java.lang.Object xmlString_;
201
202     /**
203      * <code>required string xmlString = 2;</code>
204      */
205     public boolean hasXmlString() {
206       return ((bitField0_ & 0x00000002) == 0x00000002);
207     }
208
209     /**
210      * <code>required string xmlString = 2;</code>
211      */
212     public java.lang.String getXmlString() {
213       java.lang.Object ref = xmlString_;
214       if (ref instanceof java.lang.String) {
215         return (java.lang.String) ref;
216       } else {
217         com.google.protobuf.ByteString bs =
218             (com.google.protobuf.ByteString) ref;
219         java.lang.String s = bs.toStringUtf8();
220         if (bs.isValidUtf8()) {
221           xmlString_ = s;
222         }
223         return s;
224       }
225     }
226
227     /**
228      * <code>required string xmlString = 2;</code>
229      */
230     public com.google.protobuf.ByteString getXmlStringBytes() {
231       java.lang.Object ref = xmlString_;
232       if (ref instanceof java.lang.String) {
233         com.google.protobuf.ByteString b =
234             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
235         xmlString_ = b;
236         return b;
237       } else {
238         return (com.google.protobuf.ByteString) ref;
239       }
240     }
241
242     private void initFields() {
243       nodeIdentifier_ = "";
244       xmlString_ = "";
245     }
246
247     private byte memoizedIsInitialized = -1;
248
249     public final boolean isInitialized() {
250       byte isInitialized = memoizedIsInitialized;
251       if (isInitialized != -1)
252         return isInitialized == 1;
253
254       if (!hasNodeIdentifier()) {
255         memoizedIsInitialized = 0;
256         return false;
257       }
258       if (!hasXmlString()) {
259         memoizedIsInitialized = 0;
260         return false;
261       }
262       memoizedIsInitialized = 1;
263       return true;
264     }
265
266     public void writeTo(com.google.protobuf.CodedOutputStream output)
267         throws java.io.IOException {
268       getSerializedSize();
269       if (((bitField0_ & 0x00000001) == 0x00000001)) {
270         output.writeBytes(1, getNodeIdentifierBytes());
271       }
272       if (((bitField0_ & 0x00000002) == 0x00000002)) {
273         output.writeBytes(2, getXmlStringBytes());
274       }
275       getUnknownFields().writeTo(output);
276     }
277
278     private int memoizedSerializedSize = -1;
279
280     public int getSerializedSize() {
281       int size = memoizedSerializedSize;
282       if (size != -1)
283         return size;
284
285       size = 0;
286       if (((bitField0_ & 0x00000001) == 0x00000001)) {
287         size +=
288             com.google.protobuf.CodedOutputStream.computeBytesSize(1,
289                 getNodeIdentifierBytes());
290       }
291       if (((bitField0_ & 0x00000002) == 0x00000002)) {
292         size +=
293             com.google.protobuf.CodedOutputStream.computeBytesSize(2,
294                 getXmlStringBytes());
295       }
296       size += getUnknownFields().getSerializedSize();
297       memoizedSerializedSize = size;
298       return size;
299     }
300
301     private static final long serialVersionUID = 0L;
302
303     @java.lang.Override
304     protected java.lang.Object writeReplace()
305         throws java.io.ObjectStreamException {
306       return super.writeReplace();
307     }
308
309     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
310         com.google.protobuf.ByteString data)
311         throws com.google.protobuf.InvalidProtocolBufferException {
312       return PARSER.parseFrom(data);
313     }
314
315     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
316         com.google.protobuf.ByteString data,
317         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
318         throws com.google.protobuf.InvalidProtocolBufferException {
319       return PARSER.parseFrom(data, extensionRegistry);
320     }
321
322     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
323         byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
324       return PARSER.parseFrom(data);
325     }
326
327     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
328         byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
329         throws com.google.protobuf.InvalidProtocolBufferException {
330       return PARSER.parseFrom(data, extensionRegistry);
331     }
332
333     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
334         java.io.InputStream input) throws java.io.IOException {
335       return PARSER.parseFrom(input);
336     }
337
338     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
339         java.io.InputStream input,
340         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
341         throws java.io.IOException {
342       return PARSER.parseFrom(input, extensionRegistry);
343     }
344
345     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseDelimitedFrom(
346         java.io.InputStream input) throws java.io.IOException {
347       return PARSER.parseDelimitedFrom(input);
348     }
349
350     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseDelimitedFrom(
351         java.io.InputStream input,
352         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
353         throws java.io.IOException {
354       return PARSER.parseDelimitedFrom(input, extensionRegistry);
355     }
356
357     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
358         com.google.protobuf.CodedInputStream input) throws java.io.IOException {
359       return PARSER.parseFrom(input);
360     }
361
362     public static org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parseFrom(
363         com.google.protobuf.CodedInputStream input,
364         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
365         throws java.io.IOException {
366       return PARSER.parseFrom(input, extensionRegistry);
367     }
368
369     public static Builder newBuilder() {
370       return Builder.create();
371     }
372
373     public Builder newBuilderForType() {
374       return newBuilder();
375     }
376
377     public static Builder newBuilder(
378         org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml prototype) {
379       return newBuilder().mergeFrom(prototype);
380     }
381
382     public Builder toBuilder() {
383       return newBuilder(this);
384     }
385
386     @java.lang.Override
387     protected Builder newBuilderForType(
388         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
389       Builder builder = new Builder(parent);
390       return builder;
391     }
392
393     /**
394      * Protobuf type {@code org.opendaylight.controller.mdsal.NormalizedNodeXml}
395      */
396     public static final class Builder extends
397         com.google.protobuf.GeneratedMessage.Builder<Builder>
398         implements
399         org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXmlOrBuilder {
400       public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
401         return org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_descriptor;
402       }
403
404       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
405         return org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_fieldAccessorTable
406             .ensureFieldAccessorsInitialized(
407                 org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.class,
408                 org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.Builder.class);
409       }
410
411       // Construct using
412       // org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml.newBuilder()
413       private Builder() {
414         maybeForceBuilderInitialization();
415       }
416
417       private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
418         super(parent);
419         maybeForceBuilderInitialization();
420       }
421
422       private void maybeForceBuilderInitialization() {
423         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
424         }
425       }
426
427       private static Builder create() {
428         return new Builder();
429       }
430
431       public Builder clear() {
432         super.clear();
433         nodeIdentifier_ = "";
434         bitField0_ = (bitField0_ & ~0x00000001);
435         xmlString_ = "";
436         bitField0_ = (bitField0_ & ~0x00000002);
437         return this;
438       }
439
440       public Builder clone() {
441         return create().mergeFrom(buildPartial());
442       }
443
444       public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
445         return org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_descriptor;
446       }
447
448       public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml getDefaultInstanceForType() {
449         return org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml
450             .getDefaultInstance();
451       }
452
453       public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml build() {
454         org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml result =
455             buildPartial();
456         if (!result.isInitialized()) {
457           throw newUninitializedMessageException(result);
458         }
459         return result;
460       }
461
462       public org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml buildPartial() {
463         org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml result =
464             new org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml(
465                 this);
466         int from_bitField0_ = bitField0_;
467         int to_bitField0_ = 0;
468         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
469           to_bitField0_ |= 0x00000001;
470         }
471         result.nodeIdentifier_ = nodeIdentifier_;
472         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
473           to_bitField0_ |= 0x00000002;
474         }
475         result.xmlString_ = xmlString_;
476         result.bitField0_ = to_bitField0_;
477         onBuilt();
478         return result;
479       }
480
481       public Builder mergeFrom(com.google.protobuf.Message other) {
482         if (other instanceof org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml) {
483           return mergeFrom((org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml) other);
484         } else {
485           super.mergeFrom(other);
486           return this;
487         }
488       }
489
490       public Builder mergeFrom(
491           org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml other) {
492         if (other == org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml
493             .getDefaultInstance())
494           return this;
495         if (other.hasNodeIdentifier()) {
496           bitField0_ |= 0x00000001;
497           nodeIdentifier_ = other.nodeIdentifier_;
498           onChanged();
499         }
500         if (other.hasXmlString()) {
501           bitField0_ |= 0x00000002;
502           xmlString_ = other.xmlString_;
503           onChanged();
504         }
505         this.mergeUnknownFields(other.getUnknownFields());
506         return this;
507       }
508
509       public final boolean isInitialized() {
510         if (!hasNodeIdentifier()) {
511
512           return false;
513         }
514         if (!hasXmlString()) {
515
516           return false;
517         }
518         return true;
519       }
520
521       public Builder mergeFrom(com.google.protobuf.CodedInputStream input,
522           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
523           throws java.io.IOException {
524         org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml parsedMessage =
525             null;
526         try {
527           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
528         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
529           parsedMessage =
530               (org.opendaylight.controller.cluster.datastore.common.SimpleNormalizedNodeMessage.NormalizedNodeXml) e
531                   .getUnfinishedMessage();
532           throw e;
533         } finally {
534           if (parsedMessage != null) {
535             mergeFrom(parsedMessage);
536           }
537         }
538         return this;
539       }
540
541       private int bitField0_;
542
543       // required string nodeIdentifier = 1;
544       private java.lang.Object nodeIdentifier_ = "";
545
546       /**
547        * <code>required string nodeIdentifier = 1;</code>
548        */
549       public boolean hasNodeIdentifier() {
550         return ((bitField0_ & 0x00000001) == 0x00000001);
551       }
552
553       /**
554        * <code>required string nodeIdentifier = 1;</code>
555        */
556       public java.lang.String getNodeIdentifier() {
557         java.lang.Object ref = nodeIdentifier_;
558         if (!(ref instanceof java.lang.String)) {
559           java.lang.String s =
560               ((com.google.protobuf.ByteString) ref).toStringUtf8();
561           nodeIdentifier_ = s;
562           return s;
563         } else {
564           return (java.lang.String) ref;
565         }
566       }
567
568       /**
569        * <code>required string nodeIdentifier = 1;</code>
570        */
571       public com.google.protobuf.ByteString getNodeIdentifierBytes() {
572         java.lang.Object ref = nodeIdentifier_;
573         if (ref instanceof String) {
574           com.google.protobuf.ByteString b =
575               com.google.protobuf.ByteString
576                   .copyFromUtf8((java.lang.String) ref);
577           nodeIdentifier_ = b;
578           return b;
579         } else {
580           return (com.google.protobuf.ByteString) ref;
581         }
582       }
583
584       /**
585        * <code>required string nodeIdentifier = 1;</code>
586        */
587       public Builder setNodeIdentifier(java.lang.String value) {
588         if (value == null) {
589           throw new NullPointerException();
590         }
591         bitField0_ |= 0x00000001;
592         nodeIdentifier_ = value;
593         onChanged();
594         return this;
595       }
596
597       /**
598        * <code>required string nodeIdentifier = 1;</code>
599        */
600       public Builder clearNodeIdentifier() {
601         bitField0_ = (bitField0_ & ~0x00000001);
602         nodeIdentifier_ = getDefaultInstance().getNodeIdentifier();
603         onChanged();
604         return this;
605       }
606
607       /**
608        * <code>required string nodeIdentifier = 1;</code>
609        */
610       public Builder setNodeIdentifierBytes(com.google.protobuf.ByteString value) {
611         if (value == null) {
612           throw new NullPointerException();
613         }
614         bitField0_ |= 0x00000001;
615         nodeIdentifier_ = value;
616         onChanged();
617         return this;
618       }
619
620       // required string xmlString = 2;
621       private java.lang.Object xmlString_ = "";
622
623       /**
624        * <code>required string xmlString = 2;</code>
625        */
626       public boolean hasXmlString() {
627         return ((bitField0_ & 0x00000002) == 0x00000002);
628       }
629
630       /**
631        * <code>required string xmlString = 2;</code>
632        */
633       public java.lang.String getXmlString() {
634         java.lang.Object ref = xmlString_;
635         if (!(ref instanceof java.lang.String)) {
636           java.lang.String s =
637               ((com.google.protobuf.ByteString) ref).toStringUtf8();
638           xmlString_ = s;
639           return s;
640         } else {
641           return (java.lang.String) ref;
642         }
643       }
644
645       /**
646        * <code>required string xmlString = 2;</code>
647        */
648       public com.google.protobuf.ByteString getXmlStringBytes() {
649         java.lang.Object ref = xmlString_;
650         if (ref instanceof String) {
651           com.google.protobuf.ByteString b =
652               com.google.protobuf.ByteString
653                   .copyFromUtf8((java.lang.String) ref);
654           xmlString_ = b;
655           return b;
656         } else {
657           return (com.google.protobuf.ByteString) ref;
658         }
659       }
660
661       /**
662        * <code>required string xmlString = 2;</code>
663        */
664       public Builder setXmlString(java.lang.String value) {
665         if (value == null) {
666           throw new NullPointerException();
667         }
668         bitField0_ |= 0x00000002;
669         xmlString_ = value;
670         onChanged();
671         return this;
672       }
673
674       /**
675        * <code>required string xmlString = 2;</code>
676        */
677       public Builder clearXmlString() {
678         bitField0_ = (bitField0_ & ~0x00000002);
679         xmlString_ = getDefaultInstance().getXmlString();
680         onChanged();
681         return this;
682       }
683
684       /**
685        * <code>required string xmlString = 2;</code>
686        */
687       public Builder setXmlStringBytes(com.google.protobuf.ByteString value) {
688         if (value == null) {
689           throw new NullPointerException();
690         }
691         bitField0_ |= 0x00000002;
692         xmlString_ = value;
693         onChanged();
694         return this;
695       }
696
697       // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.NormalizedNodeXml)
698     }
699
700     static {
701       defaultInstance = new NormalizedNodeXml(true);
702       defaultInstance.initFields();
703     }
704
705     // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.NormalizedNodeXml)
706   }
707
708   private static com.google.protobuf.Descriptors.Descriptor internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_descriptor;
709   private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_fieldAccessorTable;
710
711   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
712     return descriptor;
713   }
714
715   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
716   static {
717     java.lang.String[] descriptorData =
718         {"\n\032SimpleNormalizedNode.proto\022!org.openda"
719             + "ylight.controller.mdsal\">\n\021NormalizedNod"
720             + "eXml\022\026\n\016nodeIdentifier\030\001 \002(\t\022\021\n\txmlStrin"
721             + "g\030\002 \002(\tBS\n4org.opendaylight.controller.c"
722             + "luster.datastore.commonB\033SimpleNormalize" + "dNodeMessage"};
723     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
724         new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
725           public com.google.protobuf.ExtensionRegistry assignDescriptors(
726               com.google.protobuf.Descriptors.FileDescriptor root) {
727             descriptor = root;
728             internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_descriptor =
729                 getDescriptor().getMessageTypes().get(0);
730             internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_fieldAccessorTable =
731                 new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
732                     internal_static_org_opendaylight_controller_mdsal_NormalizedNodeXml_descriptor,
733                     new java.lang.String[] {"NodeIdentifier", "XmlString",});
734             return null;
735           }
736         };
737     com.google.protobuf.Descriptors.FileDescriptor
738         .internalBuildGeneratedFileFrom(descriptorData,
739             new com.google.protobuf.Descriptors.FileDescriptor[]{}, assigner);
740   }
741
742   // @@protoc_insertion_point(outer_class_scope)
743 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.