All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.kotlin.kotlin-compiler.1.3.11.source-code.JsProtoBuf Maven / Gradle / Ivy

There is a newer version: 2.1.0-Beta1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: js/js.serializer/src/js.proto

package org.jetbrains.kotlin.metadata.js;

public final class JsProtoBuf {
  private JsProtoBuf() {}
  public static void registerAllExtensions(
      org.jetbrains.kotlin.protobuf.ExtensionRegistryLite registry) {
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.packageFqName);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.classAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.classContainingFileId);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.constructorAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.functionAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.functionContainingFileId);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.propertyAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.compileTimeValue);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.propertyContainingFileId);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.enumEntryAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.parameterAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.typeAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.typeParameterAnnotation);
    registry.add(org.jetbrains.kotlin.metadata.js.JsProtoBuf.packageFragmentFiles);
  }
  public interface HeaderOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Header)
      org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {

    /**
     * optional int32 flags = 1;
     *
     * 
     *preRelease
     * 
*/ boolean hasFlags(); /** * optional int32 flags = 1; * *
     *preRelease
     * 
*/ int getFlags(); /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
     * (patch << 16) + (minor << 8) + major
     * 
*/ boolean hasJsCodeBinaryVersion(); /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
     * (patch << 16) + (minor << 8) + major
     * 
*/ int getJsCodeBinaryVersion(); /** * optional string package_fq_name = 3; */ boolean hasPackageFqName(); /** * optional string package_fq_name = 3; */ java.lang.String getPackageFqName(); /** * optional string package_fq_name = 3; */ org.jetbrains.kotlin.protobuf.ByteString getPackageFqNameBytes(); /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ boolean hasStrings(); /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ org.jetbrains.kotlin.metadata.ProtoBuf.StringTable getStrings(); /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ boolean hasQualifiedNames(); /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable getQualifiedNames(); /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ java.util.List getAnnotationList(); /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation(int index); /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ int getAnnotationCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Header} */ public static final class Header extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Header) HeaderOrBuilder { // Use Header.newBuilder() to construct. private Header(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Header(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Header defaultInstance; public static Header getDefaultInstance() { return defaultInstance; } public Header getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Header( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = org.jetbrains.kotlin.protobuf.ByteString.newOutput(); org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput, 1); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; flags_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; jsCodeBinaryVersion_ = input.readInt32(); break; } case 26: { org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; packageFqName_ = bs; break; } case 34: { org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = strings_.toBuilder(); } strings_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(strings_); strings_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = qualifiedNames_.toBuilder(); } qualifiedNames_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(qualifiedNames_); qualifiedNames_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { annotation_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } annotation_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.PARSER, extensionRegistry)); break; } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { annotation_ = java.util.Collections.unmodifiableList(annotation_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser
PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser
() { public Header parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Header(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser
getParserForType() { return PARSER; } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 1; private int flags_; /** * optional int32 flags = 1; * *
     *preRelease
     * 
*/ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 flags = 1; * *
     *preRelease
     * 
*/ public int getFlags() { return flags_; } public static final int JS_CODE_BINARY_VERSION_FIELD_NUMBER = 2; private int jsCodeBinaryVersion_; /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
     * (patch << 16) + (minor << 8) + major
     * 
*/ public boolean hasJsCodeBinaryVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
     * (patch << 16) + (minor << 8) + major
     * 
*/ public int getJsCodeBinaryVersion() { return jsCodeBinaryVersion_; } public static final int PACKAGE_FQ_NAME_FIELD_NUMBER = 3; private java.lang.Object packageFqName_; /** * optional string package_fq_name = 3; */ public boolean hasPackageFqName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string package_fq_name = 3; */ public java.lang.String getPackageFqName() { java.lang.Object ref = packageFqName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.jetbrains.kotlin.protobuf.ByteString bs = (org.jetbrains.kotlin.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { packageFqName_ = s; } return s; } } /** * optional string package_fq_name = 3; */ public org.jetbrains.kotlin.protobuf.ByteString getPackageFqNameBytes() { java.lang.Object ref = packageFqName_; if (ref instanceof java.lang.String) { org.jetbrains.kotlin.protobuf.ByteString b = org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); packageFqName_ = b; return b; } else { return (org.jetbrains.kotlin.protobuf.ByteString) ref; } } public static final int STRINGS_FIELD_NUMBER = 4; private org.jetbrains.kotlin.metadata.ProtoBuf.StringTable strings_; /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public boolean hasStrings() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public org.jetbrains.kotlin.metadata.ProtoBuf.StringTable getStrings() { return strings_; } public static final int QUALIFIED_NAMES_FIELD_NUMBER = 5; private org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable qualifiedNames_; /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public boolean hasQualifiedNames() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable getQualifiedNames() { return qualifiedNames_; } public static final int ANNOTATION_FIELD_NUMBER = 6; private java.util.List annotation_; /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ public java.util.List getAnnotationList() { return annotation_; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ public java.util.List getAnnotationOrBuilderList() { return annotation_; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ public int getAnnotationCount() { return annotation_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation(int index) { return annotation_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
     * Annotations on the whole module
     * 
*/ public org.jetbrains.kotlin.metadata.ProtoBuf.AnnotationOrBuilder getAnnotationOrBuilder( int index) { return annotation_.get(index); } private void initFields() { flags_ = 0; jsCodeBinaryVersion_ = 1; packageFqName_ = ""; strings_ = org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance(); qualifiedNames_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance(); annotation_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasQualifiedNames()) { if (!getQualifiedNames().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getAnnotationCount(); i++) { if (!getAnnotation(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, flags_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, jsCodeBinaryVersion_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getPackageFqNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, strings_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, qualifiedNames_); } for (int i = 0; i < annotation_.size(); i++) { output.writeMessage(6, annotation_.get(i)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, flags_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, jsCodeBinaryVersion_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeBytesSize(3, getPackageFqNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(4, strings_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(5, qualifiedNames_); } for (int i = 0; i < annotation_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(6, annotation_.get(i)); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom( org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom( byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseDelimitedFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Header} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Header) org.jetbrains.kotlin.metadata.js.JsProtoBuf.HeaderOrBuilder { // Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); flags_ = 0; bitField0_ = (bitField0_ & ~0x00000001); jsCodeBinaryVersion_ = 1; bitField0_ = (bitField0_ & ~0x00000002); packageFqName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); strings_ = org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); qualifiedNames_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header getDefaultInstanceForType() { return org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header.getDefaultInstance(); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header build() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header buildPartial() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header result = new org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.flags_ = flags_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.jsCodeBinaryVersion_ = jsCodeBinaryVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.packageFqName_ = packageFqName_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.strings_ = strings_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.qualifiedNames_ = qualifiedNames_; if (((bitField0_ & 0x00000020) == 0x00000020)) { annotation_ = java.util.Collections.unmodifiableList(annotation_); bitField0_ = (bitField0_ & ~0x00000020); } result.annotation_ = annotation_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header other) { if (other == org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header.getDefaultInstance()) return this; if (other.hasFlags()) { setFlags(other.getFlags()); } if (other.hasJsCodeBinaryVersion()) { setJsCodeBinaryVersion(other.getJsCodeBinaryVersion()); } if (other.hasPackageFqName()) { bitField0_ |= 0x00000004; packageFqName_ = other.packageFqName_; } if (other.hasStrings()) { mergeStrings(other.getStrings()); } if (other.hasQualifiedNames()) { mergeQualifiedNames(other.getQualifiedNames()); } if (!other.annotation_.isEmpty()) { if (annotation_.isEmpty()) { annotation_ = other.annotation_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureAnnotationIsMutable(); annotation_.addAll(other.annotation_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (hasQualifiedNames()) { if (!getQualifiedNames().isInitialized()) { return false; } } for (int i = 0; i < getAnnotationCount(); i++) { if (!getAnnotation(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ ; /** * optional int32 flags = 1; * *
       *preRelease
       * 
*/ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 flags = 1; * *
       *preRelease
       * 
*/ public int getFlags() { return flags_; } /** * optional int32 flags = 1; * *
       *preRelease
       * 
*/ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * optional int32 flags = 1; * *
       *preRelease
       * 
*/ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 0; return this; } private int jsCodeBinaryVersion_ = 1; /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
       * (patch << 16) + (minor << 8) + major
       * 
*/ public boolean hasJsCodeBinaryVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
       * (patch << 16) + (minor << 8) + major
       * 
*/ public int getJsCodeBinaryVersion() { return jsCodeBinaryVersion_; } /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
       * (patch << 16) + (minor << 8) + major
       * 
*/ public Builder setJsCodeBinaryVersion(int value) { bitField0_ |= 0x00000002; jsCodeBinaryVersion_ = value; return this; } /** * optional int32 js_code_binary_version = 2 [default = 1]; * *
       * (patch << 16) + (minor << 8) + major
       * 
*/ public Builder clearJsCodeBinaryVersion() { bitField0_ = (bitField0_ & ~0x00000002); jsCodeBinaryVersion_ = 1; return this; } private java.lang.Object packageFqName_ = ""; /** * optional string package_fq_name = 3; */ public boolean hasPackageFqName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string package_fq_name = 3; */ public java.lang.String getPackageFqName() { java.lang.Object ref = packageFqName_; if (!(ref instanceof java.lang.String)) { org.jetbrains.kotlin.protobuf.ByteString bs = (org.jetbrains.kotlin.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { packageFqName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string package_fq_name = 3; */ public org.jetbrains.kotlin.protobuf.ByteString getPackageFqNameBytes() { java.lang.Object ref = packageFqName_; if (ref instanceof String) { org.jetbrains.kotlin.protobuf.ByteString b = org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); packageFqName_ = b; return b; } else { return (org.jetbrains.kotlin.protobuf.ByteString) ref; } } /** * optional string package_fq_name = 3; */ public Builder setPackageFqName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; packageFqName_ = value; return this; } /** * optional string package_fq_name = 3; */ public Builder clearPackageFqName() { bitField0_ = (bitField0_ & ~0x00000004); packageFqName_ = getDefaultInstance().getPackageFqName(); return this; } /** * optional string package_fq_name = 3; */ public Builder setPackageFqNameBytes( org.jetbrains.kotlin.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; packageFqName_ = value; return this; } private org.jetbrains.kotlin.metadata.ProtoBuf.StringTable strings_ = org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance(); /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public boolean hasStrings() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public org.jetbrains.kotlin.metadata.ProtoBuf.StringTable getStrings() { return strings_; } /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public Builder setStrings(org.jetbrains.kotlin.metadata.ProtoBuf.StringTable value) { if (value == null) { throw new NullPointerException(); } strings_ = value; bitField0_ |= 0x00000008; return this; } /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public Builder setStrings( org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.Builder builderForValue) { strings_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public Builder mergeStrings(org.jetbrains.kotlin.metadata.ProtoBuf.StringTable value) { if (((bitField0_ & 0x00000008) == 0x00000008) && strings_ != org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance()) { strings_ = org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.newBuilder(strings_).mergeFrom(value).buildPartial(); } else { strings_ = value; } bitField0_ |= 0x00000008; return this; } /** * optional .org.jetbrains.kotlin.metadata.StringTable strings = 4; */ public Builder clearStrings() { strings_ = org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable qualifiedNames_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance(); /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public boolean hasQualifiedNames() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable getQualifiedNames() { return qualifiedNames_; } /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public Builder setQualifiedNames(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable value) { if (value == null) { throw new NullPointerException(); } qualifiedNames_ = value; bitField0_ |= 0x00000010; return this; } /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public Builder setQualifiedNames( org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.Builder builderForValue) { qualifiedNames_ = builderForValue.build(); bitField0_ |= 0x00000010; return this; } /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public Builder mergeQualifiedNames(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable value) { if (((bitField0_ & 0x00000010) == 0x00000010) && qualifiedNames_ != org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance()) { qualifiedNames_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.newBuilder(qualifiedNames_).mergeFrom(value).buildPartial(); } else { qualifiedNames_ = value; } bitField0_ |= 0x00000010; return this; } /** * optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5; */ public Builder clearQualifiedNames() { qualifiedNames_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); return this; } private java.util.List annotation_ = java.util.Collections.emptyList(); private void ensureAnnotationIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { annotation_ = new java.util.ArrayList(annotation_); bitField0_ |= 0x00000020; } } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public java.util.List getAnnotationList() { return java.util.Collections.unmodifiableList(annotation_); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public int getAnnotationCount() { return annotation_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation(int index) { return annotation_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder setAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.set(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder setAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.set(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder addAnnotation(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.add(value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder addAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.add(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder addAnnotation( org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.add(builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder addAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.add(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder addAllAnnotation( java.lang.Iterable values) { ensureAnnotationIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, annotation_); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder clearAnnotation() { annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6; * *
       * Annotations on the whole module
       * 
*/ public Builder removeAnnotation(int index) { ensureAnnotationIsMutable(); annotation_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Header) } static { defaultInstance = new Header(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Header) } public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.File) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * optional int32 id = 1; * *
     * If absent, id is the index of the file in the Files.file list
     * 
*/ boolean hasId(); /** * optional int32 id = 1; * *
     * If absent, id is the index of the file in the Files.file list
     * 
*/ int getId(); /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ java.util.List getAnnotationList(); /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation(int index); /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ int getAnnotationCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.File} */ public static final class File extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.File) FileOrBuilder { // Use File.newBuilder() to construct. private File(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private File(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final File defaultInstance; public static File getDefaultInstance() { return defaultInstance; } public File getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private File( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = org.jetbrains.kotlin.protobuf.ByteString.newOutput(); org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput, 1); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; id_ = input.readInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { annotation_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } annotation_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.PARSER, extensionRegistry)); break; } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { annotation_ = java.util.Collections.unmodifiableList(annotation_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser() { public File parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new File(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private int id_; /** * optional int32 id = 1; * *
     * If absent, id is the index of the file in the Files.file list
     * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 id = 1; * *
     * If absent, id is the index of the file in the Files.file list
     * 
*/ public int getId() { return id_; } public static final int ANNOTATION_FIELD_NUMBER = 2; private java.util.List annotation_; /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public java.util.List getAnnotationList() { return annotation_; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public java.util.List getAnnotationOrBuilderList() { return annotation_; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public int getAnnotationCount() { return annotation_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation(int index) { return annotation_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public org.jetbrains.kotlin.metadata.ProtoBuf.AnnotationOrBuilder getAnnotationOrBuilder( int index) { return annotation_.get(index); } private void initFields() { id_ = 0; annotation_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getAnnotationCount(); i++) { if (!getAnnotation(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, id_); } for (int i = 0; i < annotation_.size(); i++) { output.writeMessage(2, annotation_.get(i)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, id_); } for (int i = 0; i < annotation_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(2, annotation_.get(i)); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom( org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom( byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseDelimitedFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.kotlin.metadata.js.JsProtoBuf.File prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.File} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.metadata.js.JsProtoBuf.File, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.File) org.jetbrains.kotlin.metadata.js.JsProtoBuf.FileOrBuilder { // Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); id_ = 0; bitField0_ = (bitField0_ & ~0x00000001); annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.File getDefaultInstanceForType() { return org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.getDefaultInstance(); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.File build() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.File result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.File buildPartial() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.File result = new org.jetbrains.kotlin.metadata.js.JsProtoBuf.File(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((bitField0_ & 0x00000002) == 0x00000002)) { annotation_ = java.util.Collections.unmodifiableList(annotation_); bitField0_ = (bitField0_ & ~0x00000002); } result.annotation_ = annotation_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.metadata.js.JsProtoBuf.File other) { if (other == org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (!other.annotation_.isEmpty()) { if (annotation_.isEmpty()) { annotation_ = other.annotation_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAnnotationIsMutable(); annotation_.addAll(other.annotation_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { for (int i = 0; i < getAnnotationCount(); i++) { if (!getAnnotation(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.metadata.js.JsProtoBuf.File parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.metadata.js.JsProtoBuf.File) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int id_ ; /** * optional int32 id = 1; * *
       * If absent, id is the index of the file in the Files.file list
       * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 id = 1; * *
       * If absent, id is the index of the file in the Files.file list
       * 
*/ public int getId() { return id_; } /** * optional int32 id = 1; * *
       * If absent, id is the index of the file in the Files.file list
       * 
*/ public Builder setId(int value) { bitField0_ |= 0x00000001; id_ = value; return this; } /** * optional int32 id = 1; * *
       * If absent, id is the index of the file in the Files.file list
       * 
*/ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0; return this; } private java.util.List annotation_ = java.util.Collections.emptyList(); private void ensureAnnotationIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { annotation_ = new java.util.ArrayList(annotation_); bitField0_ |= 0x00000002; } } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public java.util.List getAnnotationList() { return java.util.Collections.unmodifiableList(annotation_); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public int getAnnotationCount() { return annotation_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation(int index) { return annotation_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder setAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.set(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder setAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.set(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder addAnnotation(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.add(value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder addAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.add(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder addAnnotation( org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.add(builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder addAnnotation( int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.add(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder addAllAnnotation( java.lang.Iterable values) { ensureAnnotationIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, annotation_); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder clearAnnotation() { annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2; */ public Builder removeAnnotation(int index) { ensureAnnotationIsMutable(); annotation_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.File) } static { defaultInstance = new File(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.File) } public interface FilesOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Files) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ java.util.List getFileList(); /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ org.jetbrains.kotlin.metadata.js.JsProtoBuf.File getFile(int index); /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ int getFileCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Files} */ public static final class Files extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Files) FilesOrBuilder { // Use Files.newBuilder() to construct. private Files(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Files(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Files defaultInstance; public static Files getDefaultInstance() { return defaultInstance; } public Files getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Files( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = org.jetbrains.kotlin.protobuf.ByteString.newOutput(); org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput, 1); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { file_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } file_.add(input.readMessage(org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.PARSER, extensionRegistry)); break; } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { file_ = java.util.Collections.unmodifiableList(file_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser() { public Files parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Files(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser getParserForType() { return PARSER; } public static final int FILE_FIELD_NUMBER = 1; private java.util.List file_; /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public java.util.List getFileList() { return file_; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public java.util.List getFileOrBuilderList() { return file_; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public int getFileCount() { return file_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public org.jetbrains.kotlin.metadata.js.JsProtoBuf.File getFile(int index) { return file_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public org.jetbrains.kotlin.metadata.js.JsProtoBuf.FileOrBuilder getFileOrBuilder( int index) { return file_.get(index); } private void initFields() { file_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getFileCount(); i++) { if (!getFile(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < file_.size(); i++) { output.writeMessage(1, file_.get(i)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < file_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(1, file_.get(i)); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom( org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom( byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseDelimitedFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Files} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Files) org.jetbrains.kotlin.metadata.js.JsProtoBuf.FilesOrBuilder { // Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); file_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files getDefaultInstanceForType() { return org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.getDefaultInstance(); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files build() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files buildPartial() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files result = new org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { file_ = java.util.Collections.unmodifiableList(file_); bitField0_ = (bitField0_ & ~0x00000001); } result.file_ = file_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files other) { if (other == org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.getDefaultInstance()) return this; if (!other.file_.isEmpty()) { if (file_.isEmpty()) { file_ = other.file_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFileIsMutable(); file_.addAll(other.file_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { for (int i = 0; i < getFileCount(); i++) { if (!getFile(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List file_ = java.util.Collections.emptyList(); private void ensureFileIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { file_ = new java.util.ArrayList(file_); bitField0_ |= 0x00000001; } } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public java.util.List getFileList() { return java.util.Collections.unmodifiableList(file_); } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public int getFileCount() { return file_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public org.jetbrains.kotlin.metadata.js.JsProtoBuf.File getFile(int index) { return file_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder setFile( int index, org.jetbrains.kotlin.metadata.js.JsProtoBuf.File value) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.set(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder setFile( int index, org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.Builder builderForValue) { ensureFileIsMutable(); file_.set(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder addFile(org.jetbrains.kotlin.metadata.js.JsProtoBuf.File value) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.add(value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder addFile( int index, org.jetbrains.kotlin.metadata.js.JsProtoBuf.File value) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.add(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder addFile( org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.Builder builderForValue) { ensureFileIsMutable(); file_.add(builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder addFile( int index, org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.Builder builderForValue) { ensureFileIsMutable(); file_.add(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder addAllFile( java.lang.Iterable values) { ensureFileIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, file_); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder clearFile() { file_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * repeated .org.jetbrains.kotlin.metadata.js.File file = 1; */ public Builder removeFile(int index) { ensureFileIsMutable(); file_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Files) } static { defaultInstance = new Files(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Files) } public interface ClassesOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Classes) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * repeated int32 class_name = 1 [packed = true]; * *
     * id in StringTable
     * 
*/ java.util.List getClassNameList(); /** * repeated int32 class_name = 1 [packed = true]; * *
     * id in StringTable
     * 
*/ int getClassNameCount(); /** * repeated int32 class_name = 1 [packed = true]; * *
     * id in StringTable
     * 
*/ int getClassName(int index); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Classes} */ public static final class Classes extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Classes) ClassesOrBuilder { // Use Classes.newBuilder() to construct. private Classes(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Classes(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Classes defaultInstance; public static Classes getDefaultInstance() { return defaultInstance; } public Classes getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Classes( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = org.jetbrains.kotlin.protobuf.ByteString.newOutput(); org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput, 1); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { className_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } className_.add(input.readInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { className_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { className_.add(input.readInt32()); } input.popLimit(limit); break; } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { className_ = java.util.Collections.unmodifiableList(className_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser() { public Classes parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Classes(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser getParserForType() { return PARSER; } public static final int CLASS_NAME_FIELD_NUMBER = 1; private java.util.List className_; /** * repeated int32 class_name = 1 [packed = true]; * *
     * id in StringTable
     * 
*/ public java.util.List getClassNameList() { return className_; } /** * repeated int32 class_name = 1 [packed = true]; * *
     * id in StringTable
     * 
*/ public int getClassNameCount() { return className_.size(); } /** * repeated int32 class_name = 1 [packed = true]; * *
     * id in StringTable
     * 
*/ public int getClassName(int index) { return className_.get(index); } private int classNameMemoizedSerializedSize = -1; private void initFields() { className_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getClassNameList().size() > 0) { output.writeRawVarint32(10); output.writeRawVarint32(classNameMemoizedSerializedSize); } for (int i = 0; i < className_.size(); i++) { output.writeInt32NoTag(className_.get(i)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < className_.size(); i++) { dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32SizeNoTag(className_.get(i)); } size += dataSize; if (!getClassNameList().isEmpty()) { size += 1; size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } classNameMemoizedSerializedSize = dataSize; } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom( org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom( byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseDelimitedFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Classes} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Classes) org.jetbrains.kotlin.metadata.js.JsProtoBuf.ClassesOrBuilder { // Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); className_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes getDefaultInstanceForType() { return org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes.getDefaultInstance(); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes build() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes buildPartial() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes result = new org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { className_ = java.util.Collections.unmodifiableList(className_); bitField0_ = (bitField0_ & ~0x00000001); } result.className_ = className_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes other) { if (other == org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes.getDefaultInstance()) return this; if (!other.className_.isEmpty()) { if (className_.isEmpty()) { className_ = other.className_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureClassNameIsMutable(); className_.addAll(other.className_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List className_ = java.util.Collections.emptyList(); private void ensureClassNameIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { className_ = new java.util.ArrayList(className_); bitField0_ |= 0x00000001; } } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public java.util.List getClassNameList() { return java.util.Collections.unmodifiableList(className_); } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public int getClassNameCount() { return className_.size(); } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public int getClassName(int index) { return className_.get(index); } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public Builder setClassName( int index, int value) { ensureClassNameIsMutable(); className_.set(index, value); return this; } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public Builder addClassName(int value) { ensureClassNameIsMutable(); className_.add(value); return this; } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public Builder addAllClassName( java.lang.Iterable values) { ensureClassNameIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, className_); return this; } /** * repeated int32 class_name = 1 [packed = true]; * *
       * id in StringTable
       * 
*/ public Builder clearClassName() { className_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Classes) } static { defaultInstance = new Classes(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Classes) } public interface LibraryOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Library) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ boolean hasKind(); /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind getKind(); /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ java.util.List getPackageFragmentList(); /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment getPackageFragment(int index); /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ int getPackageFragmentCount(); /** * repeated string imported_module = 3; */ org.jetbrains.kotlin.protobuf.ProtocolStringList getImportedModuleList(); /** * repeated string imported_module = 3; */ int getImportedModuleCount(); /** * repeated string imported_module = 3; */ java.lang.String getImportedModule(int index); /** * repeated string imported_module = 3; */ org.jetbrains.kotlin.protobuf.ByteString getImportedModuleBytes(int index); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Library} */ public static final class Library extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Library) LibraryOrBuilder { // Use Library.newBuilder() to construct. private Library(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Library(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Library defaultInstance; public static Library getDefaultInstance() { return defaultInstance; } public Library getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Library( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = org.jetbrains.kotlin.protobuf.ByteString.newOutput(); org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput, 1); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind value = org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField0_ |= 0x00000001; kind_ = value; } break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { packageFragment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } packageFragment_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment.PARSER, extensionRegistry)); break; } case 26: { org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { importedModule_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } importedModule_.add(bs); break; } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { packageFragment_ = java.util.Collections.unmodifiableList(packageFragment_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { importedModule_ = importedModule_.getUnmodifiableView(); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser() { public Library parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Library(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.metadata.js.Library.Kind} */ public enum Kind implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * PLAIN = 1; */ PLAIN(0, 1), /** * AMD = 2; */ AMD(1, 2), /** * COMMON_JS = 3; */ COMMON_JS(2, 3), /** * UMD = 4; */ UMD(3, 4), ; /** * PLAIN = 1; */ public static final int PLAIN_VALUE = 1; /** * AMD = 2; */ public static final int AMD_VALUE = 2; /** * COMMON_JS = 3; */ public static final int COMMON_JS_VALUE = 3; /** * UMD = 4; */ public static final int UMD_VALUE = 4; public final int getNumber() { return value; } public static Kind valueOf(int value) { switch (value) { case 1: return PLAIN; case 2: return AMD; case 3: return COMMON_JS; case 4: return UMD; default: return null; } } public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.valueOf(number); } }; private final int value; private Kind(int index, int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.js.Library.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind kind_; /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind getKind() { return kind_; } public static final int PACKAGE_FRAGMENT_FIELD_NUMBER = 2; private java.util.List packageFragment_; /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public java.util.List getPackageFragmentList() { return packageFragment_; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public java.util.List getPackageFragmentOrBuilderList() { return packageFragment_; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public int getPackageFragmentCount() { return packageFragment_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment getPackageFragment(int index) { return packageFragment_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragmentOrBuilder getPackageFragmentOrBuilder( int index) { return packageFragment_.get(index); } public static final int IMPORTED_MODULE_FIELD_NUMBER = 3; private org.jetbrains.kotlin.protobuf.LazyStringList importedModule_; /** * repeated string imported_module = 3; */ public org.jetbrains.kotlin.protobuf.ProtocolStringList getImportedModuleList() { return importedModule_; } /** * repeated string imported_module = 3; */ public int getImportedModuleCount() { return importedModule_.size(); } /** * repeated string imported_module = 3; */ public java.lang.String getImportedModule(int index) { return importedModule_.get(index); } /** * repeated string imported_module = 3; */ public org.jetbrains.kotlin.protobuf.ByteString getImportedModuleBytes(int index) { return importedModule_.getByteString(index); } private void initFields() { kind_ = org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind.PLAIN; packageFragment_ = java.util.Collections.emptyList(); importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getPackageFragmentCount(); i++) { if (!getPackageFragment(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_.getNumber()); } for (int i = 0; i < packageFragment_.size(); i++) { output.writeMessage(2, packageFragment_.get(i)); } for (int i = 0; i < importedModule_.size(); i++) { output.writeBytes(3, importedModule_.getByteString(i)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeEnumSize(1, kind_.getNumber()); } for (int i = 0; i < packageFragment_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(2, packageFragment_.get(i)); } { int dataSize = 0; for (int i = 0; i < importedModule_.size(); i++) { dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeBytesSizeNoTag(importedModule_.getByteString(i)); } size += dataSize; size += 1 * getImportedModuleList().size(); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom( org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom( byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseDelimitedFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.metadata.js.Library} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Library) org.jetbrains.kotlin.metadata.js.JsProtoBuf.LibraryOrBuilder { // Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); kind_ = org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind.PLAIN; bitField0_ = (bitField0_ & ~0x00000001); packageFragment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library getDefaultInstanceForType() { return org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.getDefaultInstance(); } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library build() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library buildPartial() { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.kind_ = kind_; if (((bitField0_ & 0x00000002) == 0x00000002)) { packageFragment_ = java.util.Collections.unmodifiableList(packageFragment_); bitField0_ = (bitField0_ & ~0x00000002); } result.packageFragment_ = packageFragment_; if (((bitField0_ & 0x00000004) == 0x00000004)) { importedModule_ = importedModule_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.importedModule_ = importedModule_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library other) { if (other == org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } if (!other.packageFragment_.isEmpty()) { if (packageFragment_.isEmpty()) { packageFragment_ = other.packageFragment_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePackageFragmentIsMutable(); packageFragment_.addAll(other.packageFragment_); } } if (!other.importedModule_.isEmpty()) { if (importedModule_.isEmpty()) { importedModule_ = other.importedModule_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureImportedModuleIsMutable(); importedModule_.addAll(other.importedModule_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { for (int i = 0; i < getPackageFragmentCount(); i++) { if (!getPackageFragment(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind kind_ = org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind.PLAIN; /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ public org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind getKind() { return kind_; } /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ public Builder setKind(org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value; return this; } /** * optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN]; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.Kind.PLAIN; return this; } private java.util.List packageFragment_ = java.util.Collections.emptyList(); private void ensurePackageFragmentIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { packageFragment_ = new java.util.ArrayList(packageFragment_); bitField0_ |= 0x00000002; } } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public java.util.List getPackageFragmentList() { return java.util.Collections.unmodifiableList(packageFragment_); } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public int getPackageFragmentCount() { return packageFragment_.size(); } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment getPackageFragment(int index) { return packageFragment_.get(index); } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder setPackageFragment( int index, org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment value) { if (value == null) { throw new NullPointerException(); } ensurePackageFragmentIsMutable(); packageFragment_.set(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder setPackageFragment( int index, org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment.Builder builderForValue) { ensurePackageFragmentIsMutable(); packageFragment_.set(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder addPackageFragment(org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment value) { if (value == null) { throw new NullPointerException(); } ensurePackageFragmentIsMutable(); packageFragment_.add(value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder addPackageFragment( int index, org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment value) { if (value == null) { throw new NullPointerException(); } ensurePackageFragmentIsMutable(); packageFragment_.add(index, value); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder addPackageFragment( org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment.Builder builderForValue) { ensurePackageFragmentIsMutable(); packageFragment_.add(builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder addPackageFragment( int index, org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment.Builder builderForValue) { ensurePackageFragmentIsMutable(); packageFragment_.add(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder addAllPackageFragment( java.lang.Iterable values) { ensurePackageFragmentIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, packageFragment_); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder clearPackageFragment() { packageFragment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2; */ public Builder removePackageFragment(int index) { ensurePackageFragmentIsMutable(); packageFragment_.remove(index); return this; } private org.jetbrains.kotlin.protobuf.LazyStringList importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; private void ensureImportedModuleIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { importedModule_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(importedModule_); bitField0_ |= 0x00000004; } } /** * repeated string imported_module = 3; */ public org.jetbrains.kotlin.protobuf.ProtocolStringList getImportedModuleList() { return importedModule_.getUnmodifiableView(); } /** * repeated string imported_module = 3; */ public int getImportedModuleCount() { return importedModule_.size(); } /** * repeated string imported_module = 3; */ public java.lang.String getImportedModule(int index) { return importedModule_.get(index); } /** * repeated string imported_module = 3; */ public org.jetbrains.kotlin.protobuf.ByteString getImportedModuleBytes(int index) { return importedModule_.getByteString(index); } /** * repeated string imported_module = 3; */ public Builder setImportedModule( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureImportedModuleIsMutable(); importedModule_.set(index, value); return this; } /** * repeated string imported_module = 3; */ public Builder addImportedModule( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureImportedModuleIsMutable(); importedModule_.add(value); return this; } /** * repeated string imported_module = 3; */ public Builder addAllImportedModule( java.lang.Iterable values) { ensureImportedModuleIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, importedModule_); return this; } /** * repeated string imported_module = 3; */ public Builder clearImportedModule() { importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * repeated string imported_module = 3; */ public Builder addImportedModuleBytes( org.jetbrains.kotlin.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureImportedModuleIsMutable(); importedModule_.add(value); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Library) } static { defaultInstance = new Library(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Library) } public static final int PACKAGE_FQ_NAME_FIELD_NUMBER = 131; /** * extend .org.jetbrains.kotlin.metadata.Package { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Package, java.lang.Integer> packageFqName = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Package.getDefaultInstance(), 0, null, null, 131, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); public static final int CLASS_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.Class { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Class, java.util.List> classAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Class.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int CLASS_CONTAINING_FILE_ID_FIELD_NUMBER = 135; /** * extend .org.jetbrains.kotlin.metadata.Class { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Class, java.lang.Integer> classContainingFileId = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Class.getDefaultInstance(), 0, null, null, 135, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); public static final int CONSTRUCTOR_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.Constructor { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Constructor, java.util.List> constructorAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Constructor.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int FUNCTION_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.Function { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Function, java.util.List> functionAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Function.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int FUNCTION_CONTAINING_FILE_ID_FIELD_NUMBER = 135; /** * extend .org.jetbrains.kotlin.metadata.Function { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Function, java.lang.Integer> functionContainingFileId = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Function.getDefaultInstance(), 0, null, null, 135, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); public static final int PROPERTY_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.Property { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Property, java.util.List> propertyAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Property.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int COMPILE_TIME_VALUE_FIELD_NUMBER = 131; /** * extend .org.jetbrains.kotlin.metadata.Property { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Property, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value> compileTimeValue = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Property.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), null, 131, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.class); public static final int PROPERTY_CONTAINING_FILE_ID_FIELD_NUMBER = 135; /** * extend .org.jetbrains.kotlin.metadata.Property { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Property, java.lang.Integer> propertyContainingFileId = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Property.getDefaultInstance(), 0, null, null, 135, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); public static final int ENUM_ENTRY_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.EnumEntry { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry, java.util.List> enumEntryAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.ValueParameter { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.ValueParameter, java.util.List> parameterAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.ValueParameter.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int TYPE_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.Type { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.Type, java.util.List> typeAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int TYPE_PARAMETER_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.TypeParameter { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter, java.util.List> typeParameterAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.getDefaultInstance(), org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, false, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.class); public static final int PACKAGE_FRAGMENT_FILES_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.metadata.PackageFragment { ... } */ public static final org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment, org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files> packageFragmentFiles = org.jetbrains.kotlin.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.metadata.ProtoBuf.PackageFragment.getDefaultInstance(), org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.getDefaultInstance(), org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.getDefaultInstance(), null, 130, org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.class); static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy