001    // Generated by the protocol buffer compiler.  DO NOT EDIT!
002    // source: compiler/frontend.java/serialization.java/src/java_descriptors.proto
003    
004    package org.jetbrains.jet.descriptors.serialization;
005    
006    public final class JavaProtoBuf {
007      private JavaProtoBuf() {}
008      public static void registerAllExtensions(
009          com.google.protobuf.ExtensionRegistryLite registry) {
010        registry.add(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.methodSignature);
011        registry.add(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.propertySignature);
012        registry.add(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.srcClassName);
013      }
014      public interface JavaTypeOrBuilder
015          extends com.google.protobuf.MessageLiteOrBuilder {
016        
017        // optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
018        boolean hasPrimitiveType();
019        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType getPrimitiveType();
020        
021        // optional int32 class_fq_name = 2;
022        boolean hasClassFqName();
023        int getClassFqName();
024        
025        // optional int32 array_dimension = 3 [default = 0];
026        boolean hasArrayDimension();
027        int getArrayDimension();
028      }
029      public static final class JavaType extends
030          com.google.protobuf.GeneratedMessageLite
031          implements JavaTypeOrBuilder {
032        // Use JavaType.newBuilder() to construct.
033        private JavaType(Builder builder) {
034          super(builder);
035        }
036        private JavaType(boolean noInit) {}
037        
038        private static final JavaType defaultInstance;
039        public static JavaType getDefaultInstance() {
040          return defaultInstance;
041        }
042        
043        public JavaType getDefaultInstanceForType() {
044          return defaultInstance;
045        }
046        
047        public enum PrimitiveType
048            implements com.google.protobuf.Internal.EnumLite {
049          VOID(0, 0),
050          BOOLEAN(1, 1),
051          CHAR(2, 2),
052          BYTE(3, 3),
053          SHORT(4, 4),
054          INT(5, 5),
055          FLOAT(6, 6),
056          LONG(7, 7),
057          DOUBLE(8, 8),
058          ;
059          
060          public static final int VOID_VALUE = 0;
061          public static final int BOOLEAN_VALUE = 1;
062          public static final int CHAR_VALUE = 2;
063          public static final int BYTE_VALUE = 3;
064          public static final int SHORT_VALUE = 4;
065          public static final int INT_VALUE = 5;
066          public static final int FLOAT_VALUE = 6;
067          public static final int LONG_VALUE = 7;
068          public static final int DOUBLE_VALUE = 8;
069          
070          
071          public final int getNumber() { return value; }
072          
073          public static PrimitiveType valueOf(int value) {
074            switch (value) {
075              case 0: return VOID;
076              case 1: return BOOLEAN;
077              case 2: return CHAR;
078              case 3: return BYTE;
079              case 4: return SHORT;
080              case 5: return INT;
081              case 6: return FLOAT;
082              case 7: return LONG;
083              case 8: return DOUBLE;
084              default: return null;
085            }
086          }
087          
088          public static com.google.protobuf.Internal.EnumLiteMap<PrimitiveType>
089              internalGetValueMap() {
090            return internalValueMap;
091          }
092          private static com.google.protobuf.Internal.EnumLiteMap<PrimitiveType>
093              internalValueMap =
094                new com.google.protobuf.Internal.EnumLiteMap<PrimitiveType>() {
095                  public PrimitiveType findValueByNumber(int number) {
096                    return PrimitiveType.valueOf(number);
097                  }
098                };
099          
100          private final int value;
101          
102          private PrimitiveType(int index, int value) {
103            this.value = value;
104          }
105          
106          // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType)
107        }
108        
109        private int bitField0_;
110        // optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
111        public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1;
112        private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType primitiveType_;
113        public boolean hasPrimitiveType() {
114          return ((bitField0_ & 0x00000001) == 0x00000001);
115        }
116        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType getPrimitiveType() {
117          return primitiveType_;
118        }
119        
120        // optional int32 class_fq_name = 2;
121        public static final int CLASS_FQ_NAME_FIELD_NUMBER = 2;
122        private int classFqName_;
123        public boolean hasClassFqName() {
124          return ((bitField0_ & 0x00000002) == 0x00000002);
125        }
126        public int getClassFqName() {
127          return classFqName_;
128        }
129        
130        // optional int32 array_dimension = 3 [default = 0];
131        public static final int ARRAY_DIMENSION_FIELD_NUMBER = 3;
132        private int arrayDimension_;
133        public boolean hasArrayDimension() {
134          return ((bitField0_ & 0x00000004) == 0x00000004);
135        }
136        public int getArrayDimension() {
137          return arrayDimension_;
138        }
139        
140        private void initFields() {
141          primitiveType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType.VOID;
142          classFqName_ = 0;
143          arrayDimension_ = 0;
144        }
145        private byte memoizedIsInitialized = -1;
146        public final boolean isInitialized() {
147          byte isInitialized = memoizedIsInitialized;
148          if (isInitialized != -1) return isInitialized == 1;
149          
150          memoizedIsInitialized = 1;
151          return true;
152        }
153        
154        public void writeTo(com.google.protobuf.CodedOutputStream output)
155                            throws java.io.IOException {
156          getSerializedSize();
157          if (((bitField0_ & 0x00000001) == 0x00000001)) {
158            output.writeEnum(1, primitiveType_.getNumber());
159          }
160          if (((bitField0_ & 0x00000002) == 0x00000002)) {
161            output.writeInt32(2, classFqName_);
162          }
163          if (((bitField0_ & 0x00000004) == 0x00000004)) {
164            output.writeInt32(3, arrayDimension_);
165          }
166        }
167        
168        private int memoizedSerializedSize = -1;
169        public int getSerializedSize() {
170          int size = memoizedSerializedSize;
171          if (size != -1) return size;
172        
173          size = 0;
174          if (((bitField0_ & 0x00000001) == 0x00000001)) {
175            size += com.google.protobuf.CodedOutputStream
176              .computeEnumSize(1, primitiveType_.getNumber());
177          }
178          if (((bitField0_ & 0x00000002) == 0x00000002)) {
179            size += com.google.protobuf.CodedOutputStream
180              .computeInt32Size(2, classFqName_);
181          }
182          if (((bitField0_ & 0x00000004) == 0x00000004)) {
183            size += com.google.protobuf.CodedOutputStream
184              .computeInt32Size(3, arrayDimension_);
185          }
186          memoizedSerializedSize = size;
187          return size;
188        }
189        
190        private static final long serialVersionUID = 0L;
191        @java.lang.Override
192        protected java.lang.Object writeReplace()
193            throws java.io.ObjectStreamException {
194          return super.writeReplace();
195        }
196        
197        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(
198            com.google.protobuf.ByteString data)
199            throws com.google.protobuf.InvalidProtocolBufferException {
200          return newBuilder().mergeFrom(data).buildParsed();
201        }
202        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(
203            com.google.protobuf.ByteString data,
204            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
205            throws com.google.protobuf.InvalidProtocolBufferException {
206          return newBuilder().mergeFrom(data, extensionRegistry)
207                   .buildParsed();
208        }
209        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(byte[] data)
210            throws com.google.protobuf.InvalidProtocolBufferException {
211          return newBuilder().mergeFrom(data).buildParsed();
212        }
213        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(
214            byte[] data,
215            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
216            throws com.google.protobuf.InvalidProtocolBufferException {
217          return newBuilder().mergeFrom(data, extensionRegistry)
218                   .buildParsed();
219        }
220        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(java.io.InputStream input)
221            throws java.io.IOException {
222          return newBuilder().mergeFrom(input).buildParsed();
223        }
224        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(
225            java.io.InputStream input,
226            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
227            throws java.io.IOException {
228          return newBuilder().mergeFrom(input, extensionRegistry)
229                   .buildParsed();
230        }
231        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseDelimitedFrom(java.io.InputStream input)
232            throws java.io.IOException {
233          Builder builder = newBuilder();
234          if (builder.mergeDelimitedFrom(input)) {
235            return builder.buildParsed();
236          } else {
237            return null;
238          }
239        }
240        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseDelimitedFrom(
241            java.io.InputStream input,
242            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
243            throws java.io.IOException {
244          Builder builder = newBuilder();
245          if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
246            return builder.buildParsed();
247          } else {
248            return null;
249          }
250        }
251        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(
252            com.google.protobuf.CodedInputStream input)
253            throws java.io.IOException {
254          return newBuilder().mergeFrom(input).buildParsed();
255        }
256        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType parseFrom(
257            com.google.protobuf.CodedInputStream input,
258            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
259            throws java.io.IOException {
260          return newBuilder().mergeFrom(input, extensionRegistry)
261                   .buildParsed();
262        }
263        
264        public static Builder newBuilder() { return Builder.create(); }
265        public Builder newBuilderForType() { return newBuilder(); }
266        public static Builder newBuilder(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType prototype) {
267          return newBuilder().mergeFrom(prototype);
268        }
269        public Builder toBuilder() { return newBuilder(this); }
270        
271        public static final class Builder extends
272            com.google.protobuf.GeneratedMessageLite.Builder<
273              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType, Builder>
274            implements org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaTypeOrBuilder {
275          // Construct using org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.newBuilder()
276          private Builder() {
277            maybeForceBuilderInitialization();
278          }
279          
280          private void maybeForceBuilderInitialization() {
281          }
282          private static Builder create() {
283            return new Builder();
284          }
285          
286          public Builder clear() {
287            super.clear();
288            primitiveType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType.VOID;
289            bitField0_ = (bitField0_ & ~0x00000001);
290            classFqName_ = 0;
291            bitField0_ = (bitField0_ & ~0x00000002);
292            arrayDimension_ = 0;
293            bitField0_ = (bitField0_ & ~0x00000004);
294            return this;
295          }
296          
297          public Builder clone() {
298            return create().mergeFrom(buildPartial());
299          }
300          
301          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getDefaultInstanceForType() {
302            return org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
303          }
304          
305          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType build() {
306            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType result = buildPartial();
307            if (!result.isInitialized()) {
308              throw newUninitializedMessageException(result);
309            }
310            return result;
311          }
312          
313          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType buildParsed()
314              throws com.google.protobuf.InvalidProtocolBufferException {
315            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType result = buildPartial();
316            if (!result.isInitialized()) {
317              throw newUninitializedMessageException(
318                result).asInvalidProtocolBufferException();
319            }
320            return result;
321          }
322          
323          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType buildPartial() {
324            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType result = new org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType(this);
325            int from_bitField0_ = bitField0_;
326            int to_bitField0_ = 0;
327            if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
328              to_bitField0_ |= 0x00000001;
329            }
330            result.primitiveType_ = primitiveType_;
331            if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
332              to_bitField0_ |= 0x00000002;
333            }
334            result.classFqName_ = classFqName_;
335            if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
336              to_bitField0_ |= 0x00000004;
337            }
338            result.arrayDimension_ = arrayDimension_;
339            result.bitField0_ = to_bitField0_;
340            return result;
341          }
342          
343          public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType other) {
344            if (other == org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance()) return this;
345            if (other.hasPrimitiveType()) {
346              setPrimitiveType(other.getPrimitiveType());
347            }
348            if (other.hasClassFqName()) {
349              setClassFqName(other.getClassFqName());
350            }
351            if (other.hasArrayDimension()) {
352              setArrayDimension(other.getArrayDimension());
353            }
354            return this;
355          }
356          
357          public final boolean isInitialized() {
358            return true;
359          }
360          
361          public Builder mergeFrom(
362              com.google.protobuf.CodedInputStream input,
363              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
364              throws java.io.IOException {
365            while (true) {
366              int tag = input.readTag();
367              switch (tag) {
368                case 0:
369                  
370                  return this;
371                default: {
372                  if (!parseUnknownField(input, extensionRegistry, tag)) {
373                    
374                    return this;
375                  }
376                  break;
377                }
378                case 8: {
379                  int rawValue = input.readEnum();
380                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType value = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType.valueOf(rawValue);
381                  if (value != null) {
382                    bitField0_ |= 0x00000001;
383                    primitiveType_ = value;
384                  }
385                  break;
386                }
387                case 16: {
388                  bitField0_ |= 0x00000002;
389                  classFqName_ = input.readInt32();
390                  break;
391                }
392                case 24: {
393                  bitField0_ |= 0x00000004;
394                  arrayDimension_ = input.readInt32();
395                  break;
396                }
397              }
398            }
399          }
400          
401          private int bitField0_;
402          
403          // optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
404          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType primitiveType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType.VOID;
405          public boolean hasPrimitiveType() {
406            return ((bitField0_ & 0x00000001) == 0x00000001);
407          }
408          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType getPrimitiveType() {
409            return primitiveType_;
410          }
411          public Builder setPrimitiveType(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType value) {
412            if (value == null) {
413              throw new NullPointerException();
414            }
415            bitField0_ |= 0x00000001;
416            primitiveType_ = value;
417            
418            return this;
419          }
420          public Builder clearPrimitiveType() {
421            bitField0_ = (bitField0_ & ~0x00000001);
422            primitiveType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType.VOID;
423            
424            return this;
425          }
426          
427          // optional int32 class_fq_name = 2;
428          private int classFqName_ ;
429          public boolean hasClassFqName() {
430            return ((bitField0_ & 0x00000002) == 0x00000002);
431          }
432          public int getClassFqName() {
433            return classFqName_;
434          }
435          public Builder setClassFqName(int value) {
436            bitField0_ |= 0x00000002;
437            classFqName_ = value;
438            
439            return this;
440          }
441          public Builder clearClassFqName() {
442            bitField0_ = (bitField0_ & ~0x00000002);
443            classFqName_ = 0;
444            
445            return this;
446          }
447          
448          // optional int32 array_dimension = 3 [default = 0];
449          private int arrayDimension_ ;
450          public boolean hasArrayDimension() {
451            return ((bitField0_ & 0x00000004) == 0x00000004);
452          }
453          public int getArrayDimension() {
454            return arrayDimension_;
455          }
456          public Builder setArrayDimension(int value) {
457            bitField0_ |= 0x00000004;
458            arrayDimension_ = value;
459            
460            return this;
461          }
462          public Builder clearArrayDimension() {
463            bitField0_ = (bitField0_ & ~0x00000004);
464            arrayDimension_ = 0;
465            
466            return this;
467          }
468          
469          // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaType)
470        }
471        
472        static {
473          defaultInstance = new JavaType(true);
474          defaultInstance.initFields();
475        }
476        
477        // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaType)
478      }
479      
480      public interface JavaMethodSignatureOrBuilder
481          extends com.google.protobuf.MessageLiteOrBuilder {
482        
483        // required int32 name = 1;
484        boolean hasName();
485        int getName();
486        
487        // required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
488        boolean hasReturnType();
489        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getReturnType();
490        
491        // repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
492        java.util.List<org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType> 
493            getParameterTypeList();
494        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getParameterType(int index);
495        int getParameterTypeCount();
496      }
497      public static final class JavaMethodSignature extends
498          com.google.protobuf.GeneratedMessageLite
499          implements JavaMethodSignatureOrBuilder {
500        // Use JavaMethodSignature.newBuilder() to construct.
501        private JavaMethodSignature(Builder builder) {
502          super(builder);
503        }
504        private JavaMethodSignature(boolean noInit) {}
505        
506        private static final JavaMethodSignature defaultInstance;
507        public static JavaMethodSignature getDefaultInstance() {
508          return defaultInstance;
509        }
510        
511        public JavaMethodSignature getDefaultInstanceForType() {
512          return defaultInstance;
513        }
514        
515        private int bitField0_;
516        // required int32 name = 1;
517        public static final int NAME_FIELD_NUMBER = 1;
518        private int name_;
519        public boolean hasName() {
520          return ((bitField0_ & 0x00000001) == 0x00000001);
521        }
522        public int getName() {
523          return name_;
524        }
525        
526        // required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
527        public static final int RETURN_TYPE_FIELD_NUMBER = 2;
528        private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType returnType_;
529        public boolean hasReturnType() {
530          return ((bitField0_ & 0x00000002) == 0x00000002);
531        }
532        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getReturnType() {
533          return returnType_;
534        }
535        
536        // repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
537        public static final int PARAMETER_TYPE_FIELD_NUMBER = 3;
538        private java.util.List<org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType> parameterType_;
539        public java.util.List<org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType> getParameterTypeList() {
540          return parameterType_;
541        }
542        public java.util.List<? extends org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaTypeOrBuilder> 
543            getParameterTypeOrBuilderList() {
544          return parameterType_;
545        }
546        public int getParameterTypeCount() {
547          return parameterType_.size();
548        }
549        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getParameterType(int index) {
550          return parameterType_.get(index);
551        }
552        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaTypeOrBuilder getParameterTypeOrBuilder(
553            int index) {
554          return parameterType_.get(index);
555        }
556        
557        private void initFields() {
558          name_ = 0;
559          returnType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
560          parameterType_ = java.util.Collections.emptyList();
561        }
562        private byte memoizedIsInitialized = -1;
563        public final boolean isInitialized() {
564          byte isInitialized = memoizedIsInitialized;
565          if (isInitialized != -1) return isInitialized == 1;
566          
567          if (!hasName()) {
568            memoizedIsInitialized = 0;
569            return false;
570          }
571          if (!hasReturnType()) {
572            memoizedIsInitialized = 0;
573            return false;
574          }
575          memoizedIsInitialized = 1;
576          return true;
577        }
578        
579        public void writeTo(com.google.protobuf.CodedOutputStream output)
580                            throws java.io.IOException {
581          getSerializedSize();
582          if (((bitField0_ & 0x00000001) == 0x00000001)) {
583            output.writeInt32(1, name_);
584          }
585          if (((bitField0_ & 0x00000002) == 0x00000002)) {
586            output.writeMessage(2, returnType_);
587          }
588          for (int i = 0; i < parameterType_.size(); i++) {
589            output.writeMessage(3, parameterType_.get(i));
590          }
591        }
592        
593        private int memoizedSerializedSize = -1;
594        public int getSerializedSize() {
595          int size = memoizedSerializedSize;
596          if (size != -1) return size;
597        
598          size = 0;
599          if (((bitField0_ & 0x00000001) == 0x00000001)) {
600            size += com.google.protobuf.CodedOutputStream
601              .computeInt32Size(1, name_);
602          }
603          if (((bitField0_ & 0x00000002) == 0x00000002)) {
604            size += com.google.protobuf.CodedOutputStream
605              .computeMessageSize(2, returnType_);
606          }
607          for (int i = 0; i < parameterType_.size(); i++) {
608            size += com.google.protobuf.CodedOutputStream
609              .computeMessageSize(3, parameterType_.get(i));
610          }
611          memoizedSerializedSize = size;
612          return size;
613        }
614        
615        private static final long serialVersionUID = 0L;
616        @java.lang.Override
617        protected java.lang.Object writeReplace()
618            throws java.io.ObjectStreamException {
619          return super.writeReplace();
620        }
621        
622        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(
623            com.google.protobuf.ByteString data)
624            throws com.google.protobuf.InvalidProtocolBufferException {
625          return newBuilder().mergeFrom(data).buildParsed();
626        }
627        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(
628            com.google.protobuf.ByteString data,
629            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
630            throws com.google.protobuf.InvalidProtocolBufferException {
631          return newBuilder().mergeFrom(data, extensionRegistry)
632                   .buildParsed();
633        }
634        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(byte[] data)
635            throws com.google.protobuf.InvalidProtocolBufferException {
636          return newBuilder().mergeFrom(data).buildParsed();
637        }
638        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(
639            byte[] data,
640            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
641            throws com.google.protobuf.InvalidProtocolBufferException {
642          return newBuilder().mergeFrom(data, extensionRegistry)
643                   .buildParsed();
644        }
645        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(java.io.InputStream input)
646            throws java.io.IOException {
647          return newBuilder().mergeFrom(input).buildParsed();
648        }
649        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(
650            java.io.InputStream input,
651            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
652            throws java.io.IOException {
653          return newBuilder().mergeFrom(input, extensionRegistry)
654                   .buildParsed();
655        }
656        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseDelimitedFrom(java.io.InputStream input)
657            throws java.io.IOException {
658          Builder builder = newBuilder();
659          if (builder.mergeDelimitedFrom(input)) {
660            return builder.buildParsed();
661          } else {
662            return null;
663          }
664        }
665        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseDelimitedFrom(
666            java.io.InputStream input,
667            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
668            throws java.io.IOException {
669          Builder builder = newBuilder();
670          if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
671            return builder.buildParsed();
672          } else {
673            return null;
674          }
675        }
676        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(
677            com.google.protobuf.CodedInputStream input)
678            throws java.io.IOException {
679          return newBuilder().mergeFrom(input).buildParsed();
680        }
681        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature parseFrom(
682            com.google.protobuf.CodedInputStream input,
683            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
684            throws java.io.IOException {
685          return newBuilder().mergeFrom(input, extensionRegistry)
686                   .buildParsed();
687        }
688        
689        public static Builder newBuilder() { return Builder.create(); }
690        public Builder newBuilderForType() { return newBuilder(); }
691        public static Builder newBuilder(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature prototype) {
692          return newBuilder().mergeFrom(prototype);
693        }
694        public Builder toBuilder() { return newBuilder(this); }
695        
696        public static final class Builder extends
697            com.google.protobuf.GeneratedMessageLite.Builder<
698              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature, Builder>
699            implements org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignatureOrBuilder {
700          // Construct using org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.newBuilder()
701          private Builder() {
702            maybeForceBuilderInitialization();
703          }
704          
705          private void maybeForceBuilderInitialization() {
706          }
707          private static Builder create() {
708            return new Builder();
709          }
710          
711          public Builder clear() {
712            super.clear();
713            name_ = 0;
714            bitField0_ = (bitField0_ & ~0x00000001);
715            returnType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
716            bitField0_ = (bitField0_ & ~0x00000002);
717            parameterType_ = java.util.Collections.emptyList();
718            bitField0_ = (bitField0_ & ~0x00000004);
719            return this;
720          }
721          
722          public Builder clone() {
723            return create().mergeFrom(buildPartial());
724          }
725          
726          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getDefaultInstanceForType() {
727            return org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
728          }
729          
730          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature build() {
731            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature result = buildPartial();
732            if (!result.isInitialized()) {
733              throw newUninitializedMessageException(result);
734            }
735            return result;
736          }
737          
738          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature buildParsed()
739              throws com.google.protobuf.InvalidProtocolBufferException {
740            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature result = buildPartial();
741            if (!result.isInitialized()) {
742              throw newUninitializedMessageException(
743                result).asInvalidProtocolBufferException();
744            }
745            return result;
746          }
747          
748          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature buildPartial() {
749            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature result = new org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature(this);
750            int from_bitField0_ = bitField0_;
751            int to_bitField0_ = 0;
752            if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
753              to_bitField0_ |= 0x00000001;
754            }
755            result.name_ = name_;
756            if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
757              to_bitField0_ |= 0x00000002;
758            }
759            result.returnType_ = returnType_;
760            if (((bitField0_ & 0x00000004) == 0x00000004)) {
761              parameterType_ = java.util.Collections.unmodifiableList(parameterType_);
762              bitField0_ = (bitField0_ & ~0x00000004);
763            }
764            result.parameterType_ = parameterType_;
765            result.bitField0_ = to_bitField0_;
766            return result;
767          }
768          
769          public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature other) {
770            if (other == org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance()) return this;
771            if (other.hasName()) {
772              setName(other.getName());
773            }
774            if (other.hasReturnType()) {
775              mergeReturnType(other.getReturnType());
776            }
777            if (!other.parameterType_.isEmpty()) {
778              if (parameterType_.isEmpty()) {
779                parameterType_ = other.parameterType_;
780                bitField0_ = (bitField0_ & ~0x00000004);
781              } else {
782                ensureParameterTypeIsMutable();
783                parameterType_.addAll(other.parameterType_);
784              }
785              
786            }
787            return this;
788          }
789          
790          public final boolean isInitialized() {
791            if (!hasName()) {
792              
793              return false;
794            }
795            if (!hasReturnType()) {
796              
797              return false;
798            }
799            return true;
800          }
801          
802          public Builder mergeFrom(
803              com.google.protobuf.CodedInputStream input,
804              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
805              throws java.io.IOException {
806            while (true) {
807              int tag = input.readTag();
808              switch (tag) {
809                case 0:
810                  
811                  return this;
812                default: {
813                  if (!parseUnknownField(input, extensionRegistry, tag)) {
814                    
815                    return this;
816                  }
817                  break;
818                }
819                case 8: {
820                  bitField0_ |= 0x00000001;
821                  name_ = input.readInt32();
822                  break;
823                }
824                case 18: {
825                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder subBuilder = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.newBuilder();
826                  if (hasReturnType()) {
827                    subBuilder.mergeFrom(getReturnType());
828                  }
829                  input.readMessage(subBuilder, extensionRegistry);
830                  setReturnType(subBuilder.buildPartial());
831                  break;
832                }
833                case 26: {
834                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder subBuilder = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.newBuilder();
835                  input.readMessage(subBuilder, extensionRegistry);
836                  addParameterType(subBuilder.buildPartial());
837                  break;
838                }
839              }
840            }
841          }
842          
843          private int bitField0_;
844          
845          // required int32 name = 1;
846          private int name_ ;
847          public boolean hasName() {
848            return ((bitField0_ & 0x00000001) == 0x00000001);
849          }
850          public int getName() {
851            return name_;
852          }
853          public Builder setName(int value) {
854            bitField0_ |= 0x00000001;
855            name_ = value;
856            
857            return this;
858          }
859          public Builder clearName() {
860            bitField0_ = (bitField0_ & ~0x00000001);
861            name_ = 0;
862            
863            return this;
864          }
865          
866          // required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
867          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType returnType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
868          public boolean hasReturnType() {
869            return ((bitField0_ & 0x00000002) == 0x00000002);
870          }
871          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getReturnType() {
872            return returnType_;
873          }
874          public Builder setReturnType(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
875            if (value == null) {
876              throw new NullPointerException();
877            }
878            returnType_ = value;
879            
880            bitField0_ |= 0x00000002;
881            return this;
882          }
883          public Builder setReturnType(
884              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder builderForValue) {
885            returnType_ = builderForValue.build();
886            
887            bitField0_ |= 0x00000002;
888            return this;
889          }
890          public Builder mergeReturnType(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
891            if (((bitField0_ & 0x00000002) == 0x00000002) &&
892                returnType_ != org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance()) {
893              returnType_ =
894                org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.newBuilder(returnType_).mergeFrom(value).buildPartial();
895            } else {
896              returnType_ = value;
897            }
898            
899            bitField0_ |= 0x00000002;
900            return this;
901          }
902          public Builder clearReturnType() {
903            returnType_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
904            
905            bitField0_ = (bitField0_ & ~0x00000002);
906            return this;
907          }
908          
909          // repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
910          private java.util.List<org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType> parameterType_ =
911            java.util.Collections.emptyList();
912          private void ensureParameterTypeIsMutable() {
913            if (!((bitField0_ & 0x00000004) == 0x00000004)) {
914              parameterType_ = new java.util.ArrayList<org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType>(parameterType_);
915              bitField0_ |= 0x00000004;
916             }
917          }
918          
919          public java.util.List<org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType> getParameterTypeList() {
920            return java.util.Collections.unmodifiableList(parameterType_);
921          }
922          public int getParameterTypeCount() {
923            return parameterType_.size();
924          }
925          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getParameterType(int index) {
926            return parameterType_.get(index);
927          }
928          public Builder setParameterType(
929              int index, org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
930            if (value == null) {
931              throw new NullPointerException();
932            }
933            ensureParameterTypeIsMutable();
934            parameterType_.set(index, value);
935            
936            return this;
937          }
938          public Builder setParameterType(
939              int index, org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder builderForValue) {
940            ensureParameterTypeIsMutable();
941            parameterType_.set(index, builderForValue.build());
942            
943            return this;
944          }
945          public Builder addParameterType(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
946            if (value == null) {
947              throw new NullPointerException();
948            }
949            ensureParameterTypeIsMutable();
950            parameterType_.add(value);
951            
952            return this;
953          }
954          public Builder addParameterType(
955              int index, org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
956            if (value == null) {
957              throw new NullPointerException();
958            }
959            ensureParameterTypeIsMutable();
960            parameterType_.add(index, value);
961            
962            return this;
963          }
964          public Builder addParameterType(
965              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder builderForValue) {
966            ensureParameterTypeIsMutable();
967            parameterType_.add(builderForValue.build());
968            
969            return this;
970          }
971          public Builder addParameterType(
972              int index, org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder builderForValue) {
973            ensureParameterTypeIsMutable();
974            parameterType_.add(index, builderForValue.build());
975            
976            return this;
977          }
978          public Builder addAllParameterType(
979              java.lang.Iterable<? extends org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType> values) {
980            ensureParameterTypeIsMutable();
981            super.addAll(values, parameterType_);
982            
983            return this;
984          }
985          public Builder clearParameterType() {
986            parameterType_ = java.util.Collections.emptyList();
987            bitField0_ = (bitField0_ & ~0x00000004);
988            
989            return this;
990          }
991          public Builder removeParameterType(int index) {
992            ensureParameterTypeIsMutable();
993            parameterType_.remove(index);
994            
995            return this;
996          }
997          
998          // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaMethodSignature)
999        }
1000        
1001        static {
1002          defaultInstance = new JavaMethodSignature(true);
1003          defaultInstance.initFields();
1004        }
1005        
1006        // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaMethodSignature)
1007      }
1008      
1009      public interface JavaFieldSignatureOrBuilder
1010          extends com.google.protobuf.MessageLiteOrBuilder {
1011        
1012        // required int32 name = 1;
1013        boolean hasName();
1014        int getName();
1015        
1016        // required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
1017        boolean hasType();
1018        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getType();
1019        
1020        // optional bool is_static_in_outer = 3 [default = false];
1021        boolean hasIsStaticInOuter();
1022        boolean getIsStaticInOuter();
1023      }
1024      public static final class JavaFieldSignature extends
1025          com.google.protobuf.GeneratedMessageLite
1026          implements JavaFieldSignatureOrBuilder {
1027        // Use JavaFieldSignature.newBuilder() to construct.
1028        private JavaFieldSignature(Builder builder) {
1029          super(builder);
1030        }
1031        private JavaFieldSignature(boolean noInit) {}
1032        
1033        private static final JavaFieldSignature defaultInstance;
1034        public static JavaFieldSignature getDefaultInstance() {
1035          return defaultInstance;
1036        }
1037        
1038        public JavaFieldSignature getDefaultInstanceForType() {
1039          return defaultInstance;
1040        }
1041        
1042        private int bitField0_;
1043        // required int32 name = 1;
1044        public static final int NAME_FIELD_NUMBER = 1;
1045        private int name_;
1046        public boolean hasName() {
1047          return ((bitField0_ & 0x00000001) == 0x00000001);
1048        }
1049        public int getName() {
1050          return name_;
1051        }
1052        
1053        // required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
1054        public static final int TYPE_FIELD_NUMBER = 2;
1055        private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType type_;
1056        public boolean hasType() {
1057          return ((bitField0_ & 0x00000002) == 0x00000002);
1058        }
1059        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getType() {
1060          return type_;
1061        }
1062        
1063        // optional bool is_static_in_outer = 3 [default = false];
1064        public static final int IS_STATIC_IN_OUTER_FIELD_NUMBER = 3;
1065        private boolean isStaticInOuter_;
1066        public boolean hasIsStaticInOuter() {
1067          return ((bitField0_ & 0x00000004) == 0x00000004);
1068        }
1069        public boolean getIsStaticInOuter() {
1070          return isStaticInOuter_;
1071        }
1072        
1073        private void initFields() {
1074          name_ = 0;
1075          type_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
1076          isStaticInOuter_ = false;
1077        }
1078        private byte memoizedIsInitialized = -1;
1079        public final boolean isInitialized() {
1080          byte isInitialized = memoizedIsInitialized;
1081          if (isInitialized != -1) return isInitialized == 1;
1082          
1083          if (!hasName()) {
1084            memoizedIsInitialized = 0;
1085            return false;
1086          }
1087          if (!hasType()) {
1088            memoizedIsInitialized = 0;
1089            return false;
1090          }
1091          memoizedIsInitialized = 1;
1092          return true;
1093        }
1094        
1095        public void writeTo(com.google.protobuf.CodedOutputStream output)
1096                            throws java.io.IOException {
1097          getSerializedSize();
1098          if (((bitField0_ & 0x00000001) == 0x00000001)) {
1099            output.writeInt32(1, name_);
1100          }
1101          if (((bitField0_ & 0x00000002) == 0x00000002)) {
1102            output.writeMessage(2, type_);
1103          }
1104          if (((bitField0_ & 0x00000004) == 0x00000004)) {
1105            output.writeBool(3, isStaticInOuter_);
1106          }
1107        }
1108        
1109        private int memoizedSerializedSize = -1;
1110        public int getSerializedSize() {
1111          int size = memoizedSerializedSize;
1112          if (size != -1) return size;
1113        
1114          size = 0;
1115          if (((bitField0_ & 0x00000001) == 0x00000001)) {
1116            size += com.google.protobuf.CodedOutputStream
1117              .computeInt32Size(1, name_);
1118          }
1119          if (((bitField0_ & 0x00000002) == 0x00000002)) {
1120            size += com.google.protobuf.CodedOutputStream
1121              .computeMessageSize(2, type_);
1122          }
1123          if (((bitField0_ & 0x00000004) == 0x00000004)) {
1124            size += com.google.protobuf.CodedOutputStream
1125              .computeBoolSize(3, isStaticInOuter_);
1126          }
1127          memoizedSerializedSize = size;
1128          return size;
1129        }
1130        
1131        private static final long serialVersionUID = 0L;
1132        @java.lang.Override
1133        protected java.lang.Object writeReplace()
1134            throws java.io.ObjectStreamException {
1135          return super.writeReplace();
1136        }
1137        
1138        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(
1139            com.google.protobuf.ByteString data)
1140            throws com.google.protobuf.InvalidProtocolBufferException {
1141          return newBuilder().mergeFrom(data).buildParsed();
1142        }
1143        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(
1144            com.google.protobuf.ByteString data,
1145            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1146            throws com.google.protobuf.InvalidProtocolBufferException {
1147          return newBuilder().mergeFrom(data, extensionRegistry)
1148                   .buildParsed();
1149        }
1150        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(byte[] data)
1151            throws com.google.protobuf.InvalidProtocolBufferException {
1152          return newBuilder().mergeFrom(data).buildParsed();
1153        }
1154        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(
1155            byte[] data,
1156            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1157            throws com.google.protobuf.InvalidProtocolBufferException {
1158          return newBuilder().mergeFrom(data, extensionRegistry)
1159                   .buildParsed();
1160        }
1161        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(java.io.InputStream input)
1162            throws java.io.IOException {
1163          return newBuilder().mergeFrom(input).buildParsed();
1164        }
1165        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(
1166            java.io.InputStream input,
1167            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1168            throws java.io.IOException {
1169          return newBuilder().mergeFrom(input, extensionRegistry)
1170                   .buildParsed();
1171        }
1172        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseDelimitedFrom(java.io.InputStream input)
1173            throws java.io.IOException {
1174          Builder builder = newBuilder();
1175          if (builder.mergeDelimitedFrom(input)) {
1176            return builder.buildParsed();
1177          } else {
1178            return null;
1179          }
1180        }
1181        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseDelimitedFrom(
1182            java.io.InputStream input,
1183            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1184            throws java.io.IOException {
1185          Builder builder = newBuilder();
1186          if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1187            return builder.buildParsed();
1188          } else {
1189            return null;
1190          }
1191        }
1192        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(
1193            com.google.protobuf.CodedInputStream input)
1194            throws java.io.IOException {
1195          return newBuilder().mergeFrom(input).buildParsed();
1196        }
1197        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature parseFrom(
1198            com.google.protobuf.CodedInputStream input,
1199            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1200            throws java.io.IOException {
1201          return newBuilder().mergeFrom(input, extensionRegistry)
1202                   .buildParsed();
1203        }
1204        
1205        public static Builder newBuilder() { return Builder.create(); }
1206        public Builder newBuilderForType() { return newBuilder(); }
1207        public static Builder newBuilder(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature prototype) {
1208          return newBuilder().mergeFrom(prototype);
1209        }
1210        public Builder toBuilder() { return newBuilder(this); }
1211        
1212        public static final class Builder extends
1213            com.google.protobuf.GeneratedMessageLite.Builder<
1214              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature, Builder>
1215            implements org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignatureOrBuilder {
1216          // Construct using org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.newBuilder()
1217          private Builder() {
1218            maybeForceBuilderInitialization();
1219          }
1220          
1221          private void maybeForceBuilderInitialization() {
1222          }
1223          private static Builder create() {
1224            return new Builder();
1225          }
1226          
1227          public Builder clear() {
1228            super.clear();
1229            name_ = 0;
1230            bitField0_ = (bitField0_ & ~0x00000001);
1231            type_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
1232            bitField0_ = (bitField0_ & ~0x00000002);
1233            isStaticInOuter_ = false;
1234            bitField0_ = (bitField0_ & ~0x00000004);
1235            return this;
1236          }
1237          
1238          public Builder clone() {
1239            return create().mergeFrom(buildPartial());
1240          }
1241          
1242          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature getDefaultInstanceForType() {
1243            return org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance();
1244          }
1245          
1246          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature build() {
1247            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature result = buildPartial();
1248            if (!result.isInitialized()) {
1249              throw newUninitializedMessageException(result);
1250            }
1251            return result;
1252          }
1253          
1254          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature buildParsed()
1255              throws com.google.protobuf.InvalidProtocolBufferException {
1256            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature result = buildPartial();
1257            if (!result.isInitialized()) {
1258              throw newUninitializedMessageException(
1259                result).asInvalidProtocolBufferException();
1260            }
1261            return result;
1262          }
1263          
1264          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature buildPartial() {
1265            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature result = new org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature(this);
1266            int from_bitField0_ = bitField0_;
1267            int to_bitField0_ = 0;
1268            if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1269              to_bitField0_ |= 0x00000001;
1270            }
1271            result.name_ = name_;
1272            if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1273              to_bitField0_ |= 0x00000002;
1274            }
1275            result.type_ = type_;
1276            if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1277              to_bitField0_ |= 0x00000004;
1278            }
1279            result.isStaticInOuter_ = isStaticInOuter_;
1280            result.bitField0_ = to_bitField0_;
1281            return result;
1282          }
1283          
1284          public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature other) {
1285            if (other == org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance()) return this;
1286            if (other.hasName()) {
1287              setName(other.getName());
1288            }
1289            if (other.hasType()) {
1290              mergeType(other.getType());
1291            }
1292            if (other.hasIsStaticInOuter()) {
1293              setIsStaticInOuter(other.getIsStaticInOuter());
1294            }
1295            return this;
1296          }
1297          
1298          public final boolean isInitialized() {
1299            if (!hasName()) {
1300              
1301              return false;
1302            }
1303            if (!hasType()) {
1304              
1305              return false;
1306            }
1307            return true;
1308          }
1309          
1310          public Builder mergeFrom(
1311              com.google.protobuf.CodedInputStream input,
1312              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1313              throws java.io.IOException {
1314            while (true) {
1315              int tag = input.readTag();
1316              switch (tag) {
1317                case 0:
1318                  
1319                  return this;
1320                default: {
1321                  if (!parseUnknownField(input, extensionRegistry, tag)) {
1322                    
1323                    return this;
1324                  }
1325                  break;
1326                }
1327                case 8: {
1328                  bitField0_ |= 0x00000001;
1329                  name_ = input.readInt32();
1330                  break;
1331                }
1332                case 18: {
1333                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder subBuilder = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.newBuilder();
1334                  if (hasType()) {
1335                    subBuilder.mergeFrom(getType());
1336                  }
1337                  input.readMessage(subBuilder, extensionRegistry);
1338                  setType(subBuilder.buildPartial());
1339                  break;
1340                }
1341                case 24: {
1342                  bitField0_ |= 0x00000004;
1343                  isStaticInOuter_ = input.readBool();
1344                  break;
1345                }
1346              }
1347            }
1348          }
1349          
1350          private int bitField0_;
1351          
1352          // required int32 name = 1;
1353          private int name_ ;
1354          public boolean hasName() {
1355            return ((bitField0_ & 0x00000001) == 0x00000001);
1356          }
1357          public int getName() {
1358            return name_;
1359          }
1360          public Builder setName(int value) {
1361            bitField0_ |= 0x00000001;
1362            name_ = value;
1363            
1364            return this;
1365          }
1366          public Builder clearName() {
1367            bitField0_ = (bitField0_ & ~0x00000001);
1368            name_ = 0;
1369            
1370            return this;
1371          }
1372          
1373          // required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
1374          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType type_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
1375          public boolean hasType() {
1376            return ((bitField0_ & 0x00000002) == 0x00000002);
1377          }
1378          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType getType() {
1379            return type_;
1380          }
1381          public Builder setType(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
1382            if (value == null) {
1383              throw new NullPointerException();
1384            }
1385            type_ = value;
1386            
1387            bitField0_ |= 0x00000002;
1388            return this;
1389          }
1390          public Builder setType(
1391              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.Builder builderForValue) {
1392            type_ = builderForValue.build();
1393            
1394            bitField0_ |= 0x00000002;
1395            return this;
1396          }
1397          public Builder mergeType(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType value) {
1398            if (((bitField0_ & 0x00000002) == 0x00000002) &&
1399                type_ != org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance()) {
1400              type_ =
1401                org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.newBuilder(type_).mergeFrom(value).buildPartial();
1402            } else {
1403              type_ = value;
1404            }
1405            
1406            bitField0_ |= 0x00000002;
1407            return this;
1408          }
1409          public Builder clearType() {
1410            type_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.getDefaultInstance();
1411            
1412            bitField0_ = (bitField0_ & ~0x00000002);
1413            return this;
1414          }
1415          
1416          // optional bool is_static_in_outer = 3 [default = false];
1417          private boolean isStaticInOuter_ ;
1418          public boolean hasIsStaticInOuter() {
1419            return ((bitField0_ & 0x00000004) == 0x00000004);
1420          }
1421          public boolean getIsStaticInOuter() {
1422            return isStaticInOuter_;
1423          }
1424          public Builder setIsStaticInOuter(boolean value) {
1425            bitField0_ |= 0x00000004;
1426            isStaticInOuter_ = value;
1427            
1428            return this;
1429          }
1430          public Builder clearIsStaticInOuter() {
1431            bitField0_ = (bitField0_ & ~0x00000004);
1432            isStaticInOuter_ = false;
1433            
1434            return this;
1435          }
1436          
1437          // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaFieldSignature)
1438        }
1439        
1440        static {
1441          defaultInstance = new JavaFieldSignature(true);
1442          defaultInstance.initFields();
1443        }
1444        
1445        // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaFieldSignature)
1446      }
1447      
1448      public interface JavaPropertySignatureOrBuilder
1449          extends com.google.protobuf.MessageLiteOrBuilder {
1450        
1451        // optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
1452        boolean hasField();
1453        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature getField();
1454        
1455        // optional int32 synthetic_method_name = 2;
1456        boolean hasSyntheticMethodName();
1457        int getSyntheticMethodName();
1458        
1459        // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
1460        boolean hasGetter();
1461        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getGetter();
1462        
1463        // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
1464        boolean hasSetter();
1465        org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getSetter();
1466      }
1467      public static final class JavaPropertySignature extends
1468          com.google.protobuf.GeneratedMessageLite
1469          implements JavaPropertySignatureOrBuilder {
1470        // Use JavaPropertySignature.newBuilder() to construct.
1471        private JavaPropertySignature(Builder builder) {
1472          super(builder);
1473        }
1474        private JavaPropertySignature(boolean noInit) {}
1475        
1476        private static final JavaPropertySignature defaultInstance;
1477        public static JavaPropertySignature getDefaultInstance() {
1478          return defaultInstance;
1479        }
1480        
1481        public JavaPropertySignature getDefaultInstanceForType() {
1482          return defaultInstance;
1483        }
1484        
1485        private int bitField0_;
1486        // optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
1487        public static final int FIELD_FIELD_NUMBER = 1;
1488        private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature field_;
1489        public boolean hasField() {
1490          return ((bitField0_ & 0x00000001) == 0x00000001);
1491        }
1492        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature getField() {
1493          return field_;
1494        }
1495        
1496        // optional int32 synthetic_method_name = 2;
1497        public static final int SYNTHETIC_METHOD_NAME_FIELD_NUMBER = 2;
1498        private int syntheticMethodName_;
1499        public boolean hasSyntheticMethodName() {
1500          return ((bitField0_ & 0x00000002) == 0x00000002);
1501        }
1502        public int getSyntheticMethodName() {
1503          return syntheticMethodName_;
1504        }
1505        
1506        // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
1507        public static final int GETTER_FIELD_NUMBER = 3;
1508        private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getter_;
1509        public boolean hasGetter() {
1510          return ((bitField0_ & 0x00000004) == 0x00000004);
1511        }
1512        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getGetter() {
1513          return getter_;
1514        }
1515        
1516        // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
1517        public static final int SETTER_FIELD_NUMBER = 4;
1518        private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature setter_;
1519        public boolean hasSetter() {
1520          return ((bitField0_ & 0x00000008) == 0x00000008);
1521        }
1522        public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getSetter() {
1523          return setter_;
1524        }
1525        
1526        private void initFields() {
1527          field_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance();
1528          syntheticMethodName_ = 0;
1529          getter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1530          setter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1531        }
1532        private byte memoizedIsInitialized = -1;
1533        public final boolean isInitialized() {
1534          byte isInitialized = memoizedIsInitialized;
1535          if (isInitialized != -1) return isInitialized == 1;
1536          
1537          if (hasField()) {
1538            if (!getField().isInitialized()) {
1539              memoizedIsInitialized = 0;
1540              return false;
1541            }
1542          }
1543          if (hasGetter()) {
1544            if (!getGetter().isInitialized()) {
1545              memoizedIsInitialized = 0;
1546              return false;
1547            }
1548          }
1549          if (hasSetter()) {
1550            if (!getSetter().isInitialized()) {
1551              memoizedIsInitialized = 0;
1552              return false;
1553            }
1554          }
1555          memoizedIsInitialized = 1;
1556          return true;
1557        }
1558        
1559        public void writeTo(com.google.protobuf.CodedOutputStream output)
1560                            throws java.io.IOException {
1561          getSerializedSize();
1562          if (((bitField0_ & 0x00000001) == 0x00000001)) {
1563            output.writeMessage(1, field_);
1564          }
1565          if (((bitField0_ & 0x00000002) == 0x00000002)) {
1566            output.writeInt32(2, syntheticMethodName_);
1567          }
1568          if (((bitField0_ & 0x00000004) == 0x00000004)) {
1569            output.writeMessage(3, getter_);
1570          }
1571          if (((bitField0_ & 0x00000008) == 0x00000008)) {
1572            output.writeMessage(4, setter_);
1573          }
1574        }
1575        
1576        private int memoizedSerializedSize = -1;
1577        public int getSerializedSize() {
1578          int size = memoizedSerializedSize;
1579          if (size != -1) return size;
1580        
1581          size = 0;
1582          if (((bitField0_ & 0x00000001) == 0x00000001)) {
1583            size += com.google.protobuf.CodedOutputStream
1584              .computeMessageSize(1, field_);
1585          }
1586          if (((bitField0_ & 0x00000002) == 0x00000002)) {
1587            size += com.google.protobuf.CodedOutputStream
1588              .computeInt32Size(2, syntheticMethodName_);
1589          }
1590          if (((bitField0_ & 0x00000004) == 0x00000004)) {
1591            size += com.google.protobuf.CodedOutputStream
1592              .computeMessageSize(3, getter_);
1593          }
1594          if (((bitField0_ & 0x00000008) == 0x00000008)) {
1595            size += com.google.protobuf.CodedOutputStream
1596              .computeMessageSize(4, setter_);
1597          }
1598          memoizedSerializedSize = size;
1599          return size;
1600        }
1601        
1602        private static final long serialVersionUID = 0L;
1603        @java.lang.Override
1604        protected java.lang.Object writeReplace()
1605            throws java.io.ObjectStreamException {
1606          return super.writeReplace();
1607        }
1608        
1609        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(
1610            com.google.protobuf.ByteString data)
1611            throws com.google.protobuf.InvalidProtocolBufferException {
1612          return newBuilder().mergeFrom(data).buildParsed();
1613        }
1614        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(
1615            com.google.protobuf.ByteString data,
1616            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1617            throws com.google.protobuf.InvalidProtocolBufferException {
1618          return newBuilder().mergeFrom(data, extensionRegistry)
1619                   .buildParsed();
1620        }
1621        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(byte[] data)
1622            throws com.google.protobuf.InvalidProtocolBufferException {
1623          return newBuilder().mergeFrom(data).buildParsed();
1624        }
1625        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(
1626            byte[] data,
1627            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1628            throws com.google.protobuf.InvalidProtocolBufferException {
1629          return newBuilder().mergeFrom(data, extensionRegistry)
1630                   .buildParsed();
1631        }
1632        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(java.io.InputStream input)
1633            throws java.io.IOException {
1634          return newBuilder().mergeFrom(input).buildParsed();
1635        }
1636        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(
1637            java.io.InputStream input,
1638            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1639            throws java.io.IOException {
1640          return newBuilder().mergeFrom(input, extensionRegistry)
1641                   .buildParsed();
1642        }
1643        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseDelimitedFrom(java.io.InputStream input)
1644            throws java.io.IOException {
1645          Builder builder = newBuilder();
1646          if (builder.mergeDelimitedFrom(input)) {
1647            return builder.buildParsed();
1648          } else {
1649            return null;
1650          }
1651        }
1652        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseDelimitedFrom(
1653            java.io.InputStream input,
1654            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1655            throws java.io.IOException {
1656          Builder builder = newBuilder();
1657          if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1658            return builder.buildParsed();
1659          } else {
1660            return null;
1661          }
1662        }
1663        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(
1664            com.google.protobuf.CodedInputStream input)
1665            throws java.io.IOException {
1666          return newBuilder().mergeFrom(input).buildParsed();
1667        }
1668        public static org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature parseFrom(
1669            com.google.protobuf.CodedInputStream input,
1670            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1671            throws java.io.IOException {
1672          return newBuilder().mergeFrom(input, extensionRegistry)
1673                   .buildParsed();
1674        }
1675        
1676        public static Builder newBuilder() { return Builder.create(); }
1677        public Builder newBuilderForType() { return newBuilder(); }
1678        public static Builder newBuilder(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature prototype) {
1679          return newBuilder().mergeFrom(prototype);
1680        }
1681        public Builder toBuilder() { return newBuilder(this); }
1682        
1683        public static final class Builder extends
1684            com.google.protobuf.GeneratedMessageLite.Builder<
1685              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature, Builder>
1686            implements org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignatureOrBuilder {
1687          // Construct using org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature.newBuilder()
1688          private Builder() {
1689            maybeForceBuilderInitialization();
1690          }
1691          
1692          private void maybeForceBuilderInitialization() {
1693          }
1694          private static Builder create() {
1695            return new Builder();
1696          }
1697          
1698          public Builder clear() {
1699            super.clear();
1700            field_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance();
1701            bitField0_ = (bitField0_ & ~0x00000001);
1702            syntheticMethodName_ = 0;
1703            bitField0_ = (bitField0_ & ~0x00000002);
1704            getter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1705            bitField0_ = (bitField0_ & ~0x00000004);
1706            setter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1707            bitField0_ = (bitField0_ & ~0x00000008);
1708            return this;
1709          }
1710          
1711          public Builder clone() {
1712            return create().mergeFrom(buildPartial());
1713          }
1714          
1715          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature getDefaultInstanceForType() {
1716            return org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature.getDefaultInstance();
1717          }
1718          
1719          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature build() {
1720            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature result = buildPartial();
1721            if (!result.isInitialized()) {
1722              throw newUninitializedMessageException(result);
1723            }
1724            return result;
1725          }
1726          
1727          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature buildParsed()
1728              throws com.google.protobuf.InvalidProtocolBufferException {
1729            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature result = buildPartial();
1730            if (!result.isInitialized()) {
1731              throw newUninitializedMessageException(
1732                result).asInvalidProtocolBufferException();
1733            }
1734            return result;
1735          }
1736          
1737          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature buildPartial() {
1738            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature result = new org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature(this);
1739            int from_bitField0_ = bitField0_;
1740            int to_bitField0_ = 0;
1741            if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1742              to_bitField0_ |= 0x00000001;
1743            }
1744            result.field_ = field_;
1745            if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1746              to_bitField0_ |= 0x00000002;
1747            }
1748            result.syntheticMethodName_ = syntheticMethodName_;
1749            if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1750              to_bitField0_ |= 0x00000004;
1751            }
1752            result.getter_ = getter_;
1753            if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1754              to_bitField0_ |= 0x00000008;
1755            }
1756            result.setter_ = setter_;
1757            result.bitField0_ = to_bitField0_;
1758            return result;
1759          }
1760          
1761          public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature other) {
1762            if (other == org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature.getDefaultInstance()) return this;
1763            if (other.hasField()) {
1764              mergeField(other.getField());
1765            }
1766            if (other.hasSyntheticMethodName()) {
1767              setSyntheticMethodName(other.getSyntheticMethodName());
1768            }
1769            if (other.hasGetter()) {
1770              mergeGetter(other.getGetter());
1771            }
1772            if (other.hasSetter()) {
1773              mergeSetter(other.getSetter());
1774            }
1775            return this;
1776          }
1777          
1778          public final boolean isInitialized() {
1779            if (hasField()) {
1780              if (!getField().isInitialized()) {
1781                
1782                return false;
1783              }
1784            }
1785            if (hasGetter()) {
1786              if (!getGetter().isInitialized()) {
1787                
1788                return false;
1789              }
1790            }
1791            if (hasSetter()) {
1792              if (!getSetter().isInitialized()) {
1793                
1794                return false;
1795              }
1796            }
1797            return true;
1798          }
1799          
1800          public Builder mergeFrom(
1801              com.google.protobuf.CodedInputStream input,
1802              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1803              throws java.io.IOException {
1804            while (true) {
1805              int tag = input.readTag();
1806              switch (tag) {
1807                case 0:
1808                  
1809                  return this;
1810                default: {
1811                  if (!parseUnknownField(input, extensionRegistry, tag)) {
1812                    
1813                    return this;
1814                  }
1815                  break;
1816                }
1817                case 10: {
1818                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.Builder subBuilder = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.newBuilder();
1819                  if (hasField()) {
1820                    subBuilder.mergeFrom(getField());
1821                  }
1822                  input.readMessage(subBuilder, extensionRegistry);
1823                  setField(subBuilder.buildPartial());
1824                  break;
1825                }
1826                case 16: {
1827                  bitField0_ |= 0x00000002;
1828                  syntheticMethodName_ = input.readInt32();
1829                  break;
1830                }
1831                case 26: {
1832                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.Builder subBuilder = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.newBuilder();
1833                  if (hasGetter()) {
1834                    subBuilder.mergeFrom(getGetter());
1835                  }
1836                  input.readMessage(subBuilder, extensionRegistry);
1837                  setGetter(subBuilder.buildPartial());
1838                  break;
1839                }
1840                case 34: {
1841                  org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.Builder subBuilder = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.newBuilder();
1842                  if (hasSetter()) {
1843                    subBuilder.mergeFrom(getSetter());
1844                  }
1845                  input.readMessage(subBuilder, extensionRegistry);
1846                  setSetter(subBuilder.buildPartial());
1847                  break;
1848                }
1849              }
1850            }
1851          }
1852          
1853          private int bitField0_;
1854          
1855          // optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
1856          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature field_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance();
1857          public boolean hasField() {
1858            return ((bitField0_ & 0x00000001) == 0x00000001);
1859          }
1860          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature getField() {
1861            return field_;
1862          }
1863          public Builder setField(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature value) {
1864            if (value == null) {
1865              throw new NullPointerException();
1866            }
1867            field_ = value;
1868            
1869            bitField0_ |= 0x00000001;
1870            return this;
1871          }
1872          public Builder setField(
1873              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.Builder builderForValue) {
1874            field_ = builderForValue.build();
1875            
1876            bitField0_ |= 0x00000001;
1877            return this;
1878          }
1879          public Builder mergeField(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature value) {
1880            if (((bitField0_ & 0x00000001) == 0x00000001) &&
1881                field_ != org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance()) {
1882              field_ =
1883                org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.newBuilder(field_).mergeFrom(value).buildPartial();
1884            } else {
1885              field_ = value;
1886            }
1887            
1888            bitField0_ |= 0x00000001;
1889            return this;
1890          }
1891          public Builder clearField() {
1892            field_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaFieldSignature.getDefaultInstance();
1893            
1894            bitField0_ = (bitField0_ & ~0x00000001);
1895            return this;
1896          }
1897          
1898          // optional int32 synthetic_method_name = 2;
1899          private int syntheticMethodName_ ;
1900          public boolean hasSyntheticMethodName() {
1901            return ((bitField0_ & 0x00000002) == 0x00000002);
1902          }
1903          public int getSyntheticMethodName() {
1904            return syntheticMethodName_;
1905          }
1906          public Builder setSyntheticMethodName(int value) {
1907            bitField0_ |= 0x00000002;
1908            syntheticMethodName_ = value;
1909            
1910            return this;
1911          }
1912          public Builder clearSyntheticMethodName() {
1913            bitField0_ = (bitField0_ & ~0x00000002);
1914            syntheticMethodName_ = 0;
1915            
1916            return this;
1917          }
1918          
1919          // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
1920          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1921          public boolean hasGetter() {
1922            return ((bitField0_ & 0x00000004) == 0x00000004);
1923          }
1924          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getGetter() {
1925            return getter_;
1926          }
1927          public Builder setGetter(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature value) {
1928            if (value == null) {
1929              throw new NullPointerException();
1930            }
1931            getter_ = value;
1932            
1933            bitField0_ |= 0x00000004;
1934            return this;
1935          }
1936          public Builder setGetter(
1937              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.Builder builderForValue) {
1938            getter_ = builderForValue.build();
1939            
1940            bitField0_ |= 0x00000004;
1941            return this;
1942          }
1943          public Builder mergeGetter(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature value) {
1944            if (((bitField0_ & 0x00000004) == 0x00000004) &&
1945                getter_ != org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance()) {
1946              getter_ =
1947                org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.newBuilder(getter_).mergeFrom(value).buildPartial();
1948            } else {
1949              getter_ = value;
1950            }
1951            
1952            bitField0_ |= 0x00000004;
1953            return this;
1954          }
1955          public Builder clearGetter() {
1956            getter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1957            
1958            bitField0_ = (bitField0_ & ~0x00000004);
1959            return this;
1960          }
1961          
1962          // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
1963          private org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature setter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
1964          public boolean hasSetter() {
1965            return ((bitField0_ & 0x00000008) == 0x00000008);
1966          }
1967          public org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature getSetter() {
1968            return setter_;
1969          }
1970          public Builder setSetter(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature value) {
1971            if (value == null) {
1972              throw new NullPointerException();
1973            }
1974            setter_ = value;
1975            
1976            bitField0_ |= 0x00000008;
1977            return this;
1978          }
1979          public Builder setSetter(
1980              org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.Builder builderForValue) {
1981            setter_ = builderForValue.build();
1982            
1983            bitField0_ |= 0x00000008;
1984            return this;
1985          }
1986          public Builder mergeSetter(org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature value) {
1987            if (((bitField0_ & 0x00000008) == 0x00000008) &&
1988                setter_ != org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance()) {
1989              setter_ =
1990                org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.newBuilder(setter_).mergeFrom(value).buildPartial();
1991            } else {
1992              setter_ = value;
1993            }
1994            
1995            bitField0_ |= 0x00000008;
1996            return this;
1997          }
1998          public Builder clearSetter() {
1999            setter_ = org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance();
2000            
2001            bitField0_ = (bitField0_ & ~0x00000008);
2002            return this;
2003          }
2004          
2005          // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaPropertySignature)
2006        }
2007        
2008        static {
2009          defaultInstance = new JavaPropertySignature(true);
2010          defaultInstance.initFields();
2011        }
2012        
2013        // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaPropertySignature)
2014      }
2015      
2016      public static final int METHOD_SIGNATURE_FIELD_NUMBER = 100;
2017      public static final
2018        com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
2019          org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable,
2020          org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature> methodSignature = com.google.protobuf.GeneratedMessageLite
2021              .newSingularGeneratedExtension(
2022            org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable.getDefaultInstance(),
2023            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance(),
2024            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaMethodSignature.getDefaultInstance(),
2025            null,
2026            100,
2027            com.google.protobuf.WireFormat.FieldType.MESSAGE);
2028      public static final int PROPERTY_SIGNATURE_FIELD_NUMBER = 101;
2029      public static final
2030        com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
2031          org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable,
2032          org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature> propertySignature = com.google.protobuf.GeneratedMessageLite
2033              .newSingularGeneratedExtension(
2034            org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable.getDefaultInstance(),
2035            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature.getDefaultInstance(),
2036            org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaPropertySignature.getDefaultInstance(),
2037            null,
2038            101,
2039            com.google.protobuf.WireFormat.FieldType.MESSAGE);
2040      public static final int SRC_CLASS_NAME_FIELD_NUMBER = 102;
2041      public static final
2042        com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
2043          org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable,
2044          java.lang.Integer> srcClassName = com.google.protobuf.GeneratedMessageLite
2045              .newSingularGeneratedExtension(
2046            org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable.getDefaultInstance(),
2047            0,
2048            null,
2049            null,
2050            102,
2051            com.google.protobuf.WireFormat.FieldType.INT32);
2052      
2053      static {
2054      }
2055      
2056      // @@protoc_insertion_point(outer_class_scope)
2057    }