View Javadoc

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