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