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

org.jetbrains.kotlin.serialization.js.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.serialization.js;

public final class JsProtoBuf {
  private JsProtoBuf() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.classAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.constructorAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.functionAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.propertyAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.compileTimeValue);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.enumEntryAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.parameterAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeAnnotation);
    registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeParameterAnnotation);
  }
  public interface ClassesOrBuilder
      extends com.google.protobuf.MessageLiteOrBuilder {

    // repeated int32 class_name = 1 [packed = true];
    /**
     * 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.serialization.js.Classes} */ public static final class Classes extends com.google.protobuf.GeneratedMessageLite implements ClassesOrBuilder { // Use Classes.newBuilder() to construct. private Classes(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } private Classes(boolean noInit) {} private static final Classes defaultInstance; public static Classes getDefaultInstance() { return defaultInstance; } public Classes getDefaultInstanceForType() { return defaultInstance; } private Classes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, 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 (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { className_ = java.util.Collections.unmodifiableList(className_); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Classes parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Classes(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated int32 class_name = 1 [packed = true]; 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 isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.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)); } } 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 += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(className_.get(i)); } size += dataSize; if (!getClassNameList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } classNameMemoizedSerializedSize = dataSize; } 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.serialization.js.JsProtoBuf.Classes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( com.google.protobuf.CodedInputStream input, com.google.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.serialization.js.JsProtoBuf.Classes prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes, Builder> implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.ClassesOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.js.JsProtoBuf.Classes getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes build() { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes buildPartial() { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = new org.jetbrains.kotlin.serialization.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.serialization.js.JsProtoBuf.Classes other) { if (other == org.jetbrains.kotlin.serialization.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_); } } return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated int32 class_name = 1 [packed = true]; 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(); super.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.serialization.js.Classes) } static { defaultInstance = new Classes(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Classes) } public interface LibraryOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ java.util.List getEntryList(); /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index); /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ int getEntryCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library} */ public static final class Library extends com.google.protobuf.GeneratedMessageLite implements LibraryOrBuilder { // Use Library.newBuilder() to construct. private Library(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } private Library(boolean noInit) {} private static final Library defaultInstance; public static Library getDefaultInstance() { return defaultInstance; } public Library getDefaultInstanceForType() { return defaultInstance; } private Library( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entry_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Library parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Library(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface FileEntryOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { // required string path = 1; /** * required string path = 1; */ boolean hasPath(); /** * required string path = 1; */ java.lang.String getPath(); /** * required string path = 1; */ com.google.protobuf.ByteString getPathBytes(); // required bytes content = 2; /** * required bytes content = 2; */ boolean hasContent(); /** * required bytes content = 2; */ com.google.protobuf.ByteString getContent(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} */ public static final class FileEntry extends com.google.protobuf.GeneratedMessageLite implements FileEntryOrBuilder { // Use FileEntry.newBuilder() to construct. private FileEntry(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } private FileEntry(boolean noInit) {} private static final FileEntry defaultInstance; public static FileEntry getDefaultInstance() { return defaultInstance; } public FileEntry getDefaultInstanceForType() { return defaultInstance; } private FileEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; path_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; content_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FileEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FileEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required string path = 1; public static final int PATH_FIELD_NUMBER = 1; private java.lang.Object path_; /** * required string path = 1; */ public boolean hasPath() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string path = 1; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } } /** * required string path = 1; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required bytes content = 2; public static final int CONTENT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString content_; /** * required bytes content = 2; */ public boolean hasContent() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required bytes content = 2; */ public com.google.protobuf.ByteString getContent() { return content_; } private void initFields() { path_ = ""; content_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasPath()) { memoizedIsInitialized = 0; return false; } if (!hasContent()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getPathBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, content_); } } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getPathBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, content_); } 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.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.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.serialization.js.JsProtoBuf.Library.FileEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry, Builder> implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder { // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); path_ = ""; bitField0_ = (bitField0_ & ~0x00000001); content_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry build() { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry buildPartial() { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.path_ = path_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.content_ = content_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry other) { if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance()) return this; if (other.hasPath()) { bitField0_ |= 0x00000001; path_ = other.path_; } if (other.hasContent()) { setContent(other.getContent()); } return this; } public final boolean isInitialized() { if (!hasPath()) { return false; } if (!hasContent()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string path = 1; private java.lang.Object path_ = ""; /** * required string path = 1; */ public boolean hasPath() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string path = 1; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string path = 1; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string path = 1; */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; return this; } /** * required string path = 1; */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000001); path_ = getDefaultInstance().getPath(); return this; } /** * required string path = 1; */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; return this; } // required bytes content = 2; private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes content = 2; */ public boolean hasContent() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required bytes content = 2; */ public com.google.protobuf.ByteString getContent() { return content_; } /** * required bytes content = 2; */ public Builder setContent(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; content_ = value; return this; } /** * required bytes content = 2; */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000002); content_ = getDefaultInstance().getContent(); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library.FileEntry) } static { defaultInstance = new FileEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library.FileEntry) } // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; public static final int ENTRY_FIELD_NUMBER = 1; private java.util.List entry_; /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public java.util.List getEntryList() { return entry_; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public int getEntryCount() { return entry_.size(); } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) { return entry_.get(index); } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } private void initFields() { entry_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < entry_.size(); i++) { output.writeMessage(1, entry_.get(i)); } } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, entry_.get(i)); } 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.serialization.js.JsProtoBuf.Library parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( com.google.protobuf.CodedInputStream input, com.google.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.serialization.js.JsProtoBuf.Library prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder> implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder { // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library buildPartial() { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000001); } result.entry_ = entry_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) { if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance()) return this; if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } } return this; } public final boolean isInitialized() { for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000001; } } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public java.util.List getEntryList() { return java.util.Collections.unmodifiableList(entry_); } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public int getEntryCount() { return entry_.size(); } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) { return entry_.get(index); } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder setEntry( int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder setEntry( int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder addEntry(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder addEntry( int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder addEntry( org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder addEntry( int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder addAllEntry( java.lang.Iterable values) { ensureEntryIsMutable(); super.addAll(values, entry_); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder clearEntry() { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; */ public Builder removeEntry(int index) { ensureEntryIsMutable(); entry_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library) } static { defaultInstance = new Library(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library) } public static final int CLASS_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.Class { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.Class, java.util.List> classAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.Class.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int CONSTRUCTOR_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.Constructor { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.Constructor, java.util.List> constructorAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int FUNCTION_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.Function { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.Function, java.util.List> functionAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.Function.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int PROPERTY_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.Property { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.Property, java.util.List> propertyAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int COMPILE_TIME_VALUE_FIELD_NUMBER = 131; /** * extend .org.jetbrains.kotlin.serialization.Property { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.Property, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> compileTimeValue = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), null, 131, com.google.protobuf.WireFormat.FieldType.MESSAGE); public static final int ENUM_ENTRY_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.EnumEntry { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry, java.util.List> enumEntryAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.ValueParameter { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter, java.util.List> parameterAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int TYPE_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.Type { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.Type, java.util.List> typeAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); public static final int TYPE_PARAMETER_ANNOTATION_FIELD_NUMBER = 130; /** * extend .org.jetbrains.kotlin.serialization.TypeParameter { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter, java.util.List> typeParameterAnnotation = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.getDefaultInstance(), org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), null, 130, com.google.protobuf.WireFormat.FieldType.MESSAGE, false); static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy