View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: src/main/java/org/jboss/netty/example/localtime/LocalTimeProtocol.proto
3   
4   package org.jboss.netty.example.localtime;
5   
6   @SuppressWarnings("all")
7   public final class LocalTimeProtocol {
8     private LocalTimeProtocol() {}
9     public static void registerAllExtensions(
10        com.google.protobuf.ExtensionRegistry registry) {
11    }
12    /**
13     * Protobuf enum {@code org.jboss.netty.example.localtime.Continent}
14     */
15    public enum Continent
16        implements com.google.protobuf.ProtocolMessageEnum {
17      /**
18       * <code>AFRICA = 0;</code>
19       */
20      AFRICA(0, 0),
21      /**
22       * <code>AMERICA = 1;</code>
23       */
24      AMERICA(1, 1),
25      /**
26       * <code>ANTARCTICA = 2;</code>
27       */
28      ANTARCTICA(2, 2),
29      /**
30       * <code>ARCTIC = 3;</code>
31       */
32      ARCTIC(3, 3),
33      /**
34       * <code>ASIA = 4;</code>
35       */
36      ASIA(4, 4),
37      /**
38       * <code>ATLANTIC = 5;</code>
39       */
40      ATLANTIC(5, 5),
41      /**
42       * <code>AUSTRALIA = 6;</code>
43       */
44      AUSTRALIA(6, 6),
45      /**
46       * <code>EUROPE = 7;</code>
47       */
48      EUROPE(7, 7),
49      /**
50       * <code>INDIAN = 8;</code>
51       */
52      INDIAN(8, 8),
53      /**
54       * <code>MIDEAST = 9;</code>
55       */
56      MIDEAST(9, 9),
57      /**
58       * <code>PACIFIC = 10;</code>
59       */
60      PACIFIC(10, 10),
61      ;
62  
63      /**
64       * <code>AFRICA = 0;</code>
65       */
66      public static final int AFRICA_VALUE = 0;
67      /**
68       * <code>AMERICA = 1;</code>
69       */
70      public static final int AMERICA_VALUE = 1;
71      /**
72       * <code>ANTARCTICA = 2;</code>
73       */
74      public static final int ANTARCTICA_VALUE = 2;
75      /**
76       * <code>ARCTIC = 3;</code>
77       */
78      public static final int ARCTIC_VALUE = 3;
79      /**
80       * <code>ASIA = 4;</code>
81       */
82      public static final int ASIA_VALUE = 4;
83      /**
84       * <code>ATLANTIC = 5;</code>
85       */
86      public static final int ATLANTIC_VALUE = 5;
87      /**
88       * <code>AUSTRALIA = 6;</code>
89       */
90      public static final int AUSTRALIA_VALUE = 6;
91      /**
92       * <code>EUROPE = 7;</code>
93       */
94      public static final int EUROPE_VALUE = 7;
95      /**
96       * <code>INDIAN = 8;</code>
97       */
98      public static final int INDIAN_VALUE = 8;
99      /**
100      * <code>MIDEAST = 9;</code>
101      */
102     public static final int MIDEAST_VALUE = 9;
103     /**
104      * <code>PACIFIC = 10;</code>
105      */
106     public static final int PACIFIC_VALUE = 10;
107 
108 
109     public final int getNumber() { return value; }
110 
111     public static Continent valueOf(int value) {
112       switch (value) {
113         case 0: return AFRICA;
114         case 1: return AMERICA;
115         case 2: return ANTARCTICA;
116         case 3: return ARCTIC;
117         case 4: return ASIA;
118         case 5: return ATLANTIC;
119         case 6: return AUSTRALIA;
120         case 7: return EUROPE;
121         case 8: return INDIAN;
122         case 9: return MIDEAST;
123         case 10: return PACIFIC;
124         default: return null;
125       }
126     }
127 
128     public static com.google.protobuf.Internal.EnumLiteMap<Continent>
129         internalGetValueMap() {
130       return internalValueMap;
131     }
132     private static com.google.protobuf.Internal.EnumLiteMap<Continent>
133         internalValueMap =
134           new com.google.protobuf.Internal.EnumLiteMap<Continent>() {
135             public Continent findValueByNumber(int number) {
136               return Continent.valueOf(number);
137             }
138           };
139 
140     public final com.google.protobuf.Descriptors.EnumValueDescriptor
141         getValueDescriptor() {
142       return getDescriptor().getValues().get(index);
143     }
144     public final com.google.protobuf.Descriptors.EnumDescriptor
145         getDescriptorForType() {
146       return getDescriptor();
147     }
148     public static final com.google.protobuf.Descriptors.EnumDescriptor
149         getDescriptor() {
150       return org.jboss.netty.example.localtime.LocalTimeProtocol.getDescriptor().getEnumTypes().get(0);
151     }
152 
153     private static final Continent[] VALUES = values();
154 
155     public static Continent valueOf(
156         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
157       if (desc.getType() != getDescriptor()) {
158         throw new java.lang.IllegalArgumentException(
159           "EnumValueDescriptor is not for this type.");
160       }
161       return VALUES[desc.getIndex()];
162     }
163 
164     private final int index;
165     private final int value;
166 
167     private Continent(int index, int value) {
168       this.index = index;
169       this.value = value;
170     }
171 
172     // @@protoc_insertion_point(enum_scope:org.jboss.netty.example.localtime.Continent)
173   }
174 
175   /**
176    * Protobuf enum {@code org.jboss.netty.example.localtime.DayOfWeek}
177    */
178   public enum DayOfWeek
179       implements com.google.protobuf.ProtocolMessageEnum {
180     /**
181      * <code>SUNDAY = 1;</code>
182      */
183     SUNDAY(0, 1),
184     /**
185      * <code>MONDAY = 2;</code>
186      */
187     MONDAY(1, 2),
188     /**
189      * <code>TUESDAY = 3;</code>
190      */
191     TUESDAY(2, 3),
192     /**
193      * <code>WEDNESDAY = 4;</code>
194      */
195     WEDNESDAY(3, 4),
196     /**
197      * <code>THURSDAY = 5;</code>
198      */
199     THURSDAY(4, 5),
200     /**
201      * <code>FRIDAY = 6;</code>
202      */
203     FRIDAY(5, 6),
204     /**
205      * <code>SATURDAY = 7;</code>
206      */
207     SATURDAY(6, 7),
208     ;
209 
210     /**
211      * <code>SUNDAY = 1;</code>
212      */
213     public static final int SUNDAY_VALUE = 1;
214     /**
215      * <code>MONDAY = 2;</code>
216      */
217     public static final int MONDAY_VALUE = 2;
218     /**
219      * <code>TUESDAY = 3;</code>
220      */
221     public static final int TUESDAY_VALUE = 3;
222     /**
223      * <code>WEDNESDAY = 4;</code>
224      */
225     public static final int WEDNESDAY_VALUE = 4;
226     /**
227      * <code>THURSDAY = 5;</code>
228      */
229     public static final int THURSDAY_VALUE = 5;
230     /**
231      * <code>FRIDAY = 6;</code>
232      */
233     public static final int FRIDAY_VALUE = 6;
234     /**
235      * <code>SATURDAY = 7;</code>
236      */
237     public static final int SATURDAY_VALUE = 7;
238 
239 
240     public final int getNumber() { return value; }
241 
242     public static DayOfWeek valueOf(int value) {
243       switch (value) {
244         case 1: return SUNDAY;
245         case 2: return MONDAY;
246         case 3: return TUESDAY;
247         case 4: return WEDNESDAY;
248         case 5: return THURSDAY;
249         case 6: return FRIDAY;
250         case 7: return SATURDAY;
251         default: return null;
252       }
253     }
254 
255     public static com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
256         internalGetValueMap() {
257       return internalValueMap;
258     }
259     private static com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
260         internalValueMap =
261           new com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>() {
262             public DayOfWeek findValueByNumber(int number) {
263               return DayOfWeek.valueOf(number);
264             }
265           };
266 
267     public final com.google.protobuf.Descriptors.EnumValueDescriptor
268         getValueDescriptor() {
269       return getDescriptor().getValues().get(index);
270     }
271     public final com.google.protobuf.Descriptors.EnumDescriptor
272         getDescriptorForType() {
273       return getDescriptor();
274     }
275     public static final com.google.protobuf.Descriptors.EnumDescriptor
276         getDescriptor() {
277       return org.jboss.netty.example.localtime.LocalTimeProtocol.getDescriptor().getEnumTypes().get(1);
278     }
279 
280     private static final DayOfWeek[] VALUES = values();
281 
282     public static DayOfWeek valueOf(
283         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
284       if (desc.getType() != getDescriptor()) {
285         throw new java.lang.IllegalArgumentException(
286           "EnumValueDescriptor is not for this type.");
287       }
288       return VALUES[desc.getIndex()];
289     }
290 
291     private final int index;
292     private final int value;
293 
294     private DayOfWeek(int index, int value) {
295       this.index = index;
296       this.value = value;
297     }
298 
299     // @@protoc_insertion_point(enum_scope:org.jboss.netty.example.localtime.DayOfWeek)
300   }
301 
302   public interface LocationOrBuilder
303       extends com.google.protobuf.MessageOrBuilder {
304 
305     // required .org.jboss.netty.example.localtime.Continent continent = 1;
306     /**
307      * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
308      */
309     boolean hasContinent();
310     /**
311      * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
312      */
313     org.jboss.netty.example.localtime.LocalTimeProtocol.Continent getContinent();
314 
315     // required string city = 2;
316     /**
317      * <code>required string city = 2;</code>
318      */
319     boolean hasCity();
320     /**
321      * <code>required string city = 2;</code>
322      */
323     java.lang.String getCity();
324     /**
325      * <code>required string city = 2;</code>
326      */
327     com.google.protobuf.ByteString
328         getCityBytes();
329   }
330   /**
331    * Protobuf type {@code org.jboss.netty.example.localtime.Location}
332    */
333   public static final class Location extends
334       com.google.protobuf.GeneratedMessage
335       implements LocationOrBuilder {
336     // Use Location.newBuilder() to construct.
337     private Location(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
338       super(builder);
339       this.unknownFields = builder.getUnknownFields();
340     }
341     private Location(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
342 
343     private static final Location defaultInstance;
344     public static Location getDefaultInstance() {
345       return defaultInstance;
346     }
347 
348     public Location getDefaultInstanceForType() {
349       return defaultInstance;
350     }
351 
352     private final com.google.protobuf.UnknownFieldSet unknownFields;
353     @java.lang.Override
354     public final com.google.protobuf.UnknownFieldSet
355         getUnknownFields() {
356       return this.unknownFields;
357     }
358     private Location(
359         com.google.protobuf.CodedInputStream input,
360         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
361         throws com.google.protobuf.InvalidProtocolBufferException {
362       initFields();
363       int mutable_bitField0_ = 0;
364       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
365           com.google.protobuf.UnknownFieldSet.newBuilder();
366       try {
367         boolean done = false;
368         while (!done) {
369           int tag = input.readTag();
370           switch (tag) {
371             case 0:
372               done = true;
373               break;
374             default: {
375               if (!parseUnknownField(input, unknownFields,
376                                      extensionRegistry, tag)) {
377                 done = true;
378               }
379               break;
380             }
381             case 8: {
382               int rawValue = input.readEnum();
383               org.jboss.netty.example.localtime.LocalTimeProtocol.Continent value = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.valueOf(rawValue);
384               if (value == null) {
385                 unknownFields.mergeVarintField(1, rawValue);
386               } else {
387                 bitField0_ |= 0x00000001;
388                 continent_ = value;
389               }
390               break;
391             }
392             case 18: {
393               bitField0_ |= 0x00000002;
394               city_ = input.readBytes();
395               break;
396             }
397           }
398         }
399       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
400         throw e.setUnfinishedMessage(this);
401       } catch (java.io.IOException e) {
402         throw new com.google.protobuf.InvalidProtocolBufferException(
403             e.getMessage()).setUnfinishedMessage(this);
404       } finally {
405         this.unknownFields = unknownFields.build();
406         makeExtensionsImmutable();
407       }
408     }
409     public static final com.google.protobuf.Descriptors.Descriptor
410         getDescriptor() {
411       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_descriptor;
412     }
413 
414     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
415         internalGetFieldAccessorTable() {
416       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable
417           .ensureFieldAccessorsInitialized(
418               org.jboss.netty.example.localtime.LocalTimeProtocol.Location.class, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder.class);
419     }
420 
421     public static com.google.protobuf.Parser<Location> PARSER =
422         new com.google.protobuf.AbstractParser<Location>() {
423       public Location parsePartialFrom(
424           com.google.protobuf.CodedInputStream input,
425           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
426           throws com.google.protobuf.InvalidProtocolBufferException {
427         return new Location(input, extensionRegistry);
428       }
429     };
430 
431     @java.lang.Override
432     public com.google.protobuf.Parser<Location> getParserForType() {
433       return PARSER;
434     }
435 
436     private int bitField0_;
437     // required .org.jboss.netty.example.localtime.Continent continent = 1;
438     public static final int CONTINENT_FIELD_NUMBER = 1;
439     private org.jboss.netty.example.localtime.LocalTimeProtocol.Continent continent_;
440     /**
441      * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
442      */
443     public boolean hasContinent() {
444       return ((bitField0_ & 0x00000001) == 0x00000001);
445     }
446     /**
447      * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
448      */
449     public org.jboss.netty.example.localtime.LocalTimeProtocol.Continent getContinent() {
450       return continent_;
451     }
452 
453     // required string city = 2;
454     public static final int CITY_FIELD_NUMBER = 2;
455     private java.lang.Object city_;
456     /**
457      * <code>required string city = 2;</code>
458      */
459     public boolean hasCity() {
460       return ((bitField0_ & 0x00000002) == 0x00000002);
461     }
462     /**
463      * <code>required string city = 2;</code>
464      */
465     public java.lang.String getCity() {
466       java.lang.Object ref = city_;
467       if (ref instanceof java.lang.String) {
468         return (java.lang.String) ref;
469       } else {
470         com.google.protobuf.ByteString bs = 
471             (com.google.protobuf.ByteString) ref;
472         java.lang.String s = bs.toStringUtf8();
473         if (bs.isValidUtf8()) {
474           city_ = s;
475         }
476         return s;
477       }
478     }
479     /**
480      * <code>required string city = 2;</code>
481      */
482     public com.google.protobuf.ByteString
483         getCityBytes() {
484       java.lang.Object ref = city_;
485       if (ref instanceof java.lang.String) {
486         com.google.protobuf.ByteString b = 
487             com.google.protobuf.ByteString.copyFromUtf8(
488                 (java.lang.String) ref);
489         city_ = b;
490         return b;
491       } else {
492         return (com.google.protobuf.ByteString) ref;
493       }
494     }
495 
496     private void initFields() {
497       continent_ = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.AFRICA;
498       city_ = "";
499     }
500     private byte memoizedIsInitialized = -1;
501     public final boolean isInitialized() {
502       byte isInitialized = memoizedIsInitialized;
503       if (isInitialized != -1) return isInitialized == 1;
504 
505       if (!hasContinent()) {
506         memoizedIsInitialized = 0;
507         return false;
508       }
509       if (!hasCity()) {
510         memoizedIsInitialized = 0;
511         return false;
512       }
513       memoizedIsInitialized = 1;
514       return true;
515     }
516 
517     public void writeTo(com.google.protobuf.CodedOutputStream output)
518                         throws java.io.IOException {
519       getSerializedSize();
520       if (((bitField0_ & 0x00000001) == 0x00000001)) {
521         output.writeEnum(1, continent_.getNumber());
522       }
523       if (((bitField0_ & 0x00000002) == 0x00000002)) {
524         output.writeBytes(2, getCityBytes());
525       }
526       getUnknownFields().writeTo(output);
527     }
528 
529     private int memoizedSerializedSize = -1;
530     public int getSerializedSize() {
531       int size = memoizedSerializedSize;
532       if (size != -1) return size;
533 
534       size = 0;
535       if (((bitField0_ & 0x00000001) == 0x00000001)) {
536         size += com.google.protobuf.CodedOutputStream
537           .computeEnumSize(1, continent_.getNumber());
538       }
539       if (((bitField0_ & 0x00000002) == 0x00000002)) {
540         size += com.google.protobuf.CodedOutputStream
541           .computeBytesSize(2, getCityBytes());
542       }
543       size += getUnknownFields().getSerializedSize();
544       memoizedSerializedSize = size;
545       return size;
546     }
547 
548     private static final long serialVersionUID = 0L;
549     @java.lang.Override
550     protected java.lang.Object writeReplace()
551         throws java.io.ObjectStreamException {
552       return super.writeReplace();
553     }
554 
555     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(
556         com.google.protobuf.ByteString data)
557         throws com.google.protobuf.InvalidProtocolBufferException {
558       return PARSER.parseFrom(data);
559     }
560     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(
561         com.google.protobuf.ByteString data,
562         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
563         throws com.google.protobuf.InvalidProtocolBufferException {
564       return PARSER.parseFrom(data, extensionRegistry);
565     }
566     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(byte[] data)
567         throws com.google.protobuf.InvalidProtocolBufferException {
568       return PARSER.parseFrom(data);
569     }
570     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(
571         byte[] data,
572         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
573         throws com.google.protobuf.InvalidProtocolBufferException {
574       return PARSER.parseFrom(data, extensionRegistry);
575     }
576     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(java.io.InputStream input)
577         throws java.io.IOException {
578       return PARSER.parseFrom(input);
579     }
580     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(
581         java.io.InputStream input,
582         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
583         throws java.io.IOException {
584       return PARSER.parseFrom(input, extensionRegistry);
585     }
586     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseDelimitedFrom(java.io.InputStream input)
587         throws java.io.IOException {
588       return PARSER.parseDelimitedFrom(input);
589     }
590     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseDelimitedFrom(
591         java.io.InputStream input,
592         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
593         throws java.io.IOException {
594       return PARSER.parseDelimitedFrom(input, extensionRegistry);
595     }
596     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(
597         com.google.protobuf.CodedInputStream input)
598         throws java.io.IOException {
599       return PARSER.parseFrom(input);
600     }
601     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Location parseFrom(
602         com.google.protobuf.CodedInputStream input,
603         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
604         throws java.io.IOException {
605       return PARSER.parseFrom(input, extensionRegistry);
606     }
607 
608     public static Builder newBuilder() { return Builder.create(); }
609     public Builder newBuilderForType() { return newBuilder(); }
610     public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.Location prototype) {
611       return newBuilder().mergeFrom(prototype);
612     }
613     public Builder toBuilder() { return newBuilder(this); }
614 
615     @java.lang.Override
616     protected Builder newBuilderForType(
617         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
618       Builder builder = new Builder(parent);
619       return builder;
620     }
621     /**
622      * Protobuf type {@code org.jboss.netty.example.localtime.Location}
623      */
624     public static final class Builder extends
625         com.google.protobuf.GeneratedMessage.Builder<Builder>
626        implements org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder {
627       public static final com.google.protobuf.Descriptors.Descriptor
628           getDescriptor() {
629         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_descriptor;
630       }
631 
632       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
633           internalGetFieldAccessorTable() {
634         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable
635             .ensureFieldAccessorsInitialized(
636                 org.jboss.netty.example.localtime.LocalTimeProtocol.Location.class, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder.class);
637       }
638 
639       // Construct using org.jboss.netty.example.localtime.LocalTimeProtocol.Location.newBuilder()
640       private Builder() {
641         maybeForceBuilderInitialization();
642       }
643 
644       private Builder(
645           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
646         super(parent);
647         maybeForceBuilderInitialization();
648       }
649       private void maybeForceBuilderInitialization() {
650         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
651         }
652       }
653       private static Builder create() {
654         return new Builder();
655       }
656 
657       public Builder clear() {
658         super.clear();
659         continent_ = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.AFRICA;
660         bitField0_ = (bitField0_ & ~0x00000001);
661         city_ = "";
662         bitField0_ = (bitField0_ & ~0x00000002);
663         return this;
664       }
665 
666       public Builder clone() {
667         return create().mergeFrom(buildPartial());
668       }
669 
670       public com.google.protobuf.Descriptors.Descriptor
671           getDescriptorForType() {
672         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_descriptor;
673       }
674 
675       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location getDefaultInstanceForType() {
676         return org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDefaultInstance();
677       }
678 
679       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location build() {
680         org.jboss.netty.example.localtime.LocalTimeProtocol.Location result = buildPartial();
681         if (!result.isInitialized()) {
682           throw newUninitializedMessageException(result);
683         }
684         return result;
685       }
686 
687       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location buildPartial() {
688         org.jboss.netty.example.localtime.LocalTimeProtocol.Location result = new org.jboss.netty.example.localtime.LocalTimeProtocol.Location(this);
689         int from_bitField0_ = bitField0_;
690         int to_bitField0_ = 0;
691         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
692           to_bitField0_ |= 0x00000001;
693         }
694         result.continent_ = continent_;
695         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
696           to_bitField0_ |= 0x00000002;
697         }
698         result.city_ = city_;
699         result.bitField0_ = to_bitField0_;
700         onBuilt();
701         return result;
702       }
703 
704       public Builder mergeFrom(com.google.protobuf.Message other) {
705         if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.Location) {
706           return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.Location)other);
707         } else {
708           super.mergeFrom(other);
709           return this;
710         }
711       }
712 
713       public Builder mergeFrom(org.jboss.netty.example.localtime.LocalTimeProtocol.Location other) {
714         if (other == org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDefaultInstance()) return this;
715         if (other.hasContinent()) {
716           setContinent(other.getContinent());
717         }
718         if (other.hasCity()) {
719           bitField0_ |= 0x00000002;
720           city_ = other.city_;
721           onChanged();
722         }
723         this.mergeUnknownFields(other.getUnknownFields());
724         return this;
725       }
726 
727       public final boolean isInitialized() {
728         if (!hasContinent()) {
729           
730           return false;
731         }
732         if (!hasCity()) {
733           
734           return false;
735         }
736         return true;
737       }
738 
739       public Builder mergeFrom(
740           com.google.protobuf.CodedInputStream input,
741           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
742           throws java.io.IOException {
743         org.jboss.netty.example.localtime.LocalTimeProtocol.Location parsedMessage = null;
744         try {
745           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
746         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
747           parsedMessage = (org.jboss.netty.example.localtime.LocalTimeProtocol.Location) e.getUnfinishedMessage();
748           throw e;
749         } finally {
750           if (parsedMessage != null) {
751             mergeFrom(parsedMessage);
752           }
753         }
754         return this;
755       }
756       private int bitField0_;
757 
758       // required .org.jboss.netty.example.localtime.Continent continent = 1;
759       private org.jboss.netty.example.localtime.LocalTimeProtocol.Continent continent_ = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.AFRICA;
760       /**
761        * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
762        */
763       public boolean hasContinent() {
764         return ((bitField0_ & 0x00000001) == 0x00000001);
765       }
766       /**
767        * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
768        */
769       public org.jboss.netty.example.localtime.LocalTimeProtocol.Continent getContinent() {
770         return continent_;
771       }
772       /**
773        * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
774        */
775       public Builder setContinent(org.jboss.netty.example.localtime.LocalTimeProtocol.Continent value) {
776         if (value == null) {
777           throw new NullPointerException();
778         }
779         bitField0_ |= 0x00000001;
780         continent_ = value;
781         onChanged();
782         return this;
783       }
784       /**
785        * <code>required .org.jboss.netty.example.localtime.Continent continent = 1;</code>
786        */
787       public Builder clearContinent() {
788         bitField0_ = (bitField0_ & ~0x00000001);
789         continent_ = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.AFRICA;
790         onChanged();
791         return this;
792       }
793 
794       // required string city = 2;
795       private java.lang.Object city_ = "";
796       /**
797        * <code>required string city = 2;</code>
798        */
799       public boolean hasCity() {
800         return ((bitField0_ & 0x00000002) == 0x00000002);
801       }
802       /**
803        * <code>required string city = 2;</code>
804        */
805       public java.lang.String getCity() {
806         java.lang.Object ref = city_;
807         if (!(ref instanceof java.lang.String)) {
808           java.lang.String s = ((com.google.protobuf.ByteString) ref)
809               .toStringUtf8();
810           city_ = s;
811           return s;
812         } else {
813           return (java.lang.String) ref;
814         }
815       }
816       /**
817        * <code>required string city = 2;</code>
818        */
819       public com.google.protobuf.ByteString
820           getCityBytes() {
821         java.lang.Object ref = city_;
822         if (ref instanceof String) {
823           com.google.protobuf.ByteString b = 
824               com.google.protobuf.ByteString.copyFromUtf8(
825                   (java.lang.String) ref);
826           city_ = b;
827           return b;
828         } else {
829           return (com.google.protobuf.ByteString) ref;
830         }
831       }
832       /**
833        * <code>required string city = 2;</code>
834        */
835       public Builder setCity(
836           java.lang.String value) {
837         if (value == null) {
838     throw new NullPointerException();
839   }
840   bitField0_ |= 0x00000002;
841         city_ = value;
842         onChanged();
843         return this;
844       }
845       /**
846        * <code>required string city = 2;</code>
847        */
848       public Builder clearCity() {
849         bitField0_ = (bitField0_ & ~0x00000002);
850         city_ = getDefaultInstance().getCity();
851         onChanged();
852         return this;
853       }
854       /**
855        * <code>required string city = 2;</code>
856        */
857       public Builder setCityBytes(
858           com.google.protobuf.ByteString value) {
859         if (value == null) {
860     throw new NullPointerException();
861   }
862   bitField0_ |= 0x00000002;
863         city_ = value;
864         onChanged();
865         return this;
866       }
867 
868       // @@protoc_insertion_point(builder_scope:org.jboss.netty.example.localtime.Location)
869     }
870 
871     static {
872       defaultInstance = new Location(true);
873       defaultInstance.initFields();
874     }
875 
876     // @@protoc_insertion_point(class_scope:org.jboss.netty.example.localtime.Location)
877   }
878 
879   public interface LocationsOrBuilder
880       extends com.google.protobuf.MessageOrBuilder {
881 
882     // repeated .org.jboss.netty.example.localtime.Location location = 1;
883     /**
884      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
885      */
886     java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.Location> 
887         getLocationList();
888     /**
889      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
890      */
891     org.jboss.netty.example.localtime.LocalTimeProtocol.Location getLocation(int index);
892     /**
893      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
894      */
895     int getLocationCount();
896     /**
897      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
898      */
899     java.util.List<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder> 
900         getLocationOrBuilderList();
901     /**
902      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
903      */
904     org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder getLocationOrBuilder(
905         int index);
906   }
907   /**
908    * Protobuf type {@code org.jboss.netty.example.localtime.Locations}
909    */
910   public static final class Locations extends
911       com.google.protobuf.GeneratedMessage
912       implements LocationsOrBuilder {
913     // Use Locations.newBuilder() to construct.
914     private Locations(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
915       super(builder);
916       this.unknownFields = builder.getUnknownFields();
917     }
918     private Locations(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
919 
920     private static final Locations defaultInstance;
921     public static Locations getDefaultInstance() {
922       return defaultInstance;
923     }
924 
925     public Locations getDefaultInstanceForType() {
926       return defaultInstance;
927     }
928 
929     private final com.google.protobuf.UnknownFieldSet unknownFields;
930     @java.lang.Override
931     public final com.google.protobuf.UnknownFieldSet
932         getUnknownFields() {
933       return this.unknownFields;
934     }
935     private Locations(
936         com.google.protobuf.CodedInputStream input,
937         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
938         throws com.google.protobuf.InvalidProtocolBufferException {
939       initFields();
940       int mutable_bitField0_ = 0;
941       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
942           com.google.protobuf.UnknownFieldSet.newBuilder();
943       try {
944         boolean done = false;
945         while (!done) {
946           int tag = input.readTag();
947           switch (tag) {
948             case 0:
949               done = true;
950               break;
951             default: {
952               if (!parseUnknownField(input, unknownFields,
953                                      extensionRegistry, tag)) {
954                 done = true;
955               }
956               break;
957             }
958             case 10: {
959               if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
960                 location_ = new java.util.ArrayList<org.jboss.netty.example.localtime.LocalTimeProtocol.Location>();
961                 mutable_bitField0_ |= 0x00000001;
962               }
963               location_.add(input.readMessage(org.jboss.netty.example.localtime.LocalTimeProtocol.Location.PARSER, extensionRegistry));
964               break;
965             }
966           }
967         }
968       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
969         throw e.setUnfinishedMessage(this);
970       } catch (java.io.IOException e) {
971         throw new com.google.protobuf.InvalidProtocolBufferException(
972             e.getMessage()).setUnfinishedMessage(this);
973       } finally {
974         if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
975           location_ = java.util.Collections.unmodifiableList(location_);
976         }
977         this.unknownFields = unknownFields.build();
978         makeExtensionsImmutable();
979       }
980     }
981     public static final com.google.protobuf.Descriptors.Descriptor
982         getDescriptor() {
983       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_descriptor;
984     }
985 
986     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
987         internalGetFieldAccessorTable() {
988       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_fieldAccessorTable
989           .ensureFieldAccessorsInitialized(
990               org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.class, org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.Builder.class);
991     }
992 
993     public static com.google.protobuf.Parser<Locations> PARSER =
994         new com.google.protobuf.AbstractParser<Locations>() {
995       public Locations parsePartialFrom(
996           com.google.protobuf.CodedInputStream input,
997           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
998           throws com.google.protobuf.InvalidProtocolBufferException {
999         return new Locations(input, extensionRegistry);
1000       }
1001     };
1002 
1003     @java.lang.Override
1004     public com.google.protobuf.Parser<Locations> getParserForType() {
1005       return PARSER;
1006     }
1007 
1008     // repeated .org.jboss.netty.example.localtime.Location location = 1;
1009     public static final int LOCATION_FIELD_NUMBER = 1;
1010     private java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.Location> location_;
1011     /**
1012      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1013      */
1014     public java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.Location> getLocationList() {
1015       return location_;
1016     }
1017     /**
1018      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1019      */
1020     public java.util.List<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder> 
1021         getLocationOrBuilderList() {
1022       return location_;
1023     }
1024     /**
1025      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1026      */
1027     public int getLocationCount() {
1028       return location_.size();
1029     }
1030     /**
1031      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1032      */
1033     public org.jboss.netty.example.localtime.LocalTimeProtocol.Location getLocation(int index) {
1034       return location_.get(index);
1035     }
1036     /**
1037      * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1038      */
1039     public org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder getLocationOrBuilder(
1040         int index) {
1041       return location_.get(index);
1042     }
1043 
1044     private void initFields() {
1045       location_ = java.util.Collections.emptyList();
1046     }
1047     private byte memoizedIsInitialized = -1;
1048     public final boolean isInitialized() {
1049       byte isInitialized = memoizedIsInitialized;
1050       if (isInitialized != -1) return isInitialized == 1;
1051 
1052       for (int i = 0; i < getLocationCount(); i++) {
1053         if (!getLocation(i).isInitialized()) {
1054           memoizedIsInitialized = 0;
1055           return false;
1056         }
1057       }
1058       memoizedIsInitialized = 1;
1059       return true;
1060     }
1061 
1062     public void writeTo(com.google.protobuf.CodedOutputStream output)
1063                         throws java.io.IOException {
1064       getSerializedSize();
1065       for (int i = 0; i < location_.size(); i++) {
1066         output.writeMessage(1, location_.get(i));
1067       }
1068       getUnknownFields().writeTo(output);
1069     }
1070 
1071     private int memoizedSerializedSize = -1;
1072     public int getSerializedSize() {
1073       int size = memoizedSerializedSize;
1074       if (size != -1) return size;
1075 
1076       size = 0;
1077       for (int i = 0; i < location_.size(); i++) {
1078         size += com.google.protobuf.CodedOutputStream
1079           .computeMessageSize(1, location_.get(i));
1080       }
1081       size += getUnknownFields().getSerializedSize();
1082       memoizedSerializedSize = size;
1083       return size;
1084     }
1085 
1086     private static final long serialVersionUID = 0L;
1087     @java.lang.Override
1088     protected java.lang.Object writeReplace()
1089         throws java.io.ObjectStreamException {
1090       return super.writeReplace();
1091     }
1092 
1093     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(
1094         com.google.protobuf.ByteString data)
1095         throws com.google.protobuf.InvalidProtocolBufferException {
1096       return PARSER.parseFrom(data);
1097     }
1098     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(
1099         com.google.protobuf.ByteString data,
1100         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1101         throws com.google.protobuf.InvalidProtocolBufferException {
1102       return PARSER.parseFrom(data, extensionRegistry);
1103     }
1104     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(byte[] data)
1105         throws com.google.protobuf.InvalidProtocolBufferException {
1106       return PARSER.parseFrom(data);
1107     }
1108     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(
1109         byte[] data,
1110         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1111         throws com.google.protobuf.InvalidProtocolBufferException {
1112       return PARSER.parseFrom(data, extensionRegistry);
1113     }
1114     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(java.io.InputStream input)
1115         throws java.io.IOException {
1116       return PARSER.parseFrom(input);
1117     }
1118     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(
1119         java.io.InputStream input,
1120         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1121         throws java.io.IOException {
1122       return PARSER.parseFrom(input, extensionRegistry);
1123     }
1124     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseDelimitedFrom(java.io.InputStream input)
1125         throws java.io.IOException {
1126       return PARSER.parseDelimitedFrom(input);
1127     }
1128     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseDelimitedFrom(
1129         java.io.InputStream input,
1130         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1131         throws java.io.IOException {
1132       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1133     }
1134     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(
1135         com.google.protobuf.CodedInputStream input)
1136         throws java.io.IOException {
1137       return PARSER.parseFrom(input);
1138     }
1139     public static org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parseFrom(
1140         com.google.protobuf.CodedInputStream input,
1141         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1142         throws java.io.IOException {
1143       return PARSER.parseFrom(input, extensionRegistry);
1144     }
1145 
1146     public static Builder newBuilder() { return Builder.create(); }
1147     public Builder newBuilderForType() { return newBuilder(); }
1148     public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.Locations prototype) {
1149       return newBuilder().mergeFrom(prototype);
1150     }
1151     public Builder toBuilder() { return newBuilder(this); }
1152 
1153     @java.lang.Override
1154     protected Builder newBuilderForType(
1155         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1156       Builder builder = new Builder(parent);
1157       return builder;
1158     }
1159     /**
1160      * Protobuf type {@code org.jboss.netty.example.localtime.Locations}
1161      */
1162     public static final class Builder extends
1163         com.google.protobuf.GeneratedMessage.Builder<Builder>
1164        implements org.jboss.netty.example.localtime.LocalTimeProtocol.LocationsOrBuilder {
1165       public static final com.google.protobuf.Descriptors.Descriptor
1166           getDescriptor() {
1167         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_descriptor;
1168       }
1169 
1170       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1171           internalGetFieldAccessorTable() {
1172         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_fieldAccessorTable
1173             .ensureFieldAccessorsInitialized(
1174                 org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.class, org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.Builder.class);
1175       }
1176 
1177       // Construct using org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.newBuilder()
1178       private Builder() {
1179         maybeForceBuilderInitialization();
1180       }
1181 
1182       private Builder(
1183           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1184         super(parent);
1185         maybeForceBuilderInitialization();
1186       }
1187       private void maybeForceBuilderInitialization() {
1188         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1189           getLocationFieldBuilder();
1190         }
1191       }
1192       private static Builder create() {
1193         return new Builder();
1194       }
1195 
1196       public Builder clear() {
1197         super.clear();
1198         if (locationBuilder_ == null) {
1199           location_ = java.util.Collections.emptyList();
1200           bitField0_ = (bitField0_ & ~0x00000001);
1201         } else {
1202           locationBuilder_.clear();
1203         }
1204         return this;
1205       }
1206 
1207       public Builder clone() {
1208         return create().mergeFrom(buildPartial());
1209       }
1210 
1211       public com.google.protobuf.Descriptors.Descriptor
1212           getDescriptorForType() {
1213         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_descriptor;
1214       }
1215 
1216       public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations getDefaultInstanceForType() {
1217         return org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.getDefaultInstance();
1218       }
1219 
1220       public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations build() {
1221         org.jboss.netty.example.localtime.LocalTimeProtocol.Locations result = buildPartial();
1222         if (!result.isInitialized()) {
1223           throw newUninitializedMessageException(result);
1224         }
1225         return result;
1226       }
1227 
1228       public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations buildPartial() {
1229         org.jboss.netty.example.localtime.LocalTimeProtocol.Locations result = new org.jboss.netty.example.localtime.LocalTimeProtocol.Locations(this);
1230         int from_bitField0_ = bitField0_;
1231         if (locationBuilder_ == null) {
1232           if (((bitField0_ & 0x00000001) == 0x00000001)) {
1233             location_ = java.util.Collections.unmodifiableList(location_);
1234             bitField0_ = (bitField0_ & ~0x00000001);
1235           }
1236           result.location_ = location_;
1237         } else {
1238           result.location_ = locationBuilder_.build();
1239         }
1240         onBuilt();
1241         return result;
1242       }
1243 
1244       public Builder mergeFrom(com.google.protobuf.Message other) {
1245         if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.Locations) {
1246           return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.Locations)other);
1247         } else {
1248           super.mergeFrom(other);
1249           return this;
1250         }
1251       }
1252 
1253       public Builder mergeFrom(org.jboss.netty.example.localtime.LocalTimeProtocol.Locations other) {
1254         if (other == org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.getDefaultInstance()) return this;
1255         if (locationBuilder_ == null) {
1256           if (!other.location_.isEmpty()) {
1257             if (location_.isEmpty()) {
1258               location_ = other.location_;
1259               bitField0_ = (bitField0_ & ~0x00000001);
1260             } else {
1261               ensureLocationIsMutable();
1262               location_.addAll(other.location_);
1263             }
1264             onChanged();
1265           }
1266         } else {
1267           if (!other.location_.isEmpty()) {
1268             if (locationBuilder_.isEmpty()) {
1269               locationBuilder_.dispose();
1270               locationBuilder_ = null;
1271               location_ = other.location_;
1272               bitField0_ = (bitField0_ & ~0x00000001);
1273               locationBuilder_ = 
1274                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1275                    getLocationFieldBuilder() : null;
1276             } else {
1277               locationBuilder_.addAllMessages(other.location_);
1278             }
1279           }
1280         }
1281         this.mergeUnknownFields(other.getUnknownFields());
1282         return this;
1283       }
1284 
1285       public final boolean isInitialized() {
1286         for (int i = 0; i < getLocationCount(); i++) {
1287           if (!getLocation(i).isInitialized()) {
1288             
1289             return false;
1290           }
1291         }
1292         return true;
1293       }
1294 
1295       public Builder mergeFrom(
1296           com.google.protobuf.CodedInputStream input,
1297           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1298           throws java.io.IOException {
1299         org.jboss.netty.example.localtime.LocalTimeProtocol.Locations parsedMessage = null;
1300         try {
1301           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1302         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1303           parsedMessage = (org.jboss.netty.example.localtime.LocalTimeProtocol.Locations) e.getUnfinishedMessage();
1304           throw e;
1305         } finally {
1306           if (parsedMessage != null) {
1307             mergeFrom(parsedMessage);
1308           }
1309         }
1310         return this;
1311       }
1312       private int bitField0_;
1313 
1314       // repeated .org.jboss.netty.example.localtime.Location location = 1;
1315       private java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.Location> location_ =
1316         java.util.Collections.emptyList();
1317       private void ensureLocationIsMutable() {
1318         if (!((bitField0_ & 0x00000001) == 0x00000001)) {
1319           location_ = new java.util.ArrayList<org.jboss.netty.example.localtime.LocalTimeProtocol.Location>(location_);
1320           bitField0_ |= 0x00000001;
1321          }
1322       }
1323 
1324       private com.google.protobuf.RepeatedFieldBuilder<
1325           org.jboss.netty.example.localtime.LocalTimeProtocol.Location, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder, org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder> locationBuilder_;
1326 
1327       /**
1328        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1329        */
1330       public java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.Location> getLocationList() {
1331         if (locationBuilder_ == null) {
1332           return java.util.Collections.unmodifiableList(location_);
1333         } else {
1334           return locationBuilder_.getMessageList();
1335         }
1336       }
1337       /**
1338        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1339        */
1340       public int getLocationCount() {
1341         if (locationBuilder_ == null) {
1342           return location_.size();
1343         } else {
1344           return locationBuilder_.getCount();
1345         }
1346       }
1347       /**
1348        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1349        */
1350       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location getLocation(int index) {
1351         if (locationBuilder_ == null) {
1352           return location_.get(index);
1353         } else {
1354           return locationBuilder_.getMessage(index);
1355         }
1356       }
1357       /**
1358        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1359        */
1360       public Builder setLocation(
1361           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.Location value) {
1362         if (locationBuilder_ == null) {
1363           if (value == null) {
1364             throw new NullPointerException();
1365           }
1366           ensureLocationIsMutable();
1367           location_.set(index, value);
1368           onChanged();
1369         } else {
1370           locationBuilder_.setMessage(index, value);
1371         }
1372         return this;
1373       }
1374       /**
1375        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1376        */
1377       public Builder setLocation(
1378           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder builderForValue) {
1379         if (locationBuilder_ == null) {
1380           ensureLocationIsMutable();
1381           location_.set(index, builderForValue.build());
1382           onChanged();
1383         } else {
1384           locationBuilder_.setMessage(index, builderForValue.build());
1385         }
1386         return this;
1387       }
1388       /**
1389        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1390        */
1391       public Builder addLocation(org.jboss.netty.example.localtime.LocalTimeProtocol.Location value) {
1392         if (locationBuilder_ == null) {
1393           if (value == null) {
1394             throw new NullPointerException();
1395           }
1396           ensureLocationIsMutable();
1397           location_.add(value);
1398           onChanged();
1399         } else {
1400           locationBuilder_.addMessage(value);
1401         }
1402         return this;
1403       }
1404       /**
1405        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1406        */
1407       public Builder addLocation(
1408           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.Location value) {
1409         if (locationBuilder_ == null) {
1410           if (value == null) {
1411             throw new NullPointerException();
1412           }
1413           ensureLocationIsMutable();
1414           location_.add(index, value);
1415           onChanged();
1416         } else {
1417           locationBuilder_.addMessage(index, value);
1418         }
1419         return this;
1420       }
1421       /**
1422        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1423        */
1424       public Builder addLocation(
1425           org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder builderForValue) {
1426         if (locationBuilder_ == null) {
1427           ensureLocationIsMutable();
1428           location_.add(builderForValue.build());
1429           onChanged();
1430         } else {
1431           locationBuilder_.addMessage(builderForValue.build());
1432         }
1433         return this;
1434       }
1435       /**
1436        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1437        */
1438       public Builder addLocation(
1439           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder builderForValue) {
1440         if (locationBuilder_ == null) {
1441           ensureLocationIsMutable();
1442           location_.add(index, builderForValue.build());
1443           onChanged();
1444         } else {
1445           locationBuilder_.addMessage(index, builderForValue.build());
1446         }
1447         return this;
1448       }
1449       /**
1450        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1451        */
1452       public Builder addAllLocation(
1453           java.lang.Iterable<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.Location> values) {
1454         if (locationBuilder_ == null) {
1455           ensureLocationIsMutable();
1456           super.addAll(values, location_);
1457           onChanged();
1458         } else {
1459           locationBuilder_.addAllMessages(values);
1460         }
1461         return this;
1462       }
1463       /**
1464        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1465        */
1466       public Builder clearLocation() {
1467         if (locationBuilder_ == null) {
1468           location_ = java.util.Collections.emptyList();
1469           bitField0_ = (bitField0_ & ~0x00000001);
1470           onChanged();
1471         } else {
1472           locationBuilder_.clear();
1473         }
1474         return this;
1475       }
1476       /**
1477        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1478        */
1479       public Builder removeLocation(int index) {
1480         if (locationBuilder_ == null) {
1481           ensureLocationIsMutable();
1482           location_.remove(index);
1483           onChanged();
1484         } else {
1485           locationBuilder_.remove(index);
1486         }
1487         return this;
1488       }
1489       /**
1490        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1491        */
1492       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder getLocationBuilder(
1493           int index) {
1494         return getLocationFieldBuilder().getBuilder(index);
1495       }
1496       /**
1497        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1498        */
1499       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder getLocationOrBuilder(
1500           int index) {
1501         if (locationBuilder_ == null) {
1502           return location_.get(index);  } else {
1503           return locationBuilder_.getMessageOrBuilder(index);
1504         }
1505       }
1506       /**
1507        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1508        */
1509       public java.util.List<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder> 
1510            getLocationOrBuilderList() {
1511         if (locationBuilder_ != null) {
1512           return locationBuilder_.getMessageOrBuilderList();
1513         } else {
1514           return java.util.Collections.unmodifiableList(location_);
1515         }
1516       }
1517       /**
1518        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1519        */
1520       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder addLocationBuilder() {
1521         return getLocationFieldBuilder().addBuilder(
1522             org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDefaultInstance());
1523       }
1524       /**
1525        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1526        */
1527       public org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder addLocationBuilder(
1528           int index) {
1529         return getLocationFieldBuilder().addBuilder(
1530             index, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDefaultInstance());
1531       }
1532       /**
1533        * <code>repeated .org.jboss.netty.example.localtime.Location location = 1;</code>
1534        */
1535       public java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder> 
1536            getLocationBuilderList() {
1537         return getLocationFieldBuilder().getBuilderList();
1538       }
1539       private com.google.protobuf.RepeatedFieldBuilder<
1540           org.jboss.netty.example.localtime.LocalTimeProtocol.Location, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder, org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder> 
1541           getLocationFieldBuilder() {
1542         if (locationBuilder_ == null) {
1543           locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1544               org.jboss.netty.example.localtime.LocalTimeProtocol.Location, org.jboss.netty.example.localtime.LocalTimeProtocol.Location.Builder, org.jboss.netty.example.localtime.LocalTimeProtocol.LocationOrBuilder>(
1545                   location_,
1546                   ((bitField0_ & 0x00000001) == 0x00000001),
1547                   getParentForChildren(),
1548                   isClean());
1549           location_ = null;
1550         }
1551         return locationBuilder_;
1552       }
1553 
1554       // @@protoc_insertion_point(builder_scope:org.jboss.netty.example.localtime.Locations)
1555     }
1556 
1557     static {
1558       defaultInstance = new Locations(true);
1559       defaultInstance.initFields();
1560     }
1561 
1562     // @@protoc_insertion_point(class_scope:org.jboss.netty.example.localtime.Locations)
1563   }
1564 
1565   public interface LocalTimeOrBuilder
1566       extends com.google.protobuf.MessageOrBuilder {
1567 
1568     // required uint32 year = 1;
1569     /**
1570      * <code>required uint32 year = 1;</code>
1571      */
1572     boolean hasYear();
1573     /**
1574      * <code>required uint32 year = 1;</code>
1575      */
1576     int getYear();
1577 
1578     // required uint32 month = 2;
1579     /**
1580      * <code>required uint32 month = 2;</code>
1581      */
1582     boolean hasMonth();
1583     /**
1584      * <code>required uint32 month = 2;</code>
1585      */
1586     int getMonth();
1587 
1588     // required uint32 dayOfMonth = 4;
1589     /**
1590      * <code>required uint32 dayOfMonth = 4;</code>
1591      */
1592     boolean hasDayOfMonth();
1593     /**
1594      * <code>required uint32 dayOfMonth = 4;</code>
1595      */
1596     int getDayOfMonth();
1597 
1598     // required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
1599     /**
1600      * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
1601      */
1602     boolean hasDayOfWeek();
1603     /**
1604      * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
1605      */
1606     org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek getDayOfWeek();
1607 
1608     // required uint32 hour = 6;
1609     /**
1610      * <code>required uint32 hour = 6;</code>
1611      */
1612     boolean hasHour();
1613     /**
1614      * <code>required uint32 hour = 6;</code>
1615      */
1616     int getHour();
1617 
1618     // required uint32 minute = 7;
1619     /**
1620      * <code>required uint32 minute = 7;</code>
1621      */
1622     boolean hasMinute();
1623     /**
1624      * <code>required uint32 minute = 7;</code>
1625      */
1626     int getMinute();
1627 
1628     // required uint32 second = 8;
1629     /**
1630      * <code>required uint32 second = 8;</code>
1631      */
1632     boolean hasSecond();
1633     /**
1634      * <code>required uint32 second = 8;</code>
1635      */
1636     int getSecond();
1637   }
1638   /**
1639    * Protobuf type {@code org.jboss.netty.example.localtime.LocalTime}
1640    */
1641   public static final class LocalTime extends
1642       com.google.protobuf.GeneratedMessage
1643       implements LocalTimeOrBuilder {
1644     // Use LocalTime.newBuilder() to construct.
1645     private LocalTime(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1646       super(builder);
1647       this.unknownFields = builder.getUnknownFields();
1648     }
1649     private LocalTime(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1650 
1651     private static final LocalTime defaultInstance;
1652     public static LocalTime getDefaultInstance() {
1653       return defaultInstance;
1654     }
1655 
1656     public LocalTime getDefaultInstanceForType() {
1657       return defaultInstance;
1658     }
1659 
1660     private final com.google.protobuf.UnknownFieldSet unknownFields;
1661     @java.lang.Override
1662     public final com.google.protobuf.UnknownFieldSet
1663         getUnknownFields() {
1664       return this.unknownFields;
1665     }
1666     private LocalTime(
1667         com.google.protobuf.CodedInputStream input,
1668         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1669         throws com.google.protobuf.InvalidProtocolBufferException {
1670       initFields();
1671       int mutable_bitField0_ = 0;
1672       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1673           com.google.protobuf.UnknownFieldSet.newBuilder();
1674       try {
1675         boolean done = false;
1676         while (!done) {
1677           int tag = input.readTag();
1678           switch (tag) {
1679             case 0:
1680               done = true;
1681               break;
1682             default: {
1683               if (!parseUnknownField(input, unknownFields,
1684                                      extensionRegistry, tag)) {
1685                 done = true;
1686               }
1687               break;
1688             }
1689             case 8: {
1690               bitField0_ |= 0x00000001;
1691               year_ = input.readUInt32();
1692               break;
1693             }
1694             case 16: {
1695               bitField0_ |= 0x00000002;
1696               month_ = input.readUInt32();
1697               break;
1698             }
1699             case 32: {
1700               bitField0_ |= 0x00000004;
1701               dayOfMonth_ = input.readUInt32();
1702               break;
1703             }
1704             case 40: {
1705               int rawValue = input.readEnum();
1706               org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek value = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.valueOf(rawValue);
1707               if (value == null) {
1708                 unknownFields.mergeVarintField(5, rawValue);
1709               } else {
1710                 bitField0_ |= 0x00000008;
1711                 dayOfWeek_ = value;
1712               }
1713               break;
1714             }
1715             case 48: {
1716               bitField0_ |= 0x00000010;
1717               hour_ = input.readUInt32();
1718               break;
1719             }
1720             case 56: {
1721               bitField0_ |= 0x00000020;
1722               minute_ = input.readUInt32();
1723               break;
1724             }
1725             case 64: {
1726               bitField0_ |= 0x00000040;
1727               second_ = input.readUInt32();
1728               break;
1729             }
1730           }
1731         }
1732       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1733         throw e.setUnfinishedMessage(this);
1734       } catch (java.io.IOException e) {
1735         throw new com.google.protobuf.InvalidProtocolBufferException(
1736             e.getMessage()).setUnfinishedMessage(this);
1737       } finally {
1738         this.unknownFields = unknownFields.build();
1739         makeExtensionsImmutable();
1740       }
1741     }
1742     public static final com.google.protobuf.Descriptors.Descriptor
1743         getDescriptor() {
1744       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor;
1745     }
1746 
1747     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1748         internalGetFieldAccessorTable() {
1749       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_fieldAccessorTable
1750           .ensureFieldAccessorsInitialized(
1751               org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.class, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder.class);
1752     }
1753 
1754     public static com.google.protobuf.Parser<LocalTime> PARSER =
1755         new com.google.protobuf.AbstractParser<LocalTime>() {
1756       public LocalTime parsePartialFrom(
1757           com.google.protobuf.CodedInputStream input,
1758           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1759           throws com.google.protobuf.InvalidProtocolBufferException {
1760         return new LocalTime(input, extensionRegistry);
1761       }
1762     };
1763 
1764     @java.lang.Override
1765     public com.google.protobuf.Parser<LocalTime> getParserForType() {
1766       return PARSER;
1767     }
1768 
1769     private int bitField0_;
1770     // required uint32 year = 1;
1771     public static final int YEAR_FIELD_NUMBER = 1;
1772     private int year_;
1773     /**
1774      * <code>required uint32 year = 1;</code>
1775      */
1776     public boolean hasYear() {
1777       return ((bitField0_ & 0x00000001) == 0x00000001);
1778     }
1779     /**
1780      * <code>required uint32 year = 1;</code>
1781      */
1782     public int getYear() {
1783       return year_;
1784     }
1785 
1786     // required uint32 month = 2;
1787     public static final int MONTH_FIELD_NUMBER = 2;
1788     private int month_;
1789     /**
1790      * <code>required uint32 month = 2;</code>
1791      */
1792     public boolean hasMonth() {
1793       return ((bitField0_ & 0x00000002) == 0x00000002);
1794     }
1795     /**
1796      * <code>required uint32 month = 2;</code>
1797      */
1798     public int getMonth() {
1799       return month_;
1800     }
1801 
1802     // required uint32 dayOfMonth = 4;
1803     public static final int DAYOFMONTH_FIELD_NUMBER = 4;
1804     private int dayOfMonth_;
1805     /**
1806      * <code>required uint32 dayOfMonth = 4;</code>
1807      */
1808     public boolean hasDayOfMonth() {
1809       return ((bitField0_ & 0x00000004) == 0x00000004);
1810     }
1811     /**
1812      * <code>required uint32 dayOfMonth = 4;</code>
1813      */
1814     public int getDayOfMonth() {
1815       return dayOfMonth_;
1816     }
1817 
1818     // required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
1819     public static final int DAYOFWEEK_FIELD_NUMBER = 5;
1820     private org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek dayOfWeek_;
1821     /**
1822      * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
1823      */
1824     public boolean hasDayOfWeek() {
1825       return ((bitField0_ & 0x00000008) == 0x00000008);
1826     }
1827     /**
1828      * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
1829      */
1830     public org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek getDayOfWeek() {
1831       return dayOfWeek_;
1832     }
1833 
1834     // required uint32 hour = 6;
1835     public static final int HOUR_FIELD_NUMBER = 6;
1836     private int hour_;
1837     /**
1838      * <code>required uint32 hour = 6;</code>
1839      */
1840     public boolean hasHour() {
1841       return ((bitField0_ & 0x00000010) == 0x00000010);
1842     }
1843     /**
1844      * <code>required uint32 hour = 6;</code>
1845      */
1846     public int getHour() {
1847       return hour_;
1848     }
1849 
1850     // required uint32 minute = 7;
1851     public static final int MINUTE_FIELD_NUMBER = 7;
1852     private int minute_;
1853     /**
1854      * <code>required uint32 minute = 7;</code>
1855      */
1856     public boolean hasMinute() {
1857       return ((bitField0_ & 0x00000020) == 0x00000020);
1858     }
1859     /**
1860      * <code>required uint32 minute = 7;</code>
1861      */
1862     public int getMinute() {
1863       return minute_;
1864     }
1865 
1866     // required uint32 second = 8;
1867     public static final int SECOND_FIELD_NUMBER = 8;
1868     private int second_;
1869     /**
1870      * <code>required uint32 second = 8;</code>
1871      */
1872     public boolean hasSecond() {
1873       return ((bitField0_ & 0x00000040) == 0x00000040);
1874     }
1875     /**
1876      * <code>required uint32 second = 8;</code>
1877      */
1878     public int getSecond() {
1879       return second_;
1880     }
1881 
1882     private void initFields() {
1883       year_ = 0;
1884       month_ = 0;
1885       dayOfMonth_ = 0;
1886       dayOfWeek_ = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.SUNDAY;
1887       hour_ = 0;
1888       minute_ = 0;
1889       second_ = 0;
1890     }
1891     private byte memoizedIsInitialized = -1;
1892     public final boolean isInitialized() {
1893       byte isInitialized = memoizedIsInitialized;
1894       if (isInitialized != -1) return isInitialized == 1;
1895 
1896       if (!hasYear()) {
1897         memoizedIsInitialized = 0;
1898         return false;
1899       }
1900       if (!hasMonth()) {
1901         memoizedIsInitialized = 0;
1902         return false;
1903       }
1904       if (!hasDayOfMonth()) {
1905         memoizedIsInitialized = 0;
1906         return false;
1907       }
1908       if (!hasDayOfWeek()) {
1909         memoizedIsInitialized = 0;
1910         return false;
1911       }
1912       if (!hasHour()) {
1913         memoizedIsInitialized = 0;
1914         return false;
1915       }
1916       if (!hasMinute()) {
1917         memoizedIsInitialized = 0;
1918         return false;
1919       }
1920       if (!hasSecond()) {
1921         memoizedIsInitialized = 0;
1922         return false;
1923       }
1924       memoizedIsInitialized = 1;
1925       return true;
1926     }
1927 
1928     public void writeTo(com.google.protobuf.CodedOutputStream output)
1929                         throws java.io.IOException {
1930       getSerializedSize();
1931       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1932         output.writeUInt32(1, year_);
1933       }
1934       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1935         output.writeUInt32(2, month_);
1936       }
1937       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1938         output.writeUInt32(4, dayOfMonth_);
1939       }
1940       if (((bitField0_ & 0x00000008) == 0x00000008)) {
1941         output.writeEnum(5, dayOfWeek_.getNumber());
1942       }
1943       if (((bitField0_ & 0x00000010) == 0x00000010)) {
1944         output.writeUInt32(6, hour_);
1945       }
1946       if (((bitField0_ & 0x00000020) == 0x00000020)) {
1947         output.writeUInt32(7, minute_);
1948       }
1949       if (((bitField0_ & 0x00000040) == 0x00000040)) {
1950         output.writeUInt32(8, second_);
1951       }
1952       getUnknownFields().writeTo(output);
1953     }
1954 
1955     private int memoizedSerializedSize = -1;
1956     public int getSerializedSize() {
1957       int size = memoizedSerializedSize;
1958       if (size != -1) return size;
1959 
1960       size = 0;
1961       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1962         size += com.google.protobuf.CodedOutputStream
1963           .computeUInt32Size(1, year_);
1964       }
1965       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1966         size += com.google.protobuf.CodedOutputStream
1967           .computeUInt32Size(2, month_);
1968       }
1969       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1970         size += com.google.protobuf.CodedOutputStream
1971           .computeUInt32Size(4, dayOfMonth_);
1972       }
1973       if (((bitField0_ & 0x00000008) == 0x00000008)) {
1974         size += com.google.protobuf.CodedOutputStream
1975           .computeEnumSize(5, dayOfWeek_.getNumber());
1976       }
1977       if (((bitField0_ & 0x00000010) == 0x00000010)) {
1978         size += com.google.protobuf.CodedOutputStream
1979           .computeUInt32Size(6, hour_);
1980       }
1981       if (((bitField0_ & 0x00000020) == 0x00000020)) {
1982         size += com.google.protobuf.CodedOutputStream
1983           .computeUInt32Size(7, minute_);
1984       }
1985       if (((bitField0_ & 0x00000040) == 0x00000040)) {
1986         size += com.google.protobuf.CodedOutputStream
1987           .computeUInt32Size(8, second_);
1988       }
1989       size += getUnknownFields().getSerializedSize();
1990       memoizedSerializedSize = size;
1991       return size;
1992     }
1993 
1994     private static final long serialVersionUID = 0L;
1995     @java.lang.Override
1996     protected java.lang.Object writeReplace()
1997         throws java.io.ObjectStreamException {
1998       return super.writeReplace();
1999     }
2000 
2001     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(
2002         com.google.protobuf.ByteString data)
2003         throws com.google.protobuf.InvalidProtocolBufferException {
2004       return PARSER.parseFrom(data);
2005     }
2006     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(
2007         com.google.protobuf.ByteString data,
2008         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2009         throws com.google.protobuf.InvalidProtocolBufferException {
2010       return PARSER.parseFrom(data, extensionRegistry);
2011     }
2012     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(byte[] data)
2013         throws com.google.protobuf.InvalidProtocolBufferException {
2014       return PARSER.parseFrom(data);
2015     }
2016     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(
2017         byte[] data,
2018         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2019         throws com.google.protobuf.InvalidProtocolBufferException {
2020       return PARSER.parseFrom(data, extensionRegistry);
2021     }
2022     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(java.io.InputStream input)
2023         throws java.io.IOException {
2024       return PARSER.parseFrom(input);
2025     }
2026     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(
2027         java.io.InputStream input,
2028         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2029         throws java.io.IOException {
2030       return PARSER.parseFrom(input, extensionRegistry);
2031     }
2032     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input)
2033         throws java.io.IOException {
2034       return PARSER.parseDelimitedFrom(input);
2035     }
2036     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseDelimitedFrom(
2037         java.io.InputStream input,
2038         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2039         throws java.io.IOException {
2040       return PARSER.parseDelimitedFrom(input, extensionRegistry);
2041     }
2042     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(
2043         com.google.protobuf.CodedInputStream input)
2044         throws java.io.IOException {
2045       return PARSER.parseFrom(input);
2046     }
2047     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parseFrom(
2048         com.google.protobuf.CodedInputStream input,
2049         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2050         throws java.io.IOException {
2051       return PARSER.parseFrom(input, extensionRegistry);
2052     }
2053 
2054     public static Builder newBuilder() { return Builder.create(); }
2055     public Builder newBuilderForType() { return newBuilder(); }
2056     public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime prototype) {
2057       return newBuilder().mergeFrom(prototype);
2058     }
2059     public Builder toBuilder() { return newBuilder(this); }
2060 
2061     @java.lang.Override
2062     protected Builder newBuilderForType(
2063         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2064       Builder builder = new Builder(parent);
2065       return builder;
2066     }
2067     /**
2068      * Protobuf type {@code org.jboss.netty.example.localtime.LocalTime}
2069      */
2070     public static final class Builder extends
2071         com.google.protobuf.GeneratedMessage.Builder<Builder>
2072        implements org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder {
2073       public static final com.google.protobuf.Descriptors.Descriptor
2074           getDescriptor() {
2075         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor;
2076       }
2077 
2078       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2079           internalGetFieldAccessorTable() {
2080         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_fieldAccessorTable
2081             .ensureFieldAccessorsInitialized(
2082                 org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.class, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder.class);
2083       }
2084 
2085       // Construct using org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.newBuilder()
2086       private Builder() {
2087         maybeForceBuilderInitialization();
2088       }
2089 
2090       private Builder(
2091           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2092         super(parent);
2093         maybeForceBuilderInitialization();
2094       }
2095       private void maybeForceBuilderInitialization() {
2096         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2097         }
2098       }
2099       private static Builder create() {
2100         return new Builder();
2101       }
2102 
2103       public Builder clear() {
2104         super.clear();
2105         year_ = 0;
2106         bitField0_ = (bitField0_ & ~0x00000001);
2107         month_ = 0;
2108         bitField0_ = (bitField0_ & ~0x00000002);
2109         dayOfMonth_ = 0;
2110         bitField0_ = (bitField0_ & ~0x00000004);
2111         dayOfWeek_ = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.SUNDAY;
2112         bitField0_ = (bitField0_ & ~0x00000008);
2113         hour_ = 0;
2114         bitField0_ = (bitField0_ & ~0x00000010);
2115         minute_ = 0;
2116         bitField0_ = (bitField0_ & ~0x00000020);
2117         second_ = 0;
2118         bitField0_ = (bitField0_ & ~0x00000040);
2119         return this;
2120       }
2121 
2122       public Builder clone() {
2123         return create().mergeFrom(buildPartial());
2124       }
2125 
2126       public com.google.protobuf.Descriptors.Descriptor
2127           getDescriptorForType() {
2128         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor;
2129       }
2130 
2131       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime getDefaultInstanceForType() {
2132         return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDefaultInstance();
2133       }
2134 
2135       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime build() {
2136         org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime result = buildPartial();
2137         if (!result.isInitialized()) {
2138           throw newUninitializedMessageException(result);
2139         }
2140         return result;
2141       }
2142 
2143       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime buildPartial() {
2144         org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime result = new org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime(this);
2145         int from_bitField0_ = bitField0_;
2146         int to_bitField0_ = 0;
2147         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2148           to_bitField0_ |= 0x00000001;
2149         }
2150         result.year_ = year_;
2151         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
2152           to_bitField0_ |= 0x00000002;
2153         }
2154         result.month_ = month_;
2155         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
2156           to_bitField0_ |= 0x00000004;
2157         }
2158         result.dayOfMonth_ = dayOfMonth_;
2159         if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
2160           to_bitField0_ |= 0x00000008;
2161         }
2162         result.dayOfWeek_ = dayOfWeek_;
2163         if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
2164           to_bitField0_ |= 0x00000010;
2165         }
2166         result.hour_ = hour_;
2167         if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
2168           to_bitField0_ |= 0x00000020;
2169         }
2170         result.minute_ = minute_;
2171         if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
2172           to_bitField0_ |= 0x00000040;
2173         }
2174         result.second_ = second_;
2175         result.bitField0_ = to_bitField0_;
2176         onBuilt();
2177         return result;
2178       }
2179 
2180       public Builder mergeFrom(com.google.protobuf.Message other) {
2181         if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime) {
2182           return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime)other);
2183         } else {
2184           super.mergeFrom(other);
2185           return this;
2186         }
2187       }
2188 
2189       public Builder mergeFrom(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime other) {
2190         if (other == org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDefaultInstance()) return this;
2191         if (other.hasYear()) {
2192           setYear(other.getYear());
2193         }
2194         if (other.hasMonth()) {
2195           setMonth(other.getMonth());
2196         }
2197         if (other.hasDayOfMonth()) {
2198           setDayOfMonth(other.getDayOfMonth());
2199         }
2200         if (other.hasDayOfWeek()) {
2201           setDayOfWeek(other.getDayOfWeek());
2202         }
2203         if (other.hasHour()) {
2204           setHour(other.getHour());
2205         }
2206         if (other.hasMinute()) {
2207           setMinute(other.getMinute());
2208         }
2209         if (other.hasSecond()) {
2210           setSecond(other.getSecond());
2211         }
2212         this.mergeUnknownFields(other.getUnknownFields());
2213         return this;
2214       }
2215 
2216       public final boolean isInitialized() {
2217         if (!hasYear()) {
2218           
2219           return false;
2220         }
2221         if (!hasMonth()) {
2222           
2223           return false;
2224         }
2225         if (!hasDayOfMonth()) {
2226           
2227           return false;
2228         }
2229         if (!hasDayOfWeek()) {
2230           
2231           return false;
2232         }
2233         if (!hasHour()) {
2234           
2235           return false;
2236         }
2237         if (!hasMinute()) {
2238           
2239           return false;
2240         }
2241         if (!hasSecond()) {
2242           
2243           return false;
2244         }
2245         return true;
2246       }
2247 
2248       public Builder mergeFrom(
2249           com.google.protobuf.CodedInputStream input,
2250           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2251           throws java.io.IOException {
2252         org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime parsedMessage = null;
2253         try {
2254           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2255         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2256           parsedMessage = (org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime) e.getUnfinishedMessage();
2257           throw e;
2258         } finally {
2259           if (parsedMessage != null) {
2260             mergeFrom(parsedMessage);
2261           }
2262         }
2263         return this;
2264       }
2265       private int bitField0_;
2266 
2267       // required uint32 year = 1;
2268       private int year_ ;
2269       /**
2270        * <code>required uint32 year = 1;</code>
2271        */
2272       public boolean hasYear() {
2273         return ((bitField0_ & 0x00000001) == 0x00000001);
2274       }
2275       /**
2276        * <code>required uint32 year = 1;</code>
2277        */
2278       public int getYear() {
2279         return year_;
2280       }
2281       /**
2282        * <code>required uint32 year = 1;</code>
2283        */
2284       public Builder setYear(int value) {
2285         bitField0_ |= 0x00000001;
2286         year_ = value;
2287         onChanged();
2288         return this;
2289       }
2290       /**
2291        * <code>required uint32 year = 1;</code>
2292        */
2293       public Builder clearYear() {
2294         bitField0_ = (bitField0_ & ~0x00000001);
2295         year_ = 0;
2296         onChanged();
2297         return this;
2298       }
2299 
2300       // required uint32 month = 2;
2301       private int month_ ;
2302       /**
2303        * <code>required uint32 month = 2;</code>
2304        */
2305       public boolean hasMonth() {
2306         return ((bitField0_ & 0x00000002) == 0x00000002);
2307       }
2308       /**
2309        * <code>required uint32 month = 2;</code>
2310        */
2311       public int getMonth() {
2312         return month_;
2313       }
2314       /**
2315        * <code>required uint32 month = 2;</code>
2316        */
2317       public Builder setMonth(int value) {
2318         bitField0_ |= 0x00000002;
2319         month_ = value;
2320         onChanged();
2321         return this;
2322       }
2323       /**
2324        * <code>required uint32 month = 2;</code>
2325        */
2326       public Builder clearMonth() {
2327         bitField0_ = (bitField0_ & ~0x00000002);
2328         month_ = 0;
2329         onChanged();
2330         return this;
2331       }
2332 
2333       // required uint32 dayOfMonth = 4;
2334       private int dayOfMonth_ ;
2335       /**
2336        * <code>required uint32 dayOfMonth = 4;</code>
2337        */
2338       public boolean hasDayOfMonth() {
2339         return ((bitField0_ & 0x00000004) == 0x00000004);
2340       }
2341       /**
2342        * <code>required uint32 dayOfMonth = 4;</code>
2343        */
2344       public int getDayOfMonth() {
2345         return dayOfMonth_;
2346       }
2347       /**
2348        * <code>required uint32 dayOfMonth = 4;</code>
2349        */
2350       public Builder setDayOfMonth(int value) {
2351         bitField0_ |= 0x00000004;
2352         dayOfMonth_ = value;
2353         onChanged();
2354         return this;
2355       }
2356       /**
2357        * <code>required uint32 dayOfMonth = 4;</code>
2358        */
2359       public Builder clearDayOfMonth() {
2360         bitField0_ = (bitField0_ & ~0x00000004);
2361         dayOfMonth_ = 0;
2362         onChanged();
2363         return this;
2364       }
2365 
2366       // required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
2367       private org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek dayOfWeek_ = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.SUNDAY;
2368       /**
2369        * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
2370        */
2371       public boolean hasDayOfWeek() {
2372         return ((bitField0_ & 0x00000008) == 0x00000008);
2373       }
2374       /**
2375        * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
2376        */
2377       public org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek getDayOfWeek() {
2378         return dayOfWeek_;
2379       }
2380       /**
2381        * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
2382        */
2383       public Builder setDayOfWeek(org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek value) {
2384         if (value == null) {
2385           throw new NullPointerException();
2386         }
2387         bitField0_ |= 0x00000008;
2388         dayOfWeek_ = value;
2389         onChanged();
2390         return this;
2391       }
2392       /**
2393        * <code>required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;</code>
2394        */
2395       public Builder clearDayOfWeek() {
2396         bitField0_ = (bitField0_ & ~0x00000008);
2397         dayOfWeek_ = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.SUNDAY;
2398         onChanged();
2399         return this;
2400       }
2401 
2402       // required uint32 hour = 6;
2403       private int hour_ ;
2404       /**
2405        * <code>required uint32 hour = 6;</code>
2406        */
2407       public boolean hasHour() {
2408         return ((bitField0_ & 0x00000010) == 0x00000010);
2409       }
2410       /**
2411        * <code>required uint32 hour = 6;</code>
2412        */
2413       public int getHour() {
2414         return hour_;
2415       }
2416       /**
2417        * <code>required uint32 hour = 6;</code>
2418        */
2419       public Builder setHour(int value) {
2420         bitField0_ |= 0x00000010;
2421         hour_ = value;
2422         onChanged();
2423         return this;
2424       }
2425       /**
2426        * <code>required uint32 hour = 6;</code>
2427        */
2428       public Builder clearHour() {
2429         bitField0_ = (bitField0_ & ~0x00000010);
2430         hour_ = 0;
2431         onChanged();
2432         return this;
2433       }
2434 
2435       // required uint32 minute = 7;
2436       private int minute_ ;
2437       /**
2438        * <code>required uint32 minute = 7;</code>
2439        */
2440       public boolean hasMinute() {
2441         return ((bitField0_ & 0x00000020) == 0x00000020);
2442       }
2443       /**
2444        * <code>required uint32 minute = 7;</code>
2445        */
2446       public int getMinute() {
2447         return minute_;
2448       }
2449       /**
2450        * <code>required uint32 minute = 7;</code>
2451        */
2452       public Builder setMinute(int value) {
2453         bitField0_ |= 0x00000020;
2454         minute_ = value;
2455         onChanged();
2456         return this;
2457       }
2458       /**
2459        * <code>required uint32 minute = 7;</code>
2460        */
2461       public Builder clearMinute() {
2462         bitField0_ = (bitField0_ & ~0x00000020);
2463         minute_ = 0;
2464         onChanged();
2465         return this;
2466       }
2467 
2468       // required uint32 second = 8;
2469       private int second_ ;
2470       /**
2471        * <code>required uint32 second = 8;</code>
2472        */
2473       public boolean hasSecond() {
2474         return ((bitField0_ & 0x00000040) == 0x00000040);
2475       }
2476       /**
2477        * <code>required uint32 second = 8;</code>
2478        */
2479       public int getSecond() {
2480         return second_;
2481       }
2482       /**
2483        * <code>required uint32 second = 8;</code>
2484        */
2485       public Builder setSecond(int value) {
2486         bitField0_ |= 0x00000040;
2487         second_ = value;
2488         onChanged();
2489         return this;
2490       }
2491       /**
2492        * <code>required uint32 second = 8;</code>
2493        */
2494       public Builder clearSecond() {
2495         bitField0_ = (bitField0_ & ~0x00000040);
2496         second_ = 0;
2497         onChanged();
2498         return this;
2499       }
2500 
2501       // @@protoc_insertion_point(builder_scope:org.jboss.netty.example.localtime.LocalTime)
2502     }
2503 
2504     static {
2505       defaultInstance = new LocalTime(true);
2506       defaultInstance.initFields();
2507     }
2508 
2509     // @@protoc_insertion_point(class_scope:org.jboss.netty.example.localtime.LocalTime)
2510   }
2511 
2512   public interface LocalTimesOrBuilder
2513       extends com.google.protobuf.MessageOrBuilder {
2514 
2515     // repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;
2516     /**
2517      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2518      */
2519     java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime> 
2520         getLocalTimeList();
2521     /**
2522      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2523      */
2524     org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime getLocalTime(int index);
2525     /**
2526      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2527      */
2528     int getLocalTimeCount();
2529     /**
2530      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2531      */
2532     java.util.List<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder> 
2533         getLocalTimeOrBuilderList();
2534     /**
2535      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2536      */
2537     org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder getLocalTimeOrBuilder(
2538         int index);
2539   }
2540   /**
2541    * Protobuf type {@code org.jboss.netty.example.localtime.LocalTimes}
2542    */
2543   public static final class LocalTimes extends
2544       com.google.protobuf.GeneratedMessage
2545       implements LocalTimesOrBuilder {
2546     // Use LocalTimes.newBuilder() to construct.
2547     private LocalTimes(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2548       super(builder);
2549       this.unknownFields = builder.getUnknownFields();
2550     }
2551     private LocalTimes(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2552 
2553     private static final LocalTimes defaultInstance;
2554     public static LocalTimes getDefaultInstance() {
2555       return defaultInstance;
2556     }
2557 
2558     public LocalTimes getDefaultInstanceForType() {
2559       return defaultInstance;
2560     }
2561 
2562     private final com.google.protobuf.UnknownFieldSet unknownFields;
2563     @java.lang.Override
2564     public final com.google.protobuf.UnknownFieldSet
2565         getUnknownFields() {
2566       return this.unknownFields;
2567     }
2568     private LocalTimes(
2569         com.google.protobuf.CodedInputStream input,
2570         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2571         throws com.google.protobuf.InvalidProtocolBufferException {
2572       initFields();
2573       int mutable_bitField0_ = 0;
2574       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2575           com.google.protobuf.UnknownFieldSet.newBuilder();
2576       try {
2577         boolean done = false;
2578         while (!done) {
2579           int tag = input.readTag();
2580           switch (tag) {
2581             case 0:
2582               done = true;
2583               break;
2584             default: {
2585               if (!parseUnknownField(input, unknownFields,
2586                                      extensionRegistry, tag)) {
2587                 done = true;
2588               }
2589               break;
2590             }
2591             case 10: {
2592               if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
2593                 localTime_ = new java.util.ArrayList<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime>();
2594                 mutable_bitField0_ |= 0x00000001;
2595               }
2596               localTime_.add(input.readMessage(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.PARSER, extensionRegistry));
2597               break;
2598             }
2599           }
2600         }
2601       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2602         throw e.setUnfinishedMessage(this);
2603       } catch (java.io.IOException e) {
2604         throw new com.google.protobuf.InvalidProtocolBufferException(
2605             e.getMessage()).setUnfinishedMessage(this);
2606       } finally {
2607         if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
2608           localTime_ = java.util.Collections.unmodifiableList(localTime_);
2609         }
2610         this.unknownFields = unknownFields.build();
2611         makeExtensionsImmutable();
2612       }
2613     }
2614     public static final com.google.protobuf.Descriptors.Descriptor
2615         getDescriptor() {
2616       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor;
2617     }
2618 
2619     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2620         internalGetFieldAccessorTable() {
2621       return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_fieldAccessorTable
2622           .ensureFieldAccessorsInitialized(
2623               org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.class, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.Builder.class);
2624     }
2625 
2626     public static com.google.protobuf.Parser<LocalTimes> PARSER =
2627         new com.google.protobuf.AbstractParser<LocalTimes>() {
2628       public LocalTimes parsePartialFrom(
2629           com.google.protobuf.CodedInputStream input,
2630           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2631           throws com.google.protobuf.InvalidProtocolBufferException {
2632         return new LocalTimes(input, extensionRegistry);
2633       }
2634     };
2635 
2636     @java.lang.Override
2637     public com.google.protobuf.Parser<LocalTimes> getParserForType() {
2638       return PARSER;
2639     }
2640 
2641     // repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;
2642     public static final int LOCALTIME_FIELD_NUMBER = 1;
2643     private java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime> localTime_;
2644     /**
2645      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2646      */
2647     public java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime> getLocalTimeList() {
2648       return localTime_;
2649     }
2650     /**
2651      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2652      */
2653     public java.util.List<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder> 
2654         getLocalTimeOrBuilderList() {
2655       return localTime_;
2656     }
2657     /**
2658      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2659      */
2660     public int getLocalTimeCount() {
2661       return localTime_.size();
2662     }
2663     /**
2664      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2665      */
2666     public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime getLocalTime(int index) {
2667       return localTime_.get(index);
2668     }
2669     /**
2670      * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2671      */
2672     public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder getLocalTimeOrBuilder(
2673         int index) {
2674       return localTime_.get(index);
2675     }
2676 
2677     private void initFields() {
2678       localTime_ = java.util.Collections.emptyList();
2679     }
2680     private byte memoizedIsInitialized = -1;
2681     public final boolean isInitialized() {
2682       byte isInitialized = memoizedIsInitialized;
2683       if (isInitialized != -1) return isInitialized == 1;
2684 
2685       for (int i = 0; i < getLocalTimeCount(); i++) {
2686         if (!getLocalTime(i).isInitialized()) {
2687           memoizedIsInitialized = 0;
2688           return false;
2689         }
2690       }
2691       memoizedIsInitialized = 1;
2692       return true;
2693     }
2694 
2695     public void writeTo(com.google.protobuf.CodedOutputStream output)
2696                         throws java.io.IOException {
2697       getSerializedSize();
2698       for (int i = 0; i < localTime_.size(); i++) {
2699         output.writeMessage(1, localTime_.get(i));
2700       }
2701       getUnknownFields().writeTo(output);
2702     }
2703 
2704     private int memoizedSerializedSize = -1;
2705     public int getSerializedSize() {
2706       int size = memoizedSerializedSize;
2707       if (size != -1) return size;
2708 
2709       size = 0;
2710       for (int i = 0; i < localTime_.size(); i++) {
2711         size += com.google.protobuf.CodedOutputStream
2712           .computeMessageSize(1, localTime_.get(i));
2713       }
2714       size += getUnknownFields().getSerializedSize();
2715       memoizedSerializedSize = size;
2716       return size;
2717     }
2718 
2719     private static final long serialVersionUID = 0L;
2720     @java.lang.Override
2721     protected java.lang.Object writeReplace()
2722         throws java.io.ObjectStreamException {
2723       return super.writeReplace();
2724     }
2725 
2726     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(
2727         com.google.protobuf.ByteString data)
2728         throws com.google.protobuf.InvalidProtocolBufferException {
2729       return PARSER.parseFrom(data);
2730     }
2731     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(
2732         com.google.protobuf.ByteString data,
2733         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2734         throws com.google.protobuf.InvalidProtocolBufferException {
2735       return PARSER.parseFrom(data, extensionRegistry);
2736     }
2737     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(byte[] data)
2738         throws com.google.protobuf.InvalidProtocolBufferException {
2739       return PARSER.parseFrom(data);
2740     }
2741     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(
2742         byte[] data,
2743         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2744         throws com.google.protobuf.InvalidProtocolBufferException {
2745       return PARSER.parseFrom(data, extensionRegistry);
2746     }
2747     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(java.io.InputStream input)
2748         throws java.io.IOException {
2749       return PARSER.parseFrom(input);
2750     }
2751     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(
2752         java.io.InputStream input,
2753         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2754         throws java.io.IOException {
2755       return PARSER.parseFrom(input, extensionRegistry);
2756     }
2757     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseDelimitedFrom(java.io.InputStream input)
2758         throws java.io.IOException {
2759       return PARSER.parseDelimitedFrom(input);
2760     }
2761     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseDelimitedFrom(
2762         java.io.InputStream input,
2763         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2764         throws java.io.IOException {
2765       return PARSER.parseDelimitedFrom(input, extensionRegistry);
2766     }
2767     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(
2768         com.google.protobuf.CodedInputStream input)
2769         throws java.io.IOException {
2770       return PARSER.parseFrom(input);
2771     }
2772     public static org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parseFrom(
2773         com.google.protobuf.CodedInputStream input,
2774         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2775         throws java.io.IOException {
2776       return PARSER.parseFrom(input, extensionRegistry);
2777     }
2778 
2779     public static Builder newBuilder() { return Builder.create(); }
2780     public Builder newBuilderForType() { return newBuilder(); }
2781     public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes prototype) {
2782       return newBuilder().mergeFrom(prototype);
2783     }
2784     public Builder toBuilder() { return newBuilder(this); }
2785 
2786     @java.lang.Override
2787     protected Builder newBuilderForType(
2788         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2789       Builder builder = new Builder(parent);
2790       return builder;
2791     }
2792     /**
2793      * Protobuf type {@code org.jboss.netty.example.localtime.LocalTimes}
2794      */
2795     public static final class Builder extends
2796         com.google.protobuf.GeneratedMessage.Builder<Builder>
2797        implements org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimesOrBuilder {
2798       public static final com.google.protobuf.Descriptors.Descriptor
2799           getDescriptor() {
2800         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor;
2801       }
2802 
2803       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2804           internalGetFieldAccessorTable() {
2805         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_fieldAccessorTable
2806             .ensureFieldAccessorsInitialized(
2807                 org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.class, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.Builder.class);
2808       }
2809 
2810       // Construct using org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.newBuilder()
2811       private Builder() {
2812         maybeForceBuilderInitialization();
2813       }
2814 
2815       private Builder(
2816           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2817         super(parent);
2818         maybeForceBuilderInitialization();
2819       }
2820       private void maybeForceBuilderInitialization() {
2821         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2822           getLocalTimeFieldBuilder();
2823         }
2824       }
2825       private static Builder create() {
2826         return new Builder();
2827       }
2828 
2829       public Builder clear() {
2830         super.clear();
2831         if (localTimeBuilder_ == null) {
2832           localTime_ = java.util.Collections.emptyList();
2833           bitField0_ = (bitField0_ & ~0x00000001);
2834         } else {
2835           localTimeBuilder_.clear();
2836         }
2837         return this;
2838       }
2839 
2840       public Builder clone() {
2841         return create().mergeFrom(buildPartial());
2842       }
2843 
2844       public com.google.protobuf.Descriptors.Descriptor
2845           getDescriptorForType() {
2846         return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor;
2847       }
2848 
2849       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes getDefaultInstanceForType() {
2850         return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.getDefaultInstance();
2851       }
2852 
2853       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes build() {
2854         org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes result = buildPartial();
2855         if (!result.isInitialized()) {
2856           throw newUninitializedMessageException(result);
2857         }
2858         return result;
2859       }
2860 
2861       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes buildPartial() {
2862         org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes result = new org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes(this);
2863         int from_bitField0_ = bitField0_;
2864         if (localTimeBuilder_ == null) {
2865           if (((bitField0_ & 0x00000001) == 0x00000001)) {
2866             localTime_ = java.util.Collections.unmodifiableList(localTime_);
2867             bitField0_ = (bitField0_ & ~0x00000001);
2868           }
2869           result.localTime_ = localTime_;
2870         } else {
2871           result.localTime_ = localTimeBuilder_.build();
2872         }
2873         onBuilt();
2874         return result;
2875       }
2876 
2877       public Builder mergeFrom(com.google.protobuf.Message other) {
2878         if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes) {
2879           return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes)other);
2880         } else {
2881           super.mergeFrom(other);
2882           return this;
2883         }
2884       }
2885 
2886       public Builder mergeFrom(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes other) {
2887         if (other == org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.getDefaultInstance()) return this;
2888         if (localTimeBuilder_ == null) {
2889           if (!other.localTime_.isEmpty()) {
2890             if (localTime_.isEmpty()) {
2891               localTime_ = other.localTime_;
2892               bitField0_ = (bitField0_ & ~0x00000001);
2893             } else {
2894               ensureLocalTimeIsMutable();
2895               localTime_.addAll(other.localTime_);
2896             }
2897             onChanged();
2898           }
2899         } else {
2900           if (!other.localTime_.isEmpty()) {
2901             if (localTimeBuilder_.isEmpty()) {
2902               localTimeBuilder_.dispose();
2903               localTimeBuilder_ = null;
2904               localTime_ = other.localTime_;
2905               bitField0_ = (bitField0_ & ~0x00000001);
2906               localTimeBuilder_ = 
2907                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
2908                    getLocalTimeFieldBuilder() : null;
2909             } else {
2910               localTimeBuilder_.addAllMessages(other.localTime_);
2911             }
2912           }
2913         }
2914         this.mergeUnknownFields(other.getUnknownFields());
2915         return this;
2916       }
2917 
2918       public final boolean isInitialized() {
2919         for (int i = 0; i < getLocalTimeCount(); i++) {
2920           if (!getLocalTime(i).isInitialized()) {
2921             
2922             return false;
2923           }
2924         }
2925         return true;
2926       }
2927 
2928       public Builder mergeFrom(
2929           com.google.protobuf.CodedInputStream input,
2930           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2931           throws java.io.IOException {
2932         org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes parsedMessage = null;
2933         try {
2934           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2935         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2936           parsedMessage = (org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes) e.getUnfinishedMessage();
2937           throw e;
2938         } finally {
2939           if (parsedMessage != null) {
2940             mergeFrom(parsedMessage);
2941           }
2942         }
2943         return this;
2944       }
2945       private int bitField0_;
2946 
2947       // repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;
2948       private java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime> localTime_ =
2949         java.util.Collections.emptyList();
2950       private void ensureLocalTimeIsMutable() {
2951         if (!((bitField0_ & 0x00000001) == 0x00000001)) {
2952           localTime_ = new java.util.ArrayList<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime>(localTime_);
2953           bitField0_ |= 0x00000001;
2954          }
2955       }
2956 
2957       private com.google.protobuf.RepeatedFieldBuilder<
2958           org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder> localTimeBuilder_;
2959 
2960       /**
2961        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2962        */
2963       public java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime> getLocalTimeList() {
2964         if (localTimeBuilder_ == null) {
2965           return java.util.Collections.unmodifiableList(localTime_);
2966         } else {
2967           return localTimeBuilder_.getMessageList();
2968         }
2969       }
2970       /**
2971        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2972        */
2973       public int getLocalTimeCount() {
2974         if (localTimeBuilder_ == null) {
2975           return localTime_.size();
2976         } else {
2977           return localTimeBuilder_.getCount();
2978         }
2979       }
2980       /**
2981        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2982        */
2983       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime getLocalTime(int index) {
2984         if (localTimeBuilder_ == null) {
2985           return localTime_.get(index);
2986         } else {
2987           return localTimeBuilder_.getMessage(index);
2988         }
2989       }
2990       /**
2991        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
2992        */
2993       public Builder setLocalTime(
2994           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime value) {
2995         if (localTimeBuilder_ == null) {
2996           if (value == null) {
2997             throw new NullPointerException();
2998           }
2999           ensureLocalTimeIsMutable();
3000           localTime_.set(index, value);
3001           onChanged();
3002         } else {
3003           localTimeBuilder_.setMessage(index, value);
3004         }
3005         return this;
3006       }
3007       /**
3008        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3009        */
3010       public Builder setLocalTime(
3011           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder builderForValue) {
3012         if (localTimeBuilder_ == null) {
3013           ensureLocalTimeIsMutable();
3014           localTime_.set(index, builderForValue.build());
3015           onChanged();
3016         } else {
3017           localTimeBuilder_.setMessage(index, builderForValue.build());
3018         }
3019         return this;
3020       }
3021       /**
3022        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3023        */
3024       public Builder addLocalTime(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime value) {
3025         if (localTimeBuilder_ == null) {
3026           if (value == null) {
3027             throw new NullPointerException();
3028           }
3029           ensureLocalTimeIsMutable();
3030           localTime_.add(value);
3031           onChanged();
3032         } else {
3033           localTimeBuilder_.addMessage(value);
3034         }
3035         return this;
3036       }
3037       /**
3038        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3039        */
3040       public Builder addLocalTime(
3041           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime value) {
3042         if (localTimeBuilder_ == null) {
3043           if (value == null) {
3044             throw new NullPointerException();
3045           }
3046           ensureLocalTimeIsMutable();
3047           localTime_.add(index, value);
3048           onChanged();
3049         } else {
3050           localTimeBuilder_.addMessage(index, value);
3051         }
3052         return this;
3053       }
3054       /**
3055        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3056        */
3057       public Builder addLocalTime(
3058           org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder builderForValue) {
3059         if (localTimeBuilder_ == null) {
3060           ensureLocalTimeIsMutable();
3061           localTime_.add(builderForValue.build());
3062           onChanged();
3063         } else {
3064           localTimeBuilder_.addMessage(builderForValue.build());
3065         }
3066         return this;
3067       }
3068       /**
3069        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3070        */
3071       public Builder addLocalTime(
3072           int index, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder builderForValue) {
3073         if (localTimeBuilder_ == null) {
3074           ensureLocalTimeIsMutable();
3075           localTime_.add(index, builderForValue.build());
3076           onChanged();
3077         } else {
3078           localTimeBuilder_.addMessage(index, builderForValue.build());
3079         }
3080         return this;
3081       }
3082       /**
3083        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3084        */
3085       public Builder addAllLocalTime(
3086           java.lang.Iterable<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime> values) {
3087         if (localTimeBuilder_ == null) {
3088           ensureLocalTimeIsMutable();
3089           super.addAll(values, localTime_);
3090           onChanged();
3091         } else {
3092           localTimeBuilder_.addAllMessages(values);
3093         }
3094         return this;
3095       }
3096       /**
3097        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3098        */
3099       public Builder clearLocalTime() {
3100         if (localTimeBuilder_ == null) {
3101           localTime_ = java.util.Collections.emptyList();
3102           bitField0_ = (bitField0_ & ~0x00000001);
3103           onChanged();
3104         } else {
3105           localTimeBuilder_.clear();
3106         }
3107         return this;
3108       }
3109       /**
3110        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3111        */
3112       public Builder removeLocalTime(int index) {
3113         if (localTimeBuilder_ == null) {
3114           ensureLocalTimeIsMutable();
3115           localTime_.remove(index);
3116           onChanged();
3117         } else {
3118           localTimeBuilder_.remove(index);
3119         }
3120         return this;
3121       }
3122       /**
3123        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3124        */
3125       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder getLocalTimeBuilder(
3126           int index) {
3127         return getLocalTimeFieldBuilder().getBuilder(index);
3128       }
3129       /**
3130        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3131        */
3132       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder getLocalTimeOrBuilder(
3133           int index) {
3134         if (localTimeBuilder_ == null) {
3135           return localTime_.get(index);  } else {
3136           return localTimeBuilder_.getMessageOrBuilder(index);
3137         }
3138       }
3139       /**
3140        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3141        */
3142       public java.util.List<? extends org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder> 
3143            getLocalTimeOrBuilderList() {
3144         if (localTimeBuilder_ != null) {
3145           return localTimeBuilder_.getMessageOrBuilderList();
3146         } else {
3147           return java.util.Collections.unmodifiableList(localTime_);
3148         }
3149       }
3150       /**
3151        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3152        */
3153       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder addLocalTimeBuilder() {
3154         return getLocalTimeFieldBuilder().addBuilder(
3155             org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDefaultInstance());
3156       }
3157       /**
3158        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3159        */
3160       public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder addLocalTimeBuilder(
3161           int index) {
3162         return getLocalTimeFieldBuilder().addBuilder(
3163             index, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDefaultInstance());
3164       }
3165       /**
3166        * <code>repeated .org.jboss.netty.example.localtime.LocalTime localTime = 1;</code>
3167        */
3168       public java.util.List<org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder> 
3169            getLocalTimeBuilderList() {
3170         return getLocalTimeFieldBuilder().getBuilderList();
3171       }
3172       private com.google.protobuf.RepeatedFieldBuilder<
3173           org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder> 
3174           getLocalTimeFieldBuilder() {
3175         if (localTimeBuilder_ == null) {
3176           localTimeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
3177               org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.Builder, org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimeOrBuilder>(
3178                   localTime_,
3179                   ((bitField0_ & 0x00000001) == 0x00000001),
3180                   getParentForChildren(),
3181                   isClean());
3182           localTime_ = null;
3183         }
3184         return localTimeBuilder_;
3185       }
3186 
3187       // @@protoc_insertion_point(builder_scope:org.jboss.netty.example.localtime.LocalTimes)
3188     }
3189 
3190     static {
3191       defaultInstance = new LocalTimes(true);
3192       defaultInstance.initFields();
3193     }
3194 
3195     // @@protoc_insertion_point(class_scope:org.jboss.netty.example.localtime.LocalTimes)
3196   }
3197 
3198   private static com.google.protobuf.Descriptors.Descriptor
3199     internal_static_org_jboss_netty_example_localtime_Location_descriptor;
3200   private static
3201     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3202       internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable;
3203   private static com.google.protobuf.Descriptors.Descriptor
3204     internal_static_org_jboss_netty_example_localtime_Locations_descriptor;
3205   private static
3206     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3207       internal_static_org_jboss_netty_example_localtime_Locations_fieldAccessorTable;
3208   private static com.google.protobuf.Descriptors.Descriptor
3209     internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor;
3210   private static
3211     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3212       internal_static_org_jboss_netty_example_localtime_LocalTime_fieldAccessorTable;
3213   private static com.google.protobuf.Descriptors.Descriptor
3214     internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor;
3215   private static
3216     com.google.protobuf.GeneratedMessage.FieldAccessorTable
3217       internal_static_org_jboss_netty_example_localtime_LocalTimes_fieldAccessorTable;
3218 
3219   public static com.google.protobuf.Descriptors.FileDescriptor
3220       getDescriptor() {
3221     return descriptor;
3222   }
3223   private static com.google.protobuf.Descriptors.FileDescriptor
3224       descriptor;
3225   static {
3226     java.lang.String[] descriptorData = {
3227       "\nGsrc/main/java/org/jboss/netty/example/" +
3228       "localtime/LocalTimeProtocol.proto\022!org.j" +
3229       "boss.netty.example.localtime\"Y\n\010Location" +
3230       "\022?\n\tcontinent\030\001 \002(\0162,.org.jboss.netty.ex" +
3231       "ample.localtime.Continent\022\014\n\004city\030\002 \002(\t\"" +
3232       "J\n\tLocations\022=\n\010location\030\001 \003(\0132+.org.jbo" +
3233       "ss.netty.example.localtime.Location\"\253\001\n\t" +
3234       "LocalTime\022\014\n\004year\030\001 \002(\r\022\r\n\005month\030\002 \002(\r\022\022" +
3235       "\n\ndayOfMonth\030\004 \002(\r\022?\n\tdayOfWeek\030\005 \002(\0162,." +
3236       "org.jboss.netty.example.localtime.DayOfW",
3237       "eek\022\014\n\004hour\030\006 \002(\r\022\016\n\006minute\030\007 \002(\r\022\016\n\006sec" +
3238       "ond\030\010 \002(\r\"M\n\nLocalTimes\022?\n\tlocalTime\030\001 \003" +
3239       "(\0132,.org.jboss.netty.example.localtime.L" +
3240       "ocalTime*\231\001\n\tContinent\022\n\n\006AFRICA\020\000\022\013\n\007AM" +
3241       "ERICA\020\001\022\016\n\nANTARCTICA\020\002\022\n\n\006ARCTIC\020\003\022\010\n\004A" +
3242       "SIA\020\004\022\014\n\010ATLANTIC\020\005\022\r\n\tAUSTRALIA\020\006\022\n\n\006EU" +
3243       "ROPE\020\007\022\n\n\006INDIAN\020\010\022\013\n\007MIDEAST\020\t\022\013\n\007PACIF" +
3244       "IC\020\n*g\n\tDayOfWeek\022\n\n\006SUNDAY\020\001\022\n\n\006MONDAY\020" +
3245       "\002\022\013\n\007TUESDAY\020\003\022\r\n\tWEDNESDAY\020\004\022\014\n\010THURSDA" +
3246       "Y\020\005\022\n\n\006FRIDAY\020\006\022\014\n\010SATURDAY\020\007B\002H\001"
3247     };
3248     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3249       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3250         public com.google.protobuf.ExtensionRegistry assignDescriptors(
3251             com.google.protobuf.Descriptors.FileDescriptor root) {
3252           descriptor = root;
3253           internal_static_org_jboss_netty_example_localtime_Location_descriptor =
3254             getDescriptor().getMessageTypes().get(0);
3255           internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable = new
3256             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3257               internal_static_org_jboss_netty_example_localtime_Location_descriptor,
3258               new java.lang.String[] { "Continent", "City", });
3259           internal_static_org_jboss_netty_example_localtime_Locations_descriptor =
3260             getDescriptor().getMessageTypes().get(1);
3261           internal_static_org_jboss_netty_example_localtime_Locations_fieldAccessorTable = new
3262             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3263               internal_static_org_jboss_netty_example_localtime_Locations_descriptor,
3264               new java.lang.String[] { "Location", });
3265           internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor =
3266             getDescriptor().getMessageTypes().get(2);
3267           internal_static_org_jboss_netty_example_localtime_LocalTime_fieldAccessorTable = new
3268             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3269               internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor,
3270               new java.lang.String[] { "Year", "Month", "DayOfMonth", "DayOfWeek", "Hour", "Minute", "Second", });
3271           internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor =
3272             getDescriptor().getMessageTypes().get(3);
3273           internal_static_org_jboss_netty_example_localtime_LocalTimes_fieldAccessorTable = new
3274             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3275               internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor,
3276               new java.lang.String[] { "LocalTime", });
3277           return null;
3278         }
3279       };
3280     com.google.protobuf.Descriptors.FileDescriptor
3281       .internalBuildGeneratedFileFrom(descriptorData,
3282         new com.google.protobuf.Descriptors.FileDescriptor[] {
3283         }, assigner);
3284   }
3285 
3286   // @@protoc_insertion_point(outer_class_scope)
3287 }