From 2ecfd76bbb84544dcb4e145d08d12643db20be1b Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Mon, 13 Jun 2022 14:12:19 +0200 Subject: [PATCH] [kpm] kgp-idea-proto: Add generated code for protobufs This code was generated by libprotoc 3.19.4 ^KT-52568 In Progress --- .../proto/IdeaKpmBinaryCoordinatesProto.java | 1235 ++++++++++ ...deaKpmBinaryCoordinatesProtoOrBuilder.java | 94 + .../proto/IdeaKpmCompilationOutputProto.java | 779 +++++++ ...deaKpmCompilationOutputProtoOrBuilder.java | 51 + .../kpm/idea/proto/IdeaKpmContainerProto.java | 1230 ++++++++++ .../proto/IdeaKpmContainerProtoOrBuilder.java | 81 + .../idea/proto/IdeaKpmDependencyProto.java | 1130 +++++++++ .../IdeaKpmDependencyProtoOrBuilder.java | 56 + .../kpm/idea/proto/IdeaKpmExtrasProto.java | 708 ++++++ .../proto/IdeaKpmExtrasProtoOrBuilder.java | 43 + .../IdeaKpmFragmentCoordinatesProto.java | 780 +++++++ ...aKpmFragmentCoordinatesProtoOrBuilder.java | 41 + .../proto/IdeaKpmFragmentDependencyProto.java | 1046 +++++++++ ...eaKpmFragmentDependencyProtoOrBuilder.java | 55 + .../kpm/idea/proto/IdeaKpmFragmentProto.java | 2048 +++++++++++++++++ .../proto/IdeaKpmFragmentProtoOrBuilder.java | 126 + .../idea/proto/IdeaKpmJsPlatformProto.java | 707 ++++++ .../IdeaKpmJsPlatformProtoOrBuilder.java | 35 + .../idea/proto/IdeaKpmJvmPlatformProto.java | 780 +++++++ .../IdeaKpmJvmPlatformProtoOrBuilder.java | 41 + .../proto/IdeaKpmLanguageSettingsProto.java | 1798 +++++++++++++++ ...IdeaKpmLanguageSettingsProtoOrBuilder.java | 179 ++ .../proto/IdeaKpmModuleCoordinatesProto.java | 1235 ++++++++++ ...deaKpmModuleCoordinatesProtoOrBuilder.java | 94 + .../kpm/idea/proto/IdeaKpmModuleProto.java | 1507 ++++++++++++ .../proto/IdeaKpmModuleProtoOrBuilder.java | 87 + .../proto/IdeaKpmNativePlatformProto.java | 780 +++++++ .../IdeaKpmNativePlatformProtoOrBuilder.java | 41 + .../kpm/idea/proto/IdeaKpmPlatformProto.java | 1558 +++++++++++++ .../proto/IdeaKpmPlatformProtoOrBuilder.java | 86 + .../kpm/idea/proto/IdeaKpmProjectProto.java | 1614 +++++++++++++ .../proto/IdeaKpmProjectProtoOrBuilder.java | 116 + .../IdeaKpmResolvedBinaryDependencyProto.java | 1135 +++++++++ ...esolvedBinaryDependencyProtoOrBuilder.java | 73 + .../proto/IdeaKpmResourceDirectoryProto.java | 780 +++++++ ...deaKpmResourceDirectoryProtoOrBuilder.java | 41 + .../idea/proto/IdeaKpmSchemaInfoProto.java | 851 +++++++ .../IdeaKpmSchemaInfoProtoOrBuilder.java | 59 + .../proto/IdeaKpmSourceDirectoryProto.java | 942 ++++++++ .../IdeaKpmSourceDirectoryProtoOrBuilder.java | 58 + .../proto/IdeaKpmUnknownPlatformProto.java | 618 +++++ .../IdeaKpmUnknownPlatformProtoOrBuilder.java | 24 + ...deaKpmUnresolvedBinaryDependencyProto.java | 973 ++++++++ ...esolvedBinaryDependencyProtoOrBuilder.java | 56 + .../kpm/idea/proto/IdeaKpmVariantProto.java | 1290 +++++++++++ .../proto/IdeaKpmVariantProtoOrBuilder.java | 88 + .../idea/proto/IdeaKpmWasmPlatformProto.java | 618 +++++ .../IdeaKpmWasmPlatformProtoOrBuilder.java | 24 + .../kotlin/kpm/idea/proto/ProtoIdeaKpm.java | 468 ++++ .../kpm/idea/proto/ProtoIdeaKpmExtras.java | 62 + .../proto/IdeaKpmBinaryCoordinatesProtoKt.kt | 148 ++ .../proto/IdeaKpmCompilationOutputProtoKt.kt | 122 + .../kpm/idea/proto/IdeaKpmContainerProtoKt.kt | 189 ++ .../idea/proto/IdeaKpmDependencyProtoKt.kt | 107 + .../kpm/idea/proto/IdeaKpmExtrasProtoKt.kt | 89 + .../IdeaKpmFragmentCoordinatesProtoKt.kt | 76 + .../proto/IdeaKpmFragmentDependencyProtoKt.kt | 100 + .../kpm/idea/proto/IdeaKpmFragmentProtoKt.kt | 295 +++ .../idea/proto/IdeaKpmJsPlatformProtoKt.kt | 76 + .../idea/proto/IdeaKpmJvmPlatformProtoKt.kt | 76 + .../proto/IdeaKpmLanguageSettingsProtoKt.kt | 450 ++++ .../proto/IdeaKpmModuleCoordinatesProtoKt.kt | 148 ++ .../kpm/idea/proto/IdeaKpmModuleProtoKt.kt | 206 ++ .../proto/IdeaKpmNativePlatformProtoKt.kt | 76 + .../kpm/idea/proto/IdeaKpmPlatformProtoKt.kt | 155 ++ .../kpm/idea/proto/IdeaKpmProjectProtoKt.kt | 213 ++ .../IdeaKpmResolvedBinaryDependencyProtoKt.kt | 124 + .../proto/IdeaKpmResourceDirectoryProtoKt.kt | 76 + .../idea/proto/IdeaKpmSchemaInfoProtoKt.kt | 124 + .../proto/IdeaKpmSourceDirectoryProtoKt.kt | 100 + .../proto/IdeaKpmUnknownPlatformProtoKt.kt | 52 + ...deaKpmUnresolvedBinaryDependencyProtoKt.kt | 100 + .../kpm/idea/proto/IdeaKpmVariantProtoKt.kt | 161 ++ .../idea/proto/IdeaKpmWasmPlatformProtoKt.kt | 52 + .../kpm/idea/proto/ProtoIdeaKpmExtrasKt.kt | 0 .../kotlin/kpm/idea/proto/ProtoIdeaKpmKt.kt | 0 76 files changed, 31636 insertions(+) create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProto.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoOrBuilder.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpm.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtras.java create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtrasKt.kt create mode 100644 libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmKt.kt diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProto.java new file mode 100644 index 00000000000..4e47da5833e --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProto.java @@ -0,0 +1,1235 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto} + */ +final class IdeaKpmBinaryCoordinatesProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) + IdeaKpmBinaryCoordinatesProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmBinaryCoordinatesProto.newBuilder() to construct. + private IdeaKpmBinaryCoordinatesProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmBinaryCoordinatesProto() { + group_ = ""; + module_ = ""; + version_ = ""; + kotlinModuleName_ = ""; + kotlinFragmentName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmBinaryCoordinatesProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmBinaryCoordinatesProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + group_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + module_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + version_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + kotlinModuleName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + kotlinFragmentName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder.class); + } + + private int bitField0_; + public static final int GROUP_FIELD_NUMBER = 1; + private volatile java.lang.Object group_; + /** + * optional string group = 1; + * @return Whether the group field is set. + */ + @java.lang.Override + public boolean hasGroup() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string group = 1; + * @return The group. + */ + @java.lang.Override + public java.lang.String getGroup() { + java.lang.Object ref = group_; + 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(); + group_ = s; + return s; + } + } + /** + * optional string group = 1; + * @return The bytes for group. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODULE_FIELD_NUMBER = 2; + private volatile java.lang.Object module_; + /** + * optional string module = 2; + * @return Whether the module field is set. + */ + @java.lang.Override + public boolean hasModule() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string module = 2; + * @return The module. + */ + @java.lang.Override + public java.lang.String getModule() { + java.lang.Object ref = module_; + 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(); + module_ = s; + return s; + } + } + /** + * optional string module = 2; + * @return The bytes for module. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getModuleBytes() { + java.lang.Object ref = module_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + module_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object version_; + /** + * optional string version = 3; + * @return Whether the version field is set. + */ + @java.lang.Override + public boolean hasVersion() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string version = 3; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + 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(); + version_ = s; + return s; + } + } + /** + * optional string version = 3; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KOTLIN_MODULE_NAME_FIELD_NUMBER = 4; + private volatile java.lang.Object kotlinModuleName_; + /** + * optional string kotlin_module_name = 4; + * @return Whether the kotlinModuleName field is set. + */ + @java.lang.Override + public boolean hasKotlinModuleName() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string kotlin_module_name = 4; + * @return The kotlinModuleName. + */ + @java.lang.Override + public java.lang.String getKotlinModuleName() { + java.lang.Object ref = kotlinModuleName_; + 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(); + kotlinModuleName_ = s; + return s; + } + } + /** + * optional string kotlin_module_name = 4; + * @return The bytes for kotlinModuleName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKotlinModuleNameBytes() { + java.lang.Object ref = kotlinModuleName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kotlinModuleName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KOTLIN_FRAGMENT_NAME_FIELD_NUMBER = 5; + private volatile java.lang.Object kotlinFragmentName_; + /** + * optional string kotlin_fragment_name = 5; + * @return Whether the kotlinFragmentName field is set. + */ + @java.lang.Override + public boolean hasKotlinFragmentName() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional string kotlin_fragment_name = 5; + * @return The kotlinFragmentName. + */ + @java.lang.Override + public java.lang.String getKotlinFragmentName() { + java.lang.Object ref = kotlinFragmentName_; + 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(); + kotlinFragmentName_ = s; + return s; + } + } + /** + * optional string kotlin_fragment_name = 5; + * @return The bytes for kotlinFragmentName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKotlinFragmentNameBytes() { + java.lang.Object ref = kotlinFragmentName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kotlinFragmentName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, module_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kotlinModuleName_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, kotlinFragmentName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, module_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kotlinModuleName_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, kotlinFragmentName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) obj; + + if (hasGroup() != other.hasGroup()) return false; + if (hasGroup()) { + if (!getGroup() + .equals(other.getGroup())) return false; + } + if (hasModule() != other.hasModule()) return false; + if (hasModule()) { + if (!getModule() + .equals(other.getModule())) return false; + } + if (hasVersion() != other.hasVersion()) return false; + if (hasVersion()) { + if (!getVersion() + .equals(other.getVersion())) return false; + } + if (hasKotlinModuleName() != other.hasKotlinModuleName()) return false; + if (hasKotlinModuleName()) { + if (!getKotlinModuleName() + .equals(other.getKotlinModuleName())) return false; + } + if (hasKotlinFragmentName() != other.hasKotlinFragmentName()) return false; + if (hasKotlinFragmentName()) { + if (!getKotlinFragmentName() + .equals(other.getKotlinFragmentName())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + } + if (hasModule()) { + hash = (37 * hash) + MODULE_FIELD_NUMBER; + hash = (53 * hash) + getModule().hashCode(); + } + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } + if (hasKotlinModuleName()) { + hash = (37 * hash) + KOTLIN_MODULE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getKotlinModuleName().hashCode(); + } + if (hasKotlinFragmentName()) { + hash = (37 * hash) + KOTLIN_FRAGMENT_NAME_FIELD_NUMBER; + hash = (53 * hash) + getKotlinFragmentName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto 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.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + group_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + module_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + version_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + kotlinModuleName_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + kotlinFragmentName_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.group_ = group_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.module_ = module_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.version_ = version_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.kotlinModuleName_ = kotlinModuleName_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.kotlinFragmentName_ = kotlinFragmentName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance()) return this; + if (other.hasGroup()) { + bitField0_ |= 0x00000001; + group_ = other.group_; + onChanged(); + } + if (other.hasModule()) { + bitField0_ |= 0x00000002; + module_ = other.module_; + onChanged(); + } + if (other.hasVersion()) { + bitField0_ |= 0x00000004; + version_ = other.version_; + onChanged(); + } + if (other.hasKotlinModuleName()) { + bitField0_ |= 0x00000008; + kotlinModuleName_ = other.kotlinModuleName_; + onChanged(); + } + if (other.hasKotlinFragmentName()) { + bitField0_ |= 0x00000010; + kotlinFragmentName_ = other.kotlinFragmentName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object group_ = ""; + /** + * optional string group = 1; + * @return Whether the group field is set. + */ + public boolean hasGroup() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string group = 1; + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string group = 1; + * @return The bytes for group. + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string group = 1; + * @param value The group to set. + * @return This builder for chaining. + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + group_ = value; + onChanged(); + return this; + } + /** + * optional string group = 1; + * @return This builder for chaining. + */ + public Builder clearGroup() { + bitField0_ = (bitField0_ & ~0x00000001); + group_ = getDefaultInstance().getGroup(); + onChanged(); + return this; + } + /** + * optional string group = 1; + * @param value The bytes for group to set. + * @return This builder for chaining. + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000001; + group_ = value; + onChanged(); + return this; + } + + private java.lang.Object module_ = ""; + /** + * optional string module = 2; + * @return Whether the module field is set. + */ + public boolean hasModule() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string module = 2; + * @return The module. + */ + public java.lang.String getModule() { + java.lang.Object ref = module_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + module_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string module = 2; + * @return The bytes for module. + */ + public com.google.protobuf.ByteString + getModuleBytes() { + java.lang.Object ref = module_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + module_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string module = 2; + * @param value The module to set. + * @return This builder for chaining. + */ + public Builder setModule( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + module_ = value; + onChanged(); + return this; + } + /** + * optional string module = 2; + * @return This builder for chaining. + */ + public Builder clearModule() { + bitField0_ = (bitField0_ & ~0x00000002); + module_ = getDefaultInstance().getModule(); + onChanged(); + return this; + } + /** + * optional string module = 2; + * @param value The bytes for module to set. + * @return This builder for chaining. + */ + public Builder setModuleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + module_ = value; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + * optional string version = 3; + * @return Whether the version field is set. + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string version = 3; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string version = 3; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string version = 3; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + version_ = value; + onChanged(); + return this; + } + /** + * optional string version = 3; + * @return This builder for chaining. + */ + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000004); + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * optional string version = 3; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000004; + version_ = value; + onChanged(); + return this; + } + + private java.lang.Object kotlinModuleName_ = ""; + /** + * optional string kotlin_module_name = 4; + * @return Whether the kotlinModuleName field is set. + */ + public boolean hasKotlinModuleName() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string kotlin_module_name = 4; + * @return The kotlinModuleName. + */ + public java.lang.String getKotlinModuleName() { + java.lang.Object ref = kotlinModuleName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kotlinModuleName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string kotlin_module_name = 4; + * @return The bytes for kotlinModuleName. + */ + public com.google.protobuf.ByteString + getKotlinModuleNameBytes() { + java.lang.Object ref = kotlinModuleName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kotlinModuleName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string kotlin_module_name = 4; + * @param value The kotlinModuleName to set. + * @return This builder for chaining. + */ + public Builder setKotlinModuleName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + kotlinModuleName_ = value; + onChanged(); + return this; + } + /** + * optional string kotlin_module_name = 4; + * @return This builder for chaining. + */ + public Builder clearKotlinModuleName() { + bitField0_ = (bitField0_ & ~0x00000008); + kotlinModuleName_ = getDefaultInstance().getKotlinModuleName(); + onChanged(); + return this; + } + /** + * optional string kotlin_module_name = 4; + * @param value The bytes for kotlinModuleName to set. + * @return This builder for chaining. + */ + public Builder setKotlinModuleNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000008; + kotlinModuleName_ = value; + onChanged(); + return this; + } + + private java.lang.Object kotlinFragmentName_ = ""; + /** + * optional string kotlin_fragment_name = 5; + * @return Whether the kotlinFragmentName field is set. + */ + public boolean hasKotlinFragmentName() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional string kotlin_fragment_name = 5; + * @return The kotlinFragmentName. + */ + public java.lang.String getKotlinFragmentName() { + java.lang.Object ref = kotlinFragmentName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kotlinFragmentName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string kotlin_fragment_name = 5; + * @return The bytes for kotlinFragmentName. + */ + public com.google.protobuf.ByteString + getKotlinFragmentNameBytes() { + java.lang.Object ref = kotlinFragmentName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kotlinFragmentName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string kotlin_fragment_name = 5; + * @param value The kotlinFragmentName to set. + * @return This builder for chaining. + */ + public Builder setKotlinFragmentName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + kotlinFragmentName_ = value; + onChanged(); + return this; + } + /** + * optional string kotlin_fragment_name = 5; + * @return This builder for chaining. + */ + public Builder clearKotlinFragmentName() { + bitField0_ = (bitField0_ & ~0x00000010); + kotlinFragmentName_ = getDefaultInstance().getKotlinFragmentName(); + onChanged(); + return this; + } + /** + * optional string kotlin_fragment_name = 5; + * @param value The bytes for kotlinFragmentName to set. + * @return This builder for chaining. + */ + public Builder setKotlinFragmentNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000010; + kotlinFragmentName_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmBinaryCoordinatesProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmBinaryCoordinatesProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoOrBuilder.java new file mode 100644 index 00000000000..4aa1899b748 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoOrBuilder.java @@ -0,0 +1,94 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmBinaryCoordinatesProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string group = 1; + * @return Whether the group field is set. + */ + boolean hasGroup(); + /** + * optional string group = 1; + * @return The group. + */ + java.lang.String getGroup(); + /** + * optional string group = 1; + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); + + /** + * optional string module = 2; + * @return Whether the module field is set. + */ + boolean hasModule(); + /** + * optional string module = 2; + * @return The module. + */ + java.lang.String getModule(); + /** + * optional string module = 2; + * @return The bytes for module. + */ + com.google.protobuf.ByteString + getModuleBytes(); + + /** + * optional string version = 3; + * @return Whether the version field is set. + */ + boolean hasVersion(); + /** + * optional string version = 3; + * @return The version. + */ + java.lang.String getVersion(); + /** + * optional string version = 3; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * optional string kotlin_module_name = 4; + * @return Whether the kotlinModuleName field is set. + */ + boolean hasKotlinModuleName(); + /** + * optional string kotlin_module_name = 4; + * @return The kotlinModuleName. + */ + java.lang.String getKotlinModuleName(); + /** + * optional string kotlin_module_name = 4; + * @return The bytes for kotlinModuleName. + */ + com.google.protobuf.ByteString + getKotlinModuleNameBytes(); + + /** + * optional string kotlin_fragment_name = 5; + * @return Whether the kotlinFragmentName field is set. + */ + boolean hasKotlinFragmentName(); + /** + * optional string kotlin_fragment_name = 5; + * @return The kotlinFragmentName. + */ + java.lang.String getKotlinFragmentName(); + /** + * optional string kotlin_fragment_name = 5; + * @return The bytes for kotlinFragmentName. + */ + com.google.protobuf.ByteString + getKotlinFragmentNameBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProto.java new file mode 100644 index 00000000000..e7a74b802d5 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProto.java @@ -0,0 +1,779 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto} + */ +final class IdeaKpmCompilationOutputProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) + IdeaKpmCompilationOutputProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmCompilationOutputProto.newBuilder() to construct. + private IdeaKpmCompilationOutputProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmCompilationOutputProto() { + classesDirs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + resourcesDir_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmCompilationOutputProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmCompilationOutputProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + classesDirs_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + classesDirs_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + resourcesDir_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + classesDirs_ = classesDirs_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder.class); + } + + private int bitField0_; + public static final int CLASSES_DIRS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList classesDirs_; + /** + * repeated string classes_dirs = 1; + * @return A list containing the classesDirs. + */ + public com.google.protobuf.ProtocolStringList + getClassesDirsList() { + return classesDirs_; + } + /** + * repeated string classes_dirs = 1; + * @return The count of classesDirs. + */ + public int getClassesDirsCount() { + return classesDirs_.size(); + } + /** + * repeated string classes_dirs = 1; + * @param index The index of the element to return. + * @return The classesDirs at the given index. + */ + public java.lang.String getClassesDirs(int index) { + return classesDirs_.get(index); + } + /** + * repeated string classes_dirs = 1; + * @param index The index of the value to return. + * @return The bytes of the classesDirs at the given index. + */ + public com.google.protobuf.ByteString + getClassesDirsBytes(int index) { + return classesDirs_.getByteString(index); + } + + public static final int RESOURCES_DIR_FIELD_NUMBER = 2; + private volatile java.lang.Object resourcesDir_; + /** + * optional string resources_dir = 2; + * @return Whether the resourcesDir field is set. + */ + @java.lang.Override + public boolean hasResourcesDir() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string resources_dir = 2; + * @return The resourcesDir. + */ + @java.lang.Override + public java.lang.String getResourcesDir() { + java.lang.Object ref = resourcesDir_; + 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(); + resourcesDir_ = s; + return s; + } + } + /** + * optional string resources_dir = 2; + * @return The bytes for resourcesDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getResourcesDirBytes() { + java.lang.Object ref = resourcesDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourcesDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < classesDirs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, classesDirs_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourcesDir_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < classesDirs_.size(); i++) { + dataSize += computeStringSizeNoTag(classesDirs_.getRaw(i)); + } + size += dataSize; + size += 1 * getClassesDirsList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourcesDir_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) obj; + + if (!getClassesDirsList() + .equals(other.getClassesDirsList())) return false; + if (hasResourcesDir() != other.hasResourcesDir()) return false; + if (hasResourcesDir()) { + if (!getResourcesDir() + .equals(other.getResourcesDir())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getClassesDirsCount() > 0) { + hash = (37 * hash) + CLASSES_DIRS_FIELD_NUMBER; + hash = (53 * hash) + getClassesDirsList().hashCode(); + } + if (hasResourcesDir()) { + hash = (37 * hash) + RESOURCES_DIR_FIELD_NUMBER; + hash = (53 * hash) + getResourcesDir().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto 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.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + classesDirs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + resourcesDir_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((bitField0_ & 0x00000001) != 0)) { + classesDirs_ = classesDirs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.classesDirs_ = classesDirs_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.resourcesDir_ = resourcesDir_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance()) return this; + if (!other.classesDirs_.isEmpty()) { + if (classesDirs_.isEmpty()) { + classesDirs_ = other.classesDirs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureClassesDirsIsMutable(); + classesDirs_.addAll(other.classesDirs_); + } + onChanged(); + } + if (other.hasResourcesDir()) { + bitField0_ |= 0x00000002; + resourcesDir_ = other.resourcesDir_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList classesDirs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureClassesDirsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + classesDirs_ = new com.google.protobuf.LazyStringArrayList(classesDirs_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated string classes_dirs = 1; + * @return A list containing the classesDirs. + */ + public com.google.protobuf.ProtocolStringList + getClassesDirsList() { + return classesDirs_.getUnmodifiableView(); + } + /** + * repeated string classes_dirs = 1; + * @return The count of classesDirs. + */ + public int getClassesDirsCount() { + return classesDirs_.size(); + } + /** + * repeated string classes_dirs = 1; + * @param index The index of the element to return. + * @return The classesDirs at the given index. + */ + public java.lang.String getClassesDirs(int index) { + return classesDirs_.get(index); + } + /** + * repeated string classes_dirs = 1; + * @param index The index of the value to return. + * @return The bytes of the classesDirs at the given index. + */ + public com.google.protobuf.ByteString + getClassesDirsBytes(int index) { + return classesDirs_.getByteString(index); + } + /** + * repeated string classes_dirs = 1; + * @param index The index to set the value at. + * @param value The classesDirs to set. + * @return This builder for chaining. + */ + public Builder setClassesDirs( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureClassesDirsIsMutable(); + classesDirs_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string classes_dirs = 1; + * @param value The classesDirs to add. + * @return This builder for chaining. + */ + public Builder addClassesDirs( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureClassesDirsIsMutable(); + classesDirs_.add(value); + onChanged(); + return this; + } + /** + * repeated string classes_dirs = 1; + * @param values The classesDirs to add. + * @return This builder for chaining. + */ + public Builder addAllClassesDirs( + java.lang.Iterable values) { + ensureClassesDirsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, classesDirs_); + onChanged(); + return this; + } + /** + * repeated string classes_dirs = 1; + * @return This builder for chaining. + */ + public Builder clearClassesDirs() { + classesDirs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * repeated string classes_dirs = 1; + * @param value The bytes of the classesDirs to add. + * @return This builder for chaining. + */ + public Builder addClassesDirsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureClassesDirsIsMutable(); + classesDirs_.add(value); + onChanged(); + return this; + } + + private java.lang.Object resourcesDir_ = ""; + /** + * optional string resources_dir = 2; + * @return Whether the resourcesDir field is set. + */ + public boolean hasResourcesDir() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string resources_dir = 2; + * @return The resourcesDir. + */ + public java.lang.String getResourcesDir() { + java.lang.Object ref = resourcesDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resourcesDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string resources_dir = 2; + * @return The bytes for resourcesDir. + */ + public com.google.protobuf.ByteString + getResourcesDirBytes() { + java.lang.Object ref = resourcesDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourcesDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string resources_dir = 2; + * @param value The resourcesDir to set. + * @return This builder for chaining. + */ + public Builder setResourcesDir( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + resourcesDir_ = value; + onChanged(); + return this; + } + /** + * optional string resources_dir = 2; + * @return This builder for chaining. + */ + public Builder clearResourcesDir() { + bitField0_ = (bitField0_ & ~0x00000002); + resourcesDir_ = getDefaultInstance().getResourcesDir(); + onChanged(); + return this; + } + /** + * optional string resources_dir = 2; + * @param value The bytes for resourcesDir to set. + * @return This builder for chaining. + */ + public Builder setResourcesDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + resourcesDir_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmCompilationOutputProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmCompilationOutputProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoOrBuilder.java new file mode 100644 index 00000000000..109f2b478bc --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmCompilationOutputProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string classes_dirs = 1; + * @return A list containing the classesDirs. + */ + java.util.List + getClassesDirsList(); + /** + * repeated string classes_dirs = 1; + * @return The count of classesDirs. + */ + int getClassesDirsCount(); + /** + * repeated string classes_dirs = 1; + * @param index The index of the element to return. + * @return The classesDirs at the given index. + */ + java.lang.String getClassesDirs(int index); + /** + * repeated string classes_dirs = 1; + * @param index The index of the value to return. + * @return The bytes of the classesDirs at the given index. + */ + com.google.protobuf.ByteString + getClassesDirsBytes(int index); + + /** + * optional string resources_dir = 2; + * @return Whether the resourcesDir field is set. + */ + boolean hasResourcesDir(); + /** + * optional string resources_dir = 2; + * @return The resourcesDir. + */ + java.lang.String getResourcesDir(); + /** + * optional string resources_dir = 2; + * @return The bytes for resourcesDir. + */ + com.google.protobuf.ByteString + getResourcesDirBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProto.java new file mode 100644 index 00000000000..b79de012a6e --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProto.java @@ -0,0 +1,1230 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto} + */ +final class IdeaKpmContainerProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) + IdeaKpmContainerProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmContainerProto.newBuilder() to construct. + private IdeaKpmContainerProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmContainerProto() { + schemaInfos_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmContainerProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmContainerProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + schemaVersionMajor_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + schemaVersionMinor_ = input.readUInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + schemaVersionPatch_ = input.readUInt32(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + schemaInfos_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + schemaInfos_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.parser(), extensionRegistry)); + break; + } + case 194: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) != 0)) { + subBuilder = project_.toBuilder(); + } + project_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(project_); + project_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) != 0)) { + schemaInfos_ = java.util.Collections.unmodifiableList(schemaInfos_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.Builder.class); + } + + private int bitField0_; + public static final int SCHEMA_VERSION_MAJOR_FIELD_NUMBER = 1; + private int schemaVersionMajor_; + /** + * optional uint32 schema_version_major = 1; + * @return Whether the schemaVersionMajor field is set. + */ + @java.lang.Override + public boolean hasSchemaVersionMajor() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional uint32 schema_version_major = 1; + * @return The schemaVersionMajor. + */ + @java.lang.Override + public int getSchemaVersionMajor() { + return schemaVersionMajor_; + } + + public static final int SCHEMA_VERSION_MINOR_FIELD_NUMBER = 2; + private int schemaVersionMinor_; + /** + * optional uint32 schema_version_minor = 2; + * @return Whether the schemaVersionMinor field is set. + */ + @java.lang.Override + public boolean hasSchemaVersionMinor() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional uint32 schema_version_minor = 2; + * @return The schemaVersionMinor. + */ + @java.lang.Override + public int getSchemaVersionMinor() { + return schemaVersionMinor_; + } + + public static final int SCHEMA_VERSION_PATCH_FIELD_NUMBER = 3; + private int schemaVersionPatch_; + /** + * optional uint32 schema_version_patch = 3; + * @return Whether the schemaVersionPatch field is set. + */ + @java.lang.Override + public boolean hasSchemaVersionPatch() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional uint32 schema_version_patch = 3; + * @return The schemaVersionPatch. + */ + @java.lang.Override + public int getSchemaVersionPatch() { + return schemaVersionPatch_; + } + + public static final int SCHEMA_INFOS_FIELD_NUMBER = 4; + private java.util.List schemaInfos_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + @java.lang.Override + public java.util.List getSchemaInfosList() { + return schemaInfos_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + @java.lang.Override + public java.util.List + getSchemaInfosOrBuilderList() { + return schemaInfos_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + @java.lang.Override + public int getSchemaInfosCount() { + return schemaInfos_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto getSchemaInfos(int index) { + return schemaInfos_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder getSchemaInfosOrBuilder( + int index) { + return schemaInfos_.get(index); + } + + public static final int PROJECT_FIELD_NUMBER = 24; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return Whether the project field is set. + */ + @java.lang.Override + public boolean hasProject() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return The project. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto getProject() { + return project_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance() : project_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder getProjectOrBuilder() { + return project_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance() : project_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, schemaVersionMajor_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(2, schemaVersionMinor_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeUInt32(3, schemaVersionPatch_); + } + for (int i = 0; i < schemaInfos_.size(); i++) { + output.writeMessage(4, schemaInfos_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(24, getProject()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, schemaVersionMajor_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, schemaVersionMinor_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, schemaVersionPatch_); + } + for (int i = 0; i < schemaInfos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, schemaInfos_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getProject()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) obj; + + if (hasSchemaVersionMajor() != other.hasSchemaVersionMajor()) return false; + if (hasSchemaVersionMajor()) { + if (getSchemaVersionMajor() + != other.getSchemaVersionMajor()) return false; + } + if (hasSchemaVersionMinor() != other.hasSchemaVersionMinor()) return false; + if (hasSchemaVersionMinor()) { + if (getSchemaVersionMinor() + != other.getSchemaVersionMinor()) return false; + } + if (hasSchemaVersionPatch() != other.hasSchemaVersionPatch()) return false; + if (hasSchemaVersionPatch()) { + if (getSchemaVersionPatch() + != other.getSchemaVersionPatch()) return false; + } + if (!getSchemaInfosList() + .equals(other.getSchemaInfosList())) return false; + if (hasProject() != other.hasProject()) return false; + if (hasProject()) { + if (!getProject() + .equals(other.getProject())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSchemaVersionMajor()) { + hash = (37 * hash) + SCHEMA_VERSION_MAJOR_FIELD_NUMBER; + hash = (53 * hash) + getSchemaVersionMajor(); + } + if (hasSchemaVersionMinor()) { + hash = (37 * hash) + SCHEMA_VERSION_MINOR_FIELD_NUMBER; + hash = (53 * hash) + getSchemaVersionMinor(); + } + if (hasSchemaVersionPatch()) { + hash = (37 * hash) + SCHEMA_VERSION_PATCH_FIELD_NUMBER; + hash = (53 * hash) + getSchemaVersionPatch(); + } + if (getSchemaInfosCount() > 0) { + hash = (37 * hash) + SCHEMA_INFOS_FIELD_NUMBER; + hash = (53 * hash) + getSchemaInfosList().hashCode(); + } + if (hasProject()) { + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto 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.kpm.idea.proto.IdeaKpmContainerProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getSchemaInfosFieldBuilder(); + getProjectFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + schemaVersionMajor_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + schemaVersionMinor_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + schemaVersionPatch_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + if (schemaInfosBuilder_ == null) { + schemaInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + schemaInfosBuilder_.clear(); + } + if (projectBuilder_ == null) { + project_ = null; + } else { + projectBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.schemaVersionMajor_ = schemaVersionMajor_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.schemaVersionMinor_ = schemaVersionMinor_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.schemaVersionPatch_ = schemaVersionPatch_; + to_bitField0_ |= 0x00000004; + } + if (schemaInfosBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + schemaInfos_ = java.util.Collections.unmodifiableList(schemaInfos_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.schemaInfos_ = schemaInfos_; + } else { + result.schemaInfos_ = schemaInfosBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + if (projectBuilder_ == null) { + result.project_ = project_; + } else { + result.project_ = projectBuilder_.build(); + } + to_bitField0_ |= 0x00000008; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.getDefaultInstance()) return this; + if (other.hasSchemaVersionMajor()) { + setSchemaVersionMajor(other.getSchemaVersionMajor()); + } + if (other.hasSchemaVersionMinor()) { + setSchemaVersionMinor(other.getSchemaVersionMinor()); + } + if (other.hasSchemaVersionPatch()) { + setSchemaVersionPatch(other.getSchemaVersionPatch()); + } + if (schemaInfosBuilder_ == null) { + if (!other.schemaInfos_.isEmpty()) { + if (schemaInfos_.isEmpty()) { + schemaInfos_ = other.schemaInfos_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureSchemaInfosIsMutable(); + schemaInfos_.addAll(other.schemaInfos_); + } + onChanged(); + } + } else { + if (!other.schemaInfos_.isEmpty()) { + if (schemaInfosBuilder_.isEmpty()) { + schemaInfosBuilder_.dispose(); + schemaInfosBuilder_ = null; + schemaInfos_ = other.schemaInfos_; + bitField0_ = (bitField0_ & ~0x00000008); + schemaInfosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSchemaInfosFieldBuilder() : null; + } else { + schemaInfosBuilder_.addAllMessages(other.schemaInfos_); + } + } + } + if (other.hasProject()) { + mergeProject(other.getProject()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int schemaVersionMajor_ ; + /** + * optional uint32 schema_version_major = 1; + * @return Whether the schemaVersionMajor field is set. + */ + @java.lang.Override + public boolean hasSchemaVersionMajor() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional uint32 schema_version_major = 1; + * @return The schemaVersionMajor. + */ + @java.lang.Override + public int getSchemaVersionMajor() { + return schemaVersionMajor_; + } + /** + * optional uint32 schema_version_major = 1; + * @param value The schemaVersionMajor to set. + * @return This builder for chaining. + */ + public Builder setSchemaVersionMajor(int value) { + bitField0_ |= 0x00000001; + schemaVersionMajor_ = value; + onChanged(); + return this; + } + /** + * optional uint32 schema_version_major = 1; + * @return This builder for chaining. + */ + public Builder clearSchemaVersionMajor() { + bitField0_ = (bitField0_ & ~0x00000001); + schemaVersionMajor_ = 0; + onChanged(); + return this; + } + + private int schemaVersionMinor_ ; + /** + * optional uint32 schema_version_minor = 2; + * @return Whether the schemaVersionMinor field is set. + */ + @java.lang.Override + public boolean hasSchemaVersionMinor() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional uint32 schema_version_minor = 2; + * @return The schemaVersionMinor. + */ + @java.lang.Override + public int getSchemaVersionMinor() { + return schemaVersionMinor_; + } + /** + * optional uint32 schema_version_minor = 2; + * @param value The schemaVersionMinor to set. + * @return This builder for chaining. + */ + public Builder setSchemaVersionMinor(int value) { + bitField0_ |= 0x00000002; + schemaVersionMinor_ = value; + onChanged(); + return this; + } + /** + * optional uint32 schema_version_minor = 2; + * @return This builder for chaining. + */ + public Builder clearSchemaVersionMinor() { + bitField0_ = (bitField0_ & ~0x00000002); + schemaVersionMinor_ = 0; + onChanged(); + return this; + } + + private int schemaVersionPatch_ ; + /** + * optional uint32 schema_version_patch = 3; + * @return Whether the schemaVersionPatch field is set. + */ + @java.lang.Override + public boolean hasSchemaVersionPatch() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional uint32 schema_version_patch = 3; + * @return The schemaVersionPatch. + */ + @java.lang.Override + public int getSchemaVersionPatch() { + return schemaVersionPatch_; + } + /** + * optional uint32 schema_version_patch = 3; + * @param value The schemaVersionPatch to set. + * @return This builder for chaining. + */ + public Builder setSchemaVersionPatch(int value) { + bitField0_ |= 0x00000004; + schemaVersionPatch_ = value; + onChanged(); + return this; + } + /** + * optional uint32 schema_version_patch = 3; + * @return This builder for chaining. + */ + public Builder clearSchemaVersionPatch() { + bitField0_ = (bitField0_ & ~0x00000004); + schemaVersionPatch_ = 0; + onChanged(); + return this; + } + + private java.util.List schemaInfos_ = + java.util.Collections.emptyList(); + private void ensureSchemaInfosIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + schemaInfos_ = new java.util.ArrayList(schemaInfos_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder> schemaInfosBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public java.util.List getSchemaInfosList() { + if (schemaInfosBuilder_ == null) { + return java.util.Collections.unmodifiableList(schemaInfos_); + } else { + return schemaInfosBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public int getSchemaInfosCount() { + if (schemaInfosBuilder_ == null) { + return schemaInfos_.size(); + } else { + return schemaInfosBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto getSchemaInfos(int index) { + if (schemaInfosBuilder_ == null) { + return schemaInfos_.get(index); + } else { + return schemaInfosBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder setSchemaInfos( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto value) { + if (schemaInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaInfosIsMutable(); + schemaInfos_.set(index, value); + onChanged(); + } else { + schemaInfosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder setSchemaInfos( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder builderForValue) { + if (schemaInfosBuilder_ == null) { + ensureSchemaInfosIsMutable(); + schemaInfos_.set(index, builderForValue.build()); + onChanged(); + } else { + schemaInfosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder addSchemaInfos(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto value) { + if (schemaInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaInfosIsMutable(); + schemaInfos_.add(value); + onChanged(); + } else { + schemaInfosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder addSchemaInfos( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto value) { + if (schemaInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaInfosIsMutable(); + schemaInfos_.add(index, value); + onChanged(); + } else { + schemaInfosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder addSchemaInfos( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder builderForValue) { + if (schemaInfosBuilder_ == null) { + ensureSchemaInfosIsMutable(); + schemaInfos_.add(builderForValue.build()); + onChanged(); + } else { + schemaInfosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder addSchemaInfos( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder builderForValue) { + if (schemaInfosBuilder_ == null) { + ensureSchemaInfosIsMutable(); + schemaInfos_.add(index, builderForValue.build()); + onChanged(); + } else { + schemaInfosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder addAllSchemaInfos( + java.lang.Iterable values) { + if (schemaInfosBuilder_ == null) { + ensureSchemaInfosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, schemaInfos_); + onChanged(); + } else { + schemaInfosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder clearSchemaInfos() { + if (schemaInfosBuilder_ == null) { + schemaInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + schemaInfosBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public Builder removeSchemaInfos(int index) { + if (schemaInfosBuilder_ == null) { + ensureSchemaInfosIsMutable(); + schemaInfos_.remove(index); + onChanged(); + } else { + schemaInfosBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder getSchemaInfosBuilder( + int index) { + return getSchemaInfosFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder getSchemaInfosOrBuilder( + int index) { + if (schemaInfosBuilder_ == null) { + return schemaInfos_.get(index); } else { + return schemaInfosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public java.util.List + getSchemaInfosOrBuilderList() { + if (schemaInfosBuilder_ != null) { + return schemaInfosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(schemaInfos_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder addSchemaInfosBuilder() { + return getSchemaInfosFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder addSchemaInfosBuilder( + int index) { + return getSchemaInfosFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + public java.util.List + getSchemaInfosBuilderList() { + return getSchemaInfosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder> + getSchemaInfosFieldBuilder() { + if (schemaInfosBuilder_ == null) { + schemaInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder>( + schemaInfos_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + schemaInfos_ = null; + } + return schemaInfosBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder> projectBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return Whether the project field is set. + */ + public boolean hasProject() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return The project. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto getProject() { + if (projectBuilder_ == null) { + return project_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance() : project_; + } else { + return projectBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + public Builder setProject(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto value) { + if (projectBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + onChanged(); + } else { + projectBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + public Builder setProject( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder builderForValue) { + if (projectBuilder_ == null) { + project_ = builderForValue.build(); + onChanged(); + } else { + projectBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + public Builder mergeProject(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto value) { + if (projectBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + project_ != null && + project_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance()) { + project_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.newBuilder(project_).mergeFrom(value).buildPartial(); + } else { + project_ = value; + } + onChanged(); + } else { + projectBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + public Builder clearProject() { + if (projectBuilder_ == null) { + project_ = null; + onChanged(); + } else { + projectBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder getProjectBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getProjectFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder getProjectOrBuilder() { + if (projectBuilder_ != null) { + return projectBuilder_.getMessageOrBuilder(); + } else { + return project_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance() : project_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder> + getProjectFieldBuilder() { + if (projectBuilder_ == null) { + projectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder>( + getProject(), + getParentForChildren(), + isClean()); + project_ = null; + } + return projectBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmContainerProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmContainerProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoOrBuilder.java new file mode 100644 index 00000000000..24f44098078 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoOrBuilder.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmContainerProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional uint32 schema_version_major = 1; + * @return Whether the schemaVersionMajor field is set. + */ + boolean hasSchemaVersionMajor(); + /** + * optional uint32 schema_version_major = 1; + * @return The schemaVersionMajor. + */ + int getSchemaVersionMajor(); + + /** + * optional uint32 schema_version_minor = 2; + * @return Whether the schemaVersionMinor field is set. + */ + boolean hasSchemaVersionMinor(); + /** + * optional uint32 schema_version_minor = 2; + * @return The schemaVersionMinor. + */ + int getSchemaVersionMinor(); + + /** + * optional uint32 schema_version_patch = 3; + * @return Whether the schemaVersionPatch field is set. + */ + boolean hasSchemaVersionPatch(); + /** + * optional uint32 schema_version_patch = 3; + * @return The schemaVersionPatch. + */ + int getSchemaVersionPatch(); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + java.util.List + getSchemaInfosList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto getSchemaInfos(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + int getSchemaInfosCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + java.util.List + getSchemaInfosOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder getSchemaInfosOrBuilder( + int index); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return Whether the project field is set. + */ + boolean hasProject(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return The project. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto getProject(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder getProjectOrBuilder(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProto.java new file mode 100644 index 00000000000..2b54c84eb27 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProto.java @@ -0,0 +1,1130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto} + */ +final class IdeaKpmDependencyProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) + IdeaKpmDependencyProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmDependencyProto.newBuilder() to construct. + private IdeaKpmDependencyProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmDependencyProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmDependencyProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmDependencyProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder subBuilder = null; + if (dependencyCase_ == 1) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_).toBuilder(); + } + dependency_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_); + dependency_ = subBuilder.buildPartial(); + } + dependencyCase_ = 1; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder subBuilder = null; + if (dependencyCase_ == 2) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_).toBuilder(); + } + dependency_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_); + dependency_ = subBuilder.buildPartial(); + } + dependencyCase_ = 2; + break; + } + case 26: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder subBuilder = null; + if (dependencyCase_ == 3) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_).toBuilder(); + } + dependency_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_); + dependency_ = subBuilder.buildPartial(); + } + dependencyCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder.class); + } + + private int dependencyCase_ = 0; + private java.lang.Object dependency_; + public enum DependencyCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + UNRESOLVED_BINARY_DEPENDENCY(1), + RESOLVED_BINARY_DEPENDENCY(2), + FRAGMENT_DEPENDENCY(3), + DEPENDENCY_NOT_SET(0); + private final int value; + private DependencyCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DependencyCase valueOf(int value) { + return forNumber(value); + } + + public static DependencyCase forNumber(int value) { + switch (value) { + case 1: return UNRESOLVED_BINARY_DEPENDENCY; + case 2: return RESOLVED_BINARY_DEPENDENCY; + case 3: return FRAGMENT_DEPENDENCY; + case 0: return DEPENDENCY_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public DependencyCase + getDependencyCase() { + return DependencyCase.forNumber( + dependencyCase_); + } + + public static final int UNRESOLVED_BINARY_DEPENDENCY_FIELD_NUMBER = 1; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return Whether the unresolvedBinaryDependency field is set. + */ + @java.lang.Override + public boolean hasUnresolvedBinaryDependency() { + return dependencyCase_ == 1; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return The unresolvedBinaryDependency. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto getUnresolvedBinaryDependency() { + if (dependencyCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder getUnresolvedBinaryDependencyOrBuilder() { + if (dependencyCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } + + public static final int RESOLVED_BINARY_DEPENDENCY_FIELD_NUMBER = 2; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return Whether the resolvedBinaryDependency field is set. + */ + @java.lang.Override + public boolean hasResolvedBinaryDependency() { + return dependencyCase_ == 2; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return The resolvedBinaryDependency. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto getResolvedBinaryDependency() { + if (dependencyCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder getResolvedBinaryDependencyOrBuilder() { + if (dependencyCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } + + public static final int FRAGMENT_DEPENDENCY_FIELD_NUMBER = 3; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return Whether the fragmentDependency field is set. + */ + @java.lang.Override + public boolean hasFragmentDependency() { + return dependencyCase_ == 3; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return The fragmentDependency. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto getFragmentDependency() { + if (dependencyCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder getFragmentDependencyOrBuilder() { + if (dependencyCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (dependencyCase_ == 1) { + output.writeMessage(1, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_); + } + if (dependencyCase_ == 2) { + output.writeMessage(2, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_); + } + if (dependencyCase_ == 3) { + output.writeMessage(3, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (dependencyCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_); + } + if (dependencyCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_); + } + if (dependencyCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) obj; + + if (!getDependencyCase().equals(other.getDependencyCase())) return false; + switch (dependencyCase_) { + case 1: + if (!getUnresolvedBinaryDependency() + .equals(other.getUnresolvedBinaryDependency())) return false; + break; + case 2: + if (!getResolvedBinaryDependency() + .equals(other.getResolvedBinaryDependency())) return false; + break; + case 3: + if (!getFragmentDependency() + .equals(other.getFragmentDependency())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (dependencyCase_) { + case 1: + hash = (37 * hash) + UNRESOLVED_BINARY_DEPENDENCY_FIELD_NUMBER; + hash = (53 * hash) + getUnresolvedBinaryDependency().hashCode(); + break; + case 2: + hash = (37 * hash) + RESOLVED_BINARY_DEPENDENCY_FIELD_NUMBER; + hash = (53 * hash) + getResolvedBinaryDependency().hashCode(); + break; + case 3: + hash = (37 * hash) + FRAGMENT_DEPENDENCY_FIELD_NUMBER; + hash = (53 * hash) + getFragmentDependency().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto 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.kpm.idea.proto.IdeaKpmDependencyProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + dependencyCase_ = 0; + dependency_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto(this); + if (dependencyCase_ == 1) { + if (unresolvedBinaryDependencyBuilder_ == null) { + result.dependency_ = dependency_; + } else { + result.dependency_ = unresolvedBinaryDependencyBuilder_.build(); + } + } + if (dependencyCase_ == 2) { + if (resolvedBinaryDependencyBuilder_ == null) { + result.dependency_ = dependency_; + } else { + result.dependency_ = resolvedBinaryDependencyBuilder_.build(); + } + } + if (dependencyCase_ == 3) { + if (fragmentDependencyBuilder_ == null) { + result.dependency_ = dependency_; + } else { + result.dependency_ = fragmentDependencyBuilder_.build(); + } + } + result.dependencyCase_ = dependencyCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.getDefaultInstance()) return this; + switch (other.getDependencyCase()) { + case UNRESOLVED_BINARY_DEPENDENCY: { + mergeUnresolvedBinaryDependency(other.getUnresolvedBinaryDependency()); + break; + } + case RESOLVED_BINARY_DEPENDENCY: { + mergeResolvedBinaryDependency(other.getResolvedBinaryDependency()); + break; + } + case FRAGMENT_DEPENDENCY: { + mergeFragmentDependency(other.getFragmentDependency()); + break; + } + case DEPENDENCY_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int dependencyCase_ = 0; + private java.lang.Object dependency_; + public DependencyCase + getDependencyCase() { + return DependencyCase.forNumber( + dependencyCase_); + } + + public Builder clearDependency() { + dependencyCase_ = 0; + dependency_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder> unresolvedBinaryDependencyBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return Whether the unresolvedBinaryDependency field is set. + */ + @java.lang.Override + public boolean hasUnresolvedBinaryDependency() { + return dependencyCase_ == 1; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return The unresolvedBinaryDependency. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto getUnresolvedBinaryDependency() { + if (unresolvedBinaryDependencyBuilder_ == null) { + if (dependencyCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } else { + if (dependencyCase_ == 1) { + return unresolvedBinaryDependencyBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + public Builder setUnresolvedBinaryDependency(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto value) { + if (unresolvedBinaryDependencyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dependency_ = value; + onChanged(); + } else { + unresolvedBinaryDependencyBuilder_.setMessage(value); + } + dependencyCase_ = 1; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + public Builder setUnresolvedBinaryDependency( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder builderForValue) { + if (unresolvedBinaryDependencyBuilder_ == null) { + dependency_ = builderForValue.build(); + onChanged(); + } else { + unresolvedBinaryDependencyBuilder_.setMessage(builderForValue.build()); + } + dependencyCase_ = 1; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + public Builder mergeUnresolvedBinaryDependency(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto value) { + if (unresolvedBinaryDependencyBuilder_ == null) { + if (dependencyCase_ == 1 && + dependency_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance()) { + dependency_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_) + .mergeFrom(value).buildPartial(); + } else { + dependency_ = value; + } + onChanged(); + } else { + if (dependencyCase_ == 1) { + unresolvedBinaryDependencyBuilder_.mergeFrom(value); + } + unresolvedBinaryDependencyBuilder_.setMessage(value); + } + dependencyCase_ = 1; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + public Builder clearUnresolvedBinaryDependency() { + if (unresolvedBinaryDependencyBuilder_ == null) { + if (dependencyCase_ == 1) { + dependencyCase_ = 0; + dependency_ = null; + onChanged(); + } + } else { + if (dependencyCase_ == 1) { + dependencyCase_ = 0; + dependency_ = null; + } + unresolvedBinaryDependencyBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder getUnresolvedBinaryDependencyBuilder() { + return getUnresolvedBinaryDependencyFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder getUnresolvedBinaryDependencyOrBuilder() { + if ((dependencyCase_ == 1) && (unresolvedBinaryDependencyBuilder_ != null)) { + return unresolvedBinaryDependencyBuilder_.getMessageOrBuilder(); + } else { + if (dependencyCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder> + getUnresolvedBinaryDependencyFieldBuilder() { + if (unresolvedBinaryDependencyBuilder_ == null) { + if (!(dependencyCase_ == 1)) { + dependency_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } + unresolvedBinaryDependencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) dependency_, + getParentForChildren(), + isClean()); + dependency_ = null; + } + dependencyCase_ = 1; + onChanged();; + return unresolvedBinaryDependencyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder> resolvedBinaryDependencyBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return Whether the resolvedBinaryDependency field is set. + */ + @java.lang.Override + public boolean hasResolvedBinaryDependency() { + return dependencyCase_ == 2; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return The resolvedBinaryDependency. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto getResolvedBinaryDependency() { + if (resolvedBinaryDependencyBuilder_ == null) { + if (dependencyCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } else { + if (dependencyCase_ == 2) { + return resolvedBinaryDependencyBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + public Builder setResolvedBinaryDependency(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto value) { + if (resolvedBinaryDependencyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dependency_ = value; + onChanged(); + } else { + resolvedBinaryDependencyBuilder_.setMessage(value); + } + dependencyCase_ = 2; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + public Builder setResolvedBinaryDependency( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder builderForValue) { + if (resolvedBinaryDependencyBuilder_ == null) { + dependency_ = builderForValue.build(); + onChanged(); + } else { + resolvedBinaryDependencyBuilder_.setMessage(builderForValue.build()); + } + dependencyCase_ = 2; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + public Builder mergeResolvedBinaryDependency(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto value) { + if (resolvedBinaryDependencyBuilder_ == null) { + if (dependencyCase_ == 2 && + dependency_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance()) { + dependency_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_) + .mergeFrom(value).buildPartial(); + } else { + dependency_ = value; + } + onChanged(); + } else { + if (dependencyCase_ == 2) { + resolvedBinaryDependencyBuilder_.mergeFrom(value); + } + resolvedBinaryDependencyBuilder_.setMessage(value); + } + dependencyCase_ = 2; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + public Builder clearResolvedBinaryDependency() { + if (resolvedBinaryDependencyBuilder_ == null) { + if (dependencyCase_ == 2) { + dependencyCase_ = 0; + dependency_ = null; + onChanged(); + } + } else { + if (dependencyCase_ == 2) { + dependencyCase_ = 0; + dependency_ = null; + } + resolvedBinaryDependencyBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder getResolvedBinaryDependencyBuilder() { + return getResolvedBinaryDependencyFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder getResolvedBinaryDependencyOrBuilder() { + if ((dependencyCase_ == 2) && (resolvedBinaryDependencyBuilder_ != null)) { + return resolvedBinaryDependencyBuilder_.getMessageOrBuilder(); + } else { + if (dependencyCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder> + getResolvedBinaryDependencyFieldBuilder() { + if (resolvedBinaryDependencyBuilder_ == null) { + if (!(dependencyCase_ == 2)) { + dependency_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } + resolvedBinaryDependencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) dependency_, + getParentForChildren(), + isClean()); + dependency_ = null; + } + dependencyCase_ = 2; + onChanged();; + return resolvedBinaryDependencyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder> fragmentDependencyBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return Whether the fragmentDependency field is set. + */ + @java.lang.Override + public boolean hasFragmentDependency() { + return dependencyCase_ == 3; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return The fragmentDependency. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto getFragmentDependency() { + if (fragmentDependencyBuilder_ == null) { + if (dependencyCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } else { + if (dependencyCase_ == 3) { + return fragmentDependencyBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + public Builder setFragmentDependency(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto value) { + if (fragmentDependencyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dependency_ = value; + onChanged(); + } else { + fragmentDependencyBuilder_.setMessage(value); + } + dependencyCase_ = 3; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + public Builder setFragmentDependency( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder builderForValue) { + if (fragmentDependencyBuilder_ == null) { + dependency_ = builderForValue.build(); + onChanged(); + } else { + fragmentDependencyBuilder_.setMessage(builderForValue.build()); + } + dependencyCase_ = 3; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + public Builder mergeFragmentDependency(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto value) { + if (fragmentDependencyBuilder_ == null) { + if (dependencyCase_ == 3 && + dependency_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance()) { + dependency_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_) + .mergeFrom(value).buildPartial(); + } else { + dependency_ = value; + } + onChanged(); + } else { + if (dependencyCase_ == 3) { + fragmentDependencyBuilder_.mergeFrom(value); + } + fragmentDependencyBuilder_.setMessage(value); + } + dependencyCase_ = 3; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + public Builder clearFragmentDependency() { + if (fragmentDependencyBuilder_ == null) { + if (dependencyCase_ == 3) { + dependencyCase_ = 0; + dependency_ = null; + onChanged(); + } + } else { + if (dependencyCase_ == 3) { + dependencyCase_ = 0; + dependency_ = null; + } + fragmentDependencyBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder getFragmentDependencyBuilder() { + return getFragmentDependencyFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder getFragmentDependencyOrBuilder() { + if ((dependencyCase_ == 3) && (fragmentDependencyBuilder_ != null)) { + return fragmentDependencyBuilder_.getMessageOrBuilder(); + } else { + if (dependencyCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder> + getFragmentDependencyFieldBuilder() { + if (fragmentDependencyBuilder_ == null) { + if (!(dependencyCase_ == 3)) { + dependency_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } + fragmentDependencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) dependency_, + getParentForChildren(), + isClean()); + dependency_ = null; + } + dependencyCase_ = 3; + onChanged();; + return fragmentDependencyBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmDependencyProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmDependencyProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoOrBuilder.java new file mode 100644 index 00000000000..ec4269b0ede --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmDependencyProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) + com.google.protobuf.MessageOrBuilder { + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return Whether the unresolvedBinaryDependency field is set. + */ + boolean hasUnresolvedBinaryDependency(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return The unresolvedBinaryDependency. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto getUnresolvedBinaryDependency(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder getUnresolvedBinaryDependencyOrBuilder(); + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return Whether the resolvedBinaryDependency field is set. + */ + boolean hasResolvedBinaryDependency(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return The resolvedBinaryDependency. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto getResolvedBinaryDependency(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder getResolvedBinaryDependencyOrBuilder(); + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return Whether the fragmentDependency field is set. + */ + boolean hasFragmentDependency(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return The fragmentDependency. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto getFragmentDependency(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder getFragmentDependencyOrBuilder(); + + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.DependencyCase getDependencyCase(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProto.java new file mode 100644 index 00000000000..8221ff6d4c2 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProto.java @@ -0,0 +1,708 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm_extras.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto} + */ +final class IdeaKpmExtrasProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) + IdeaKpmExtrasProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmExtrasProto.newBuilder() to construct. + private IdeaKpmExtrasProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmExtrasProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmExtrasProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmExtrasProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = com.google.protobuf.MapField.newMapField( + ValuesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + values__ = input.readMessage( + ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + values_.getMutableMap().put( + values__.getKey(), values__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + private static final class ValuesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.protobuf.ByteString> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_ValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.BYTES, + com.google.protobuf.ByteString.EMPTY); + } + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.ByteString> values_; + private com.google.protobuf.MapField + internalGetValues() { + if (values_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + return values_; + } + + public int getValuesCount() { + return internalGetValues().getMap().size(); + } + /** + * map<string, bytes> values = 1; + */ + + @java.lang.Override + public boolean containsValues( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetValues().getMap().containsKey(key); + } + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getValues() { + return getValuesMap(); + } + /** + * map<string, bytes> values = 1; + */ + @java.lang.Override + + public java.util.Map getValuesMap() { + return internalGetValues().getMap(); + } + /** + * map<string, bytes> values = 1; + */ + @java.lang.Override + + public com.google.protobuf.ByteString getValuesOrDefault( + java.lang.String key, + com.google.protobuf.ByteString defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, bytes> values = 1; + */ + @java.lang.Override + + public com.google.protobuf.ByteString getValuesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetValues(), + ValuesDefaultEntryHolder.defaultEntry, + 1); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetValues().getMap().entrySet()) { + com.google.protobuf.MapEntry + values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) obj; + + if (!internalGetValues().equals( + other.internalGetValues())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetValues().getMap().isEmpty()) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + internalGetValues().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto 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.kpm.idea.proto.IdeaKpmExtrasProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + internalGetMutableValues().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto(this); + int from_bitField0_ = bitField0_; + result.values_ = internalGetValues(); + result.values_.makeImmutable(); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) return this; + internalGetMutableValues().mergeFrom( + other.internalGetValues()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.ByteString> values_; + private com.google.protobuf.MapField + internalGetValues() { + if (values_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + return values_; + } + private com.google.protobuf.MapField + internalGetMutableValues() { + onChanged();; + if (values_ == null) { + values_ = com.google.protobuf.MapField.newMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + if (!values_.isMutable()) { + values_ = values_.copy(); + } + return values_; + } + + public int getValuesCount() { + return internalGetValues().getMap().size(); + } + /** + * map<string, bytes> values = 1; + */ + + @java.lang.Override + public boolean containsValues( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetValues().getMap().containsKey(key); + } + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getValues() { + return getValuesMap(); + } + /** + * map<string, bytes> values = 1; + */ + @java.lang.Override + + public java.util.Map getValuesMap() { + return internalGetValues().getMap(); + } + /** + * map<string, bytes> values = 1; + */ + @java.lang.Override + + public com.google.protobuf.ByteString getValuesOrDefault( + java.lang.String key, + com.google.protobuf.ByteString defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, bytes> values = 1; + */ + @java.lang.Override + + public com.google.protobuf.ByteString getValuesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearValues() { + internalGetMutableValues().getMutableMap() + .clear(); + return this; + } + /** + * map<string, bytes> values = 1; + */ + + public Builder removeValues( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableValues().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableValues() { + return internalGetMutableValues().getMutableMap(); + } + /** + * map<string, bytes> values = 1; + */ + public Builder putValues( + java.lang.String key, + com.google.protobuf.ByteString value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { + throw new NullPointerException("map value"); +} + + internalGetMutableValues().getMutableMap() + .put(key, value); + return this; + } + /** + * map<string, bytes> values = 1; + */ + + public Builder putAllValues( + java.util.Map values) { + internalGetMutableValues().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmExtrasProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmExtrasProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoOrBuilder.java new file mode 100644 index 00000000000..a50ebf5e83b --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoOrBuilder.java @@ -0,0 +1,43 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm_extras.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmExtrasProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto) + com.google.protobuf.MessageOrBuilder { + + /** + * map<string, bytes> values = 1; + */ + int getValuesCount(); + /** + * map<string, bytes> values = 1; + */ + boolean containsValues( + java.lang.String key); + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getValues(); + /** + * map<string, bytes> values = 1; + */ + java.util.Map + getValuesMap(); + /** + * map<string, bytes> values = 1; + */ + + com.google.protobuf.ByteString getValuesOrDefault( + java.lang.String key, + com.google.protobuf.ByteString defaultValue); + /** + * map<string, bytes> values = 1; + */ + + com.google.protobuf.ByteString getValuesOrThrow( + java.lang.String key); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProto.java new file mode 100644 index 00000000000..fd4061c7c02 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProto.java @@ -0,0 +1,780 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto} + */ +final class IdeaKpmFragmentCoordinatesProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) + IdeaKpmFragmentCoordinatesProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmFragmentCoordinatesProto.newBuilder() to construct. + private IdeaKpmFragmentCoordinatesProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmFragmentCoordinatesProto() { + fragmentName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmFragmentCoordinatesProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmFragmentCoordinatesProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = module_.toBuilder(); + } + module_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(module_); + module_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + fragmentName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder.class); + } + + private int bitField0_; + public static final int MODULE_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return Whether the module field is set. + */ + @java.lang.Override + public boolean hasModule() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return The module. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getModule() { + return module_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : module_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder getModuleOrBuilder() { + return module_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : module_; + } + + public static final int FRAGMENT_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object fragmentName_; + /** + * optional string fragment_name = 2; + * @return Whether the fragmentName field is set. + */ + @java.lang.Override + public boolean hasFragmentName() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string fragment_name = 2; + * @return The fragmentName. + */ + @java.lang.Override + public java.lang.String getFragmentName() { + java.lang.Object ref = fragmentName_; + 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(); + fragmentName_ = s; + return s; + } + } + /** + * optional string fragment_name = 2; + * @return The bytes for fragmentName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFragmentNameBytes() { + java.lang.Object ref = fragmentName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fragmentName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getModule()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fragmentName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getModule()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fragmentName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) obj; + + if (hasModule() != other.hasModule()) return false; + if (hasModule()) { + if (!getModule() + .equals(other.getModule())) return false; + } + if (hasFragmentName() != other.hasFragmentName()) return false; + if (hasFragmentName()) { + if (!getFragmentName() + .equals(other.getFragmentName())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasModule()) { + hash = (37 * hash) + MODULE_FIELD_NUMBER; + hash = (53 * hash) + getModule().hashCode(); + } + if (hasFragmentName()) { + hash = (37 * hash) + FRAGMENT_NAME_FIELD_NUMBER; + hash = (53 * hash) + getFragmentName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto 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.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getModuleFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (moduleBuilder_ == null) { + module_ = null; + } else { + moduleBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + fragmentName_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (moduleBuilder_ == null) { + result.module_ = module_; + } else { + result.module_ = moduleBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.fragmentName_ = fragmentName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance()) return this; + if (other.hasModule()) { + mergeModule(other.getModule()); + } + if (other.hasFragmentName()) { + bitField0_ |= 0x00000002; + fragmentName_ = other.fragmentName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder> moduleBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return Whether the module field is set. + */ + public boolean hasModule() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return The module. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getModule() { + if (moduleBuilder_ == null) { + return module_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : module_; + } else { + return moduleBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + public Builder setModule(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto value) { + if (moduleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + module_ = value; + onChanged(); + } else { + moduleBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + public Builder setModule( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder builderForValue) { + if (moduleBuilder_ == null) { + module_ = builderForValue.build(); + onChanged(); + } else { + moduleBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + public Builder mergeModule(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto value) { + if (moduleBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + module_ != null && + module_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance()) { + module_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.newBuilder(module_).mergeFrom(value).buildPartial(); + } else { + module_ = value; + } + onChanged(); + } else { + moduleBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + public Builder clearModule() { + if (moduleBuilder_ == null) { + module_ = null; + onChanged(); + } else { + moduleBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder getModuleBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getModuleFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder getModuleOrBuilder() { + if (moduleBuilder_ != null) { + return moduleBuilder_.getMessageOrBuilder(); + } else { + return module_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : module_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder> + getModuleFieldBuilder() { + if (moduleBuilder_ == null) { + moduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder>( + getModule(), + getParentForChildren(), + isClean()); + module_ = null; + } + return moduleBuilder_; + } + + private java.lang.Object fragmentName_ = ""; + /** + * optional string fragment_name = 2; + * @return Whether the fragmentName field is set. + */ + public boolean hasFragmentName() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string fragment_name = 2; + * @return The fragmentName. + */ + public java.lang.String getFragmentName() { + java.lang.Object ref = fragmentName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fragmentName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string fragment_name = 2; + * @return The bytes for fragmentName. + */ + public com.google.protobuf.ByteString + getFragmentNameBytes() { + java.lang.Object ref = fragmentName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fragmentName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string fragment_name = 2; + * @param value The fragmentName to set. + * @return This builder for chaining. + */ + public Builder setFragmentName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + fragmentName_ = value; + onChanged(); + return this; + } + /** + * optional string fragment_name = 2; + * @return This builder for chaining. + */ + public Builder clearFragmentName() { + bitField0_ = (bitField0_ & ~0x00000002); + fragmentName_ = getDefaultInstance().getFragmentName(); + onChanged(); + return this; + } + /** + * optional string fragment_name = 2; + * @param value The bytes for fragmentName to set. + * @return This builder for chaining. + */ + public Builder setFragmentNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + fragmentName_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmFragmentCoordinatesProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmFragmentCoordinatesProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoOrBuilder.java new file mode 100644 index 00000000000..2cc6378325a --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmFragmentCoordinatesProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return Whether the module field is set. + */ + boolean hasModule(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return The module. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getModule(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder getModuleOrBuilder(); + + /** + * optional string fragment_name = 2; + * @return Whether the fragmentName field is set. + */ + boolean hasFragmentName(); + /** + * optional string fragment_name = 2; + * @return The fragmentName. + */ + java.lang.String getFragmentName(); + /** + * optional string fragment_name = 2; + * @return The bytes for fragmentName. + */ + com.google.protobuf.ByteString + getFragmentNameBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProto.java new file mode 100644 index 00000000000..577f8899c42 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProto.java @@ -0,0 +1,1046 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto} + */ +final class IdeaKpmFragmentDependencyProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) + IdeaKpmFragmentDependencyProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmFragmentDependencyProto.newBuilder() to construct. + private IdeaKpmFragmentDependencyProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmFragmentDependencyProto() { + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmFragmentDependencyProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmFragmentDependencyProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 16: { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000002; + type_ = rawValue; + break; + } + case 26: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = coordinates_.toBuilder(); + } + coordinates_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(coordinates_); + coordinates_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder.class); + } + + /** + * Protobuf enum {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type} + */ + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { + /** + * REGULAR = 0; + */ + REGULAR(0), + /** + * FRIEND = 1; + */ + FRIEND(1), + /** + * REFINES = 2; + */ + REFINES(2), + UNRECOGNIZED(-1), + ; + + /** + * REGULAR = 0; + */ + public static final int REGULAR_VALUE = 0; + /** + * FRIEND = 1; + */ + public static final int FRIEND_VALUE = 1; + /** + * REFINES = 2; + */ + public static final int REFINES_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Type valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Type forNumber(int value) { + switch (value) { + case 0: return REGULAR; + case 1: return FRIEND; + case 2: return REFINES; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDescriptor().getEnumTypes().get(0); + } + + private static final Type[] VALUES = values(); + + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Type(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type) + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int TYPE_FIELD_NUMBER = 2; + private int type_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return Whether the type field is set. + */ + @java.lang.Override public boolean hasType() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return The type. + */ + @java.lang.Override public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type getType() { + @SuppressWarnings("deprecation") + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type result = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type.valueOf(type_); + return result == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type.UNRECOGNIZED : result; + } + + public static final int COORDINATES_FIELD_NUMBER = 3; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return Whether the coordinates field is set. + */ + @java.lang.Override + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return The coordinates. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getCoordinates() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, type_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getCoordinates()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCoordinates()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasType() != other.hasType()) return false; + if (hasType()) { + if (type_ != other.type_) return false; + } + if (hasCoordinates() != other.hasCoordinates()) return false; + if (hasCoordinates()) { + if (!getCoordinates() + .equals(other.getCoordinates())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + } + if (hasCoordinates()) { + hash = (37 * hash) + COORDINATES_FIELD_NUMBER; + hash = (53 * hash) + getCoordinates().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto 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.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + getCoordinatesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + if (coordinatesBuilder_ == null) { + coordinates_ = null; + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.type_ = type_; + if (((from_bitField0_ & 0x00000004) != 0)) { + if (coordinatesBuilder_ == null) { + result.coordinates_ = coordinates_; + } else { + result.coordinates_ = coordinatesBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasType()) { + setType(other.getType()); + } + if (other.hasCoordinates()) { + mergeCoordinates(other.getCoordinates()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private int type_ = 0; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return Whether the type field is set. + */ + @java.lang.Override public boolean hasType() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + bitField0_ |= 0x00000002; + type_ = value; + onChanged(); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return The type. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type getType() { + @SuppressWarnings("deprecation") + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type result = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type.valueOf(type_); + return result == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type.UNRECOGNIZED : result; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000002); + type_ = 0; + onChanged(); + return this; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder> coordinatesBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return Whether the coordinates field is set. + */ + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return The coordinates. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getCoordinates() { + if (coordinatesBuilder_ == null) { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } else { + return coordinatesBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + public Builder setCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinates_ = value; + onChanged(); + } else { + coordinatesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + public Builder setCoordinates( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder builderForValue) { + if (coordinatesBuilder_ == null) { + coordinates_ = builderForValue.build(); + onChanged(); + } else { + coordinatesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + public Builder mergeCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + coordinates_ != null && + coordinates_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance()) { + coordinates_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.newBuilder(coordinates_).mergeFrom(value).buildPartial(); + } else { + coordinates_ = value; + } + onChanged(); + } else { + coordinatesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + public Builder clearCoordinates() { + if (coordinatesBuilder_ == null) { + coordinates_ = null; + onChanged(); + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder getCoordinatesBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCoordinatesFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + if (coordinatesBuilder_ != null) { + return coordinatesBuilder_.getMessageOrBuilder(); + } else { + return coordinates_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder> + getCoordinatesFieldBuilder() { + if (coordinatesBuilder_ == null) { + coordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder>( + getCoordinates(), + getParentForChildren(), + isClean()); + coordinates_ = null; + } + return coordinatesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmFragmentDependencyProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmFragmentDependencyProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoOrBuilder.java new file mode 100644 index 00000000000..cfdf45b5549 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoOrBuilder.java @@ -0,0 +1,55 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmFragmentDependencyProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return Whether the type field is set. + */ + boolean hasType(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return The type. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type getType(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return Whether the coordinates field is set. + */ + boolean hasCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return The coordinates. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder getCoordinatesOrBuilder(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProto.java new file mode 100644 index 00000000000..df8a56996da --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProto.java @@ -0,0 +1,2048 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto} + */ +final class IdeaKpmFragmentProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) + IdeaKpmFragmentProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmFragmentProto.newBuilder() to construct. + private IdeaKpmFragmentProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmFragmentProto() { + platforms_ = java.util.Collections.emptyList(); + dependencies_ = java.util.Collections.emptyList(); + sourceDirectories_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmFragmentProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmFragmentProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = coordinates_.toBuilder(); + } + coordinates_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(coordinates_); + coordinates_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + platforms_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + platforms_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.parser(), extensionRegistry)); + break; + } + case 34: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = languageSettings_.toBuilder(); + } + languageSettings_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(languageSettings_); + languageSettings_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + dependencies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + dependencies_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + sourceDirectories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + sourceDirectories_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) != 0)) { + platforms_ = java.util.Collections.unmodifiableList(platforms_); + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + dependencies_ = java.util.Collections.unmodifiableList(dependencies_); + } + if (((mutable_bitField0_ & 0x00000020) != 0)) { + sourceDirectories_ = java.util.Collections.unmodifiableList(sourceDirectories_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int COORDINATES_FIELD_NUMBER = 2; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + @java.lang.Override + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getCoordinates() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } + + public static final int PLATFORMS_FIELD_NUMBER = 3; + private java.util.List platforms_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + @java.lang.Override + public java.util.List getPlatformsList() { + return platforms_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + @java.lang.Override + public java.util.List + getPlatformsOrBuilderList() { + return platforms_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + @java.lang.Override + public int getPlatformsCount() { + return platforms_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getPlatforms(int index) { + return platforms_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder getPlatformsOrBuilder( + int index) { + return platforms_.get(index); + } + + public static final int LANGUAGE_SETTINGS_FIELD_NUMBER = 4; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto languageSettings_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return Whether the languageSettings field is set. + */ + @java.lang.Override + public boolean hasLanguageSettings() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return The languageSettings. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto getLanguageSettings() { + return languageSettings_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance() : languageSettings_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder getLanguageSettingsOrBuilder() { + return languageSettings_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance() : languageSettings_; + } + + public static final int DEPENDENCIES_FIELD_NUMBER = 5; + private java.util.List dependencies_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + @java.lang.Override + public java.util.List getDependenciesList() { + return dependencies_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + @java.lang.Override + public java.util.List + getDependenciesOrBuilderList() { + return dependencies_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + @java.lang.Override + public int getDependenciesCount() { + return dependencies_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto getDependencies(int index) { + return dependencies_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder getDependenciesOrBuilder( + int index) { + return dependencies_.get(index); + } + + public static final int SOURCE_DIRECTORIES_FIELD_NUMBER = 6; + private java.util.List sourceDirectories_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + @java.lang.Override + public java.util.List getSourceDirectoriesList() { + return sourceDirectories_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + @java.lang.Override + public java.util.List + getSourceDirectoriesOrBuilderList() { + return sourceDirectories_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + @java.lang.Override + public int getSourceDirectoriesCount() { + return sourceDirectories_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto getSourceDirectories(int index) { + return sourceDirectories_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder getSourceDirectoriesOrBuilder( + int index) { + return sourceDirectories_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getCoordinates()); + } + for (int i = 0; i < platforms_.size(); i++) { + output.writeMessage(3, platforms_.get(i)); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getLanguageSettings()); + } + for (int i = 0; i < dependencies_.size(); i++) { + output.writeMessage(5, dependencies_.get(i)); + } + for (int i = 0; i < sourceDirectories_.size(); i++) { + output.writeMessage(6, sourceDirectories_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCoordinates()); + } + for (int i = 0; i < platforms_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, platforms_.get(i)); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLanguageSettings()); + } + for (int i = 0; i < dependencies_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, dependencies_.get(i)); + } + for (int i = 0; i < sourceDirectories_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, sourceDirectories_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasCoordinates() != other.hasCoordinates()) return false; + if (hasCoordinates()) { + if (!getCoordinates() + .equals(other.getCoordinates())) return false; + } + if (!getPlatformsList() + .equals(other.getPlatformsList())) return false; + if (hasLanguageSettings() != other.hasLanguageSettings()) return false; + if (hasLanguageSettings()) { + if (!getLanguageSettings() + .equals(other.getLanguageSettings())) return false; + } + if (!getDependenciesList() + .equals(other.getDependenciesList())) return false; + if (!getSourceDirectoriesList() + .equals(other.getSourceDirectoriesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasCoordinates()) { + hash = (37 * hash) + COORDINATES_FIELD_NUMBER; + hash = (53 * hash) + getCoordinates().hashCode(); + } + if (getPlatformsCount() > 0) { + hash = (37 * hash) + PLATFORMS_FIELD_NUMBER; + hash = (53 * hash) + getPlatformsList().hashCode(); + } + if (hasLanguageSettings()) { + hash = (37 * hash) + LANGUAGE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getLanguageSettings().hashCode(); + } + if (getDependenciesCount() > 0) { + hash = (37 * hash) + DEPENDENCIES_FIELD_NUMBER; + hash = (53 * hash) + getDependenciesList().hashCode(); + } + if (getSourceDirectoriesCount() > 0) { + hash = (37 * hash) + SOURCE_DIRECTORIES_FIELD_NUMBER; + hash = (53 * hash) + getSourceDirectoriesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto 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.kpm.idea.proto.IdeaKpmFragmentProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + getCoordinatesFieldBuilder(); + getPlatformsFieldBuilder(); + getLanguageSettingsFieldBuilder(); + getDependenciesFieldBuilder(); + getSourceDirectoriesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (coordinatesBuilder_ == null) { + coordinates_ = null; + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (platformsBuilder_ == null) { + platforms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + platformsBuilder_.clear(); + } + if (languageSettingsBuilder_ == null) { + languageSettings_ = null; + } else { + languageSettingsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (dependenciesBuilder_ == null) { + dependencies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } else { + dependenciesBuilder_.clear(); + } + if (sourceDirectoriesBuilder_ == null) { + sourceDirectories_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } else { + sourceDirectoriesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (coordinatesBuilder_ == null) { + result.coordinates_ = coordinates_; + } else { + result.coordinates_ = coordinatesBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + if (platformsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + platforms_ = java.util.Collections.unmodifiableList(platforms_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.platforms_ = platforms_; + } else { + result.platforms_ = platformsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + if (languageSettingsBuilder_ == null) { + result.languageSettings_ = languageSettings_; + } else { + result.languageSettings_ = languageSettingsBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + if (dependenciesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + dependencies_ = java.util.Collections.unmodifiableList(dependencies_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.dependencies_ = dependencies_; + } else { + result.dependencies_ = dependenciesBuilder_.build(); + } + if (sourceDirectoriesBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + sourceDirectories_ = java.util.Collections.unmodifiableList(sourceDirectories_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.sourceDirectories_ = sourceDirectories_; + } else { + result.sourceDirectories_ = sourceDirectoriesBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasCoordinates()) { + mergeCoordinates(other.getCoordinates()); + } + if (platformsBuilder_ == null) { + if (!other.platforms_.isEmpty()) { + if (platforms_.isEmpty()) { + platforms_ = other.platforms_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensurePlatformsIsMutable(); + platforms_.addAll(other.platforms_); + } + onChanged(); + } + } else { + if (!other.platforms_.isEmpty()) { + if (platformsBuilder_.isEmpty()) { + platformsBuilder_.dispose(); + platformsBuilder_ = null; + platforms_ = other.platforms_; + bitField0_ = (bitField0_ & ~0x00000004); + platformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPlatformsFieldBuilder() : null; + } else { + platformsBuilder_.addAllMessages(other.platforms_); + } + } + } + if (other.hasLanguageSettings()) { + mergeLanguageSettings(other.getLanguageSettings()); + } + if (dependenciesBuilder_ == null) { + if (!other.dependencies_.isEmpty()) { + if (dependencies_.isEmpty()) { + dependencies_ = other.dependencies_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureDependenciesIsMutable(); + dependencies_.addAll(other.dependencies_); + } + onChanged(); + } + } else { + if (!other.dependencies_.isEmpty()) { + if (dependenciesBuilder_.isEmpty()) { + dependenciesBuilder_.dispose(); + dependenciesBuilder_ = null; + dependencies_ = other.dependencies_; + bitField0_ = (bitField0_ & ~0x00000010); + dependenciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDependenciesFieldBuilder() : null; + } else { + dependenciesBuilder_.addAllMessages(other.dependencies_); + } + } + } + if (sourceDirectoriesBuilder_ == null) { + if (!other.sourceDirectories_.isEmpty()) { + if (sourceDirectories_.isEmpty()) { + sourceDirectories_ = other.sourceDirectories_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.addAll(other.sourceDirectories_); + } + onChanged(); + } + } else { + if (!other.sourceDirectories_.isEmpty()) { + if (sourceDirectoriesBuilder_.isEmpty()) { + sourceDirectoriesBuilder_.dispose(); + sourceDirectoriesBuilder_ = null; + sourceDirectories_ = other.sourceDirectories_; + bitField0_ = (bitField0_ & ~0x00000020); + sourceDirectoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSourceDirectoriesFieldBuilder() : null; + } else { + sourceDirectoriesBuilder_.addAllMessages(other.sourceDirectories_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder> coordinatesBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getCoordinates() { + if (coordinatesBuilder_ == null) { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } else { + return coordinatesBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinates_ = value; + onChanged(); + } else { + coordinatesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder builderForValue) { + if (coordinatesBuilder_ == null) { + coordinates_ = builderForValue.build(); + onChanged(); + } else { + coordinatesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + public Builder mergeCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + coordinates_ != null && + coordinates_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance()) { + coordinates_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.newBuilder(coordinates_).mergeFrom(value).buildPartial(); + } else { + coordinates_ = value; + } + onChanged(); + } else { + coordinatesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + public Builder clearCoordinates() { + if (coordinatesBuilder_ == null) { + coordinates_ = null; + onChanged(); + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder getCoordinatesBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCoordinatesFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + if (coordinatesBuilder_ != null) { + return coordinatesBuilder_.getMessageOrBuilder(); + } else { + return coordinates_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.getDefaultInstance() : coordinates_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder> + getCoordinatesFieldBuilder() { + if (coordinatesBuilder_ == null) { + coordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder>( + getCoordinates(), + getParentForChildren(), + isClean()); + coordinates_ = null; + } + return coordinatesBuilder_; + } + + private java.util.List platforms_ = + java.util.Collections.emptyList(); + private void ensurePlatformsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + platforms_ = new java.util.ArrayList(platforms_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder> platformsBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public java.util.List getPlatformsList() { + if (platformsBuilder_ == null) { + return java.util.Collections.unmodifiableList(platforms_); + } else { + return platformsBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public int getPlatformsCount() { + if (platformsBuilder_ == null) { + return platforms_.size(); + } else { + return platformsBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getPlatforms(int index) { + if (platformsBuilder_ == null) { + return platforms_.get(index); + } else { + return platformsBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder setPlatforms( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto value) { + if (platformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlatformsIsMutable(); + platforms_.set(index, value); + onChanged(); + } else { + platformsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder setPlatforms( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder builderForValue) { + if (platformsBuilder_ == null) { + ensurePlatformsIsMutable(); + platforms_.set(index, builderForValue.build()); + onChanged(); + } else { + platformsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder addPlatforms(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto value) { + if (platformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlatformsIsMutable(); + platforms_.add(value); + onChanged(); + } else { + platformsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder addPlatforms( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto value) { + if (platformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlatformsIsMutable(); + platforms_.add(index, value); + onChanged(); + } else { + platformsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder addPlatforms( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder builderForValue) { + if (platformsBuilder_ == null) { + ensurePlatformsIsMutable(); + platforms_.add(builderForValue.build()); + onChanged(); + } else { + platformsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder addPlatforms( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder builderForValue) { + if (platformsBuilder_ == null) { + ensurePlatformsIsMutable(); + platforms_.add(index, builderForValue.build()); + onChanged(); + } else { + platformsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder addAllPlatforms( + java.lang.Iterable values) { + if (platformsBuilder_ == null) { + ensurePlatformsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, platforms_); + onChanged(); + } else { + platformsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder clearPlatforms() { + if (platformsBuilder_ == null) { + platforms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + platformsBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public Builder removePlatforms(int index) { + if (platformsBuilder_ == null) { + ensurePlatformsIsMutable(); + platforms_.remove(index); + onChanged(); + } else { + platformsBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder getPlatformsBuilder( + int index) { + return getPlatformsFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder getPlatformsOrBuilder( + int index) { + if (platformsBuilder_ == null) { + return platforms_.get(index); } else { + return platformsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public java.util.List + getPlatformsOrBuilderList() { + if (platformsBuilder_ != null) { + return platformsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(platforms_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder addPlatformsBuilder() { + return getPlatformsFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder addPlatformsBuilder( + int index) { + return getPlatformsFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + public java.util.List + getPlatformsBuilderList() { + return getPlatformsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder> + getPlatformsFieldBuilder() { + if (platformsBuilder_ == null) { + platformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder>( + platforms_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + platforms_ = null; + } + return platformsBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto languageSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder> languageSettingsBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return Whether the languageSettings field is set. + */ + public boolean hasLanguageSettings() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return The languageSettings. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto getLanguageSettings() { + if (languageSettingsBuilder_ == null) { + return languageSettings_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance() : languageSettings_; + } else { + return languageSettingsBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + public Builder setLanguageSettings(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto value) { + if (languageSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + languageSettings_ = value; + onChanged(); + } else { + languageSettingsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + public Builder setLanguageSettings( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder builderForValue) { + if (languageSettingsBuilder_ == null) { + languageSettings_ = builderForValue.build(); + onChanged(); + } else { + languageSettingsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + public Builder mergeLanguageSettings(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto value) { + if (languageSettingsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + languageSettings_ != null && + languageSettings_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance()) { + languageSettings_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.newBuilder(languageSettings_).mergeFrom(value).buildPartial(); + } else { + languageSettings_ = value; + } + onChanged(); + } else { + languageSettingsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + public Builder clearLanguageSettings() { + if (languageSettingsBuilder_ == null) { + languageSettings_ = null; + onChanged(); + } else { + languageSettingsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder getLanguageSettingsBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getLanguageSettingsFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder getLanguageSettingsOrBuilder() { + if (languageSettingsBuilder_ != null) { + return languageSettingsBuilder_.getMessageOrBuilder(); + } else { + return languageSettings_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance() : languageSettings_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder> + getLanguageSettingsFieldBuilder() { + if (languageSettingsBuilder_ == null) { + languageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder>( + getLanguageSettings(), + getParentForChildren(), + isClean()); + languageSettings_ = null; + } + return languageSettingsBuilder_; + } + + private java.util.List dependencies_ = + java.util.Collections.emptyList(); + private void ensureDependenciesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + dependencies_ = new java.util.ArrayList(dependencies_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder> dependenciesBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public java.util.List getDependenciesList() { + if (dependenciesBuilder_ == null) { + return java.util.Collections.unmodifiableList(dependencies_); + } else { + return dependenciesBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public int getDependenciesCount() { + if (dependenciesBuilder_ == null) { + return dependencies_.size(); + } else { + return dependenciesBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto getDependencies(int index) { + if (dependenciesBuilder_ == null) { + return dependencies_.get(index); + } else { + return dependenciesBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder setDependencies( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto value) { + if (dependenciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependenciesIsMutable(); + dependencies_.set(index, value); + onChanged(); + } else { + dependenciesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder setDependencies( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder builderForValue) { + if (dependenciesBuilder_ == null) { + ensureDependenciesIsMutable(); + dependencies_.set(index, builderForValue.build()); + onChanged(); + } else { + dependenciesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder addDependencies(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto value) { + if (dependenciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependenciesIsMutable(); + dependencies_.add(value); + onChanged(); + } else { + dependenciesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder addDependencies( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto value) { + if (dependenciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependenciesIsMutable(); + dependencies_.add(index, value); + onChanged(); + } else { + dependenciesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder addDependencies( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder builderForValue) { + if (dependenciesBuilder_ == null) { + ensureDependenciesIsMutable(); + dependencies_.add(builderForValue.build()); + onChanged(); + } else { + dependenciesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder addDependencies( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder builderForValue) { + if (dependenciesBuilder_ == null) { + ensureDependenciesIsMutable(); + dependencies_.add(index, builderForValue.build()); + onChanged(); + } else { + dependenciesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder addAllDependencies( + java.lang.Iterable values) { + if (dependenciesBuilder_ == null) { + ensureDependenciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencies_); + onChanged(); + } else { + dependenciesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder clearDependencies() { + if (dependenciesBuilder_ == null) { + dependencies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + dependenciesBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public Builder removeDependencies(int index) { + if (dependenciesBuilder_ == null) { + ensureDependenciesIsMutable(); + dependencies_.remove(index); + onChanged(); + } else { + dependenciesBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder getDependenciesBuilder( + int index) { + return getDependenciesFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder getDependenciesOrBuilder( + int index) { + if (dependenciesBuilder_ == null) { + return dependencies_.get(index); } else { + return dependenciesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public java.util.List + getDependenciesOrBuilderList() { + if (dependenciesBuilder_ != null) { + return dependenciesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dependencies_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder addDependenciesBuilder() { + return getDependenciesFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder addDependenciesBuilder( + int index) { + return getDependenciesFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + public java.util.List + getDependenciesBuilderList() { + return getDependenciesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder> + getDependenciesFieldBuilder() { + if (dependenciesBuilder_ == null) { + dependenciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder>( + dependencies_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + dependencies_ = null; + } + return dependenciesBuilder_; + } + + private java.util.List sourceDirectories_ = + java.util.Collections.emptyList(); + private void ensureSourceDirectoriesIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + sourceDirectories_ = new java.util.ArrayList(sourceDirectories_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder> sourceDirectoriesBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public java.util.List getSourceDirectoriesList() { + if (sourceDirectoriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(sourceDirectories_); + } else { + return sourceDirectoriesBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public int getSourceDirectoriesCount() { + if (sourceDirectoriesBuilder_ == null) { + return sourceDirectories_.size(); + } else { + return sourceDirectoriesBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto getSourceDirectories(int index) { + if (sourceDirectoriesBuilder_ == null) { + return sourceDirectories_.get(index); + } else { + return sourceDirectoriesBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder setSourceDirectories( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto value) { + if (sourceDirectoriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.set(index, value); + onChanged(); + } else { + sourceDirectoriesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder setSourceDirectories( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder builderForValue) { + if (sourceDirectoriesBuilder_ == null) { + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.set(index, builderForValue.build()); + onChanged(); + } else { + sourceDirectoriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder addSourceDirectories(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto value) { + if (sourceDirectoriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.add(value); + onChanged(); + } else { + sourceDirectoriesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder addSourceDirectories( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto value) { + if (sourceDirectoriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.add(index, value); + onChanged(); + } else { + sourceDirectoriesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder addSourceDirectories( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder builderForValue) { + if (sourceDirectoriesBuilder_ == null) { + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.add(builderForValue.build()); + onChanged(); + } else { + sourceDirectoriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder addSourceDirectories( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder builderForValue) { + if (sourceDirectoriesBuilder_ == null) { + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.add(index, builderForValue.build()); + onChanged(); + } else { + sourceDirectoriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder addAllSourceDirectories( + java.lang.Iterable values) { + if (sourceDirectoriesBuilder_ == null) { + ensureSourceDirectoriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sourceDirectories_); + onChanged(); + } else { + sourceDirectoriesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder clearSourceDirectories() { + if (sourceDirectoriesBuilder_ == null) { + sourceDirectories_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + sourceDirectoriesBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public Builder removeSourceDirectories(int index) { + if (sourceDirectoriesBuilder_ == null) { + ensureSourceDirectoriesIsMutable(); + sourceDirectories_.remove(index); + onChanged(); + } else { + sourceDirectoriesBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder getSourceDirectoriesBuilder( + int index) { + return getSourceDirectoriesFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder getSourceDirectoriesOrBuilder( + int index) { + if (sourceDirectoriesBuilder_ == null) { + return sourceDirectories_.get(index); } else { + return sourceDirectoriesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public java.util.List + getSourceDirectoriesOrBuilderList() { + if (sourceDirectoriesBuilder_ != null) { + return sourceDirectoriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(sourceDirectories_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder addSourceDirectoriesBuilder() { + return getSourceDirectoriesFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder addSourceDirectoriesBuilder( + int index) { + return getSourceDirectoriesFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + public java.util.List + getSourceDirectoriesBuilderList() { + return getSourceDirectoriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder> + getSourceDirectoriesFieldBuilder() { + if (sourceDirectoriesBuilder_ == null) { + sourceDirectoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder>( + sourceDirectories_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + sourceDirectories_ = null; + } + return sourceDirectoriesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmFragmentProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmFragmentProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoOrBuilder.java new file mode 100644 index 00000000000..ef45d870f80 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoOrBuilder.java @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmFragmentProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + boolean hasCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto getCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoOrBuilder getCoordinatesOrBuilder(); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + java.util.List + getPlatformsList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getPlatforms(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + int getPlatformsCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + java.util.List + getPlatformsOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder getPlatformsOrBuilder( + int index); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return Whether the languageSettings field is set. + */ + boolean hasLanguageSettings(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return The languageSettings. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto getLanguageSettings(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder getLanguageSettingsOrBuilder(); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + java.util.List + getDependenciesList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto getDependencies(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + int getDependenciesCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + java.util.List + getDependenciesOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoOrBuilder getDependenciesOrBuilder( + int index); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + java.util.List + getSourceDirectoriesList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto getSourceDirectories(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + int getSourceDirectoriesCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + java.util.List + getSourceDirectoriesOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder getSourceDirectoriesOrBuilder( + int index); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProto.java new file mode 100644 index 00000000000..dc0d75f12b8 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProto.java @@ -0,0 +1,707 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto} + */ +final class IdeaKpmJsPlatformProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) + IdeaKpmJsPlatformProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmJsPlatformProto.newBuilder() to construct. + private IdeaKpmJsPlatformProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmJsPlatformProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmJsPlatformProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmJsPlatformProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 16: { + bitField0_ |= 0x00000002; + isIr_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int ISIR_FIELD_NUMBER = 2; + private boolean isIr_; + /** + * optional bool isIr = 2; + * @return Whether the isIr field is set. + */ + @java.lang.Override + public boolean hasIsIr() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional bool isIr = 2; + * @return The isIr. + */ + @java.lang.Override + public boolean getIsIr() { + return isIr_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(2, isIr_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, isIr_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasIsIr() != other.hasIsIr()) return false; + if (hasIsIr()) { + if (getIsIr() + != other.getIsIr()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasIsIr()) { + hash = (37 * hash) + ISIR_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsIr()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto 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.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + isIr_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isIr_ = isIr_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasIsIr()) { + setIsIr(other.getIsIr()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private boolean isIr_ ; + /** + * optional bool isIr = 2; + * @return Whether the isIr field is set. + */ + @java.lang.Override + public boolean hasIsIr() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional bool isIr = 2; + * @return The isIr. + */ + @java.lang.Override + public boolean getIsIr() { + return isIr_; + } + /** + * optional bool isIr = 2; + * @param value The isIr to set. + * @return This builder for chaining. + */ + public Builder setIsIr(boolean value) { + bitField0_ |= 0x00000002; + isIr_ = value; + onChanged(); + return this; + } + /** + * optional bool isIr = 2; + * @return This builder for chaining. + */ + public Builder clearIsIr() { + bitField0_ = (bitField0_ & ~0x00000002); + isIr_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmJsPlatformProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmJsPlatformProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoOrBuilder.java new file mode 100644 index 00000000000..39d9d3c974c --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmJsPlatformProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional bool isIr = 2; + * @return Whether the isIr field is set. + */ + boolean hasIsIr(); + /** + * optional bool isIr = 2; + * @return The isIr. + */ + boolean getIsIr(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProto.java new file mode 100644 index 00000000000..d0656e63175 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProto.java @@ -0,0 +1,780 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto} + */ +final class IdeaKpmJvmPlatformProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) + IdeaKpmJvmPlatformProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmJvmPlatformProto.newBuilder() to construct. + private IdeaKpmJvmPlatformProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmJvmPlatformProto() { + jvmTarget_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmJvmPlatformProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmJvmPlatformProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + jvmTarget_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int JVM_TARGET_FIELD_NUMBER = 2; + private volatile java.lang.Object jvmTarget_; + /** + * optional string jvm_target = 2; + * @return Whether the jvmTarget field is set. + */ + @java.lang.Override + public boolean hasJvmTarget() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string jvm_target = 2; + * @return The jvmTarget. + */ + @java.lang.Override + public java.lang.String getJvmTarget() { + java.lang.Object ref = jvmTarget_; + 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(); + jvmTarget_ = s; + return s; + } + } + /** + * optional string jvm_target = 2; + * @return The bytes for jvmTarget. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJvmTargetBytes() { + java.lang.Object ref = jvmTarget_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jvmTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jvmTarget_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jvmTarget_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasJvmTarget() != other.hasJvmTarget()) return false; + if (hasJvmTarget()) { + if (!getJvmTarget() + .equals(other.getJvmTarget())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasJvmTarget()) { + hash = (37 * hash) + JVM_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getJvmTarget().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto 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.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + jvmTarget_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.jvmTarget_ = jvmTarget_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasJvmTarget()) { + bitField0_ |= 0x00000002; + jvmTarget_ = other.jvmTarget_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private java.lang.Object jvmTarget_ = ""; + /** + * optional string jvm_target = 2; + * @return Whether the jvmTarget field is set. + */ + public boolean hasJvmTarget() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string jvm_target = 2; + * @return The jvmTarget. + */ + public java.lang.String getJvmTarget() { + java.lang.Object ref = jvmTarget_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jvmTarget_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string jvm_target = 2; + * @return The bytes for jvmTarget. + */ + public com.google.protobuf.ByteString + getJvmTargetBytes() { + java.lang.Object ref = jvmTarget_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jvmTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string jvm_target = 2; + * @param value The jvmTarget to set. + * @return This builder for chaining. + */ + public Builder setJvmTarget( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + jvmTarget_ = value; + onChanged(); + return this; + } + /** + * optional string jvm_target = 2; + * @return This builder for chaining. + */ + public Builder clearJvmTarget() { + bitField0_ = (bitField0_ & ~0x00000002); + jvmTarget_ = getDefaultInstance().getJvmTarget(); + onChanged(); + return this; + } + /** + * optional string jvm_target = 2; + * @param value The bytes for jvmTarget to set. + * @return This builder for chaining. + */ + public Builder setJvmTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + jvmTarget_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmJvmPlatformProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmJvmPlatformProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoOrBuilder.java new file mode 100644 index 00000000000..68222955ad8 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmJvmPlatformProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional string jvm_target = 2; + * @return Whether the jvmTarget field is set. + */ + boolean hasJvmTarget(); + /** + * optional string jvm_target = 2; + * @return The jvmTarget. + */ + java.lang.String getJvmTarget(); + /** + * optional string jvm_target = 2; + * @return The bytes for jvmTarget. + */ + com.google.protobuf.ByteString + getJvmTargetBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProto.java new file mode 100644 index 00000000000..0898e12b2d1 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProto.java @@ -0,0 +1,1798 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto} + */ +final class IdeaKpmLanguageSettingsProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) + IdeaKpmLanguageSettingsProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmLanguageSettingsProto.newBuilder() to construct. + private IdeaKpmLanguageSettingsProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmLanguageSettingsProto() { + languageVersion_ = ""; + apiVersion_ = ""; + enabledLanguageFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + optInAnnotationsInUse_ = com.google.protobuf.LazyStringArrayList.EMPTY; + compilerPluginArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY; + compilerPluginClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY; + freeCompilerArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmLanguageSettingsProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmLanguageSettingsProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + languageVersion_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + apiVersion_ = s; + break; + } + case 24: { + bitField0_ |= 0x00000004; + isProgressiveMode_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + enabledLanguageFeatures_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + enabledLanguageFeatures_.add(s); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + optInAnnotationsInUse_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + optInAnnotationsInUse_.add(s); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + compilerPluginArguments_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000020; + } + compilerPluginArguments_.add(s); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + compilerPluginClasspath_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; + } + compilerPluginClasspath_.add(s); + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + freeCompilerArgs_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000080; + } + freeCompilerArgs_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) != 0)) { + enabledLanguageFeatures_ = enabledLanguageFeatures_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + optInAnnotationsInUse_ = optInAnnotationsInUse_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000020) != 0)) { + compilerPluginArguments_ = compilerPluginArguments_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000040) != 0)) { + compilerPluginClasspath_ = compilerPluginClasspath_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000080) != 0)) { + freeCompilerArgs_ = freeCompilerArgs_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder.class); + } + + private int bitField0_; + public static final int LANGUAGE_VERSION_FIELD_NUMBER = 1; + private volatile java.lang.Object languageVersion_; + /** + * optional string language_version = 1; + * @return Whether the languageVersion field is set. + */ + @java.lang.Override + public boolean hasLanguageVersion() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string language_version = 1; + * @return The languageVersion. + */ + @java.lang.Override + public java.lang.String getLanguageVersion() { + java.lang.Object ref = languageVersion_; + 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(); + languageVersion_ = s; + return s; + } + } + /** + * optional string language_version = 1; + * @return The bytes for languageVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLanguageVersionBytes() { + java.lang.Object ref = languageVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + languageVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int API_VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object apiVersion_; + /** + * optional string api_version = 2; + * @return Whether the apiVersion field is set. + */ + @java.lang.Override + public boolean hasApiVersion() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string api_version = 2; + * @return The apiVersion. + */ + @java.lang.Override + public java.lang.String getApiVersion() { + java.lang.Object ref = apiVersion_; + 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(); + apiVersion_ = s; + return s; + } + } + /** + * optional string api_version = 2; + * @return The bytes for apiVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getApiVersionBytes() { + java.lang.Object ref = apiVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + apiVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_PROGRESSIVE_MODE_FIELD_NUMBER = 3; + private boolean isProgressiveMode_; + /** + * optional bool is_progressive_mode = 3; + * @return Whether the isProgressiveMode field is set. + */ + @java.lang.Override + public boolean hasIsProgressiveMode() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional bool is_progressive_mode = 3; + * @return The isProgressiveMode. + */ + @java.lang.Override + public boolean getIsProgressiveMode() { + return isProgressiveMode_; + } + + public static final int ENABLED_LANGUAGE_FEATURES_FIELD_NUMBER = 4; + private com.google.protobuf.LazyStringList enabledLanguageFeatures_; + /** + * repeated string enabled_language_features = 4; + * @return A list containing the enabledLanguageFeatures. + */ + public com.google.protobuf.ProtocolStringList + getEnabledLanguageFeaturesList() { + return enabledLanguageFeatures_; + } + /** + * repeated string enabled_language_features = 4; + * @return The count of enabledLanguageFeatures. + */ + public int getEnabledLanguageFeaturesCount() { + return enabledLanguageFeatures_.size(); + } + /** + * repeated string enabled_language_features = 4; + * @param index The index of the element to return. + * @return The enabledLanguageFeatures at the given index. + */ + public java.lang.String getEnabledLanguageFeatures(int index) { + return enabledLanguageFeatures_.get(index); + } + /** + * repeated string enabled_language_features = 4; + * @param index The index of the value to return. + * @return The bytes of the enabledLanguageFeatures at the given index. + */ + public com.google.protobuf.ByteString + getEnabledLanguageFeaturesBytes(int index) { + return enabledLanguageFeatures_.getByteString(index); + } + + public static final int OPT_IN_ANNOTATIONS_IN_USE_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList optInAnnotationsInUse_; + /** + * repeated string opt_in_annotations_in_use = 5; + * @return A list containing the optInAnnotationsInUse. + */ + public com.google.protobuf.ProtocolStringList + getOptInAnnotationsInUseList() { + return optInAnnotationsInUse_; + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @return The count of optInAnnotationsInUse. + */ + public int getOptInAnnotationsInUseCount() { + return optInAnnotationsInUse_.size(); + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index of the element to return. + * @return The optInAnnotationsInUse at the given index. + */ + public java.lang.String getOptInAnnotationsInUse(int index) { + return optInAnnotationsInUse_.get(index); + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index of the value to return. + * @return The bytes of the optInAnnotationsInUse at the given index. + */ + public com.google.protobuf.ByteString + getOptInAnnotationsInUseBytes(int index) { + return optInAnnotationsInUse_.getByteString(index); + } + + public static final int COMPILER_PLUGIN_ARGUMENTS_FIELD_NUMBER = 6; + private com.google.protobuf.LazyStringList compilerPluginArguments_; + /** + * repeated string compiler_plugin_arguments = 6; + * @return A list containing the compilerPluginArguments. + */ + public com.google.protobuf.ProtocolStringList + getCompilerPluginArgumentsList() { + return compilerPluginArguments_; + } + /** + * repeated string compiler_plugin_arguments = 6; + * @return The count of compilerPluginArguments. + */ + public int getCompilerPluginArgumentsCount() { + return compilerPluginArguments_.size(); + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index of the element to return. + * @return The compilerPluginArguments at the given index. + */ + public java.lang.String getCompilerPluginArguments(int index) { + return compilerPluginArguments_.get(index); + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index of the value to return. + * @return The bytes of the compilerPluginArguments at the given index. + */ + public com.google.protobuf.ByteString + getCompilerPluginArgumentsBytes(int index) { + return compilerPluginArguments_.getByteString(index); + } + + public static final int COMPILER_PLUGIN_CLASSPATH_FIELD_NUMBER = 7; + private com.google.protobuf.LazyStringList compilerPluginClasspath_; + /** + * repeated string compiler_plugin_classpath = 7; + * @return A list containing the compilerPluginClasspath. + */ + public com.google.protobuf.ProtocolStringList + getCompilerPluginClasspathList() { + return compilerPluginClasspath_; + } + /** + * repeated string compiler_plugin_classpath = 7; + * @return The count of compilerPluginClasspath. + */ + public int getCompilerPluginClasspathCount() { + return compilerPluginClasspath_.size(); + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index of the element to return. + * @return The compilerPluginClasspath at the given index. + */ + public java.lang.String getCompilerPluginClasspath(int index) { + return compilerPluginClasspath_.get(index); + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index of the value to return. + * @return The bytes of the compilerPluginClasspath at the given index. + */ + public com.google.protobuf.ByteString + getCompilerPluginClasspathBytes(int index) { + return compilerPluginClasspath_.getByteString(index); + } + + public static final int FREE_COMPILER_ARGS_FIELD_NUMBER = 8; + private com.google.protobuf.LazyStringList freeCompilerArgs_; + /** + * repeated string free_compiler_args = 8; + * @return A list containing the freeCompilerArgs. + */ + public com.google.protobuf.ProtocolStringList + getFreeCompilerArgsList() { + return freeCompilerArgs_; + } + /** + * repeated string free_compiler_args = 8; + * @return The count of freeCompilerArgs. + */ + public int getFreeCompilerArgsCount() { + return freeCompilerArgs_.size(); + } + /** + * repeated string free_compiler_args = 8; + * @param index The index of the element to return. + * @return The freeCompilerArgs at the given index. + */ + public java.lang.String getFreeCompilerArgs(int index) { + return freeCompilerArgs_.get(index); + } + /** + * repeated string free_compiler_args = 8; + * @param index The index of the value to return. + * @return The bytes of the freeCompilerArgs at the given index. + */ + public com.google.protobuf.ByteString + getFreeCompilerArgsBytes(int index) { + return freeCompilerArgs_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageVersion_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, apiVersion_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(3, isProgressiveMode_); + } + for (int i = 0; i < enabledLanguageFeatures_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, enabledLanguageFeatures_.getRaw(i)); + } + for (int i = 0; i < optInAnnotationsInUse_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, optInAnnotationsInUse_.getRaw(i)); + } + for (int i = 0; i < compilerPluginArguments_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, compilerPluginArguments_.getRaw(i)); + } + for (int i = 0; i < compilerPluginClasspath_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, compilerPluginClasspath_.getRaw(i)); + } + for (int i = 0; i < freeCompilerArgs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, freeCompilerArgs_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageVersion_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, apiVersion_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isProgressiveMode_); + } + { + int dataSize = 0; + for (int i = 0; i < enabledLanguageFeatures_.size(); i++) { + dataSize += computeStringSizeNoTag(enabledLanguageFeatures_.getRaw(i)); + } + size += dataSize; + size += 1 * getEnabledLanguageFeaturesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < optInAnnotationsInUse_.size(); i++) { + dataSize += computeStringSizeNoTag(optInAnnotationsInUse_.getRaw(i)); + } + size += dataSize; + size += 1 * getOptInAnnotationsInUseList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < compilerPluginArguments_.size(); i++) { + dataSize += computeStringSizeNoTag(compilerPluginArguments_.getRaw(i)); + } + size += dataSize; + size += 1 * getCompilerPluginArgumentsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < compilerPluginClasspath_.size(); i++) { + dataSize += computeStringSizeNoTag(compilerPluginClasspath_.getRaw(i)); + } + size += dataSize; + size += 1 * getCompilerPluginClasspathList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < freeCompilerArgs_.size(); i++) { + dataSize += computeStringSizeNoTag(freeCompilerArgs_.getRaw(i)); + } + size += dataSize; + size += 1 * getFreeCompilerArgsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) obj; + + if (hasLanguageVersion() != other.hasLanguageVersion()) return false; + if (hasLanguageVersion()) { + if (!getLanguageVersion() + .equals(other.getLanguageVersion())) return false; + } + if (hasApiVersion() != other.hasApiVersion()) return false; + if (hasApiVersion()) { + if (!getApiVersion() + .equals(other.getApiVersion())) return false; + } + if (hasIsProgressiveMode() != other.hasIsProgressiveMode()) return false; + if (hasIsProgressiveMode()) { + if (getIsProgressiveMode() + != other.getIsProgressiveMode()) return false; + } + if (!getEnabledLanguageFeaturesList() + .equals(other.getEnabledLanguageFeaturesList())) return false; + if (!getOptInAnnotationsInUseList() + .equals(other.getOptInAnnotationsInUseList())) return false; + if (!getCompilerPluginArgumentsList() + .equals(other.getCompilerPluginArgumentsList())) return false; + if (!getCompilerPluginClasspathList() + .equals(other.getCompilerPluginClasspathList())) return false; + if (!getFreeCompilerArgsList() + .equals(other.getFreeCompilerArgsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasLanguageVersion()) { + hash = (37 * hash) + LANGUAGE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getLanguageVersion().hashCode(); + } + if (hasApiVersion()) { + hash = (37 * hash) + API_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getApiVersion().hashCode(); + } + if (hasIsProgressiveMode()) { + hash = (37 * hash) + IS_PROGRESSIVE_MODE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsProgressiveMode()); + } + if (getEnabledLanguageFeaturesCount() > 0) { + hash = (37 * hash) + ENABLED_LANGUAGE_FEATURES_FIELD_NUMBER; + hash = (53 * hash) + getEnabledLanguageFeaturesList().hashCode(); + } + if (getOptInAnnotationsInUseCount() > 0) { + hash = (37 * hash) + OPT_IN_ANNOTATIONS_IN_USE_FIELD_NUMBER; + hash = (53 * hash) + getOptInAnnotationsInUseList().hashCode(); + } + if (getCompilerPluginArgumentsCount() > 0) { + hash = (37 * hash) + COMPILER_PLUGIN_ARGUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getCompilerPluginArgumentsList().hashCode(); + } + if (getCompilerPluginClasspathCount() > 0) { + hash = (37 * hash) + COMPILER_PLUGIN_CLASSPATH_FIELD_NUMBER; + hash = (53 * hash) + getCompilerPluginClasspathList().hashCode(); + } + if (getFreeCompilerArgsCount() > 0) { + hash = (37 * hash) + FREE_COMPILER_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getFreeCompilerArgsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto 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.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + languageVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + apiVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + isProgressiveMode_ = false; + bitField0_ = (bitField0_ & ~0x00000004); + enabledLanguageFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + optInAnnotationsInUse_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + compilerPluginArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); + compilerPluginClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + freeCompilerArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.languageVersion_ = languageVersion_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.apiVersion_ = apiVersion_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isProgressiveMode_ = isProgressiveMode_; + to_bitField0_ |= 0x00000004; + } + if (((bitField0_ & 0x00000008) != 0)) { + enabledLanguageFeatures_ = enabledLanguageFeatures_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.enabledLanguageFeatures_ = enabledLanguageFeatures_; + if (((bitField0_ & 0x00000010) != 0)) { + optInAnnotationsInUse_ = optInAnnotationsInUse_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.optInAnnotationsInUse_ = optInAnnotationsInUse_; + if (((bitField0_ & 0x00000020) != 0)) { + compilerPluginArguments_ = compilerPluginArguments_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.compilerPluginArguments_ = compilerPluginArguments_; + if (((bitField0_ & 0x00000040) != 0)) { + compilerPluginClasspath_ = compilerPluginClasspath_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.compilerPluginClasspath_ = compilerPluginClasspath_; + if (((bitField0_ & 0x00000080) != 0)) { + freeCompilerArgs_ = freeCompilerArgs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.freeCompilerArgs_ = freeCompilerArgs_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.getDefaultInstance()) return this; + if (other.hasLanguageVersion()) { + bitField0_ |= 0x00000001; + languageVersion_ = other.languageVersion_; + onChanged(); + } + if (other.hasApiVersion()) { + bitField0_ |= 0x00000002; + apiVersion_ = other.apiVersion_; + onChanged(); + } + if (other.hasIsProgressiveMode()) { + setIsProgressiveMode(other.getIsProgressiveMode()); + } + if (!other.enabledLanguageFeatures_.isEmpty()) { + if (enabledLanguageFeatures_.isEmpty()) { + enabledLanguageFeatures_ = other.enabledLanguageFeatures_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureEnabledLanguageFeaturesIsMutable(); + enabledLanguageFeatures_.addAll(other.enabledLanguageFeatures_); + } + onChanged(); + } + if (!other.optInAnnotationsInUse_.isEmpty()) { + if (optInAnnotationsInUse_.isEmpty()) { + optInAnnotationsInUse_ = other.optInAnnotationsInUse_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureOptInAnnotationsInUseIsMutable(); + optInAnnotationsInUse_.addAll(other.optInAnnotationsInUse_); + } + onChanged(); + } + if (!other.compilerPluginArguments_.isEmpty()) { + if (compilerPluginArguments_.isEmpty()) { + compilerPluginArguments_ = other.compilerPluginArguments_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureCompilerPluginArgumentsIsMutable(); + compilerPluginArguments_.addAll(other.compilerPluginArguments_); + } + onChanged(); + } + if (!other.compilerPluginClasspath_.isEmpty()) { + if (compilerPluginClasspath_.isEmpty()) { + compilerPluginClasspath_ = other.compilerPluginClasspath_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureCompilerPluginClasspathIsMutable(); + compilerPluginClasspath_.addAll(other.compilerPluginClasspath_); + } + onChanged(); + } + if (!other.freeCompilerArgs_.isEmpty()) { + if (freeCompilerArgs_.isEmpty()) { + freeCompilerArgs_ = other.freeCompilerArgs_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureFreeCompilerArgsIsMutable(); + freeCompilerArgs_.addAll(other.freeCompilerArgs_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object languageVersion_ = ""; + /** + * optional string language_version = 1; + * @return Whether the languageVersion field is set. + */ + public boolean hasLanguageVersion() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string language_version = 1; + * @return The languageVersion. + */ + public java.lang.String getLanguageVersion() { + java.lang.Object ref = languageVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + languageVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string language_version = 1; + * @return The bytes for languageVersion. + */ + public com.google.protobuf.ByteString + getLanguageVersionBytes() { + java.lang.Object ref = languageVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + languageVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string language_version = 1; + * @param value The languageVersion to set. + * @return This builder for chaining. + */ + public Builder setLanguageVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + languageVersion_ = value; + onChanged(); + return this; + } + /** + * optional string language_version = 1; + * @return This builder for chaining. + */ + public Builder clearLanguageVersion() { + bitField0_ = (bitField0_ & ~0x00000001); + languageVersion_ = getDefaultInstance().getLanguageVersion(); + onChanged(); + return this; + } + /** + * optional string language_version = 1; + * @param value The bytes for languageVersion to set. + * @return This builder for chaining. + */ + public Builder setLanguageVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000001; + languageVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object apiVersion_ = ""; + /** + * optional string api_version = 2; + * @return Whether the apiVersion field is set. + */ + public boolean hasApiVersion() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string api_version = 2; + * @return The apiVersion. + */ + public java.lang.String getApiVersion() { + java.lang.Object ref = apiVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + apiVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string api_version = 2; + * @return The bytes for apiVersion. + */ + public com.google.protobuf.ByteString + getApiVersionBytes() { + java.lang.Object ref = apiVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + apiVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string api_version = 2; + * @param value The apiVersion to set. + * @return This builder for chaining. + */ + public Builder setApiVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + apiVersion_ = value; + onChanged(); + return this; + } + /** + * optional string api_version = 2; + * @return This builder for chaining. + */ + public Builder clearApiVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + apiVersion_ = getDefaultInstance().getApiVersion(); + onChanged(); + return this; + } + /** + * optional string api_version = 2; + * @param value The bytes for apiVersion to set. + * @return This builder for chaining. + */ + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + apiVersion_ = value; + onChanged(); + return this; + } + + private boolean isProgressiveMode_ ; + /** + * optional bool is_progressive_mode = 3; + * @return Whether the isProgressiveMode field is set. + */ + @java.lang.Override + public boolean hasIsProgressiveMode() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional bool is_progressive_mode = 3; + * @return The isProgressiveMode. + */ + @java.lang.Override + public boolean getIsProgressiveMode() { + return isProgressiveMode_; + } + /** + * optional bool is_progressive_mode = 3; + * @param value The isProgressiveMode to set. + * @return This builder for chaining. + */ + public Builder setIsProgressiveMode(boolean value) { + bitField0_ |= 0x00000004; + isProgressiveMode_ = value; + onChanged(); + return this; + } + /** + * optional bool is_progressive_mode = 3; + * @return This builder for chaining. + */ + public Builder clearIsProgressiveMode() { + bitField0_ = (bitField0_ & ~0x00000004); + isProgressiveMode_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList enabledLanguageFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEnabledLanguageFeaturesIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + enabledLanguageFeatures_ = new com.google.protobuf.LazyStringArrayList(enabledLanguageFeatures_); + bitField0_ |= 0x00000008; + } + } + /** + * repeated string enabled_language_features = 4; + * @return A list containing the enabledLanguageFeatures. + */ + public com.google.protobuf.ProtocolStringList + getEnabledLanguageFeaturesList() { + return enabledLanguageFeatures_.getUnmodifiableView(); + } + /** + * repeated string enabled_language_features = 4; + * @return The count of enabledLanguageFeatures. + */ + public int getEnabledLanguageFeaturesCount() { + return enabledLanguageFeatures_.size(); + } + /** + * repeated string enabled_language_features = 4; + * @param index The index of the element to return. + * @return The enabledLanguageFeatures at the given index. + */ + public java.lang.String getEnabledLanguageFeatures(int index) { + return enabledLanguageFeatures_.get(index); + } + /** + * repeated string enabled_language_features = 4; + * @param index The index of the value to return. + * @return The bytes of the enabledLanguageFeatures at the given index. + */ + public com.google.protobuf.ByteString + getEnabledLanguageFeaturesBytes(int index) { + return enabledLanguageFeatures_.getByteString(index); + } + /** + * repeated string enabled_language_features = 4; + * @param index The index to set the value at. + * @param value The enabledLanguageFeatures to set. + * @return This builder for chaining. + */ + public Builder setEnabledLanguageFeatures( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnabledLanguageFeaturesIsMutable(); + enabledLanguageFeatures_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string enabled_language_features = 4; + * @param value The enabledLanguageFeatures to add. + * @return This builder for chaining. + */ + public Builder addEnabledLanguageFeatures( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnabledLanguageFeaturesIsMutable(); + enabledLanguageFeatures_.add(value); + onChanged(); + return this; + } + /** + * repeated string enabled_language_features = 4; + * @param values The enabledLanguageFeatures to add. + * @return This builder for chaining. + */ + public Builder addAllEnabledLanguageFeatures( + java.lang.Iterable values) { + ensureEnabledLanguageFeaturesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, enabledLanguageFeatures_); + onChanged(); + return this; + } + /** + * repeated string enabled_language_features = 4; + * @return This builder for chaining. + */ + public Builder clearEnabledLanguageFeatures() { + enabledLanguageFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * repeated string enabled_language_features = 4; + * @param value The bytes of the enabledLanguageFeatures to add. + * @return This builder for chaining. + */ + public Builder addEnabledLanguageFeaturesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureEnabledLanguageFeaturesIsMutable(); + enabledLanguageFeatures_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList optInAnnotationsInUse_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOptInAnnotationsInUseIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + optInAnnotationsInUse_ = new com.google.protobuf.LazyStringArrayList(optInAnnotationsInUse_); + bitField0_ |= 0x00000010; + } + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @return A list containing the optInAnnotationsInUse. + */ + public com.google.protobuf.ProtocolStringList + getOptInAnnotationsInUseList() { + return optInAnnotationsInUse_.getUnmodifiableView(); + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @return The count of optInAnnotationsInUse. + */ + public int getOptInAnnotationsInUseCount() { + return optInAnnotationsInUse_.size(); + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index of the element to return. + * @return The optInAnnotationsInUse at the given index. + */ + public java.lang.String getOptInAnnotationsInUse(int index) { + return optInAnnotationsInUse_.get(index); + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index of the value to return. + * @return The bytes of the optInAnnotationsInUse at the given index. + */ + public com.google.protobuf.ByteString + getOptInAnnotationsInUseBytes(int index) { + return optInAnnotationsInUse_.getByteString(index); + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index to set the value at. + * @param value The optInAnnotationsInUse to set. + * @return This builder for chaining. + */ + public Builder setOptInAnnotationsInUse( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptInAnnotationsInUseIsMutable(); + optInAnnotationsInUse_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param value The optInAnnotationsInUse to add. + * @return This builder for chaining. + */ + public Builder addOptInAnnotationsInUse( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptInAnnotationsInUseIsMutable(); + optInAnnotationsInUse_.add(value); + onChanged(); + return this; + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param values The optInAnnotationsInUse to add. + * @return This builder for chaining. + */ + public Builder addAllOptInAnnotationsInUse( + java.lang.Iterable values) { + ensureOptInAnnotationsInUseIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, optInAnnotationsInUse_); + onChanged(); + return this; + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @return This builder for chaining. + */ + public Builder clearOptInAnnotationsInUse() { + optInAnnotationsInUse_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param value The bytes of the optInAnnotationsInUse to add. + * @return This builder for chaining. + */ + public Builder addOptInAnnotationsInUseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureOptInAnnotationsInUseIsMutable(); + optInAnnotationsInUse_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList compilerPluginArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCompilerPluginArgumentsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + compilerPluginArguments_ = new com.google.protobuf.LazyStringArrayList(compilerPluginArguments_); + bitField0_ |= 0x00000020; + } + } + /** + * repeated string compiler_plugin_arguments = 6; + * @return A list containing the compilerPluginArguments. + */ + public com.google.protobuf.ProtocolStringList + getCompilerPluginArgumentsList() { + return compilerPluginArguments_.getUnmodifiableView(); + } + /** + * repeated string compiler_plugin_arguments = 6; + * @return The count of compilerPluginArguments. + */ + public int getCompilerPluginArgumentsCount() { + return compilerPluginArguments_.size(); + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index of the element to return. + * @return The compilerPluginArguments at the given index. + */ + public java.lang.String getCompilerPluginArguments(int index) { + return compilerPluginArguments_.get(index); + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index of the value to return. + * @return The bytes of the compilerPluginArguments at the given index. + */ + public com.google.protobuf.ByteString + getCompilerPluginArgumentsBytes(int index) { + return compilerPluginArguments_.getByteString(index); + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index to set the value at. + * @param value The compilerPluginArguments to set. + * @return This builder for chaining. + */ + public Builder setCompilerPluginArguments( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilerPluginArgumentsIsMutable(); + compilerPluginArguments_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param value The compilerPluginArguments to add. + * @return This builder for chaining. + */ + public Builder addCompilerPluginArguments( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilerPluginArgumentsIsMutable(); + compilerPluginArguments_.add(value); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param values The compilerPluginArguments to add. + * @return This builder for chaining. + */ + public Builder addAllCompilerPluginArguments( + java.lang.Iterable values) { + ensureCompilerPluginArgumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilerPluginArguments_); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_arguments = 6; + * @return This builder for chaining. + */ + public Builder clearCompilerPluginArguments() { + compilerPluginArguments_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param value The bytes of the compilerPluginArguments to add. + * @return This builder for chaining. + */ + public Builder addCompilerPluginArgumentsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureCompilerPluginArgumentsIsMutable(); + compilerPluginArguments_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList compilerPluginClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCompilerPluginClasspathIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + compilerPluginClasspath_ = new com.google.protobuf.LazyStringArrayList(compilerPluginClasspath_); + bitField0_ |= 0x00000040; + } + } + /** + * repeated string compiler_plugin_classpath = 7; + * @return A list containing the compilerPluginClasspath. + */ + public com.google.protobuf.ProtocolStringList + getCompilerPluginClasspathList() { + return compilerPluginClasspath_.getUnmodifiableView(); + } + /** + * repeated string compiler_plugin_classpath = 7; + * @return The count of compilerPluginClasspath. + */ + public int getCompilerPluginClasspathCount() { + return compilerPluginClasspath_.size(); + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index of the element to return. + * @return The compilerPluginClasspath at the given index. + */ + public java.lang.String getCompilerPluginClasspath(int index) { + return compilerPluginClasspath_.get(index); + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index of the value to return. + * @return The bytes of the compilerPluginClasspath at the given index. + */ + public com.google.protobuf.ByteString + getCompilerPluginClasspathBytes(int index) { + return compilerPluginClasspath_.getByteString(index); + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index to set the value at. + * @param value The compilerPluginClasspath to set. + * @return This builder for chaining. + */ + public Builder setCompilerPluginClasspath( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilerPluginClasspathIsMutable(); + compilerPluginClasspath_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param value The compilerPluginClasspath to add. + * @return This builder for chaining. + */ + public Builder addCompilerPluginClasspath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilerPluginClasspathIsMutable(); + compilerPluginClasspath_.add(value); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param values The compilerPluginClasspath to add. + * @return This builder for chaining. + */ + public Builder addAllCompilerPluginClasspath( + java.lang.Iterable values) { + ensureCompilerPluginClasspathIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilerPluginClasspath_); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_classpath = 7; + * @return This builder for chaining. + */ + public Builder clearCompilerPluginClasspath() { + compilerPluginClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param value The bytes of the compilerPluginClasspath to add. + * @return This builder for chaining. + */ + public Builder addCompilerPluginClasspathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureCompilerPluginClasspathIsMutable(); + compilerPluginClasspath_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList freeCompilerArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFreeCompilerArgsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + freeCompilerArgs_ = new com.google.protobuf.LazyStringArrayList(freeCompilerArgs_); + bitField0_ |= 0x00000080; + } + } + /** + * repeated string free_compiler_args = 8; + * @return A list containing the freeCompilerArgs. + */ + public com.google.protobuf.ProtocolStringList + getFreeCompilerArgsList() { + return freeCompilerArgs_.getUnmodifiableView(); + } + /** + * repeated string free_compiler_args = 8; + * @return The count of freeCompilerArgs. + */ + public int getFreeCompilerArgsCount() { + return freeCompilerArgs_.size(); + } + /** + * repeated string free_compiler_args = 8; + * @param index The index of the element to return. + * @return The freeCompilerArgs at the given index. + */ + public java.lang.String getFreeCompilerArgs(int index) { + return freeCompilerArgs_.get(index); + } + /** + * repeated string free_compiler_args = 8; + * @param index The index of the value to return. + * @return The bytes of the freeCompilerArgs at the given index. + */ + public com.google.protobuf.ByteString + getFreeCompilerArgsBytes(int index) { + return freeCompilerArgs_.getByteString(index); + } + /** + * repeated string free_compiler_args = 8; + * @param index The index to set the value at. + * @param value The freeCompilerArgs to set. + * @return This builder for chaining. + */ + public Builder setFreeCompilerArgs( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFreeCompilerArgsIsMutable(); + freeCompilerArgs_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string free_compiler_args = 8; + * @param value The freeCompilerArgs to add. + * @return This builder for chaining. + */ + public Builder addFreeCompilerArgs( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFreeCompilerArgsIsMutable(); + freeCompilerArgs_.add(value); + onChanged(); + return this; + } + /** + * repeated string free_compiler_args = 8; + * @param values The freeCompilerArgs to add. + * @return This builder for chaining. + */ + public Builder addAllFreeCompilerArgs( + java.lang.Iterable values) { + ensureFreeCompilerArgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, freeCompilerArgs_); + onChanged(); + return this; + } + /** + * repeated string free_compiler_args = 8; + * @return This builder for chaining. + */ + public Builder clearFreeCompilerArgs() { + freeCompilerArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * repeated string free_compiler_args = 8; + * @param value The bytes of the freeCompilerArgs to add. + * @return This builder for chaining. + */ + public Builder addFreeCompilerArgsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureFreeCompilerArgsIsMutable(); + freeCompilerArgs_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmLanguageSettingsProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmLanguageSettingsProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoOrBuilder.java new file mode 100644 index 00000000000..84f492419f1 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoOrBuilder.java @@ -0,0 +1,179 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmLanguageSettingsProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string language_version = 1; + * @return Whether the languageVersion field is set. + */ + boolean hasLanguageVersion(); + /** + * optional string language_version = 1; + * @return The languageVersion. + */ + java.lang.String getLanguageVersion(); + /** + * optional string language_version = 1; + * @return The bytes for languageVersion. + */ + com.google.protobuf.ByteString + getLanguageVersionBytes(); + + /** + * optional string api_version = 2; + * @return Whether the apiVersion field is set. + */ + boolean hasApiVersion(); + /** + * optional string api_version = 2; + * @return The apiVersion. + */ + java.lang.String getApiVersion(); + /** + * optional string api_version = 2; + * @return The bytes for apiVersion. + */ + com.google.protobuf.ByteString + getApiVersionBytes(); + + /** + * optional bool is_progressive_mode = 3; + * @return Whether the isProgressiveMode field is set. + */ + boolean hasIsProgressiveMode(); + /** + * optional bool is_progressive_mode = 3; + * @return The isProgressiveMode. + */ + boolean getIsProgressiveMode(); + + /** + * repeated string enabled_language_features = 4; + * @return A list containing the enabledLanguageFeatures. + */ + java.util.List + getEnabledLanguageFeaturesList(); + /** + * repeated string enabled_language_features = 4; + * @return The count of enabledLanguageFeatures. + */ + int getEnabledLanguageFeaturesCount(); + /** + * repeated string enabled_language_features = 4; + * @param index The index of the element to return. + * @return The enabledLanguageFeatures at the given index. + */ + java.lang.String getEnabledLanguageFeatures(int index); + /** + * repeated string enabled_language_features = 4; + * @param index The index of the value to return. + * @return The bytes of the enabledLanguageFeatures at the given index. + */ + com.google.protobuf.ByteString + getEnabledLanguageFeaturesBytes(int index); + + /** + * repeated string opt_in_annotations_in_use = 5; + * @return A list containing the optInAnnotationsInUse. + */ + java.util.List + getOptInAnnotationsInUseList(); + /** + * repeated string opt_in_annotations_in_use = 5; + * @return The count of optInAnnotationsInUse. + */ + int getOptInAnnotationsInUseCount(); + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index of the element to return. + * @return The optInAnnotationsInUse at the given index. + */ + java.lang.String getOptInAnnotationsInUse(int index); + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index of the value to return. + * @return The bytes of the optInAnnotationsInUse at the given index. + */ + com.google.protobuf.ByteString + getOptInAnnotationsInUseBytes(int index); + + /** + * repeated string compiler_plugin_arguments = 6; + * @return A list containing the compilerPluginArguments. + */ + java.util.List + getCompilerPluginArgumentsList(); + /** + * repeated string compiler_plugin_arguments = 6; + * @return The count of compilerPluginArguments. + */ + int getCompilerPluginArgumentsCount(); + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index of the element to return. + * @return The compilerPluginArguments at the given index. + */ + java.lang.String getCompilerPluginArguments(int index); + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index of the value to return. + * @return The bytes of the compilerPluginArguments at the given index. + */ + com.google.protobuf.ByteString + getCompilerPluginArgumentsBytes(int index); + + /** + * repeated string compiler_plugin_classpath = 7; + * @return A list containing the compilerPluginClasspath. + */ + java.util.List + getCompilerPluginClasspathList(); + /** + * repeated string compiler_plugin_classpath = 7; + * @return The count of compilerPluginClasspath. + */ + int getCompilerPluginClasspathCount(); + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index of the element to return. + * @return The compilerPluginClasspath at the given index. + */ + java.lang.String getCompilerPluginClasspath(int index); + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index of the value to return. + * @return The bytes of the compilerPluginClasspath at the given index. + */ + com.google.protobuf.ByteString + getCompilerPluginClasspathBytes(int index); + + /** + * repeated string free_compiler_args = 8; + * @return A list containing the freeCompilerArgs. + */ + java.util.List + getFreeCompilerArgsList(); + /** + * repeated string free_compiler_args = 8; + * @return The count of freeCompilerArgs. + */ + int getFreeCompilerArgsCount(); + /** + * repeated string free_compiler_args = 8; + * @param index The index of the element to return. + * @return The freeCompilerArgs at the given index. + */ + java.lang.String getFreeCompilerArgs(int index); + /** + * repeated string free_compiler_args = 8; + * @param index The index of the value to return. + * @return The bytes of the freeCompilerArgs at the given index. + */ + com.google.protobuf.ByteString + getFreeCompilerArgsBytes(int index); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProto.java new file mode 100644 index 00000000000..c3e86409c3d --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProto.java @@ -0,0 +1,1235 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto} + */ +final class IdeaKpmModuleCoordinatesProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) + IdeaKpmModuleCoordinatesProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmModuleCoordinatesProto.newBuilder() to construct. + private IdeaKpmModuleCoordinatesProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmModuleCoordinatesProto() { + buildId_ = ""; + projectPath_ = ""; + projectName_ = ""; + moduleName_ = ""; + moduleClassifier_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmModuleCoordinatesProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmModuleCoordinatesProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + buildId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + projectPath_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + projectName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + moduleName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + moduleClassifier_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder.class); + } + + private int bitField0_; + public static final int BUILD_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object buildId_; + /** + * optional string build_id = 1; + * @return Whether the buildId field is set. + */ + @java.lang.Override + public boolean hasBuildId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string build_id = 1; + * @return The buildId. + */ + @java.lang.Override + public java.lang.String getBuildId() { + java.lang.Object ref = buildId_; + 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(); + buildId_ = s; + return s; + } + } + /** + * optional string build_id = 1; + * @return The bytes for buildId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBuildIdBytes() { + java.lang.Object ref = buildId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + buildId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object projectPath_; + /** + * optional string project_path = 2; + * @return Whether the projectPath field is set. + */ + @java.lang.Override + public boolean hasProjectPath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string project_path = 2; + * @return The projectPath. + */ + @java.lang.Override + public java.lang.String getProjectPath() { + java.lang.Object ref = projectPath_; + 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(); + projectPath_ = s; + return s; + } + } + /** + * optional string project_path = 2; + * @return The bytes for projectPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProjectPathBytes() { + java.lang.Object ref = projectPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + projectPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object projectName_; + /** + * optional string project_name = 3; + * @return Whether the projectName field is set. + */ + @java.lang.Override + public boolean hasProjectName() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string project_name = 3; + * @return The projectName. + */ + @java.lang.Override + public java.lang.String getProjectName() { + java.lang.Object ref = projectName_; + 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(); + projectName_ = s; + return s; + } + } + /** + * optional string project_name = 3; + * @return The bytes for projectName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProjectNameBytes() { + java.lang.Object ref = projectName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + projectName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODULE_NAME_FIELD_NUMBER = 4; + private volatile java.lang.Object moduleName_; + /** + * optional string module_name = 4; + * @return Whether the moduleName field is set. + */ + @java.lang.Override + public boolean hasModuleName() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string module_name = 4; + * @return The moduleName. + */ + @java.lang.Override + public java.lang.String getModuleName() { + java.lang.Object ref = moduleName_; + 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(); + moduleName_ = s; + return s; + } + } + /** + * optional string module_name = 4; + * @return The bytes for moduleName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getModuleNameBytes() { + java.lang.Object ref = moduleName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + moduleName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODULE_CLASSIFIER_FIELD_NUMBER = 5; + private volatile java.lang.Object moduleClassifier_; + /** + * optional string module_classifier = 5; + * @return Whether the moduleClassifier field is set. + */ + @java.lang.Override + public boolean hasModuleClassifier() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional string module_classifier = 5; + * @return The moduleClassifier. + */ + @java.lang.Override + public java.lang.String getModuleClassifier() { + java.lang.Object ref = moduleClassifier_; + 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(); + moduleClassifier_ = s; + return s; + } + } + /** + * optional string module_classifier = 5; + * @return The bytes for moduleClassifier. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getModuleClassifierBytes() { + java.lang.Object ref = moduleClassifier_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + moduleClassifier_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectPath_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, projectName_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, moduleName_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, moduleClassifier_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectPath_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, projectName_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, moduleName_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, moduleClassifier_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) obj; + + if (hasBuildId() != other.hasBuildId()) return false; + if (hasBuildId()) { + if (!getBuildId() + .equals(other.getBuildId())) return false; + } + if (hasProjectPath() != other.hasProjectPath()) return false; + if (hasProjectPath()) { + if (!getProjectPath() + .equals(other.getProjectPath())) return false; + } + if (hasProjectName() != other.hasProjectName()) return false; + if (hasProjectName()) { + if (!getProjectName() + .equals(other.getProjectName())) return false; + } + if (hasModuleName() != other.hasModuleName()) return false; + if (hasModuleName()) { + if (!getModuleName() + .equals(other.getModuleName())) return false; + } + if (hasModuleClassifier() != other.hasModuleClassifier()) return false; + if (hasModuleClassifier()) { + if (!getModuleClassifier() + .equals(other.getModuleClassifier())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBuildId()) { + hash = (37 * hash) + BUILD_ID_FIELD_NUMBER; + hash = (53 * hash) + getBuildId().hashCode(); + } + if (hasProjectPath()) { + hash = (37 * hash) + PROJECT_PATH_FIELD_NUMBER; + hash = (53 * hash) + getProjectPath().hashCode(); + } + if (hasProjectName()) { + hash = (37 * hash) + PROJECT_NAME_FIELD_NUMBER; + hash = (53 * hash) + getProjectName().hashCode(); + } + if (hasModuleName()) { + hash = (37 * hash) + MODULE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getModuleName().hashCode(); + } + if (hasModuleClassifier()) { + hash = (37 * hash) + MODULE_CLASSIFIER_FIELD_NUMBER; + hash = (53 * hash) + getModuleClassifier().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto 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.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + buildId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + projectPath_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + projectName_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + moduleName_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + moduleClassifier_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.buildId_ = buildId_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.projectPath_ = projectPath_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.projectName_ = projectName_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.moduleName_ = moduleName_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.moduleClassifier_ = moduleClassifier_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance()) return this; + if (other.hasBuildId()) { + bitField0_ |= 0x00000001; + buildId_ = other.buildId_; + onChanged(); + } + if (other.hasProjectPath()) { + bitField0_ |= 0x00000002; + projectPath_ = other.projectPath_; + onChanged(); + } + if (other.hasProjectName()) { + bitField0_ |= 0x00000004; + projectName_ = other.projectName_; + onChanged(); + } + if (other.hasModuleName()) { + bitField0_ |= 0x00000008; + moduleName_ = other.moduleName_; + onChanged(); + } + if (other.hasModuleClassifier()) { + bitField0_ |= 0x00000010; + moduleClassifier_ = other.moduleClassifier_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object buildId_ = ""; + /** + * optional string build_id = 1; + * @return Whether the buildId field is set. + */ + public boolean hasBuildId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string build_id = 1; + * @return The buildId. + */ + public java.lang.String getBuildId() { + java.lang.Object ref = buildId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + buildId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string build_id = 1; + * @return The bytes for buildId. + */ + public com.google.protobuf.ByteString + getBuildIdBytes() { + java.lang.Object ref = buildId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + buildId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string build_id = 1; + * @param value The buildId to set. + * @return This builder for chaining. + */ + public Builder setBuildId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + buildId_ = value; + onChanged(); + return this; + } + /** + * optional string build_id = 1; + * @return This builder for chaining. + */ + public Builder clearBuildId() { + bitField0_ = (bitField0_ & ~0x00000001); + buildId_ = getDefaultInstance().getBuildId(); + onChanged(); + return this; + } + /** + * optional string build_id = 1; + * @param value The bytes for buildId to set. + * @return This builder for chaining. + */ + public Builder setBuildIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000001; + buildId_ = value; + onChanged(); + return this; + } + + private java.lang.Object projectPath_ = ""; + /** + * optional string project_path = 2; + * @return Whether the projectPath field is set. + */ + public boolean hasProjectPath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string project_path = 2; + * @return The projectPath. + */ + public java.lang.String getProjectPath() { + java.lang.Object ref = projectPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + projectPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string project_path = 2; + * @return The bytes for projectPath. + */ + public com.google.protobuf.ByteString + getProjectPathBytes() { + java.lang.Object ref = projectPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + projectPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string project_path = 2; + * @param value The projectPath to set. + * @return This builder for chaining. + */ + public Builder setProjectPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + projectPath_ = value; + onChanged(); + return this; + } + /** + * optional string project_path = 2; + * @return This builder for chaining. + */ + public Builder clearProjectPath() { + bitField0_ = (bitField0_ & ~0x00000002); + projectPath_ = getDefaultInstance().getProjectPath(); + onChanged(); + return this; + } + /** + * optional string project_path = 2; + * @param value The bytes for projectPath to set. + * @return This builder for chaining. + */ + public Builder setProjectPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + projectPath_ = value; + onChanged(); + return this; + } + + private java.lang.Object projectName_ = ""; + /** + * optional string project_name = 3; + * @return Whether the projectName field is set. + */ + public boolean hasProjectName() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string project_name = 3; + * @return The projectName. + */ + public java.lang.String getProjectName() { + java.lang.Object ref = projectName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + projectName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string project_name = 3; + * @return The bytes for projectName. + */ + public com.google.protobuf.ByteString + getProjectNameBytes() { + java.lang.Object ref = projectName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + projectName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string project_name = 3; + * @param value The projectName to set. + * @return This builder for chaining. + */ + public Builder setProjectName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + projectName_ = value; + onChanged(); + return this; + } + /** + * optional string project_name = 3; + * @return This builder for chaining. + */ + public Builder clearProjectName() { + bitField0_ = (bitField0_ & ~0x00000004); + projectName_ = getDefaultInstance().getProjectName(); + onChanged(); + return this; + } + /** + * optional string project_name = 3; + * @param value The bytes for projectName to set. + * @return This builder for chaining. + */ + public Builder setProjectNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000004; + projectName_ = value; + onChanged(); + return this; + } + + private java.lang.Object moduleName_ = ""; + /** + * optional string module_name = 4; + * @return Whether the moduleName field is set. + */ + public boolean hasModuleName() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string module_name = 4; + * @return The moduleName. + */ + public java.lang.String getModuleName() { + java.lang.Object ref = moduleName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + moduleName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string module_name = 4; + * @return The bytes for moduleName. + */ + public com.google.protobuf.ByteString + getModuleNameBytes() { + java.lang.Object ref = moduleName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + moduleName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string module_name = 4; + * @param value The moduleName to set. + * @return This builder for chaining. + */ + public Builder setModuleName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + moduleName_ = value; + onChanged(); + return this; + } + /** + * optional string module_name = 4; + * @return This builder for chaining. + */ + public Builder clearModuleName() { + bitField0_ = (bitField0_ & ~0x00000008); + moduleName_ = getDefaultInstance().getModuleName(); + onChanged(); + return this; + } + /** + * optional string module_name = 4; + * @param value The bytes for moduleName to set. + * @return This builder for chaining. + */ + public Builder setModuleNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000008; + moduleName_ = value; + onChanged(); + return this; + } + + private java.lang.Object moduleClassifier_ = ""; + /** + * optional string module_classifier = 5; + * @return Whether the moduleClassifier field is set. + */ + public boolean hasModuleClassifier() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional string module_classifier = 5; + * @return The moduleClassifier. + */ + public java.lang.String getModuleClassifier() { + java.lang.Object ref = moduleClassifier_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + moduleClassifier_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string module_classifier = 5; + * @return The bytes for moduleClassifier. + */ + public com.google.protobuf.ByteString + getModuleClassifierBytes() { + java.lang.Object ref = moduleClassifier_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + moduleClassifier_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string module_classifier = 5; + * @param value The moduleClassifier to set. + * @return This builder for chaining. + */ + public Builder setModuleClassifier( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + moduleClassifier_ = value; + onChanged(); + return this; + } + /** + * optional string module_classifier = 5; + * @return This builder for chaining. + */ + public Builder clearModuleClassifier() { + bitField0_ = (bitField0_ & ~0x00000010); + moduleClassifier_ = getDefaultInstance().getModuleClassifier(); + onChanged(); + return this; + } + /** + * optional string module_classifier = 5; + * @param value The bytes for moduleClassifier to set. + * @return This builder for chaining. + */ + public Builder setModuleClassifierBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000010; + moduleClassifier_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmModuleCoordinatesProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmModuleCoordinatesProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoOrBuilder.java new file mode 100644 index 00000000000..e62a532c836 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoOrBuilder.java @@ -0,0 +1,94 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmModuleCoordinatesProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string build_id = 1; + * @return Whether the buildId field is set. + */ + boolean hasBuildId(); + /** + * optional string build_id = 1; + * @return The buildId. + */ + java.lang.String getBuildId(); + /** + * optional string build_id = 1; + * @return The bytes for buildId. + */ + com.google.protobuf.ByteString + getBuildIdBytes(); + + /** + * optional string project_path = 2; + * @return Whether the projectPath field is set. + */ + boolean hasProjectPath(); + /** + * optional string project_path = 2; + * @return The projectPath. + */ + java.lang.String getProjectPath(); + /** + * optional string project_path = 2; + * @return The bytes for projectPath. + */ + com.google.protobuf.ByteString + getProjectPathBytes(); + + /** + * optional string project_name = 3; + * @return Whether the projectName field is set. + */ + boolean hasProjectName(); + /** + * optional string project_name = 3; + * @return The projectName. + */ + java.lang.String getProjectName(); + /** + * optional string project_name = 3; + * @return The bytes for projectName. + */ + com.google.protobuf.ByteString + getProjectNameBytes(); + + /** + * optional string module_name = 4; + * @return Whether the moduleName field is set. + */ + boolean hasModuleName(); + /** + * optional string module_name = 4; + * @return The moduleName. + */ + java.lang.String getModuleName(); + /** + * optional string module_name = 4; + * @return The bytes for moduleName. + */ + com.google.protobuf.ByteString + getModuleNameBytes(); + + /** + * optional string module_classifier = 5; + * @return Whether the moduleClassifier field is set. + */ + boolean hasModuleClassifier(); + /** + * optional string module_classifier = 5; + * @return The moduleClassifier. + */ + java.lang.String getModuleClassifier(); + /** + * optional string module_classifier = 5; + * @return The bytes for moduleClassifier. + */ + com.google.protobuf.ByteString + getModuleClassifierBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProto.java new file mode 100644 index 00000000000..f5c4018af85 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProto.java @@ -0,0 +1,1507 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto} + */ +final class IdeaKpmModuleProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) + IdeaKpmModuleProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmModuleProto.newBuilder() to construct. + private IdeaKpmModuleProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmModuleProto() { + fragments_ = java.util.Collections.emptyList(); + variants_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmModuleProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmModuleProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = coordinates_.toBuilder(); + } + coordinates_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(coordinates_); + coordinates_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + fragments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + fragments_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + variants_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + variants_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) != 0)) { + fragments_ = java.util.Collections.unmodifiableList(fragments_); + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + variants_ = java.util.Collections.unmodifiableList(variants_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int COORDINATES_FIELD_NUMBER = 2; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + @java.lang.Override + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getCoordinates() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : coordinates_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : coordinates_; + } + + public static final int FRAGMENTS_FIELD_NUMBER = 3; + private java.util.List fragments_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + @java.lang.Override + public java.util.List getFragmentsList() { + return fragments_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + @java.lang.Override + public java.util.List + getFragmentsOrBuilderList() { + return fragments_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + @java.lang.Override + public int getFragmentsCount() { + return fragments_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getFragments(int index) { + return fragments_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder getFragmentsOrBuilder( + int index) { + return fragments_.get(index); + } + + public static final int VARIANTS_FIELD_NUMBER = 4; + private java.util.List variants_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + @java.lang.Override + public java.util.List getVariantsList() { + return variants_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + @java.lang.Override + public java.util.List + getVariantsOrBuilderList() { + return variants_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + @java.lang.Override + public int getVariantsCount() { + return variants_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto getVariants(int index) { + return variants_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder getVariantsOrBuilder( + int index) { + return variants_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getCoordinates()); + } + for (int i = 0; i < fragments_.size(); i++) { + output.writeMessage(3, fragments_.get(i)); + } + for (int i = 0; i < variants_.size(); i++) { + output.writeMessage(4, variants_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCoordinates()); + } + for (int i = 0; i < fragments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fragments_.get(i)); + } + for (int i = 0; i < variants_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, variants_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasCoordinates() != other.hasCoordinates()) return false; + if (hasCoordinates()) { + if (!getCoordinates() + .equals(other.getCoordinates())) return false; + } + if (!getFragmentsList() + .equals(other.getFragmentsList())) return false; + if (!getVariantsList() + .equals(other.getVariantsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasCoordinates()) { + hash = (37 * hash) + COORDINATES_FIELD_NUMBER; + hash = (53 * hash) + getCoordinates().hashCode(); + } + if (getFragmentsCount() > 0) { + hash = (37 * hash) + FRAGMENTS_FIELD_NUMBER; + hash = (53 * hash) + getFragmentsList().hashCode(); + } + if (getVariantsCount() > 0) { + hash = (37 * hash) + VARIANTS_FIELD_NUMBER; + hash = (53 * hash) + getVariantsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto 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.kpm.idea.proto.IdeaKpmModuleProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + getCoordinatesFieldBuilder(); + getFragmentsFieldBuilder(); + getVariantsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (coordinatesBuilder_ == null) { + coordinates_ = null; + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (fragmentsBuilder_ == null) { + fragments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + fragmentsBuilder_.clear(); + } + if (variantsBuilder_ == null) { + variants_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + variantsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (coordinatesBuilder_ == null) { + result.coordinates_ = coordinates_; + } else { + result.coordinates_ = coordinatesBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + if (fragmentsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + fragments_ = java.util.Collections.unmodifiableList(fragments_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.fragments_ = fragments_; + } else { + result.fragments_ = fragmentsBuilder_.build(); + } + if (variantsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + variants_ = java.util.Collections.unmodifiableList(variants_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.variants_ = variants_; + } else { + result.variants_ = variantsBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasCoordinates()) { + mergeCoordinates(other.getCoordinates()); + } + if (fragmentsBuilder_ == null) { + if (!other.fragments_.isEmpty()) { + if (fragments_.isEmpty()) { + fragments_ = other.fragments_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureFragmentsIsMutable(); + fragments_.addAll(other.fragments_); + } + onChanged(); + } + } else { + if (!other.fragments_.isEmpty()) { + if (fragmentsBuilder_.isEmpty()) { + fragmentsBuilder_.dispose(); + fragmentsBuilder_ = null; + fragments_ = other.fragments_; + bitField0_ = (bitField0_ & ~0x00000004); + fragmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFragmentsFieldBuilder() : null; + } else { + fragmentsBuilder_.addAllMessages(other.fragments_); + } + } + } + if (variantsBuilder_ == null) { + if (!other.variants_.isEmpty()) { + if (variants_.isEmpty()) { + variants_ = other.variants_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureVariantsIsMutable(); + variants_.addAll(other.variants_); + } + onChanged(); + } + } else { + if (!other.variants_.isEmpty()) { + if (variantsBuilder_.isEmpty()) { + variantsBuilder_.dispose(); + variantsBuilder_ = null; + variants_ = other.variants_; + bitField0_ = (bitField0_ & ~0x00000008); + variantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVariantsFieldBuilder() : null; + } else { + variantsBuilder_.addAllMessages(other.variants_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder> coordinatesBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getCoordinates() { + if (coordinatesBuilder_ == null) { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : coordinates_; + } else { + return coordinatesBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinates_ = value; + onChanged(); + } else { + coordinatesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder builderForValue) { + if (coordinatesBuilder_ == null) { + coordinates_ = builderForValue.build(); + onChanged(); + } else { + coordinatesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + public Builder mergeCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + coordinates_ != null && + coordinates_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance()) { + coordinates_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.newBuilder(coordinates_).mergeFrom(value).buildPartial(); + } else { + coordinates_ = value; + } + onChanged(); + } else { + coordinatesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + public Builder clearCoordinates() { + if (coordinatesBuilder_ == null) { + coordinates_ = null; + onChanged(); + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder getCoordinatesBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCoordinatesFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + if (coordinatesBuilder_ != null) { + return coordinatesBuilder_.getMessageOrBuilder(); + } else { + return coordinates_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.getDefaultInstance() : coordinates_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder> + getCoordinatesFieldBuilder() { + if (coordinatesBuilder_ == null) { + coordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder>( + getCoordinates(), + getParentForChildren(), + isClean()); + coordinates_ = null; + } + return coordinatesBuilder_; + } + + private java.util.List fragments_ = + java.util.Collections.emptyList(); + private void ensureFragmentsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + fragments_ = new java.util.ArrayList(fragments_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder> fragmentsBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public java.util.List getFragmentsList() { + if (fragmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(fragments_); + } else { + return fragmentsBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public int getFragmentsCount() { + if (fragmentsBuilder_ == null) { + return fragments_.size(); + } else { + return fragmentsBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getFragments(int index) { + if (fragmentsBuilder_ == null) { + return fragments_.get(index); + } else { + return fragmentsBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder setFragments( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto value) { + if (fragmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFragmentsIsMutable(); + fragments_.set(index, value); + onChanged(); + } else { + fragmentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder setFragments( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder builderForValue) { + if (fragmentsBuilder_ == null) { + ensureFragmentsIsMutable(); + fragments_.set(index, builderForValue.build()); + onChanged(); + } else { + fragmentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder addFragments(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto value) { + if (fragmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFragmentsIsMutable(); + fragments_.add(value); + onChanged(); + } else { + fragmentsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder addFragments( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto value) { + if (fragmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFragmentsIsMutable(); + fragments_.add(index, value); + onChanged(); + } else { + fragmentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder addFragments( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder builderForValue) { + if (fragmentsBuilder_ == null) { + ensureFragmentsIsMutable(); + fragments_.add(builderForValue.build()); + onChanged(); + } else { + fragmentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder addFragments( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder builderForValue) { + if (fragmentsBuilder_ == null) { + ensureFragmentsIsMutable(); + fragments_.add(index, builderForValue.build()); + onChanged(); + } else { + fragmentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder addAllFragments( + java.lang.Iterable values) { + if (fragmentsBuilder_ == null) { + ensureFragmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fragments_); + onChanged(); + } else { + fragmentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder clearFragments() { + if (fragmentsBuilder_ == null) { + fragments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + fragmentsBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public Builder removeFragments(int index) { + if (fragmentsBuilder_ == null) { + ensureFragmentsIsMutable(); + fragments_.remove(index); + onChanged(); + } else { + fragmentsBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder getFragmentsBuilder( + int index) { + return getFragmentsFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder getFragmentsOrBuilder( + int index) { + if (fragmentsBuilder_ == null) { + return fragments_.get(index); } else { + return fragmentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public java.util.List + getFragmentsOrBuilderList() { + if (fragmentsBuilder_ != null) { + return fragmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(fragments_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder addFragmentsBuilder() { + return getFragmentsFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder addFragmentsBuilder( + int index) { + return getFragmentsFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + public java.util.List + getFragmentsBuilderList() { + return getFragmentsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder> + getFragmentsFieldBuilder() { + if (fragmentsBuilder_ == null) { + fragmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder>( + fragments_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + fragments_ = null; + } + return fragmentsBuilder_; + } + + private java.util.List variants_ = + java.util.Collections.emptyList(); + private void ensureVariantsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + variants_ = new java.util.ArrayList(variants_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder> variantsBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public java.util.List getVariantsList() { + if (variantsBuilder_ == null) { + return java.util.Collections.unmodifiableList(variants_); + } else { + return variantsBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public int getVariantsCount() { + if (variantsBuilder_ == null) { + return variants_.size(); + } else { + return variantsBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto getVariants(int index) { + if (variantsBuilder_ == null) { + return variants_.get(index); + } else { + return variantsBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder setVariants( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto value) { + if (variantsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariantsIsMutable(); + variants_.set(index, value); + onChanged(); + } else { + variantsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder setVariants( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder builderForValue) { + if (variantsBuilder_ == null) { + ensureVariantsIsMutable(); + variants_.set(index, builderForValue.build()); + onChanged(); + } else { + variantsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder addVariants(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto value) { + if (variantsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariantsIsMutable(); + variants_.add(value); + onChanged(); + } else { + variantsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder addVariants( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto value) { + if (variantsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariantsIsMutable(); + variants_.add(index, value); + onChanged(); + } else { + variantsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder addVariants( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder builderForValue) { + if (variantsBuilder_ == null) { + ensureVariantsIsMutable(); + variants_.add(builderForValue.build()); + onChanged(); + } else { + variantsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder addVariants( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder builderForValue) { + if (variantsBuilder_ == null) { + ensureVariantsIsMutable(); + variants_.add(index, builderForValue.build()); + onChanged(); + } else { + variantsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder addAllVariants( + java.lang.Iterable values) { + if (variantsBuilder_ == null) { + ensureVariantsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variants_); + onChanged(); + } else { + variantsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder clearVariants() { + if (variantsBuilder_ == null) { + variants_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + variantsBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public Builder removeVariants(int index) { + if (variantsBuilder_ == null) { + ensureVariantsIsMutable(); + variants_.remove(index); + onChanged(); + } else { + variantsBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder getVariantsBuilder( + int index) { + return getVariantsFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder getVariantsOrBuilder( + int index) { + if (variantsBuilder_ == null) { + return variants_.get(index); } else { + return variantsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public java.util.List + getVariantsOrBuilderList() { + if (variantsBuilder_ != null) { + return variantsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variants_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder addVariantsBuilder() { + return getVariantsFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder addVariantsBuilder( + int index) { + return getVariantsFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + public java.util.List + getVariantsBuilderList() { + return getVariantsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder> + getVariantsFieldBuilder() { + if (variantsBuilder_ == null) { + variantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder>( + variants_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + variants_ = null; + } + return variantsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmModuleProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmModuleProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoOrBuilder.java new file mode 100644 index 00000000000..9407d867176 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoOrBuilder.java @@ -0,0 +1,87 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmModuleProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + boolean hasCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto getCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoOrBuilder getCoordinatesOrBuilder(); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + java.util.List + getFragmentsList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getFragments(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + int getFragmentsCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + java.util.List + getFragmentsOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder getFragmentsOrBuilder( + int index); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + java.util.List + getVariantsList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto getVariants(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + int getVariantsCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + java.util.List + getVariantsOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder getVariantsOrBuilder( + int index); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProto.java new file mode 100644 index 00000000000..6eeac73b5a9 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProto.java @@ -0,0 +1,780 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto} + */ +final class IdeaKpmNativePlatformProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) + IdeaKpmNativePlatformProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmNativePlatformProto.newBuilder() to construct. + private IdeaKpmNativePlatformProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmNativePlatformProto() { + konanTarget_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmNativePlatformProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmNativePlatformProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + konanTarget_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int KONAN_TARGET_FIELD_NUMBER = 2; + private volatile java.lang.Object konanTarget_; + /** + * optional string konan_target = 2; + * @return Whether the konanTarget field is set. + */ + @java.lang.Override + public boolean hasKonanTarget() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string konan_target = 2; + * @return The konanTarget. + */ + @java.lang.Override + public java.lang.String getKonanTarget() { + java.lang.Object ref = konanTarget_; + 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(); + konanTarget_ = s; + return s; + } + } + /** + * optional string konan_target = 2; + * @return The bytes for konanTarget. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKonanTargetBytes() { + java.lang.Object ref = konanTarget_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + konanTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, konanTarget_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, konanTarget_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasKonanTarget() != other.hasKonanTarget()) return false; + if (hasKonanTarget()) { + if (!getKonanTarget() + .equals(other.getKonanTarget())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasKonanTarget()) { + hash = (37 * hash) + KONAN_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getKonanTarget().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto 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.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + konanTarget_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.konanTarget_ = konanTarget_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasKonanTarget()) { + bitField0_ |= 0x00000002; + konanTarget_ = other.konanTarget_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private java.lang.Object konanTarget_ = ""; + /** + * optional string konan_target = 2; + * @return Whether the konanTarget field is set. + */ + public boolean hasKonanTarget() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string konan_target = 2; + * @return The konanTarget. + */ + public java.lang.String getKonanTarget() { + java.lang.Object ref = konanTarget_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + konanTarget_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string konan_target = 2; + * @return The bytes for konanTarget. + */ + public com.google.protobuf.ByteString + getKonanTargetBytes() { + java.lang.Object ref = konanTarget_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + konanTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string konan_target = 2; + * @param value The konanTarget to set. + * @return This builder for chaining. + */ + public Builder setKonanTarget( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + konanTarget_ = value; + onChanged(); + return this; + } + /** + * optional string konan_target = 2; + * @return This builder for chaining. + */ + public Builder clearKonanTarget() { + bitField0_ = (bitField0_ & ~0x00000002); + konanTarget_ = getDefaultInstance().getKonanTarget(); + onChanged(); + return this; + } + /** + * optional string konan_target = 2; + * @param value The bytes for konanTarget to set. + * @return This builder for chaining. + */ + public Builder setKonanTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + konanTarget_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmNativePlatformProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmNativePlatformProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoOrBuilder.java new file mode 100644 index 00000000000..81a7f6d1c6d --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmNativePlatformProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional string konan_target = 2; + * @return Whether the konanTarget field is set. + */ + boolean hasKonanTarget(); + /** + * optional string konan_target = 2; + * @return The konanTarget. + */ + java.lang.String getKonanTarget(); + /** + * optional string konan_target = 2; + * @return The bytes for konanTarget. + */ + com.google.protobuf.ByteString + getKonanTargetBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProto.java new file mode 100644 index 00000000000..19ba6038bf2 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProto.java @@ -0,0 +1,1558 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto} + */ +final class IdeaKpmPlatformProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) + IdeaKpmPlatformProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmPlatformProto.newBuilder() to construct. + private IdeaKpmPlatformProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmPlatformProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmPlatformProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmPlatformProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder subBuilder = null; + if (platformCase_ == 1) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_).toBuilder(); + } + platform_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_); + platform_ = subBuilder.buildPartial(); + } + platformCase_ = 1; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder subBuilder = null; + if (platformCase_ == 2) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_).toBuilder(); + } + platform_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_); + platform_ = subBuilder.buildPartial(); + } + platformCase_ = 2; + break; + } + case 26: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder subBuilder = null; + if (platformCase_ == 3) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_).toBuilder(); + } + platform_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_); + platform_ = subBuilder.buildPartial(); + } + platformCase_ = 3; + break; + } + case 34: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder subBuilder = null; + if (platformCase_ == 4) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_).toBuilder(); + } + platform_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_); + platform_ = subBuilder.buildPartial(); + } + platformCase_ = 4; + break; + } + case 42: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder subBuilder = null; + if (platformCase_ == 5) { + subBuilder = ((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_).toBuilder(); + } + platform_ = + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_); + platform_ = subBuilder.buildPartial(); + } + platformCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder.class); + } + + private int platformCase_ = 0; + private java.lang.Object platform_; + public enum PlatformCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + JVM(1), + NATIVE(2), + JS(3), + WASM(4), + UNKNOWN(5), + PLATFORM_NOT_SET(0); + private final int value; + private PlatformCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PlatformCase valueOf(int value) { + return forNumber(value); + } + + public static PlatformCase forNumber(int value) { + switch (value) { + case 1: return JVM; + case 2: return NATIVE; + case 3: return JS; + case 4: return WASM; + case 5: return UNKNOWN; + case 0: return PLATFORM_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public PlatformCase + getPlatformCase() { + return PlatformCase.forNumber( + platformCase_); + } + + public static final int JVM_FIELD_NUMBER = 1; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return Whether the jvm field is set. + */ + @java.lang.Override + public boolean hasJvm() { + return platformCase_ == 1; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return The jvm. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto getJvm() { + if (platformCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder getJvmOrBuilder() { + if (platformCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } + + public static final int NATIVE_FIELD_NUMBER = 2; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return Whether the native field is set. + */ + @java.lang.Override + public boolean hasNative() { + return platformCase_ == 2; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return The native. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto getNative() { + if (platformCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder getNativeOrBuilder() { + if (platformCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } + + public static final int JS_FIELD_NUMBER = 3; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return Whether the js field is set. + */ + @java.lang.Override + public boolean hasJs() { + return platformCase_ == 3; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return The js. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto getJs() { + if (platformCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder getJsOrBuilder() { + if (platformCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } + + public static final int WASM_FIELD_NUMBER = 4; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return Whether the wasm field is set. + */ + @java.lang.Override + public boolean hasWasm() { + return platformCase_ == 4; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return The wasm. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto getWasm() { + if (platformCase_ == 4) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder getWasmOrBuilder() { + if (platformCase_ == 4) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } + + public static final int UNKNOWN_FIELD_NUMBER = 5; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return Whether the unknown field is set. + */ + @java.lang.Override + public boolean hasUnknown() { + return platformCase_ == 5; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return The unknown. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto getUnknown() { + if (platformCase_ == 5) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder getUnknownOrBuilder() { + if (platformCase_ == 5) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (platformCase_ == 1) { + output.writeMessage(1, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_); + } + if (platformCase_ == 2) { + output.writeMessage(2, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_); + } + if (platformCase_ == 3) { + output.writeMessage(3, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_); + } + if (platformCase_ == 4) { + output.writeMessage(4, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_); + } + if (platformCase_ == 5) { + output.writeMessage(5, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (platformCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_); + } + if (platformCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_); + } + if (platformCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_); + } + if (platformCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_); + } + if (platformCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) obj; + + if (!getPlatformCase().equals(other.getPlatformCase())) return false; + switch (platformCase_) { + case 1: + if (!getJvm() + .equals(other.getJvm())) return false; + break; + case 2: + if (!getNative() + .equals(other.getNative())) return false; + break; + case 3: + if (!getJs() + .equals(other.getJs())) return false; + break; + case 4: + if (!getWasm() + .equals(other.getWasm())) return false; + break; + case 5: + if (!getUnknown() + .equals(other.getUnknown())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (platformCase_) { + case 1: + hash = (37 * hash) + JVM_FIELD_NUMBER; + hash = (53 * hash) + getJvm().hashCode(); + break; + case 2: + hash = (37 * hash) + NATIVE_FIELD_NUMBER; + hash = (53 * hash) + getNative().hashCode(); + break; + case 3: + hash = (37 * hash) + JS_FIELD_NUMBER; + hash = (53 * hash) + getJs().hashCode(); + break; + case 4: + hash = (37 * hash) + WASM_FIELD_NUMBER; + hash = (53 * hash) + getWasm().hashCode(); + break; + case 5: + hash = (37 * hash) + UNKNOWN_FIELD_NUMBER; + hash = (53 * hash) + getUnknown().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto 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.kpm.idea.proto.IdeaKpmPlatformProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + platformCase_ = 0; + platform_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto(this); + if (platformCase_ == 1) { + if (jvmBuilder_ == null) { + result.platform_ = platform_; + } else { + result.platform_ = jvmBuilder_.build(); + } + } + if (platformCase_ == 2) { + if (nativeBuilder_ == null) { + result.platform_ = platform_; + } else { + result.platform_ = nativeBuilder_.build(); + } + } + if (platformCase_ == 3) { + if (jsBuilder_ == null) { + result.platform_ = platform_; + } else { + result.platform_ = jsBuilder_.build(); + } + } + if (platformCase_ == 4) { + if (wasmBuilder_ == null) { + result.platform_ = platform_; + } else { + result.platform_ = wasmBuilder_.build(); + } + } + if (platformCase_ == 5) { + if (unknownBuilder_ == null) { + result.platform_ = platform_; + } else { + result.platform_ = unknownBuilder_.build(); + } + } + result.platformCase_ = platformCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance()) return this; + switch (other.getPlatformCase()) { + case JVM: { + mergeJvm(other.getJvm()); + break; + } + case NATIVE: { + mergeNative(other.getNative()); + break; + } + case JS: { + mergeJs(other.getJs()); + break; + } + case WASM: { + mergeWasm(other.getWasm()); + break; + } + case UNKNOWN: { + mergeUnknown(other.getUnknown()); + break; + } + case PLATFORM_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int platformCase_ = 0; + private java.lang.Object platform_; + public PlatformCase + getPlatformCase() { + return PlatformCase.forNumber( + platformCase_); + } + + public Builder clearPlatform() { + platformCase_ = 0; + platform_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder> jvmBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return Whether the jvm field is set. + */ + @java.lang.Override + public boolean hasJvm() { + return platformCase_ == 1; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return The jvm. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto getJvm() { + if (jvmBuilder_ == null) { + if (platformCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } else { + if (platformCase_ == 1) { + return jvmBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + public Builder setJvm(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto value) { + if (jvmBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + platform_ = value; + onChanged(); + } else { + jvmBuilder_.setMessage(value); + } + platformCase_ = 1; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + public Builder setJvm( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder builderForValue) { + if (jvmBuilder_ == null) { + platform_ = builderForValue.build(); + onChanged(); + } else { + jvmBuilder_.setMessage(builderForValue.build()); + } + platformCase_ = 1; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + public Builder mergeJvm(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto value) { + if (jvmBuilder_ == null) { + if (platformCase_ == 1 && + platform_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance()) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_) + .mergeFrom(value).buildPartial(); + } else { + platform_ = value; + } + onChanged(); + } else { + if (platformCase_ == 1) { + jvmBuilder_.mergeFrom(value); + } + jvmBuilder_.setMessage(value); + } + platformCase_ = 1; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + public Builder clearJvm() { + if (jvmBuilder_ == null) { + if (platformCase_ == 1) { + platformCase_ = 0; + platform_ = null; + onChanged(); + } + } else { + if (platformCase_ == 1) { + platformCase_ = 0; + platform_ = null; + } + jvmBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder getJvmBuilder() { + return getJvmFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder getJvmOrBuilder() { + if ((platformCase_ == 1) && (jvmBuilder_ != null)) { + return jvmBuilder_.getMessageOrBuilder(); + } else { + if (platformCase_ == 1) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder> + getJvmFieldBuilder() { + if (jvmBuilder_ == null) { + if (!(platformCase_ == 1)) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.getDefaultInstance(); + } + jvmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto) platform_, + getParentForChildren(), + isClean()); + platform_ = null; + } + platformCase_ = 1; + onChanged();; + return jvmBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder> nativeBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return Whether the native field is set. + */ + @java.lang.Override + public boolean hasNative() { + return platformCase_ == 2; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return The native. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto getNative() { + if (nativeBuilder_ == null) { + if (platformCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } else { + if (platformCase_ == 2) { + return nativeBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + public Builder setNative(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto value) { + if (nativeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + platform_ = value; + onChanged(); + } else { + nativeBuilder_.setMessage(value); + } + platformCase_ = 2; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + public Builder setNative( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder builderForValue) { + if (nativeBuilder_ == null) { + platform_ = builderForValue.build(); + onChanged(); + } else { + nativeBuilder_.setMessage(builderForValue.build()); + } + platformCase_ = 2; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + public Builder mergeNative(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto value) { + if (nativeBuilder_ == null) { + if (platformCase_ == 2 && + platform_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance()) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_) + .mergeFrom(value).buildPartial(); + } else { + platform_ = value; + } + onChanged(); + } else { + if (platformCase_ == 2) { + nativeBuilder_.mergeFrom(value); + } + nativeBuilder_.setMessage(value); + } + platformCase_ = 2; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + public Builder clearNative() { + if (nativeBuilder_ == null) { + if (platformCase_ == 2) { + platformCase_ = 0; + platform_ = null; + onChanged(); + } + } else { + if (platformCase_ == 2) { + platformCase_ = 0; + platform_ = null; + } + nativeBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder getNativeBuilder() { + return getNativeFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder getNativeOrBuilder() { + if ((platformCase_ == 2) && (nativeBuilder_ != null)) { + return nativeBuilder_.getMessageOrBuilder(); + } else { + if (platformCase_ == 2) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder> + getNativeFieldBuilder() { + if (nativeBuilder_ == null) { + if (!(platformCase_ == 2)) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.getDefaultInstance(); + } + nativeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto) platform_, + getParentForChildren(), + isClean()); + platform_ = null; + } + platformCase_ = 2; + onChanged();; + return nativeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder> jsBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return Whether the js field is set. + */ + @java.lang.Override + public boolean hasJs() { + return platformCase_ == 3; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return The js. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto getJs() { + if (jsBuilder_ == null) { + if (platformCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } else { + if (platformCase_ == 3) { + return jsBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + public Builder setJs(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto value) { + if (jsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + platform_ = value; + onChanged(); + } else { + jsBuilder_.setMessage(value); + } + platformCase_ = 3; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + public Builder setJs( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder builderForValue) { + if (jsBuilder_ == null) { + platform_ = builderForValue.build(); + onChanged(); + } else { + jsBuilder_.setMessage(builderForValue.build()); + } + platformCase_ = 3; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + public Builder mergeJs(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto value) { + if (jsBuilder_ == null) { + if (platformCase_ == 3 && + platform_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance()) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_) + .mergeFrom(value).buildPartial(); + } else { + platform_ = value; + } + onChanged(); + } else { + if (platformCase_ == 3) { + jsBuilder_.mergeFrom(value); + } + jsBuilder_.setMessage(value); + } + platformCase_ = 3; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + public Builder clearJs() { + if (jsBuilder_ == null) { + if (platformCase_ == 3) { + platformCase_ = 0; + platform_ = null; + onChanged(); + } + } else { + if (platformCase_ == 3) { + platformCase_ = 0; + platform_ = null; + } + jsBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder getJsBuilder() { + return getJsFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder getJsOrBuilder() { + if ((platformCase_ == 3) && (jsBuilder_ != null)) { + return jsBuilder_.getMessageOrBuilder(); + } else { + if (platformCase_ == 3) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder> + getJsFieldBuilder() { + if (jsBuilder_ == null) { + if (!(platformCase_ == 3)) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.getDefaultInstance(); + } + jsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto) platform_, + getParentForChildren(), + isClean()); + platform_ = null; + } + platformCase_ = 3; + onChanged();; + return jsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder> wasmBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return Whether the wasm field is set. + */ + @java.lang.Override + public boolean hasWasm() { + return platformCase_ == 4; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return The wasm. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto getWasm() { + if (wasmBuilder_ == null) { + if (platformCase_ == 4) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } else { + if (platformCase_ == 4) { + return wasmBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + public Builder setWasm(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto value) { + if (wasmBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + platform_ = value; + onChanged(); + } else { + wasmBuilder_.setMessage(value); + } + platformCase_ = 4; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + public Builder setWasm( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder builderForValue) { + if (wasmBuilder_ == null) { + platform_ = builderForValue.build(); + onChanged(); + } else { + wasmBuilder_.setMessage(builderForValue.build()); + } + platformCase_ = 4; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + public Builder mergeWasm(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto value) { + if (wasmBuilder_ == null) { + if (platformCase_ == 4 && + platform_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance()) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_) + .mergeFrom(value).buildPartial(); + } else { + platform_ = value; + } + onChanged(); + } else { + if (platformCase_ == 4) { + wasmBuilder_.mergeFrom(value); + } + wasmBuilder_.setMessage(value); + } + platformCase_ = 4; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + public Builder clearWasm() { + if (wasmBuilder_ == null) { + if (platformCase_ == 4) { + platformCase_ = 0; + platform_ = null; + onChanged(); + } + } else { + if (platformCase_ == 4) { + platformCase_ = 0; + platform_ = null; + } + wasmBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder getWasmBuilder() { + return getWasmFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder getWasmOrBuilder() { + if ((platformCase_ == 4) && (wasmBuilder_ != null)) { + return wasmBuilder_.getMessageOrBuilder(); + } else { + if (platformCase_ == 4) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder> + getWasmFieldBuilder() { + if (wasmBuilder_ == null) { + if (!(platformCase_ == 4)) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } + wasmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) platform_, + getParentForChildren(), + isClean()); + platform_ = null; + } + platformCase_ = 4; + onChanged();; + return wasmBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder> unknownBuilder_; + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return Whether the unknown field is set. + */ + @java.lang.Override + public boolean hasUnknown() { + return platformCase_ == 5; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return The unknown. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto getUnknown() { + if (unknownBuilder_ == null) { + if (platformCase_ == 5) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } else { + if (platformCase_ == 5) { + return unknownBuilder_.getMessage(); + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + public Builder setUnknown(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto value) { + if (unknownBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + platform_ = value; + onChanged(); + } else { + unknownBuilder_.setMessage(value); + } + platformCase_ = 5; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + public Builder setUnknown( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder builderForValue) { + if (unknownBuilder_ == null) { + platform_ = builderForValue.build(); + onChanged(); + } else { + unknownBuilder_.setMessage(builderForValue.build()); + } + platformCase_ = 5; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + public Builder mergeUnknown(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto value) { + if (unknownBuilder_ == null) { + if (platformCase_ == 5 && + platform_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance()) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.newBuilder((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_) + .mergeFrom(value).buildPartial(); + } else { + platform_ = value; + } + onChanged(); + } else { + if (platformCase_ == 5) { + unknownBuilder_.mergeFrom(value); + } + unknownBuilder_.setMessage(value); + } + platformCase_ = 5; + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + public Builder clearUnknown() { + if (unknownBuilder_ == null) { + if (platformCase_ == 5) { + platformCase_ = 0; + platform_ = null; + onChanged(); + } + } else { + if (platformCase_ == 5) { + platformCase_ = 0; + platform_ = null; + } + unknownBuilder_.clear(); + } + return this; + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder getUnknownBuilder() { + return getUnknownFieldBuilder().getBuilder(); + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder getUnknownOrBuilder() { + if ((platformCase_ == 5) && (unknownBuilder_ != null)) { + return unknownBuilder_.getMessageOrBuilder(); + } else { + if (platformCase_ == 5) { + return (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_; + } + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder> + getUnknownFieldBuilder() { + if (unknownBuilder_ == null) { + if (!(platformCase_ == 5)) { + platform_ = org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } + unknownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder>( + (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) platform_, + getParentForChildren(), + isClean()); + platform_ = null; + } + platformCase_ = 5; + onChanged();; + return unknownBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmPlatformProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmPlatformProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoOrBuilder.java new file mode 100644 index 00000000000..95e410fa2a1 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoOrBuilder.java @@ -0,0 +1,86 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmPlatformProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) + com.google.protobuf.MessageOrBuilder { + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return Whether the jvm field is set. + */ + boolean hasJvm(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return The jvm. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto getJvm(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoOrBuilder getJvmOrBuilder(); + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return Whether the native field is set. + */ + boolean hasNative(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return The native. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto getNative(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoOrBuilder getNativeOrBuilder(); + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return Whether the js field is set. + */ + boolean hasJs(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return The js. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto getJs(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoOrBuilder getJsOrBuilder(); + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return Whether the wasm field is set. + */ + boolean hasWasm(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return The wasm. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto getWasm(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder getWasmOrBuilder(); + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return Whether the unknown field is set. + */ + boolean hasUnknown(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return The unknown. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto getUnknown(); + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder getUnknownOrBuilder(); + + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.PlatformCase getPlatformCase(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProto.java new file mode 100644 index 00000000000..79ce3d018f5 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProto.java @@ -0,0 +1,1614 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto} + */ +final class IdeaKpmProjectProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) + IdeaKpmProjectProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmProjectProto.newBuilder() to construct. + private IdeaKpmProjectProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmProjectProto() { + gradlePluginVersion_ = ""; + coreLibrariesVersion_ = ""; + explicitApiModeCliOption_ = ""; + kotlinNativeHome_ = ""; + modules_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmProjectProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmProjectProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + gradlePluginVersion_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + coreLibrariesVersion_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + explicitApiModeCliOption_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + kotlinNativeHome_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + modules_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + modules_.add( + input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000020) != 0)) { + modules_ = java.util.Collections.unmodifiableList(modules_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int GRADLE_PLUGIN_VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object gradlePluginVersion_; + /** + * optional string gradle_plugin_version = 2; + * @return Whether the gradlePluginVersion field is set. + */ + @java.lang.Override + public boolean hasGradlePluginVersion() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string gradle_plugin_version = 2; + * @return The gradlePluginVersion. + */ + @java.lang.Override + public java.lang.String getGradlePluginVersion() { + java.lang.Object ref = gradlePluginVersion_; + 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(); + gradlePluginVersion_ = s; + return s; + } + } + /** + * optional string gradle_plugin_version = 2; + * @return The bytes for gradlePluginVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGradlePluginVersionBytes() { + java.lang.Object ref = gradlePluginVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gradlePluginVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CORE_LIBRARIES_VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object coreLibrariesVersion_; + /** + * optional string core_libraries_version = 3; + * @return Whether the coreLibrariesVersion field is set. + */ + @java.lang.Override + public boolean hasCoreLibrariesVersion() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string core_libraries_version = 3; + * @return The coreLibrariesVersion. + */ + @java.lang.Override + public java.lang.String getCoreLibrariesVersion() { + java.lang.Object ref = coreLibrariesVersion_; + 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(); + coreLibrariesVersion_ = s; + return s; + } + } + /** + * optional string core_libraries_version = 3; + * @return The bytes for coreLibrariesVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCoreLibrariesVersionBytes() { + java.lang.Object ref = coreLibrariesVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + coreLibrariesVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPLICIT_API_MODE_CLI_OPTION_FIELD_NUMBER = 4; + private volatile java.lang.Object explicitApiModeCliOption_; + /** + * optional string explicit_api_mode_cli_option = 4; + * @return Whether the explicitApiModeCliOption field is set. + */ + @java.lang.Override + public boolean hasExplicitApiModeCliOption() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @return The explicitApiModeCliOption. + */ + @java.lang.Override + public java.lang.String getExplicitApiModeCliOption() { + java.lang.Object ref = explicitApiModeCliOption_; + 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(); + explicitApiModeCliOption_ = s; + return s; + } + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @return The bytes for explicitApiModeCliOption. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getExplicitApiModeCliOptionBytes() { + java.lang.Object ref = explicitApiModeCliOption_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + explicitApiModeCliOption_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KOTLIN_NATIVE_HOME_FIELD_NUMBER = 5; + private volatile java.lang.Object kotlinNativeHome_; + /** + * optional string kotlin_native_home = 5; + * @return Whether the kotlinNativeHome field is set. + */ + @java.lang.Override + public boolean hasKotlinNativeHome() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional string kotlin_native_home = 5; + * @return The kotlinNativeHome. + */ + @java.lang.Override + public java.lang.String getKotlinNativeHome() { + java.lang.Object ref = kotlinNativeHome_; + 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(); + kotlinNativeHome_ = s; + return s; + } + } + /** + * optional string kotlin_native_home = 5; + * @return The bytes for kotlinNativeHome. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKotlinNativeHomeBytes() { + java.lang.Object ref = kotlinNativeHome_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kotlinNativeHome_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODULES_FIELD_NUMBER = 6; + private java.util.List modules_; + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + @java.lang.Override + public java.util.List getModulesList() { + return modules_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + @java.lang.Override + public java.util.List + getModulesOrBuilderList() { + return modules_; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + @java.lang.Override + public int getModulesCount() { + return modules_.size(); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto getModules(int index) { + return modules_.get(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder getModulesOrBuilder( + int index) { + return modules_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, gradlePluginVersion_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, coreLibrariesVersion_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, explicitApiModeCliOption_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, kotlinNativeHome_); + } + for (int i = 0; i < modules_.size(); i++) { + output.writeMessage(6, modules_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, gradlePluginVersion_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, coreLibrariesVersion_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, explicitApiModeCliOption_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, kotlinNativeHome_); + } + for (int i = 0; i < modules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, modules_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasGradlePluginVersion() != other.hasGradlePluginVersion()) return false; + if (hasGradlePluginVersion()) { + if (!getGradlePluginVersion() + .equals(other.getGradlePluginVersion())) return false; + } + if (hasCoreLibrariesVersion() != other.hasCoreLibrariesVersion()) return false; + if (hasCoreLibrariesVersion()) { + if (!getCoreLibrariesVersion() + .equals(other.getCoreLibrariesVersion())) return false; + } + if (hasExplicitApiModeCliOption() != other.hasExplicitApiModeCliOption()) return false; + if (hasExplicitApiModeCliOption()) { + if (!getExplicitApiModeCliOption() + .equals(other.getExplicitApiModeCliOption())) return false; + } + if (hasKotlinNativeHome() != other.hasKotlinNativeHome()) return false; + if (hasKotlinNativeHome()) { + if (!getKotlinNativeHome() + .equals(other.getKotlinNativeHome())) return false; + } + if (!getModulesList() + .equals(other.getModulesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasGradlePluginVersion()) { + hash = (37 * hash) + GRADLE_PLUGIN_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getGradlePluginVersion().hashCode(); + } + if (hasCoreLibrariesVersion()) { + hash = (37 * hash) + CORE_LIBRARIES_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getCoreLibrariesVersion().hashCode(); + } + if (hasExplicitApiModeCliOption()) { + hash = (37 * hash) + EXPLICIT_API_MODE_CLI_OPTION_FIELD_NUMBER; + hash = (53 * hash) + getExplicitApiModeCliOption().hashCode(); + } + if (hasKotlinNativeHome()) { + hash = (37 * hash) + KOTLIN_NATIVE_HOME_FIELD_NUMBER; + hash = (53 * hash) + getKotlinNativeHome().hashCode(); + } + if (getModulesCount() > 0) { + hash = (37 * hash) + MODULES_FIELD_NUMBER; + hash = (53 * hash) + getModulesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto 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.kpm.idea.proto.IdeaKpmProjectProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + getModulesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + gradlePluginVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + coreLibrariesVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + explicitApiModeCliOption_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + kotlinNativeHome_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + if (modulesBuilder_ == null) { + modules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } else { + modulesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.gradlePluginVersion_ = gradlePluginVersion_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.coreLibrariesVersion_ = coreLibrariesVersion_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.explicitApiModeCliOption_ = explicitApiModeCliOption_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.kotlinNativeHome_ = kotlinNativeHome_; + if (modulesBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + modules_ = java.util.Collections.unmodifiableList(modules_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.modules_ = modules_; + } else { + result.modules_ = modulesBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasGradlePluginVersion()) { + bitField0_ |= 0x00000002; + gradlePluginVersion_ = other.gradlePluginVersion_; + onChanged(); + } + if (other.hasCoreLibrariesVersion()) { + bitField0_ |= 0x00000004; + coreLibrariesVersion_ = other.coreLibrariesVersion_; + onChanged(); + } + if (other.hasExplicitApiModeCliOption()) { + bitField0_ |= 0x00000008; + explicitApiModeCliOption_ = other.explicitApiModeCliOption_; + onChanged(); + } + if (other.hasKotlinNativeHome()) { + bitField0_ |= 0x00000010; + kotlinNativeHome_ = other.kotlinNativeHome_; + onChanged(); + } + if (modulesBuilder_ == null) { + if (!other.modules_.isEmpty()) { + if (modules_.isEmpty()) { + modules_ = other.modules_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureModulesIsMutable(); + modules_.addAll(other.modules_); + } + onChanged(); + } + } else { + if (!other.modules_.isEmpty()) { + if (modulesBuilder_.isEmpty()) { + modulesBuilder_.dispose(); + modulesBuilder_ = null; + modules_ = other.modules_; + bitField0_ = (bitField0_ & ~0x00000020); + modulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getModulesFieldBuilder() : null; + } else { + modulesBuilder_.addAllMessages(other.modules_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private java.lang.Object gradlePluginVersion_ = ""; + /** + * optional string gradle_plugin_version = 2; + * @return Whether the gradlePluginVersion field is set. + */ + public boolean hasGradlePluginVersion() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string gradle_plugin_version = 2; + * @return The gradlePluginVersion. + */ + public java.lang.String getGradlePluginVersion() { + java.lang.Object ref = gradlePluginVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + gradlePluginVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string gradle_plugin_version = 2; + * @return The bytes for gradlePluginVersion. + */ + public com.google.protobuf.ByteString + getGradlePluginVersionBytes() { + java.lang.Object ref = gradlePluginVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gradlePluginVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string gradle_plugin_version = 2; + * @param value The gradlePluginVersion to set. + * @return This builder for chaining. + */ + public Builder setGradlePluginVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + gradlePluginVersion_ = value; + onChanged(); + return this; + } + /** + * optional string gradle_plugin_version = 2; + * @return This builder for chaining. + */ + public Builder clearGradlePluginVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + gradlePluginVersion_ = getDefaultInstance().getGradlePluginVersion(); + onChanged(); + return this; + } + /** + * optional string gradle_plugin_version = 2; + * @param value The bytes for gradlePluginVersion to set. + * @return This builder for chaining. + */ + public Builder setGradlePluginVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + gradlePluginVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object coreLibrariesVersion_ = ""; + /** + * optional string core_libraries_version = 3; + * @return Whether the coreLibrariesVersion field is set. + */ + public boolean hasCoreLibrariesVersion() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string core_libraries_version = 3; + * @return The coreLibrariesVersion. + */ + public java.lang.String getCoreLibrariesVersion() { + java.lang.Object ref = coreLibrariesVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + coreLibrariesVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string core_libraries_version = 3; + * @return The bytes for coreLibrariesVersion. + */ + public com.google.protobuf.ByteString + getCoreLibrariesVersionBytes() { + java.lang.Object ref = coreLibrariesVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + coreLibrariesVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string core_libraries_version = 3; + * @param value The coreLibrariesVersion to set. + * @return This builder for chaining. + */ + public Builder setCoreLibrariesVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + coreLibrariesVersion_ = value; + onChanged(); + return this; + } + /** + * optional string core_libraries_version = 3; + * @return This builder for chaining. + */ + public Builder clearCoreLibrariesVersion() { + bitField0_ = (bitField0_ & ~0x00000004); + coreLibrariesVersion_ = getDefaultInstance().getCoreLibrariesVersion(); + onChanged(); + return this; + } + /** + * optional string core_libraries_version = 3; + * @param value The bytes for coreLibrariesVersion to set. + * @return This builder for chaining. + */ + public Builder setCoreLibrariesVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000004; + coreLibrariesVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object explicitApiModeCliOption_ = ""; + /** + * optional string explicit_api_mode_cli_option = 4; + * @return Whether the explicitApiModeCliOption field is set. + */ + public boolean hasExplicitApiModeCliOption() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @return The explicitApiModeCliOption. + */ + public java.lang.String getExplicitApiModeCliOption() { + java.lang.Object ref = explicitApiModeCliOption_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + explicitApiModeCliOption_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @return The bytes for explicitApiModeCliOption. + */ + public com.google.protobuf.ByteString + getExplicitApiModeCliOptionBytes() { + java.lang.Object ref = explicitApiModeCliOption_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + explicitApiModeCliOption_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @param value The explicitApiModeCliOption to set. + * @return This builder for chaining. + */ + public Builder setExplicitApiModeCliOption( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + explicitApiModeCliOption_ = value; + onChanged(); + return this; + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @return This builder for chaining. + */ + public Builder clearExplicitApiModeCliOption() { + bitField0_ = (bitField0_ & ~0x00000008); + explicitApiModeCliOption_ = getDefaultInstance().getExplicitApiModeCliOption(); + onChanged(); + return this; + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @param value The bytes for explicitApiModeCliOption to set. + * @return This builder for chaining. + */ + public Builder setExplicitApiModeCliOptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000008; + explicitApiModeCliOption_ = value; + onChanged(); + return this; + } + + private java.lang.Object kotlinNativeHome_ = ""; + /** + * optional string kotlin_native_home = 5; + * @return Whether the kotlinNativeHome field is set. + */ + public boolean hasKotlinNativeHome() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional string kotlin_native_home = 5; + * @return The kotlinNativeHome. + */ + public java.lang.String getKotlinNativeHome() { + java.lang.Object ref = kotlinNativeHome_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kotlinNativeHome_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string kotlin_native_home = 5; + * @return The bytes for kotlinNativeHome. + */ + public com.google.protobuf.ByteString + getKotlinNativeHomeBytes() { + java.lang.Object ref = kotlinNativeHome_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kotlinNativeHome_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string kotlin_native_home = 5; + * @param value The kotlinNativeHome to set. + * @return This builder for chaining. + */ + public Builder setKotlinNativeHome( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + kotlinNativeHome_ = value; + onChanged(); + return this; + } + /** + * optional string kotlin_native_home = 5; + * @return This builder for chaining. + */ + public Builder clearKotlinNativeHome() { + bitField0_ = (bitField0_ & ~0x00000010); + kotlinNativeHome_ = getDefaultInstance().getKotlinNativeHome(); + onChanged(); + return this; + } + /** + * optional string kotlin_native_home = 5; + * @param value The bytes for kotlinNativeHome to set. + * @return This builder for chaining. + */ + public Builder setKotlinNativeHomeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000010; + kotlinNativeHome_ = value; + onChanged(); + return this; + } + + private java.util.List modules_ = + java.util.Collections.emptyList(); + private void ensureModulesIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + modules_ = new java.util.ArrayList(modules_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder> modulesBuilder_; + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public java.util.List getModulesList() { + if (modulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(modules_); + } else { + return modulesBuilder_.getMessageList(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public int getModulesCount() { + if (modulesBuilder_ == null) { + return modules_.size(); + } else { + return modulesBuilder_.getCount(); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto getModules(int index) { + if (modulesBuilder_ == null) { + return modules_.get(index); + } else { + return modulesBuilder_.getMessage(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder setModules( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto value) { + if (modulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModulesIsMutable(); + modules_.set(index, value); + onChanged(); + } else { + modulesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder setModules( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder builderForValue) { + if (modulesBuilder_ == null) { + ensureModulesIsMutable(); + modules_.set(index, builderForValue.build()); + onChanged(); + } else { + modulesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder addModules(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto value) { + if (modulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModulesIsMutable(); + modules_.add(value); + onChanged(); + } else { + modulesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder addModules( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto value) { + if (modulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModulesIsMutable(); + modules_.add(index, value); + onChanged(); + } else { + modulesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder addModules( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder builderForValue) { + if (modulesBuilder_ == null) { + ensureModulesIsMutable(); + modules_.add(builderForValue.build()); + onChanged(); + } else { + modulesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder addModules( + int index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder builderForValue) { + if (modulesBuilder_ == null) { + ensureModulesIsMutable(); + modules_.add(index, builderForValue.build()); + onChanged(); + } else { + modulesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder addAllModules( + java.lang.Iterable values) { + if (modulesBuilder_ == null) { + ensureModulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, modules_); + onChanged(); + } else { + modulesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder clearModules() { + if (modulesBuilder_ == null) { + modules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + modulesBuilder_.clear(); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public Builder removeModules(int index) { + if (modulesBuilder_ == null) { + ensureModulesIsMutable(); + modules_.remove(index); + onChanged(); + } else { + modulesBuilder_.remove(index); + } + return this; + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder getModulesBuilder( + int index) { + return getModulesFieldBuilder().getBuilder(index); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder getModulesOrBuilder( + int index) { + if (modulesBuilder_ == null) { + return modules_.get(index); } else { + return modulesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public java.util.List + getModulesOrBuilderList() { + if (modulesBuilder_ != null) { + return modulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(modules_); + } + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder addModulesBuilder() { + return getModulesFieldBuilder().addBuilder( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder addModulesBuilder( + int index) { + return getModulesFieldBuilder().addBuilder( + index, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.getDefaultInstance()); + } + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + public java.util.List + getModulesBuilderList() { + return getModulesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder> + getModulesFieldBuilder() { + if (modulesBuilder_ == null) { + modulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder>( + modules_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + modules_ = null; + } + return modulesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmProjectProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmProjectProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoOrBuilder.java new file mode 100644 index 00000000000..60edce086e4 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoOrBuilder.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmProjectProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional string gradle_plugin_version = 2; + * @return Whether the gradlePluginVersion field is set. + */ + boolean hasGradlePluginVersion(); + /** + * optional string gradle_plugin_version = 2; + * @return The gradlePluginVersion. + */ + java.lang.String getGradlePluginVersion(); + /** + * optional string gradle_plugin_version = 2; + * @return The bytes for gradlePluginVersion. + */ + com.google.protobuf.ByteString + getGradlePluginVersionBytes(); + + /** + * optional string core_libraries_version = 3; + * @return Whether the coreLibrariesVersion field is set. + */ + boolean hasCoreLibrariesVersion(); + /** + * optional string core_libraries_version = 3; + * @return The coreLibrariesVersion. + */ + java.lang.String getCoreLibrariesVersion(); + /** + * optional string core_libraries_version = 3; + * @return The bytes for coreLibrariesVersion. + */ + com.google.protobuf.ByteString + getCoreLibrariesVersionBytes(); + + /** + * optional string explicit_api_mode_cli_option = 4; + * @return Whether the explicitApiModeCliOption field is set. + */ + boolean hasExplicitApiModeCliOption(); + /** + * optional string explicit_api_mode_cli_option = 4; + * @return The explicitApiModeCliOption. + */ + java.lang.String getExplicitApiModeCliOption(); + /** + * optional string explicit_api_mode_cli_option = 4; + * @return The bytes for explicitApiModeCliOption. + */ + com.google.protobuf.ByteString + getExplicitApiModeCliOptionBytes(); + + /** + * optional string kotlin_native_home = 5; + * @return Whether the kotlinNativeHome field is set. + */ + boolean hasKotlinNativeHome(); + /** + * optional string kotlin_native_home = 5; + * @return The kotlinNativeHome. + */ + java.lang.String getKotlinNativeHome(); + /** + * optional string kotlin_native_home = 5; + * @return The bytes for kotlinNativeHome. + */ + com.google.protobuf.ByteString + getKotlinNativeHomeBytes(); + + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + java.util.List + getModulesList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto getModules(int index); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + int getModulesCount(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + java.util.List + getModulesOrBuilderList(); + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoOrBuilder getModulesOrBuilder( + int index); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProto.java new file mode 100644 index 00000000000..dfb490678e8 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProto.java @@ -0,0 +1,1135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto} + */ +final class IdeaKpmResolvedBinaryDependencyProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) + IdeaKpmResolvedBinaryDependencyProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmResolvedBinaryDependencyProto.newBuilder() to construct. + private IdeaKpmResolvedBinaryDependencyProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmResolvedBinaryDependencyProto() { + binaryType_ = ""; + binaryFileAbsolutePath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmResolvedBinaryDependencyProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmResolvedBinaryDependencyProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = coordinates_.toBuilder(); + } + coordinates_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(coordinates_); + coordinates_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + binaryType_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + binaryFileAbsolutePath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int COORDINATES_FIELD_NUMBER = 2; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + @java.lang.Override + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getCoordinates() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } + + public static final int BINARY_TYPE_FIELD_NUMBER = 3; + private volatile java.lang.Object binaryType_; + /** + * optional string binary_type = 3; + * @return Whether the binaryType field is set. + */ + @java.lang.Override + public boolean hasBinaryType() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string binary_type = 3; + * @return The binaryType. + */ + @java.lang.Override + public java.lang.String getBinaryType() { + java.lang.Object ref = binaryType_; + 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(); + binaryType_ = s; + return s; + } + } + /** + * optional string binary_type = 3; + * @return The bytes for binaryType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBinaryTypeBytes() { + java.lang.Object ref = binaryType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + binaryType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BINARY_FILE_ABSOLUTE_PATH_FIELD_NUMBER = 4; + private volatile java.lang.Object binaryFileAbsolutePath_; + /** + * optional string binary_file_absolute_path = 4; + * @return Whether the binaryFileAbsolutePath field is set. + */ + @java.lang.Override + public boolean hasBinaryFileAbsolutePath() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string binary_file_absolute_path = 4; + * @return The binaryFileAbsolutePath. + */ + @java.lang.Override + public java.lang.String getBinaryFileAbsolutePath() { + java.lang.Object ref = binaryFileAbsolutePath_; + 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(); + binaryFileAbsolutePath_ = s; + return s; + } + } + /** + * optional string binary_file_absolute_path = 4; + * @return The bytes for binaryFileAbsolutePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBinaryFileAbsolutePathBytes() { + java.lang.Object ref = binaryFileAbsolutePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + binaryFileAbsolutePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getCoordinates()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, binaryType_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, binaryFileAbsolutePath_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCoordinates()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, binaryType_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, binaryFileAbsolutePath_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasCoordinates() != other.hasCoordinates()) return false; + if (hasCoordinates()) { + if (!getCoordinates() + .equals(other.getCoordinates())) return false; + } + if (hasBinaryType() != other.hasBinaryType()) return false; + if (hasBinaryType()) { + if (!getBinaryType() + .equals(other.getBinaryType())) return false; + } + if (hasBinaryFileAbsolutePath() != other.hasBinaryFileAbsolutePath()) return false; + if (hasBinaryFileAbsolutePath()) { + if (!getBinaryFileAbsolutePath() + .equals(other.getBinaryFileAbsolutePath())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasCoordinates()) { + hash = (37 * hash) + COORDINATES_FIELD_NUMBER; + hash = (53 * hash) + getCoordinates().hashCode(); + } + if (hasBinaryType()) { + hash = (37 * hash) + BINARY_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getBinaryType().hashCode(); + } + if (hasBinaryFileAbsolutePath()) { + hash = (37 * hash) + BINARY_FILE_ABSOLUTE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getBinaryFileAbsolutePath().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto 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.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + getCoordinatesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (coordinatesBuilder_ == null) { + coordinates_ = null; + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + binaryType_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + binaryFileAbsolutePath_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (coordinatesBuilder_ == null) { + result.coordinates_ = coordinates_; + } else { + result.coordinates_ = coordinatesBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.binaryType_ = binaryType_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.binaryFileAbsolutePath_ = binaryFileAbsolutePath_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasCoordinates()) { + mergeCoordinates(other.getCoordinates()); + } + if (other.hasBinaryType()) { + bitField0_ |= 0x00000004; + binaryType_ = other.binaryType_; + onChanged(); + } + if (other.hasBinaryFileAbsolutePath()) { + bitField0_ |= 0x00000008; + binaryFileAbsolutePath_ = other.binaryFileAbsolutePath_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder> coordinatesBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getCoordinates() { + if (coordinatesBuilder_ == null) { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } else { + return coordinatesBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinates_ = value; + onChanged(); + } else { + coordinatesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder builderForValue) { + if (coordinatesBuilder_ == null) { + coordinates_ = builderForValue.build(); + onChanged(); + } else { + coordinatesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder mergeCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + coordinates_ != null && + coordinates_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance()) { + coordinates_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.newBuilder(coordinates_).mergeFrom(value).buildPartial(); + } else { + coordinates_ = value; + } + onChanged(); + } else { + coordinatesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder clearCoordinates() { + if (coordinatesBuilder_ == null) { + coordinates_ = null; + onChanged(); + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder getCoordinatesBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCoordinatesFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + if (coordinatesBuilder_ != null) { + return coordinatesBuilder_.getMessageOrBuilder(); + } else { + return coordinates_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder> + getCoordinatesFieldBuilder() { + if (coordinatesBuilder_ == null) { + coordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder>( + getCoordinates(), + getParentForChildren(), + isClean()); + coordinates_ = null; + } + return coordinatesBuilder_; + } + + private java.lang.Object binaryType_ = ""; + /** + * optional string binary_type = 3; + * @return Whether the binaryType field is set. + */ + public boolean hasBinaryType() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string binary_type = 3; + * @return The binaryType. + */ + public java.lang.String getBinaryType() { + java.lang.Object ref = binaryType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + binaryType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string binary_type = 3; + * @return The bytes for binaryType. + */ + public com.google.protobuf.ByteString + getBinaryTypeBytes() { + java.lang.Object ref = binaryType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + binaryType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string binary_type = 3; + * @param value The binaryType to set. + * @return This builder for chaining. + */ + public Builder setBinaryType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + binaryType_ = value; + onChanged(); + return this; + } + /** + * optional string binary_type = 3; + * @return This builder for chaining. + */ + public Builder clearBinaryType() { + bitField0_ = (bitField0_ & ~0x00000004); + binaryType_ = getDefaultInstance().getBinaryType(); + onChanged(); + return this; + } + /** + * optional string binary_type = 3; + * @param value The bytes for binaryType to set. + * @return This builder for chaining. + */ + public Builder setBinaryTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000004; + binaryType_ = value; + onChanged(); + return this; + } + + private java.lang.Object binaryFileAbsolutePath_ = ""; + /** + * optional string binary_file_absolute_path = 4; + * @return Whether the binaryFileAbsolutePath field is set. + */ + public boolean hasBinaryFileAbsolutePath() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string binary_file_absolute_path = 4; + * @return The binaryFileAbsolutePath. + */ + public java.lang.String getBinaryFileAbsolutePath() { + java.lang.Object ref = binaryFileAbsolutePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + binaryFileAbsolutePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string binary_file_absolute_path = 4; + * @return The bytes for binaryFileAbsolutePath. + */ + public com.google.protobuf.ByteString + getBinaryFileAbsolutePathBytes() { + java.lang.Object ref = binaryFileAbsolutePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + binaryFileAbsolutePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string binary_file_absolute_path = 4; + * @param value The binaryFileAbsolutePath to set. + * @return This builder for chaining. + */ + public Builder setBinaryFileAbsolutePath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + binaryFileAbsolutePath_ = value; + onChanged(); + return this; + } + /** + * optional string binary_file_absolute_path = 4; + * @return This builder for chaining. + */ + public Builder clearBinaryFileAbsolutePath() { + bitField0_ = (bitField0_ & ~0x00000008); + binaryFileAbsolutePath_ = getDefaultInstance().getBinaryFileAbsolutePath(); + onChanged(); + return this; + } + /** + * optional string binary_file_absolute_path = 4; + * @param value The bytes for binaryFileAbsolutePath to set. + * @return This builder for chaining. + */ + public Builder setBinaryFileAbsolutePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000008; + binaryFileAbsolutePath_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmResolvedBinaryDependencyProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmResolvedBinaryDependencyProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoOrBuilder.java new file mode 100644 index 00000000000..b7b65dc5268 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmResolvedBinaryDependencyProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + boolean hasCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder getCoordinatesOrBuilder(); + + /** + * optional string binary_type = 3; + * @return Whether the binaryType field is set. + */ + boolean hasBinaryType(); + /** + * optional string binary_type = 3; + * @return The binaryType. + */ + java.lang.String getBinaryType(); + /** + * optional string binary_type = 3; + * @return The bytes for binaryType. + */ + com.google.protobuf.ByteString + getBinaryTypeBytes(); + + /** + * optional string binary_file_absolute_path = 4; + * @return Whether the binaryFileAbsolutePath field is set. + */ + boolean hasBinaryFileAbsolutePath(); + /** + * optional string binary_file_absolute_path = 4; + * @return The binaryFileAbsolutePath. + */ + java.lang.String getBinaryFileAbsolutePath(); + /** + * optional string binary_file_absolute_path = 4; + * @return The bytes for binaryFileAbsolutePath. + */ + com.google.protobuf.ByteString + getBinaryFileAbsolutePathBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProto.java new file mode 100644 index 00000000000..a4bf9f6c0f7 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProto.java @@ -0,0 +1,780 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto} + */ +final class IdeaKpmResourceDirectoryProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) + IdeaKpmResourceDirectoryProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmResourceDirectoryProto.newBuilder() to construct. + private IdeaKpmResourceDirectoryProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmResourceDirectoryProto() { + absolutePath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmResourceDirectoryProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmResourceDirectoryProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + absolutePath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int ABSOLUTE_PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object absolutePath_; + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + @java.lang.Override + public boolean hasAbsolutePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string absolute_path = 2; + * @return The absolutePath. + */ + @java.lang.Override + public java.lang.String getAbsolutePath() { + java.lang.Object ref = absolutePath_; + 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(); + absolutePath_ = s; + return s; + } + } + /** + * optional string absolute_path = 2; + * @return The bytes for absolutePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAbsolutePathBytes() { + java.lang.Object ref = absolutePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + absolutePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, absolutePath_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, absolutePath_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasAbsolutePath() != other.hasAbsolutePath()) return false; + if (hasAbsolutePath()) { + if (!getAbsolutePath() + .equals(other.getAbsolutePath())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasAbsolutePath()) { + hash = (37 * hash) + ABSOLUTE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getAbsolutePath().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto 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.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + absolutePath_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.absolutePath_ = absolutePath_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasAbsolutePath()) { + bitField0_ |= 0x00000002; + absolutePath_ = other.absolutePath_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private java.lang.Object absolutePath_ = ""; + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + public boolean hasAbsolutePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string absolute_path = 2; + * @return The absolutePath. + */ + public java.lang.String getAbsolutePath() { + java.lang.Object ref = absolutePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + absolutePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string absolute_path = 2; + * @return The bytes for absolutePath. + */ + public com.google.protobuf.ByteString + getAbsolutePathBytes() { + java.lang.Object ref = absolutePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + absolutePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string absolute_path = 2; + * @param value The absolutePath to set. + * @return This builder for chaining. + */ + public Builder setAbsolutePath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + absolutePath_ = value; + onChanged(); + return this; + } + /** + * optional string absolute_path = 2; + * @return This builder for chaining. + */ + public Builder clearAbsolutePath() { + bitField0_ = (bitField0_ & ~0x00000002); + absolutePath_ = getDefaultInstance().getAbsolutePath(); + onChanged(); + return this; + } + /** + * optional string absolute_path = 2; + * @param value The bytes for absolutePath to set. + * @return This builder for chaining. + */ + public Builder setAbsolutePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + absolutePath_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmResourceDirectoryProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmResourceDirectoryProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoOrBuilder.java new file mode 100644 index 00000000000..b9d24f5650d --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmResourceDirectoryProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + boolean hasAbsolutePath(); + /** + * optional string absolute_path = 2; + * @return The absolutePath. + */ + java.lang.String getAbsolutePath(); + /** + * optional string absolute_path = 2; + * @return The bytes for absolutePath. + */ + com.google.protobuf.ByteString + getAbsolutePathBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProto.java new file mode 100644 index 00000000000..aaab6e57362 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProto.java @@ -0,0 +1,851 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto} + */ +final class IdeaKpmSchemaInfoProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) + IdeaKpmSchemaInfoProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmSchemaInfoProto.newBuilder() to construct. + private IdeaKpmSchemaInfoProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmSchemaInfoProto() { + message_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmSchemaInfoProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmSchemaInfoProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + sinceSchemaVersionMajor_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + sinceSchemaVersionMinor_ = input.readUInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + sinceSchemaVersionPatch_ = input.readUInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + message_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder.class); + } + + private int bitField0_; + public static final int SINCE_SCHEMA_VERSION_MAJOR_FIELD_NUMBER = 1; + private int sinceSchemaVersionMajor_; + /** + * optional uint32 since_schema_version_major = 1; + * @return Whether the sinceSchemaVersionMajor field is set. + */ + @java.lang.Override + public boolean hasSinceSchemaVersionMajor() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional uint32 since_schema_version_major = 1; + * @return The sinceSchemaVersionMajor. + */ + @java.lang.Override + public int getSinceSchemaVersionMajor() { + return sinceSchemaVersionMajor_; + } + + public static final int SINCE_SCHEMA_VERSION_MINOR_FIELD_NUMBER = 2; + private int sinceSchemaVersionMinor_; + /** + * optional uint32 since_schema_version_minor = 2; + * @return Whether the sinceSchemaVersionMinor field is set. + */ + @java.lang.Override + public boolean hasSinceSchemaVersionMinor() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional uint32 since_schema_version_minor = 2; + * @return The sinceSchemaVersionMinor. + */ + @java.lang.Override + public int getSinceSchemaVersionMinor() { + return sinceSchemaVersionMinor_; + } + + public static final int SINCE_SCHEMA_VERSION_PATCH_FIELD_NUMBER = 3; + private int sinceSchemaVersionPatch_; + /** + * optional uint32 since_schema_version_patch = 3; + * @return Whether the sinceSchemaVersionPatch field is set. + */ + @java.lang.Override + public boolean hasSinceSchemaVersionPatch() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional uint32 since_schema_version_patch = 3; + * @return The sinceSchemaVersionPatch. + */ + @java.lang.Override + public int getSinceSchemaVersionPatch() { + return sinceSchemaVersionPatch_; + } + + public static final int MESSAGE_FIELD_NUMBER = 4; + private volatile java.lang.Object message_; + /** + * optional string message = 4; + * @return Whether the message field is set. + */ + @java.lang.Override + public boolean hasMessage() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string message = 4; + * @return The message. + */ + @java.lang.Override + public java.lang.String getMessage() { + java.lang.Object ref = message_; + 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(); + message_ = s; + return s; + } + } + /** + * optional string message = 4; + * @return The bytes for message. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, sinceSchemaVersionMajor_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(2, sinceSchemaVersionMinor_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeUInt32(3, sinceSchemaVersionPatch_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, message_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, sinceSchemaVersionMajor_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, sinceSchemaVersionMinor_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, sinceSchemaVersionPatch_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, message_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) obj; + + if (hasSinceSchemaVersionMajor() != other.hasSinceSchemaVersionMajor()) return false; + if (hasSinceSchemaVersionMajor()) { + if (getSinceSchemaVersionMajor() + != other.getSinceSchemaVersionMajor()) return false; + } + if (hasSinceSchemaVersionMinor() != other.hasSinceSchemaVersionMinor()) return false; + if (hasSinceSchemaVersionMinor()) { + if (getSinceSchemaVersionMinor() + != other.getSinceSchemaVersionMinor()) return false; + } + if (hasSinceSchemaVersionPatch() != other.hasSinceSchemaVersionPatch()) return false; + if (hasSinceSchemaVersionPatch()) { + if (getSinceSchemaVersionPatch() + != other.getSinceSchemaVersionPatch()) return false; + } + if (hasMessage() != other.hasMessage()) return false; + if (hasMessage()) { + if (!getMessage() + .equals(other.getMessage())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSinceSchemaVersionMajor()) { + hash = (37 * hash) + SINCE_SCHEMA_VERSION_MAJOR_FIELD_NUMBER; + hash = (53 * hash) + getSinceSchemaVersionMajor(); + } + if (hasSinceSchemaVersionMinor()) { + hash = (37 * hash) + SINCE_SCHEMA_VERSION_MINOR_FIELD_NUMBER; + hash = (53 * hash) + getSinceSchemaVersionMinor(); + } + if (hasSinceSchemaVersionPatch()) { + hash = (37 * hash) + SINCE_SCHEMA_VERSION_PATCH_FIELD_NUMBER; + hash = (53 * hash) + getSinceSchemaVersionPatch(); + } + if (hasMessage()) { + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto 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.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + sinceSchemaVersionMajor_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + sinceSchemaVersionMinor_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + sinceSchemaVersionPatch_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + message_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sinceSchemaVersionMajor_ = sinceSchemaVersionMajor_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sinceSchemaVersionMinor_ = sinceSchemaVersionMinor_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sinceSchemaVersionPatch_ = sinceSchemaVersionPatch_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.message_ = message_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.getDefaultInstance()) return this; + if (other.hasSinceSchemaVersionMajor()) { + setSinceSchemaVersionMajor(other.getSinceSchemaVersionMajor()); + } + if (other.hasSinceSchemaVersionMinor()) { + setSinceSchemaVersionMinor(other.getSinceSchemaVersionMinor()); + } + if (other.hasSinceSchemaVersionPatch()) { + setSinceSchemaVersionPatch(other.getSinceSchemaVersionPatch()); + } + if (other.hasMessage()) { + bitField0_ |= 0x00000008; + message_ = other.message_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int sinceSchemaVersionMajor_ ; + /** + * optional uint32 since_schema_version_major = 1; + * @return Whether the sinceSchemaVersionMajor field is set. + */ + @java.lang.Override + public boolean hasSinceSchemaVersionMajor() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional uint32 since_schema_version_major = 1; + * @return The sinceSchemaVersionMajor. + */ + @java.lang.Override + public int getSinceSchemaVersionMajor() { + return sinceSchemaVersionMajor_; + } + /** + * optional uint32 since_schema_version_major = 1; + * @param value The sinceSchemaVersionMajor to set. + * @return This builder for chaining. + */ + public Builder setSinceSchemaVersionMajor(int value) { + bitField0_ |= 0x00000001; + sinceSchemaVersionMajor_ = value; + onChanged(); + return this; + } + /** + * optional uint32 since_schema_version_major = 1; + * @return This builder for chaining. + */ + public Builder clearSinceSchemaVersionMajor() { + bitField0_ = (bitField0_ & ~0x00000001); + sinceSchemaVersionMajor_ = 0; + onChanged(); + return this; + } + + private int sinceSchemaVersionMinor_ ; + /** + * optional uint32 since_schema_version_minor = 2; + * @return Whether the sinceSchemaVersionMinor field is set. + */ + @java.lang.Override + public boolean hasSinceSchemaVersionMinor() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional uint32 since_schema_version_minor = 2; + * @return The sinceSchemaVersionMinor. + */ + @java.lang.Override + public int getSinceSchemaVersionMinor() { + return sinceSchemaVersionMinor_; + } + /** + * optional uint32 since_schema_version_minor = 2; + * @param value The sinceSchemaVersionMinor to set. + * @return This builder for chaining. + */ + public Builder setSinceSchemaVersionMinor(int value) { + bitField0_ |= 0x00000002; + sinceSchemaVersionMinor_ = value; + onChanged(); + return this; + } + /** + * optional uint32 since_schema_version_minor = 2; + * @return This builder for chaining. + */ + public Builder clearSinceSchemaVersionMinor() { + bitField0_ = (bitField0_ & ~0x00000002); + sinceSchemaVersionMinor_ = 0; + onChanged(); + return this; + } + + private int sinceSchemaVersionPatch_ ; + /** + * optional uint32 since_schema_version_patch = 3; + * @return Whether the sinceSchemaVersionPatch field is set. + */ + @java.lang.Override + public boolean hasSinceSchemaVersionPatch() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional uint32 since_schema_version_patch = 3; + * @return The sinceSchemaVersionPatch. + */ + @java.lang.Override + public int getSinceSchemaVersionPatch() { + return sinceSchemaVersionPatch_; + } + /** + * optional uint32 since_schema_version_patch = 3; + * @param value The sinceSchemaVersionPatch to set. + * @return This builder for chaining. + */ + public Builder setSinceSchemaVersionPatch(int value) { + bitField0_ |= 0x00000004; + sinceSchemaVersionPatch_ = value; + onChanged(); + return this; + } + /** + * optional uint32 since_schema_version_patch = 3; + * @return This builder for chaining. + */ + public Builder clearSinceSchemaVersionPatch() { + bitField0_ = (bitField0_ & ~0x00000004); + sinceSchemaVersionPatch_ = 0; + onChanged(); + return this; + } + + private java.lang.Object message_ = ""; + /** + * optional string message = 4; + * @return Whether the message field is set. + */ + public boolean hasMessage() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string message = 4; + * @return The message. + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string message = 4; + * @return The bytes for message. + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string message = 4; + * @param value The message to set. + * @return This builder for chaining. + */ + public Builder setMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + message_ = value; + onChanged(); + return this; + } + /** + * optional string message = 4; + * @return This builder for chaining. + */ + public Builder clearMessage() { + bitField0_ = (bitField0_ & ~0x00000008); + message_ = getDefaultInstance().getMessage(); + onChanged(); + return this; + } + /** + * optional string message = 4; + * @param value The bytes for message to set. + * @return This builder for chaining. + */ + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000008; + message_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmSchemaInfoProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmSchemaInfoProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoOrBuilder.java new file mode 100644 index 00000000000..fc16c6fe5d7 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoOrBuilder.java @@ -0,0 +1,59 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmSchemaInfoProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional uint32 since_schema_version_major = 1; + * @return Whether the sinceSchemaVersionMajor field is set. + */ + boolean hasSinceSchemaVersionMajor(); + /** + * optional uint32 since_schema_version_major = 1; + * @return The sinceSchemaVersionMajor. + */ + int getSinceSchemaVersionMajor(); + + /** + * optional uint32 since_schema_version_minor = 2; + * @return Whether the sinceSchemaVersionMinor field is set. + */ + boolean hasSinceSchemaVersionMinor(); + /** + * optional uint32 since_schema_version_minor = 2; + * @return The sinceSchemaVersionMinor. + */ + int getSinceSchemaVersionMinor(); + + /** + * optional uint32 since_schema_version_patch = 3; + * @return Whether the sinceSchemaVersionPatch field is set. + */ + boolean hasSinceSchemaVersionPatch(); + /** + * optional uint32 since_schema_version_patch = 3; + * @return The sinceSchemaVersionPatch. + */ + int getSinceSchemaVersionPatch(); + + /** + * optional string message = 4; + * @return Whether the message field is set. + */ + boolean hasMessage(); + /** + * optional string message = 4; + * @return The message. + */ + java.lang.String getMessage(); + /** + * optional string message = 4; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProto.java new file mode 100644 index 00000000000..99882b2998f --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProto.java @@ -0,0 +1,942 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto} + */ +final class IdeaKpmSourceDirectoryProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) + IdeaKpmSourceDirectoryProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmSourceDirectoryProto.newBuilder() to construct. + private IdeaKpmSourceDirectoryProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmSourceDirectoryProto() { + absolutePath_ = ""; + type_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmSourceDirectoryProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmSourceDirectoryProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + absolutePath_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + type_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int ABSOLUTE_PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object absolutePath_; + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + @java.lang.Override + public boolean hasAbsolutePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string absolute_path = 2; + * @return The absolutePath. + */ + @java.lang.Override + public java.lang.String getAbsolutePath() { + java.lang.Object ref = absolutePath_; + 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(); + absolutePath_ = s; + return s; + } + } + /** + * optional string absolute_path = 2; + * @return The bytes for absolutePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAbsolutePathBytes() { + java.lang.Object ref = absolutePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + absolutePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 3; + private volatile java.lang.Object type_; + /** + * optional string type = 3; + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string type = 3; + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + 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(); + type_ = s; + return s; + } + } + /** + * optional string type = 3; + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, absolutePath_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, absolutePath_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasAbsolutePath() != other.hasAbsolutePath()) return false; + if (hasAbsolutePath()) { + if (!getAbsolutePath() + .equals(other.getAbsolutePath())) return false; + } + if (hasType() != other.hasType()) return false; + if (hasType()) { + if (!getType() + .equals(other.getType())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasAbsolutePath()) { + hash = (37 * hash) + ABSOLUTE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getAbsolutePath().hashCode(); + } + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto 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.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + absolutePath_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + type_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.absolutePath_ = absolutePath_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.type_ = type_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasAbsolutePath()) { + bitField0_ |= 0x00000002; + absolutePath_ = other.absolutePath_; + onChanged(); + } + if (other.hasType()) { + bitField0_ |= 0x00000004; + type_ = other.type_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private java.lang.Object absolutePath_ = ""; + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + public boolean hasAbsolutePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string absolute_path = 2; + * @return The absolutePath. + */ + public java.lang.String getAbsolutePath() { + java.lang.Object ref = absolutePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + absolutePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string absolute_path = 2; + * @return The bytes for absolutePath. + */ + public com.google.protobuf.ByteString + getAbsolutePathBytes() { + java.lang.Object ref = absolutePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + absolutePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string absolute_path = 2; + * @param value The absolutePath to set. + * @return This builder for chaining. + */ + public Builder setAbsolutePath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + absolutePath_ = value; + onChanged(); + return this; + } + /** + * optional string absolute_path = 2; + * @return This builder for chaining. + */ + public Builder clearAbsolutePath() { + bitField0_ = (bitField0_ & ~0x00000002); + absolutePath_ = getDefaultInstance().getAbsolutePath(); + onChanged(); + return this; + } + /** + * optional string absolute_path = 2; + * @param value The bytes for absolutePath to set. + * @return This builder for chaining. + */ + public Builder setAbsolutePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + absolutePath_ = value; + onChanged(); + return this; + } + + private java.lang.Object type_ = ""; + /** + * optional string type = 3; + * @return Whether the type field is set. + */ + public boolean hasType() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string type = 3; + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string type = 3; + * @return The bytes for type. + */ + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string type = 3; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + type_ = value; + onChanged(); + return this; + } + /** + * optional string type = 3; + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000004); + type_ = getDefaultInstance().getType(); + onChanged(); + return this; + } + /** + * optional string type = 3; + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000004; + type_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmSourceDirectoryProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmSourceDirectoryProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoOrBuilder.java new file mode 100644 index 00000000000..7891e4ea87a --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmSourceDirectoryProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + boolean hasAbsolutePath(); + /** + * optional string absolute_path = 2; + * @return The absolutePath. + */ + java.lang.String getAbsolutePath(); + /** + * optional string absolute_path = 2; + * @return The bytes for absolutePath. + */ + com.google.protobuf.ByteString + getAbsolutePathBytes(); + + /** + * optional string type = 3; + * @return Whether the type field is set. + */ + boolean hasType(); + /** + * optional string type = 3; + * @return The type. + */ + java.lang.String getType(); + /** + * optional string type = 3; + * @return The bytes for type. + */ + com.google.protobuf.ByteString + getTypeBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProto.java new file mode 100644 index 00000000000..02341859a9d --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProto.java @@ -0,0 +1,618 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto} + */ +final class IdeaKpmUnknownPlatformProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) + IdeaKpmUnknownPlatformProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmUnknownPlatformProto.newBuilder() to construct. + private IdeaKpmUnknownPlatformProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmUnknownPlatformProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmUnknownPlatformProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmUnknownPlatformProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto 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.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmUnknownPlatformProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmUnknownPlatformProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoOrBuilder.java new file mode 100644 index 00000000000..9d0cc680eb1 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmUnknownPlatformProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProto.java new file mode 100644 index 00000000000..ab75b972c8c --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProto.java @@ -0,0 +1,973 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto} + */ +final class IdeaKpmUnresolvedBinaryDependencyProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) + IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmUnresolvedBinaryDependencyProto.newBuilder() to construct. + private IdeaKpmUnresolvedBinaryDependencyProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmUnresolvedBinaryDependencyProto() { + cause_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmUnresolvedBinaryDependencyProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmUnresolvedBinaryDependencyProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = coordinates_.toBuilder(); + } + coordinates_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(coordinates_); + coordinates_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + cause_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + public static final int COORDINATES_FIELD_NUMBER = 2; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + @java.lang.Override + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getCoordinates() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } + + public static final int CAUSE_FIELD_NUMBER = 3; + private volatile java.lang.Object cause_; + /** + * optional string cause = 3; + * @return Whether the cause field is set. + */ + @java.lang.Override + public boolean hasCause() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string cause = 3; + * @return The cause. + */ + @java.lang.Override + public java.lang.String getCause() { + java.lang.Object ref = cause_; + 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(); + cause_ = s; + return s; + } + } + /** + * optional string cause = 3; + * @return The bytes for cause. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCauseBytes() { + java.lang.Object ref = cause_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cause_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getCoordinates()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cause_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCoordinates()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cause_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (hasCoordinates() != other.hasCoordinates()) return false; + if (hasCoordinates()) { + if (!getCoordinates() + .equals(other.getCoordinates())) return false; + } + if (hasCause() != other.hasCause()) return false; + if (hasCause()) { + if (!getCause() + .equals(other.getCause())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + if (hasCoordinates()) { + hash = (37 * hash) + COORDINATES_FIELD_NUMBER; + hash = (53 * hash) + getCoordinates().hashCode(); + } + if (hasCause()) { + hash = (37 * hash) + CAUSE_FIELD_NUMBER; + hash = (53 * hash) + getCause().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto 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.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + getCoordinatesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (coordinatesBuilder_ == null) { + coordinates_ = null; + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + cause_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (coordinatesBuilder_ == null) { + result.coordinates_ = coordinates_; + } else { + result.coordinates_ = coordinatesBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.cause_ = cause_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + if (other.hasCoordinates()) { + mergeCoordinates(other.getCoordinates()); + } + if (other.hasCause()) { + bitField0_ |= 0x00000004; + cause_ = other.cause_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder> coordinatesBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + public boolean hasCoordinates() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getCoordinates() { + if (coordinatesBuilder_ == null) { + return coordinates_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } else { + return coordinatesBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinates_ = value; + onChanged(); + } else { + coordinatesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder setCoordinates( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder builderForValue) { + if (coordinatesBuilder_ == null) { + coordinates_ = builderForValue.build(); + onChanged(); + } else { + coordinatesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder mergeCoordinates(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto value) { + if (coordinatesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + coordinates_ != null && + coordinates_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance()) { + coordinates_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.newBuilder(coordinates_).mergeFrom(value).buildPartial(); + } else { + coordinates_ = value; + } + onChanged(); + } else { + coordinatesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public Builder clearCoordinates() { + if (coordinatesBuilder_ == null) { + coordinates_ = null; + onChanged(); + } else { + coordinatesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder getCoordinatesBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCoordinatesFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder getCoordinatesOrBuilder() { + if (coordinatesBuilder_ != null) { + return coordinatesBuilder_.getMessageOrBuilder(); + } else { + return coordinates_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.getDefaultInstance() : coordinates_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder> + getCoordinatesFieldBuilder() { + if (coordinatesBuilder_ == null) { + coordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder>( + getCoordinates(), + getParentForChildren(), + isClean()); + coordinates_ = null; + } + return coordinatesBuilder_; + } + + private java.lang.Object cause_ = ""; + /** + * optional string cause = 3; + * @return Whether the cause field is set. + */ + public boolean hasCause() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string cause = 3; + * @return The cause. + */ + public java.lang.String getCause() { + java.lang.Object ref = cause_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cause_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string cause = 3; + * @return The bytes for cause. + */ + public com.google.protobuf.ByteString + getCauseBytes() { + java.lang.Object ref = cause_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cause_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string cause = 3; + * @param value The cause to set. + * @return This builder for chaining. + */ + public Builder setCause( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + cause_ = value; + onChanged(); + return this; + } + /** + * optional string cause = 3; + * @return This builder for chaining. + */ + public Builder clearCause() { + bitField0_ = (bitField0_ & ~0x00000004); + cause_ = getDefaultInstance().getCause(); + onChanged(); + return this; + } + /** + * optional string cause = 3; + * @param value The bytes for cause to set. + * @return This builder for chaining. + */ + public Builder setCauseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000004; + cause_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmUnresolvedBinaryDependencyProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmUnresolvedBinaryDependencyProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder.java new file mode 100644 index 00000000000..7c08b27b686 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmUnresolvedBinaryDependencyProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + boolean hasCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return The coordinates. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto getCoordinates(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoOrBuilder getCoordinatesOrBuilder(); + + /** + * optional string cause = 3; + * @return Whether the cause field is set. + */ + boolean hasCause(); + /** + * optional string cause = 3; + * @return The cause. + */ + java.lang.String getCause(); + /** + * optional string cause = 3; + * @return The bytes for cause. + */ + com.google.protobuf.ByteString + getCauseBytes(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProto.java new file mode 100644 index 00000000000..ce47d539851 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProto.java @@ -0,0 +1,1290 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto} + */ +final class IdeaKpmVariantProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) + IdeaKpmVariantProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmVariantProto.newBuilder() to construct. + private IdeaKpmVariantProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmVariantProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmVariantProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmVariantProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = fragment_.toBuilder(); + } + fragment_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fragment_); + fragment_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = platform_.toBuilder(); + } + platform_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(platform_); + platform_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + variantAttributes_ = com.google.protobuf.MapField.newMapField( + VariantAttributesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry + variantAttributes__ = input.readMessage( + VariantAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + variantAttributes_.getMutableMap().put( + variantAttributes__.getKey(), variantAttributes__.getValue()); + break; + } + case 34: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = compilationOutput_.toBuilder(); + } + compilationOutput_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compilationOutput_); + compilationOutput_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetVariantAttributes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder.class); + } + + private int bitField0_; + public static final int FRAGMENT_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return Whether the fragment field is set. + */ + @java.lang.Override + public boolean hasFragment() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return The fragment. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getFragment() { + return fragment_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance() : fragment_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder getFragmentOrBuilder() { + return fragment_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance() : fragment_; + } + + public static final int PLATFORM_FIELD_NUMBER = 2; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return Whether the platform field is set. + */ + @java.lang.Override + public boolean hasPlatform() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return The platform. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getPlatform() { + return platform_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance() : platform_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder getPlatformOrBuilder() { + return platform_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance() : platform_; + } + + public static final int VARIANT_ATTRIBUTES_FIELD_NUMBER = 3; + private static final class VariantAttributesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_VariantAttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> variantAttributes_; + private com.google.protobuf.MapField + internalGetVariantAttributes() { + if (variantAttributes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + VariantAttributesDefaultEntryHolder.defaultEntry); + } + return variantAttributes_; + } + + public int getVariantAttributesCount() { + return internalGetVariantAttributes().getMap().size(); + } + /** + * map<string, string> variant_attributes = 3; + */ + + @java.lang.Override + public boolean containsVariantAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVariantAttributes().getMap().containsKey(key); + } + /** + * Use {@link #getVariantAttributesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVariantAttributes() { + return getVariantAttributesMap(); + } + /** + * map<string, string> variant_attributes = 3; + */ + @java.lang.Override + + public java.util.Map getVariantAttributesMap() { + return internalGetVariantAttributes().getMap(); + } + /** + * map<string, string> variant_attributes = 3; + */ + @java.lang.Override + + public java.lang.String getVariantAttributesOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariantAttributes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> variant_attributes = 3; + */ + @java.lang.Override + + public java.lang.String getVariantAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariantAttributes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int COMPILATION_OUTPUT_FIELD_NUMBER = 4; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilationOutput_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return Whether the compilationOutput field is set. + */ + @java.lang.Override + public boolean hasCompilationOutput() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return The compilationOutput. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto getCompilationOutput() { + return compilationOutput_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance() : compilationOutput_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder getCompilationOutputOrBuilder() { + return compilationOutput_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance() : compilationOutput_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getFragment()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getPlatform()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetVariantAttributes(), + VariantAttributesDefaultEntryHolder.defaultEntry, + 3); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getCompilationOutput()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFragment()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPlatform()); + } + for (java.util.Map.Entry entry + : internalGetVariantAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry + variantAttributes__ = VariantAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, variantAttributes__); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCompilationOutput()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) obj; + + if (hasFragment() != other.hasFragment()) return false; + if (hasFragment()) { + if (!getFragment() + .equals(other.getFragment())) return false; + } + if (hasPlatform() != other.hasPlatform()) return false; + if (hasPlatform()) { + if (!getPlatform() + .equals(other.getPlatform())) return false; + } + if (!internalGetVariantAttributes().equals( + other.internalGetVariantAttributes())) return false; + if (hasCompilationOutput() != other.hasCompilationOutput()) return false; + if (hasCompilationOutput()) { + if (!getCompilationOutput() + .equals(other.getCompilationOutput())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFragment()) { + hash = (37 * hash) + FRAGMENT_FIELD_NUMBER; + hash = (53 * hash) + getFragment().hashCode(); + } + if (hasPlatform()) { + hash = (37 * hash) + PLATFORM_FIELD_NUMBER; + hash = (53 * hash) + getPlatform().hashCode(); + } + if (!internalGetVariantAttributes().getMap().isEmpty()) { + hash = (37 * hash) + VARIANT_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + internalGetVariantAttributes().hashCode(); + } + if (hasCompilationOutput()) { + hash = (37 * hash) + COMPILATION_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getCompilationOutput().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto 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.kpm.idea.proto.IdeaKpmVariantProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetVariantAttributes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 3: + return internalGetMutableVariantAttributes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getFragmentFieldBuilder(); + getPlatformFieldBuilder(); + getCompilationOutputFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (fragmentBuilder_ == null) { + fragment_ = null; + } else { + fragmentBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (platformBuilder_ == null) { + platform_ = null; + } else { + platformBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableVariantAttributes().clear(); + if (compilationOutputBuilder_ == null) { + compilationOutput_ = null; + } else { + compilationOutputBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (fragmentBuilder_ == null) { + result.fragment_ = fragment_; + } else { + result.fragment_ = fragmentBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (platformBuilder_ == null) { + result.platform_ = platform_; + } else { + result.platform_ = platformBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + result.variantAttributes_ = internalGetVariantAttributes(); + result.variantAttributes_.makeImmutable(); + if (((from_bitField0_ & 0x00000008) != 0)) { + if (compilationOutputBuilder_ == null) { + result.compilationOutput_ = compilationOutput_; + } else { + result.compilationOutput_ = compilationOutputBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.getDefaultInstance()) return this; + if (other.hasFragment()) { + mergeFragment(other.getFragment()); + } + if (other.hasPlatform()) { + mergePlatform(other.getPlatform()); + } + internalGetMutableVariantAttributes().mergeFrom( + other.internalGetVariantAttributes()); + if (other.hasCompilationOutput()) { + mergeCompilationOutput(other.getCompilationOutput()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder> fragmentBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return Whether the fragment field is set. + */ + public boolean hasFragment() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return The fragment. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getFragment() { + if (fragmentBuilder_ == null) { + return fragment_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance() : fragment_; + } else { + return fragmentBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + public Builder setFragment(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto value) { + if (fragmentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fragment_ = value; + onChanged(); + } else { + fragmentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + public Builder setFragment( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder builderForValue) { + if (fragmentBuilder_ == null) { + fragment_ = builderForValue.build(); + onChanged(); + } else { + fragmentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + public Builder mergeFragment(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto value) { + if (fragmentBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + fragment_ != null && + fragment_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance()) { + fragment_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.newBuilder(fragment_).mergeFrom(value).buildPartial(); + } else { + fragment_ = value; + } + onChanged(); + } else { + fragmentBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + public Builder clearFragment() { + if (fragmentBuilder_ == null) { + fragment_ = null; + onChanged(); + } else { + fragmentBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder getFragmentBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getFragmentFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder getFragmentOrBuilder() { + if (fragmentBuilder_ != null) { + return fragmentBuilder_.getMessageOrBuilder(); + } else { + return fragment_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.getDefaultInstance() : fragment_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder> + getFragmentFieldBuilder() { + if (fragmentBuilder_ == null) { + fragmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder>( + getFragment(), + getParentForChildren(), + isClean()); + fragment_ = null; + } + return fragmentBuilder_; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder> platformBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return Whether the platform field is set. + */ + public boolean hasPlatform() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return The platform. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getPlatform() { + if (platformBuilder_ == null) { + return platform_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance() : platform_; + } else { + return platformBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + public Builder setPlatform(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto value) { + if (platformBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + platform_ = value; + onChanged(); + } else { + platformBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + public Builder setPlatform( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder builderForValue) { + if (platformBuilder_ == null) { + platform_ = builderForValue.build(); + onChanged(); + } else { + platformBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + public Builder mergePlatform(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto value) { + if (platformBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + platform_ != null && + platform_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance()) { + platform_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.newBuilder(platform_).mergeFrom(value).buildPartial(); + } else { + platform_ = value; + } + onChanged(); + } else { + platformBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + public Builder clearPlatform() { + if (platformBuilder_ == null) { + platform_ = null; + onChanged(); + } else { + platformBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder getPlatformBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPlatformFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder getPlatformOrBuilder() { + if (platformBuilder_ != null) { + return platformBuilder_.getMessageOrBuilder(); + } else { + return platform_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.getDefaultInstance() : platform_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder> + getPlatformFieldBuilder() { + if (platformBuilder_ == null) { + platformBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder>( + getPlatform(), + getParentForChildren(), + isClean()); + platform_ = null; + } + return platformBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> variantAttributes_; + private com.google.protobuf.MapField + internalGetVariantAttributes() { + if (variantAttributes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + VariantAttributesDefaultEntryHolder.defaultEntry); + } + return variantAttributes_; + } + private com.google.protobuf.MapField + internalGetMutableVariantAttributes() { + onChanged();; + if (variantAttributes_ == null) { + variantAttributes_ = com.google.protobuf.MapField.newMapField( + VariantAttributesDefaultEntryHolder.defaultEntry); + } + if (!variantAttributes_.isMutable()) { + variantAttributes_ = variantAttributes_.copy(); + } + return variantAttributes_; + } + + public int getVariantAttributesCount() { + return internalGetVariantAttributes().getMap().size(); + } + /** + * map<string, string> variant_attributes = 3; + */ + + @java.lang.Override + public boolean containsVariantAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVariantAttributes().getMap().containsKey(key); + } + /** + * Use {@link #getVariantAttributesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVariantAttributes() { + return getVariantAttributesMap(); + } + /** + * map<string, string> variant_attributes = 3; + */ + @java.lang.Override + + public java.util.Map getVariantAttributesMap() { + return internalGetVariantAttributes().getMap(); + } + /** + * map<string, string> variant_attributes = 3; + */ + @java.lang.Override + + public java.lang.String getVariantAttributesOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariantAttributes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> variant_attributes = 3; + */ + @java.lang.Override + + public java.lang.String getVariantAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariantAttributes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearVariantAttributes() { + internalGetMutableVariantAttributes().getMutableMap() + .clear(); + return this; + } + /** + * map<string, string> variant_attributes = 3; + */ + + public Builder removeVariantAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableVariantAttributes().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableVariantAttributes() { + return internalGetMutableVariantAttributes().getMutableMap(); + } + /** + * map<string, string> variant_attributes = 3; + */ + public Builder putVariantAttributes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { + throw new NullPointerException("map value"); +} + + internalGetMutableVariantAttributes().getMutableMap() + .put(key, value); + return this; + } + /** + * map<string, string> variant_attributes = 3; + */ + + public Builder putAllVariantAttributes( + java.util.Map values) { + internalGetMutableVariantAttributes().getMutableMap() + .putAll(values); + return this; + } + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilationOutput_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder> compilationOutputBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return Whether the compilationOutput field is set. + */ + public boolean hasCompilationOutput() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return The compilationOutput. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto getCompilationOutput() { + if (compilationOutputBuilder_ == null) { + return compilationOutput_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance() : compilationOutput_; + } else { + return compilationOutputBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + public Builder setCompilationOutput(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto value) { + if (compilationOutputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + compilationOutput_ = value; + onChanged(); + } else { + compilationOutputBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + public Builder setCompilationOutput( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder builderForValue) { + if (compilationOutputBuilder_ == null) { + compilationOutput_ = builderForValue.build(); + onChanged(); + } else { + compilationOutputBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + public Builder mergeCompilationOutput(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto value) { + if (compilationOutputBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + compilationOutput_ != null && + compilationOutput_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance()) { + compilationOutput_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.newBuilder(compilationOutput_).mergeFrom(value).buildPartial(); + } else { + compilationOutput_ = value; + } + onChanged(); + } else { + compilationOutputBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + public Builder clearCompilationOutput() { + if (compilationOutputBuilder_ == null) { + compilationOutput_ = null; + onChanged(); + } else { + compilationOutputBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder getCompilationOutputBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getCompilationOutputFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder getCompilationOutputOrBuilder() { + if (compilationOutputBuilder_ != null) { + return compilationOutputBuilder_.getMessageOrBuilder(); + } else { + return compilationOutput_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.getDefaultInstance() : compilationOutput_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder> + getCompilationOutputFieldBuilder() { + if (compilationOutputBuilder_ == null) { + compilationOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder>( + getCompilationOutput(), + getParentForChildren(), + isClean()); + compilationOutput_ = null; + } + return compilationOutputBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmVariantProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmVariantProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoOrBuilder.java new file mode 100644 index 00000000000..3a3dd164b77 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoOrBuilder.java @@ -0,0 +1,88 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmVariantProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return Whether the fragment field is set. + */ + boolean hasFragment(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return The fragment. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto getFragment(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoOrBuilder getFragmentOrBuilder(); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return Whether the platform field is set. + */ + boolean hasPlatform(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return The platform. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto getPlatform(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoOrBuilder getPlatformOrBuilder(); + + /** + * map<string, string> variant_attributes = 3; + */ + int getVariantAttributesCount(); + /** + * map<string, string> variant_attributes = 3; + */ + boolean containsVariantAttributes( + java.lang.String key); + /** + * Use {@link #getVariantAttributesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getVariantAttributes(); + /** + * map<string, string> variant_attributes = 3; + */ + java.util.Map + getVariantAttributesMap(); + /** + * map<string, string> variant_attributes = 3; + */ + + java.lang.String getVariantAttributesOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + * map<string, string> variant_attributes = 3; + */ + + java.lang.String getVariantAttributesOrThrow( + java.lang.String key); + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return Whether the compilationOutput field is set. + */ + boolean hasCompilationOutput(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return The compilationOutput. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto getCompilationOutput(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoOrBuilder getCompilationOutputOrBuilder(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProto.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProto.java new file mode 100644 index 00000000000..04cd583fc02 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProto.java @@ -0,0 +1,618 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +/** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto} + */ +final class IdeaKpmWasmPlatformProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) + IdeaKpmWasmPlatformProtoOrBuilder { +private static final long serialVersionUID = 0L; + // Use IdeaKpmWasmPlatformProto.newBuilder() to construct. + private IdeaKpmWasmPlatformProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IdeaKpmWasmPlatformProto() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IdeaKpmWasmPlatformProto(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IdeaKpmWasmPlatformProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = extras_.toBuilder(); + } + extras_ = input.readMessage(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(extras_); + extras_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder.class); + } + + private int bitField0_; + public static final int EXTRAS_FIELD_NUMBER = 1; + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + @java.lang.Override + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExtras()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExtras()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto)) { + return super.equals(obj); + } + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto other = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) obj; + + if (hasExtras() != other.hasExtras()) return false; + if (hasExtras()) { + if (!getExtras() + .equals(other.getExtras())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExtras()) { + hash = (37 * hash) + EXTRAS_FIELD_NUMBER; + hash = (53 * hash) + getExtras().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto 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.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.class, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder.class); + } + + // Construct using org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExtrasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (extrasBuilder_ == null) { + extras_ = null; + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpm.internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_descriptor; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto getDefaultInstanceForType() { + return org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance(); + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto build() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto buildPartial() { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto result = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (extrasBuilder_ == null) { + result.extras_ = extras_; + } else { + result.extras_ = extrasBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) { + return mergeFrom((org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto other) { + if (other == org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.getDefaultInstance()) return this; + if (other.hasExtras()) { + mergeExtras(other.getExtras()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras_; + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> extrasBuilder_; + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + public boolean hasExtras() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras() { + if (extrasBuilder_ == null) { + return extras_ == null ? org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } else { + return extrasBuilder_.getMessage(); + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + extras_ = value; + onChanged(); + } else { + extrasBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder setExtras( + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder builderForValue) { + if (extrasBuilder_ == null) { + extras_ = builderForValue.build(); + onChanged(); + } else { + extrasBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder mergeExtras(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto value) { + if (extrasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + extras_ != null && + extras_ != org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance()) { + extras_ = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder(extras_).mergeFrom(value).buildPartial(); + } else { + extras_ = value; + } + onChanged(); + } else { + extrasBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public Builder clearExtras() { + if (extrasBuilder_ == null) { + extras_ = null; + onChanged(); + } else { + extrasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder getExtrasBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExtrasFieldBuilder().getBuilder(); + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder() { + if (extrasBuilder_ != null) { + return extrasBuilder_.getMessageOrBuilder(); + } else { + return extras_ == null ? + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.getDefaultInstance() : extras_; + } + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder> + getExtrasFieldBuilder() { + if (extrasBuilder_ == null) { + extrasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder, org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder>( + getExtras(), + getParentForChildren(), + isClean()); + extras_ = null; + } + return extrasBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) + private static final org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto(); + } + + public static org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdeaKpmWasmPlatformProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdeaKpmWasmPlatformProto(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoOrBuilder.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoOrBuilder.java new file mode 100644 index 00000000000..eb85aeab23a --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +interface IdeaKpmWasmPlatformProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + boolean hasExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return The extras. + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto getExtras(); + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoOrBuilder getExtrasOrBuilder(); +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpm.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpm.java new file mode 100644 index 00000000000..d34fac66504 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpm.java @@ -0,0 +1,468 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +final class ProtoIdeaKpm { + private ProtoIdeaKpm() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_VariantAttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_VariantAttributesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\024proto_idea_kpm.proto\022#org.jetbrains.ko" + + "tlin.kpm.idea.proto\032\033proto_idea_kpm_extr" + + "as.proto\"\373\001\n\035IdeaKpmModuleCoordinatesPro" + + "to\022\025\n\010build_id\030\001 \001(\tH\000\210\001\001\022\031\n\014project_pat" + + "h\030\002 \001(\tH\001\210\001\001\022\031\n\014project_name\030\003 \001(\tH\002\210\001\001\022" + + "\030\n\013module_name\030\004 \001(\tH\003\210\001\001\022\036\n\021module_clas" + + "sifier\030\005 \001(\tH\004\210\001\001B\013\n\t_build_idB\017\n\r_proje" + + "ct_pathB\017\n\r_project_nameB\016\n\014_module_name" + + "B\024\n\022_module_classifier\"\336\002\n\034IdeaKpmLangua" + + "geSettingsProto\022\035\n\020language_version\030\001 \001(" + + "\tH\000\210\001\001\022\030\n\013api_version\030\002 \001(\tH\001\210\001\001\022 \n\023is_p" + + "rogressive_mode\030\003 \001(\010H\002\210\001\001\022!\n\031enabled_la" + + "nguage_features\030\004 \003(\t\022!\n\031opt_in_annotati" + + "ons_in_use\030\005 \003(\t\022!\n\031compiler_plugin_argu" + + "ments\030\006 \003(\t\022!\n\031compiler_plugin_classpath" + + "\030\007 \003(\t\022\032\n\022free_compiler_args\030\010 \003(\tB\023\n\021_l" + + "anguage_versionB\016\n\014_api_versionB\026\n\024_is_p" + + "rogressive_mode\"\300\001\n\033IdeaKpmSourceDirecto" + + "ryProto\022L\n\006extras\030\001 \001(\01327.org.jetbrains." + + "kotlin.kpm.idea.proto.IdeaKpmExtrasProto" + + "H\000\210\001\001\022\032\n\rabsolute_path\030\002 \001(\tH\001\210\001\001\022\021\n\004typ" + + "e\030\003 \001(\tH\002\210\001\001B\t\n\007_extrasB\020\n\016_absolute_pat" + + "hB\007\n\005_type\"\246\001\n\035IdeaKpmResourceDirectoryP" + + "roto\022L\n\006extras\030\001 \001(\01327.org.jetbrains.kot" + + "lin.kpm.idea.proto.IdeaKpmExtrasProtoH\000\210" + + "\001\001\022\032\n\rabsolute_path\030\002 \001(\tH\001\210\001\001B\t\n\007_extra" + + "sB\020\n\016_absolute_path\"\363\001\n\035IdeaKpmBinaryCoo" + + "rdinatesProto\022\022\n\005group\030\001 \001(\tH\000\210\001\001\022\023\n\006mod" + + "ule\030\002 \001(\tH\001\210\001\001\022\024\n\007version\030\003 \001(\tH\002\210\001\001\022\037\n\022" + + "kotlin_module_name\030\004 \001(\tH\003\210\001\001\022!\n\024kotlin_" + + "fragment_name\030\005 \001(\tH\004\210\001\001B\010\n\006_groupB\t\n\007_m" + + "oduleB\n\n\010_versionB\025\n\023_kotlin_module_name" + + "B\027\n\025_kotlin_fragment_name\"\263\001\n\037IdeaKpmFra" + + "gmentCoordinatesProto\022W\n\006module\030\001 \001(\0132B." + + "org.jetbrains.kotlin.kpm.idea.proto.Idea" + + "KpmModuleCoordinatesProtoH\000\210\001\001\022\032\n\rfragme" + + "nt_name\030\002 \001(\tH\001\210\001\001B\t\n\007_moduleB\020\n\016_fragme" + + "nt_name\"\360\002\n\026IdeaKpmDependencyProto\022s\n\034un" + + "resolved_binary_dependency\030\001 \001(\0132K.org.j" + + "etbrains.kotlin.kpm.idea.proto.IdeaKpmUn" + + "resolvedBinaryDependencyProtoH\000\022o\n\032resol" + + "ved_binary_dependency\030\002 \001(\0132I.org.jetbra" + + "ins.kotlin.kpm.idea.proto.IdeaKpmResolve" + + "dBinaryDependencyProtoH\000\022b\n\023fragment_dep" + + "endency\030\003 \001(\0132C.org.jetbrains.kotlin.kpm" + + ".idea.proto.IdeaKpmFragmentDependencyPro" + + "toH\000B\014\n\ndependency\"\215\002\n&IdeaKpmUnresolved" + + "BinaryDependencyProto\022L\n\006extras\030\001 \001(\01327." + + "org.jetbrains.kotlin.kpm.idea.proto.Idea" + + "KpmExtrasProtoH\000\210\001\001\022\\\n\013coordinates\030\002 \001(\013" + + "2B.org.jetbrains.kotlin.kpm.idea.proto.I" + + "deaKpmBinaryCoordinatesProtoH\001\210\001\001\022\022\n\005cau" + + "se\030\003 \001(\tH\002\210\001\001B\t\n\007_extrasB\016\n\014_coordinates" + + "B\010\n\006_cause\"\335\002\n$IdeaKpmResolvedBinaryDepe" + + "ndencyProto\022L\n\006extras\030\001 \001(\01327.org.jetbra" + + "ins.kotlin.kpm.idea.proto.IdeaKpmExtrasP" + + "rotoH\000\210\001\001\022\\\n\013coordinates\030\002 \001(\0132B.org.jet" + + "brains.kotlin.kpm.idea.proto.IdeaKpmBina" + + "ryCoordinatesProtoH\001\210\001\001\022\030\n\013binary_type\030\003" + + " \001(\tH\002\210\001\001\022&\n\031binary_file_absolute_path\030\004" + + " \001(\tH\003\210\001\001B\t\n\007_extrasB\016\n\014_coordinatesB\016\n\014" + + "_binary_typeB\034\n\032_binary_file_absolute_pa" + + "th\"\375\002\n\036IdeaKpmFragmentDependencyProto\022L\n" + + "\006extras\030\001 \001(\01327.org.jetbrains.kotlin.kpm" + + ".idea.proto.IdeaKpmExtrasProtoH\000\210\001\001\022[\n\004t" + + "ype\030\002 \001(\0162H.org.jetbrains.kotlin.kpm.ide" + + "a.proto.IdeaKpmFragmentDependencyProto.T" + + "ypeH\001\210\001\001\022^\n\013coordinates\030\003 \001(\0132D.org.jetb" + + "rains.kotlin.kpm.idea.proto.IdeaKpmFragm" + + "entCoordinatesProtoH\002\210\001\001\",\n\004Type\022\013\n\007REGU" + + "LAR\020\000\022\n\n\006FRIEND\020\001\022\013\n\007REFINES\020\002B\t\n\007_extra" + + "sB\007\n\005_typeB\016\n\014_coordinates\"\261\003\n\024IdeaKpmPl" + + "atformProto\022K\n\003jvm\030\001 \001(\0132<.org.jetbrains" + + ".kotlin.kpm.idea.proto.IdeaKpmJvmPlatfor" + + "mProtoH\000\022Q\n\006native\030\002 \001(\0132?.org.jetbrains" + + ".kotlin.kpm.idea.proto.IdeaKpmNativePlat" + + "formProtoH\000\022I\n\002js\030\003 \001(\0132;.org.jetbrains." + + "kotlin.kpm.idea.proto.IdeaKpmJsPlatformP" + + "rotoH\000\022M\n\004wasm\030\004 \001(\0132=.org.jetbrains.kot" + + "lin.kpm.idea.proto.IdeaKpmWasmPlatformPr" + + "otoH\000\022S\n\007unknown\030\005 \001(\0132@.org.jetbrains.k" + + "otlin.kpm.idea.proto.IdeaKpmUnknownPlatf" + + "ormProtoH\000B\n\n\010platform\"\232\001\n\027IdeaKpmJvmPla" + + "tformProto\022L\n\006extras\030\001 \001(\01327.org.jetbrai" + + "ns.kotlin.kpm.idea.proto.IdeaKpmExtrasPr" + + "otoH\000\210\001\001\022\027\n\njvm_target\030\002 \001(\tH\001\210\001\001B\t\n\007_ex" + + "trasB\r\n\013_jvm_target\"\241\001\n\032IdeaKpmNativePla" + + "tformProto\022L\n\006extras\030\001 \001(\01327.org.jetbrai" + + "ns.kotlin.kpm.idea.proto.IdeaKpmExtrasPr" + + "otoH\000\210\001\001\022\031\n\014konan_target\030\002 \001(\tH\001\210\001\001B\t\n\007_" + + "extrasB\017\n\r_konan_target\"\215\001\n\026IdeaKpmJsPla" + + "tformProto\022L\n\006extras\030\001 \001(\01327.org.jetbrai" + + "ns.kotlin.kpm.idea.proto.IdeaKpmExtrasPr" + + "otoH\000\210\001\001\022\021\n\004isIr\030\002 \001(\010H\001\210\001\001B\t\n\007_extrasB\007" + + "\n\005_isIr\"s\n\030IdeaKpmWasmPlatformProto\022L\n\006e" + + "xtras\030\001 \001(\01327.org.jetbrains.kotlin.kpm.i" + + "dea.proto.IdeaKpmExtrasProtoH\000\210\001\001B\t\n\007_ex" + + "tras\"v\n\033IdeaKpmUnknownPlatformProto\022L\n\006e" + + "xtras\030\001 \001(\01327.org.jetbrains.kotlin.kpm.i" + + "dea.proto.IdeaKpmExtrasProtoH\000\210\001\001B\t\n\007_ex" + + "tras\"\327\004\n\024IdeaKpmFragmentProto\022L\n\006extras\030" + + "\001 \001(\01327.org.jetbrains.kotlin.kpm.idea.pr" + + "oto.IdeaKpmExtrasProtoH\000\210\001\001\022^\n\013coordinat" + + "es\030\002 \001(\0132D.org.jetbrains.kotlin.kpm.idea" + + ".proto.IdeaKpmFragmentCoordinatesProtoH\001" + + "\210\001\001\022L\n\tplatforms\030\003 \003(\01329.org.jetbrains.k" + + "otlin.kpm.idea.proto.IdeaKpmPlatformProt" + + "o\022a\n\021language_settings\030\004 \001(\0132A.org.jetbr" + + "ains.kotlin.kpm.idea.proto.IdeaKpmLangua" + + "geSettingsProtoH\002\210\001\001\022Q\n\014dependencies\030\005 \003" + + "(\0132;.org.jetbrains.kotlin.kpm.idea.proto" + + ".IdeaKpmDependencyProto\022\\\n\022source_direct" + + "ories\030\006 \003(\0132@.org.jetbrains.kotlin.kpm.i" + + "dea.proto.IdeaKpmSourceDirectoryProtoB\t\n" + + "\007_extrasB\016\n\014_coordinatesB\024\n\022_language_se" + + "ttings\"c\n\035IdeaKpmCompilationOutputProto\022" + + "\024\n\014classes_dirs\030\001 \003(\t\022\032\n\rresources_dir\030\002" + + " \001(\tH\000\210\001\001B\020\n\016_resources_dir\"\366\003\n\023IdeaKpmV" + + "ariantProto\022P\n\010fragment\030\001 \001(\01329.org.jetb" + + "rains.kotlin.kpm.idea.proto.IdeaKpmFragm" + + "entProtoH\000\210\001\001\022P\n\010platform\030\002 \001(\01329.org.je" + + "tbrains.kotlin.kpm.idea.proto.IdeaKpmPla" + + "tformProtoH\001\210\001\001\022k\n\022variant_attributes\030\003 " + + "\003(\0132O.org.jetbrains.kotlin.kpm.idea.prot" + + "o.IdeaKpmVariantProto.VariantAttributesE" + + "ntry\022c\n\022compilation_output\030\004 \001(\0132B.org.j" + + "etbrains.kotlin.kpm.idea.proto.IdeaKpmCo" + + "mpilationOutputProtoH\002\210\001\001\0328\n\026VariantAttr" + + "ibutesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001B\013\n\t_fragmentB\013\n\t_platformB\025\n\023_compil" + + "ation_output\"\365\002\n\022IdeaKpmModuleProto\022L\n\006e" + + "xtras\030\001 \001(\01327.org.jetbrains.kotlin.kpm.i" + + "dea.proto.IdeaKpmExtrasProtoH\000\210\001\001\022\\\n\013coo" + + "rdinates\030\002 \001(\0132B.org.jetbrains.kotlin.kp" + + "m.idea.proto.IdeaKpmModuleCoordinatesPro" + + "toH\001\210\001\001\022L\n\tfragments\030\003 \003(\01329.org.jetbrai" + + "ns.kotlin.kpm.idea.proto.IdeaKpmFragment" + + "Proto\022J\n\010variants\030\004 \003(\01328.org.jetbrains." + + "kotlin.kpm.idea.proto.IdeaKpmVariantProt" + + "oB\t\n\007_extrasB\016\n\014_coordinates\"\272\003\n\023IdeaKpm" + + "ProjectProto\022L\n\006extras\030\001 \001(\01327.org.jetbr" + + "ains.kotlin.kpm.idea.proto.IdeaKpmExtras" + + "ProtoH\000\210\001\001\022\"\n\025gradle_plugin_version\030\002 \001(" + + "\tH\001\210\001\001\022#\n\026core_libraries_version\030\003 \001(\tH\002" + + "\210\001\001\022)\n\034explicit_api_mode_cli_option\030\004 \001(" + + "\tH\003\210\001\001\022\037\n\022kotlin_native_home\030\005 \001(\tH\004\210\001\001\022" + + "H\n\007modules\030\006 \003(\01327.org.jetbrains.kotlin." + + "kpm.idea.proto.IdeaKpmModuleProtoB\t\n\007_ex" + + "trasB\030\n\026_gradle_plugin_versionB\031\n\027_core_" + + "libraries_versionB\037\n\035_explicit_api_mode_" + + "cli_optionB\025\n\023_kotlin_native_home\"\222\002\n\026Id" + + "eaKpmSchemaInfoProto\022\'\n\032since_schema_ver" + + "sion_major\030\001 \001(\rH\000\210\001\001\022\'\n\032since_schema_ve" + + "rsion_minor\030\002 \001(\rH\001\210\001\001\022\'\n\032since_schema_v" + + "ersion_patch\030\003 \001(\rH\002\210\001\001\022\024\n\007message\030\004 \001(\t" + + "H\003\210\001\001B\035\n\033_since_schema_version_majorB\035\n\033" + + "_since_schema_version_minorB\035\n\033_since_sc" + + "hema_version_patchB\n\n\010_message\"\372\002\n\025IdeaK" + + "pmContainerProto\022!\n\024schema_version_major" + + "\030\001 \001(\rH\000\210\001\001\022!\n\024schema_version_minor\030\002 \001(" + + "\rH\001\210\001\001\022!\n\024schema_version_patch\030\003 \001(\rH\002\210\001" + + "\001\022Q\n\014schema_infos\030\004 \003(\0132;.org.jetbrains." + + "kotlin.kpm.idea.proto.IdeaKpmSchemaInfoP" + + "roto\022N\n\007project\030\030 \001(\01328.org.jetbrains.ko" + + "tlin.kpm.idea.proto.IdeaKpmProjectProtoH" + + "\003\210\001\001B\027\n\025_schema_version_majorB\027\n\025_schema" + + "_version_minorB\027\n\025_schema_version_patchB" + + "\n\n\010_projectB\002P\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.getDescriptor(), + }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleCoordinatesProto_descriptor, + new java.lang.String[] { "BuildId", "ProjectPath", "ProjectName", "ModuleName", "ModuleClassifier", "BuildId", "ProjectPath", "ProjectName", "ModuleName", "ModuleClassifier", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmLanguageSettingsProto_descriptor, + new java.lang.String[] { "LanguageVersion", "ApiVersion", "IsProgressiveMode", "EnabledLanguageFeatures", "OptInAnnotationsInUse", "CompilerPluginArguments", "CompilerPluginClasspath", "FreeCompilerArgs", "LanguageVersion", "ApiVersion", "IsProgressiveMode", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSourceDirectoryProto_descriptor, + new java.lang.String[] { "Extras", "AbsolutePath", "Type", "Extras", "AbsolutePath", "Type", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResourceDirectoryProto_descriptor, + new java.lang.String[] { "Extras", "AbsolutePath", "Extras", "AbsolutePath", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmBinaryCoordinatesProto_descriptor, + new java.lang.String[] { "Group", "Module", "Version", "KotlinModuleName", "KotlinFragmentName", "Group", "Module", "Version", "KotlinModuleName", "KotlinFragmentName", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentCoordinatesProto_descriptor, + new java.lang.String[] { "Module", "FragmentName", "Module", "FragmentName", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmDependencyProto_descriptor, + new java.lang.String[] { "UnresolvedBinaryDependency", "ResolvedBinaryDependency", "FragmentDependency", "Dependency", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnresolvedBinaryDependencyProto_descriptor, + new java.lang.String[] { "Extras", "Coordinates", "Cause", "Extras", "Coordinates", "Cause", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmResolvedBinaryDependencyProto_descriptor, + new java.lang.String[] { "Extras", "Coordinates", "BinaryType", "BinaryFileAbsolutePath", "Extras", "Coordinates", "BinaryType", "BinaryFileAbsolutePath", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentDependencyProto_descriptor, + new java.lang.String[] { "Extras", "Type", "Coordinates", "Extras", "Type", "Coordinates", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmPlatformProto_descriptor, + new java.lang.String[] { "Jvm", "Native", "Js", "Wasm", "Unknown", "Platform", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJvmPlatformProto_descriptor, + new java.lang.String[] { "Extras", "JvmTarget", "Extras", "JvmTarget", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmNativePlatformProto_descriptor, + new java.lang.String[] { "Extras", "KonanTarget", "Extras", "KonanTarget", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmJsPlatformProto_descriptor, + new java.lang.String[] { "Extras", "IsIr", "Extras", "IsIr", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmWasmPlatformProto_descriptor, + new java.lang.String[] { "Extras", "Extras", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmUnknownPlatformProto_descriptor, + new java.lang.String[] { "Extras", "Extras", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmFragmentProto_descriptor, + new java.lang.String[] { "Extras", "Coordinates", "Platforms", "LanguageSettings", "Dependencies", "SourceDirectories", "Extras", "Coordinates", "LanguageSettings", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmCompilationOutputProto_descriptor, + new java.lang.String[] { "ClassesDirs", "ResourcesDir", "ResourcesDir", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor, + new java.lang.String[] { "Fragment", "Platform", "VariantAttributes", "CompilationOutput", "Fragment", "Platform", "CompilationOutput", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_VariantAttributesEntry_descriptor = + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_descriptor.getNestedTypes().get(0); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_VariantAttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmVariantProto_VariantAttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmModuleProto_descriptor, + new java.lang.String[] { "Extras", "Coordinates", "Fragments", "Variants", "Extras", "Coordinates", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmProjectProto_descriptor, + new java.lang.String[] { "Extras", "GradlePluginVersion", "CoreLibrariesVersion", "ExplicitApiModeCliOption", "KotlinNativeHome", "Modules", "Extras", "GradlePluginVersion", "CoreLibrariesVersion", "ExplicitApiModeCliOption", "KotlinNativeHome", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmSchemaInfoProto_descriptor, + new java.lang.String[] { "SinceSchemaVersionMajor", "SinceSchemaVersionMinor", "SinceSchemaVersionPatch", "Message", "SinceSchemaVersionMajor", "SinceSchemaVersionMinor", "SinceSchemaVersionPatch", "Message", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmContainerProto_descriptor, + new java.lang.String[] { "SchemaVersionMajor", "SchemaVersionMinor", "SchemaVersionPatch", "SchemaInfos", "Project", "SchemaVersionMajor", "SchemaVersionMinor", "SchemaVersionPatch", "Project", }); + org.jetbrains.kotlin.kpm.idea.proto.ProtoIdeaKpmExtras.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtras.java b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtras.java new file mode 100644 index 00000000000..037ad1baf8d --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/java/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtras.java @@ -0,0 +1,62 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm_extras.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +final class ProtoIdeaKpmExtras { + private ProtoIdeaKpmExtras() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_ValuesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_ValuesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\033proto_idea_kpm_extras.proto\022#org.jetbr" + + "ains.kotlin.kpm.idea.proto\"\230\001\n\022IdeaKpmEx" + + "trasProto\022S\n\006values\030\001 \003(\0132C.org.jetbrain" + + "s.kotlin.kpm.idea.proto.IdeaKpmExtrasPro" + + "to.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\014:\0028\001B\002P\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor, + new java.lang.String[] { "Values", }); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_ValuesEntry_descriptor = + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_descriptor.getNestedTypes().get(0); + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_ValuesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_org_jetbrains_kotlin_kpm_idea_proto_IdeaKpmExtrasProto_ValuesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoKt.kt new file mode 100644 index 00000000000..73856ba5fd2 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmBinaryCoordinatesProtoKt.kt @@ -0,0 +1,148 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmBinaryCoordinatesProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmBinaryCoordinatesProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto = _builder.build() + + /** + * optional string group = 1; + */ + internal var group: kotlin.String + @JvmName("getGroup") + get() = _builder.getGroup() + @JvmName("setGroup") + set(value) { + _builder.setGroup(value) + } + /** + * optional string group = 1; + */ + internal fun clearGroup() { + _builder.clearGroup() + } + /** + * optional string group = 1; + * @return Whether the group field is set. + */ + internal fun hasGroup(): kotlin.Boolean { + return _builder.hasGroup() + } + + /** + * optional string module = 2; + */ + internal var module: kotlin.String + @JvmName("getModule") + get() = _builder.getModule() + @JvmName("setModule") + set(value) { + _builder.setModule(value) + } + /** + * optional string module = 2; + */ + internal fun clearModule() { + _builder.clearModule() + } + /** + * optional string module = 2; + * @return Whether the module field is set. + */ + internal fun hasModule(): kotlin.Boolean { + return _builder.hasModule() + } + + /** + * optional string version = 3; + */ + internal var version: kotlin.String + @JvmName("getVersion") + get() = _builder.getVersion() + @JvmName("setVersion") + set(value) { + _builder.setVersion(value) + } + /** + * optional string version = 3; + */ + internal fun clearVersion() { + _builder.clearVersion() + } + /** + * optional string version = 3; + * @return Whether the version field is set. + */ + internal fun hasVersion(): kotlin.Boolean { + return _builder.hasVersion() + } + + /** + * optional string kotlin_module_name = 4; + */ + internal var kotlinModuleName: kotlin.String + @JvmName("getKotlinModuleName") + get() = _builder.getKotlinModuleName() + @JvmName("setKotlinModuleName") + set(value) { + _builder.setKotlinModuleName(value) + } + /** + * optional string kotlin_module_name = 4; + */ + internal fun clearKotlinModuleName() { + _builder.clearKotlinModuleName() + } + /** + * optional string kotlin_module_name = 4; + * @return Whether the kotlinModuleName field is set. + */ + internal fun hasKotlinModuleName(): kotlin.Boolean { + return _builder.hasKotlinModuleName() + } + + /** + * optional string kotlin_fragment_name = 5; + */ + internal var kotlinFragmentName: kotlin.String + @JvmName("getKotlinFragmentName") + get() = _builder.getKotlinFragmentName() + @JvmName("setKotlinFragmentName") + set(value) { + _builder.setKotlinFragmentName(value) + } + /** + * optional string kotlin_fragment_name = 5; + */ + internal fun clearKotlinFragmentName() { + _builder.clearKotlinFragmentName() + } + /** + * optional string kotlin_fragment_name = 5; + * @return Whether the kotlinFragmentName field is set. + */ + internal fun hasKotlinFragmentName(): kotlin.Boolean { + return _builder.hasKotlinFragmentName() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoKt.kt new file mode 100644 index 00000000000..34b3d47a149 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmCompilationOutputProtoKt.kt @@ -0,0 +1,122 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmCompilationOutputProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmCompilationOutputProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto = _builder.build() + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class ClassesDirsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated string classes_dirs = 1; + * @return A list containing the classesDirs. + */ + internal val classesDirs: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getClassesDirsList() + ) + /** + * repeated string classes_dirs = 1; + * @param value The classesDirs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addClassesDirs") + internal fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addClassesDirs(value) + } + /** + * repeated string classes_dirs = 1; + * @param value The classesDirs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignClassesDirs") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + /** + * repeated string classes_dirs = 1; + * @param values The classesDirs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllClassesDirs") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllClassesDirs(values) + } + /** + * repeated string classes_dirs = 1; + * @param values The classesDirs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllClassesDirs") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + } + /** + * repeated string classes_dirs = 1; + * @param index The index to set the value at. + * @param value The classesDirs to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setClassesDirs") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { + _builder.setClassesDirs(index, value) + }/** + * repeated string classes_dirs = 1; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearClassesDirs") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearClassesDirs() + } + /** + * optional string resources_dir = 2; + */ + internal var resourcesDir: kotlin.String + @JvmName("getResourcesDir") + get() = _builder.getResourcesDir() + @JvmName("setResourcesDir") + set(value) { + _builder.setResourcesDir(value) + } + /** + * optional string resources_dir = 2; + */ + internal fun clearResourcesDir() { + _builder.clearResourcesDir() + } + /** + * optional string resources_dir = 2; + * @return Whether the resourcesDir field is set. + */ + internal fun hasResourcesDir(): kotlin.Boolean { + return _builder.hasResourcesDir() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoKt.kt new file mode 100644 index 00000000000..1dc484e0ed0 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmContainerProtoKt.kt @@ -0,0 +1,189 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmContainerProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmContainerProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto = _builder.build() + + /** + * optional uint32 schema_version_major = 1; + */ + internal var schemaVersionMajor: kotlin.Int + @JvmName("getSchemaVersionMajor") + get() = _builder.getSchemaVersionMajor() + @JvmName("setSchemaVersionMajor") + set(value) { + _builder.setSchemaVersionMajor(value) + } + /** + * optional uint32 schema_version_major = 1; + */ + internal fun clearSchemaVersionMajor() { + _builder.clearSchemaVersionMajor() + } + /** + * optional uint32 schema_version_major = 1; + * @return Whether the schemaVersionMajor field is set. + */ + internal fun hasSchemaVersionMajor(): kotlin.Boolean { + return _builder.hasSchemaVersionMajor() + } + + /** + * optional uint32 schema_version_minor = 2; + */ + internal var schemaVersionMinor: kotlin.Int + @JvmName("getSchemaVersionMinor") + get() = _builder.getSchemaVersionMinor() + @JvmName("setSchemaVersionMinor") + set(value) { + _builder.setSchemaVersionMinor(value) + } + /** + * optional uint32 schema_version_minor = 2; + */ + internal fun clearSchemaVersionMinor() { + _builder.clearSchemaVersionMinor() + } + /** + * optional uint32 schema_version_minor = 2; + * @return Whether the schemaVersionMinor field is set. + */ + internal fun hasSchemaVersionMinor(): kotlin.Boolean { + return _builder.hasSchemaVersionMinor() + } + + /** + * optional uint32 schema_version_patch = 3; + */ + internal var schemaVersionPatch: kotlin.Int + @JvmName("getSchemaVersionPatch") + get() = _builder.getSchemaVersionPatch() + @JvmName("setSchemaVersionPatch") + set(value) { + _builder.setSchemaVersionPatch(value) + } + /** + * optional uint32 schema_version_patch = 3; + */ + internal fun clearSchemaVersionPatch() { + _builder.clearSchemaVersionPatch() + } + /** + * optional uint32 schema_version_patch = 3; + * @return Whether the schemaVersionPatch field is set. + */ + internal fun hasSchemaVersionPatch(): kotlin.Boolean { + return _builder.hasSchemaVersionPatch() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class SchemaInfosProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + internal val schemaInfos: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getSchemaInfosList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + * @param value The schemaInfos to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addSchemaInfos") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) { + _builder.addSchemaInfos(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + * @param value The schemaInfos to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignSchemaInfos") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + * @param values The schemaInfos to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllSchemaInfos") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllSchemaInfos(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + * @param values The schemaInfos to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllSchemaInfos") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + * @param index The index to set the value at. + * @param value The schemaInfos to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setSchemaInfos") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto) { + _builder.setSchemaInfos(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto schema_infos = 4; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearSchemaInfos") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearSchemaInfos() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + internal var project: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto + @JvmName("getProject") + get() = _builder.getProject() + @JvmName("setProject") + set(value) { + _builder.setProject(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + */ + internal fun clearProject() { + _builder.clearProject() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto project = 24; + * @return Whether the project field is set. + */ + internal fun hasProject(): kotlin.Boolean { + return _builder.hasProject() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmContainerProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoKt.kt new file mode 100644 index 00000000000..e2177f6076b --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmDependencyProtoKt.kt @@ -0,0 +1,107 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmDependencyProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmDependencyProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto = _builder.build() + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + internal var unresolvedBinaryDependency: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto + @JvmName("getUnresolvedBinaryDependency") + get() = _builder.getUnresolvedBinaryDependency() + @JvmName("setUnresolvedBinaryDependency") + set(value) { + _builder.setUnresolvedBinaryDependency(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + */ + internal fun clearUnresolvedBinaryDependency() { + _builder.clearUnresolvedBinaryDependency() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto unresolved_binary_dependency = 1; + * @return Whether the unresolvedBinaryDependency field is set. + */ + internal fun hasUnresolvedBinaryDependency(): kotlin.Boolean { + return _builder.hasUnresolvedBinaryDependency() + } + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + internal var resolvedBinaryDependency: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto + @JvmName("getResolvedBinaryDependency") + get() = _builder.getResolvedBinaryDependency() + @JvmName("setResolvedBinaryDependency") + set(value) { + _builder.setResolvedBinaryDependency(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + */ + internal fun clearResolvedBinaryDependency() { + _builder.clearResolvedBinaryDependency() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto resolved_binary_dependency = 2; + * @return Whether the resolvedBinaryDependency field is set. + */ + internal fun hasResolvedBinaryDependency(): kotlin.Boolean { + return _builder.hasResolvedBinaryDependency() + } + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + internal var fragmentDependency: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto + @JvmName("getFragmentDependency") + get() = _builder.getFragmentDependency() + @JvmName("setFragmentDependency") + set(value) { + _builder.setFragmentDependency(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + */ + internal fun clearFragmentDependency() { + _builder.clearFragmentDependency() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto fragment_dependency = 3; + * @return Whether the fragmentDependency field is set. + */ + internal fun hasFragmentDependency(): kotlin.Boolean { + return _builder.hasFragmentDependency() + } + internal val dependencyCase: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.DependencyCase + @JvmName("getDependencyCase") + get() = _builder.getDependencyCase() + + internal fun clearDependency() { + _builder.clearDependency() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoKt.kt new file mode 100644 index 00000000000..357bd31b9eb --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmExtrasProtoKt.kt @@ -0,0 +1,89 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm_extras.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmExtrasProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmExtrasProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto = _builder.build() + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class ValuesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * map<string, bytes> values = 1; + */ + internal val values: com.google.protobuf.kotlin.DslMap + @kotlin.jvm.JvmSynthetic + @JvmName("getValuesMap") + get() = com.google.protobuf.kotlin.DslMap( + _builder.getValuesMap() + ) + /** + * map<string, bytes> values = 1; + */ + @JvmName("putValues") + internal fun com.google.protobuf.kotlin.DslMap + .put(key: kotlin.String, value: com.google.protobuf.ByteString) { + _builder.putValues(key, value) + } + /** + * map<string, bytes> values = 1; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("setValues") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslMap + .set(key: kotlin.String, value: com.google.protobuf.ByteString) { + put(key, value) + } + /** + * map<string, bytes> values = 1; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("removeValues") + internal fun com.google.protobuf.kotlin.DslMap + .remove(key: kotlin.String) { + _builder.removeValues(key) + } + /** + * map<string, bytes> values = 1; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("putAllValues") + internal fun com.google.protobuf.kotlin.DslMap + .putAll(map: kotlin.collections.Map) { + _builder.putAllValues(map) + } + /** + * map<string, bytes> values = 1; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("clearValues") + internal fun com.google.protobuf.kotlin.DslMap + .clear() { + _builder.clearValues() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoKt.kt new file mode 100644 index 00000000000..c2e6a523075 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentCoordinatesProtoKt.kt @@ -0,0 +1,76 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmFragmentCoordinatesProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmFragmentCoordinatesProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + internal var module: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto + @JvmName("getModule") + get() = _builder.getModule() + @JvmName("setModule") + set(value) { + _builder.setModule(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + */ + internal fun clearModule() { + _builder.clearModule() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto module = 1; + * @return Whether the module field is set. + */ + internal fun hasModule(): kotlin.Boolean { + return _builder.hasModule() + } + + /** + * optional string fragment_name = 2; + */ + internal var fragmentName: kotlin.String + @JvmName("getFragmentName") + get() = _builder.getFragmentName() + @JvmName("setFragmentName") + set(value) { + _builder.setFragmentName(value) + } + /** + * optional string fragment_name = 2; + */ + internal fun clearFragmentName() { + _builder.clearFragmentName() + } + /** + * optional string fragment_name = 2; + * @return Whether the fragmentName field is set. + */ + internal fun hasFragmentName(): kotlin.Boolean { + return _builder.hasFragmentName() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoKt.kt new file mode 100644 index 00000000000..f3c9d0a2215 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentDependencyProtoKt.kt @@ -0,0 +1,100 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmFragmentDependencyProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmFragmentDependencyProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + */ + internal var type: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type + @JvmName("getType") + get() = _builder.getType() + @JvmName("setType") + set(value) { + _builder.setType(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + */ + internal fun clearType() { + _builder.clearType() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.Type type = 2; + * @return Whether the type field is set. + */ + internal fun hasType(): kotlin.Boolean { + return _builder.hasType() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + internal var coordinates: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto + @JvmName("getCoordinates") + get() = _builder.getCoordinates() + @JvmName("setCoordinates") + set(value) { + _builder.setCoordinates(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + */ + internal fun clearCoordinates() { + _builder.clearCoordinates() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 3; + * @return Whether the coordinates field is set. + */ + internal fun hasCoordinates(): kotlin.Boolean { + return _builder.hasCoordinates() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentDependencyProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoKt.kt new file mode 100644 index 00000000000..36c8bba1c24 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmFragmentProtoKt.kt @@ -0,0 +1,295 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmFragmentProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmFragmentProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + internal var coordinates: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto + @JvmName("getCoordinates") + get() = _builder.getCoordinates() + @JvmName("setCoordinates") + set(value) { + _builder.setCoordinates(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + */ + internal fun clearCoordinates() { + _builder.clearCoordinates() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + internal fun hasCoordinates(): kotlin.Boolean { + return _builder.hasCoordinates() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class PlatformsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + internal val platforms: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getPlatformsList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + * @param value The platforms to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addPlatforms") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) { + _builder.addPlatforms(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + * @param value The platforms to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignPlatforms") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + * @param values The platforms to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllPlatforms") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllPlatforms(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + * @param values The platforms to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllPlatforms") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + * @param index The index to set the value at. + * @param value The platforms to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setPlatforms") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto) { + _builder.setPlatforms(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platforms = 3; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearPlatforms") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearPlatforms() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + internal var languageSettings: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto + @JvmName("getLanguageSettings") + get() = _builder.getLanguageSettings() + @JvmName("setLanguageSettings") + set(value) { + _builder.setLanguageSettings(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + */ + internal fun clearLanguageSettings() { + _builder.clearLanguageSettings() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto language_settings = 4; + * @return Whether the languageSettings field is set. + */ + internal fun hasLanguageSettings(): kotlin.Boolean { + return _builder.hasLanguageSettings() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class DependenciesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + internal val dependencies: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getDependenciesList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + * @param value The dependencies to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addDependencies") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) { + _builder.addDependencies(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + * @param value The dependencies to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignDependencies") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + * @param values The dependencies to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllDependencies") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllDependencies(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + * @param values The dependencies to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllDependencies") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + * @param index The index to set the value at. + * @param value The dependencies to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setDependencies") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto) { + _builder.setDependencies(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmDependencyProto dependencies = 5; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearDependencies") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearDependencies() + } + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class SourceDirectoriesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + internal val sourceDirectories: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getSourceDirectoriesList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + * @param value The sourceDirectories to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addSourceDirectories") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) { + _builder.addSourceDirectories(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + * @param value The sourceDirectories to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignSourceDirectories") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + * @param values The sourceDirectories to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllSourceDirectories") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllSourceDirectories(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + * @param values The sourceDirectories to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllSourceDirectories") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + * @param index The index to set the value at. + * @param value The sourceDirectories to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setSourceDirectories") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto) { + _builder.setSourceDirectories(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto source_directories = 6; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearSourceDirectories") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearSourceDirectories() + }} +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoKt.kt new file mode 100644 index 00000000000..478f7f3682e --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJsPlatformProtoKt.kt @@ -0,0 +1,76 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmJsPlatformProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmJsPlatformProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional bool isIr = 2; + */ + internal var isIr: kotlin.Boolean + @JvmName("getIsIr") + get() = _builder.getIsIr() + @JvmName("setIsIr") + set(value) { + _builder.setIsIr(value) + } + /** + * optional bool isIr = 2; + */ + internal fun clearIsIr() { + _builder.clearIsIr() + } + /** + * optional bool isIr = 2; + * @return Whether the isIr field is set. + */ + internal fun hasIsIr(): kotlin.Boolean { + return _builder.hasIsIr() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoKt.kt new file mode 100644 index 00000000000..b722b01ca1f --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmJvmPlatformProtoKt.kt @@ -0,0 +1,76 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmJvmPlatformProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmJvmPlatformProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional string jvm_target = 2; + */ + internal var jvmTarget: kotlin.String + @JvmName("getJvmTarget") + get() = _builder.getJvmTarget() + @JvmName("setJvmTarget") + set(value) { + _builder.setJvmTarget(value) + } + /** + * optional string jvm_target = 2; + */ + internal fun clearJvmTarget() { + _builder.clearJvmTarget() + } + /** + * optional string jvm_target = 2; + * @return Whether the jvmTarget field is set. + */ + internal fun hasJvmTarget(): kotlin.Boolean { + return _builder.hasJvmTarget() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoKt.kt new file mode 100644 index 00000000000..24483e7e119 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmLanguageSettingsProtoKt.kt @@ -0,0 +1,450 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmLanguageSettingsProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmLanguageSettingsProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto = _builder.build() + + /** + * optional string language_version = 1; + */ + internal var languageVersion: kotlin.String + @JvmName("getLanguageVersion") + get() = _builder.getLanguageVersion() + @JvmName("setLanguageVersion") + set(value) { + _builder.setLanguageVersion(value) + } + /** + * optional string language_version = 1; + */ + internal fun clearLanguageVersion() { + _builder.clearLanguageVersion() + } + /** + * optional string language_version = 1; + * @return Whether the languageVersion field is set. + */ + internal fun hasLanguageVersion(): kotlin.Boolean { + return _builder.hasLanguageVersion() + } + + /** + * optional string api_version = 2; + */ + internal var apiVersion: kotlin.String + @JvmName("getApiVersion") + get() = _builder.getApiVersion() + @JvmName("setApiVersion") + set(value) { + _builder.setApiVersion(value) + } + /** + * optional string api_version = 2; + */ + internal fun clearApiVersion() { + _builder.clearApiVersion() + } + /** + * optional string api_version = 2; + * @return Whether the apiVersion field is set. + */ + internal fun hasApiVersion(): kotlin.Boolean { + return _builder.hasApiVersion() + } + + /** + * optional bool is_progressive_mode = 3; + */ + internal var isProgressiveMode: kotlin.Boolean + @JvmName("getIsProgressiveMode") + get() = _builder.getIsProgressiveMode() + @JvmName("setIsProgressiveMode") + set(value) { + _builder.setIsProgressiveMode(value) + } + /** + * optional bool is_progressive_mode = 3; + */ + internal fun clearIsProgressiveMode() { + _builder.clearIsProgressiveMode() + } + /** + * optional bool is_progressive_mode = 3; + * @return Whether the isProgressiveMode field is set. + */ + internal fun hasIsProgressiveMode(): kotlin.Boolean { + return _builder.hasIsProgressiveMode() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class EnabledLanguageFeaturesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated string enabled_language_features = 4; + * @return A list containing the enabledLanguageFeatures. + */ + internal val enabledLanguageFeatures: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getEnabledLanguageFeaturesList() + ) + /** + * repeated string enabled_language_features = 4; + * @param value The enabledLanguageFeatures to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addEnabledLanguageFeatures") + internal fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addEnabledLanguageFeatures(value) + } + /** + * repeated string enabled_language_features = 4; + * @param value The enabledLanguageFeatures to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignEnabledLanguageFeatures") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + /** + * repeated string enabled_language_features = 4; + * @param values The enabledLanguageFeatures to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllEnabledLanguageFeatures") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllEnabledLanguageFeatures(values) + } + /** + * repeated string enabled_language_features = 4; + * @param values The enabledLanguageFeatures to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllEnabledLanguageFeatures") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + } + /** + * repeated string enabled_language_features = 4; + * @param index The index to set the value at. + * @param value The enabledLanguageFeatures to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setEnabledLanguageFeatures") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { + _builder.setEnabledLanguageFeatures(index, value) + }/** + * repeated string enabled_language_features = 4; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearEnabledLanguageFeatures") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearEnabledLanguageFeatures() + } + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class OptInAnnotationsInUseProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated string opt_in_annotations_in_use = 5; + * @return A list containing the optInAnnotationsInUse. + */ + internal val optInAnnotationsInUse: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getOptInAnnotationsInUseList() + ) + /** + * repeated string opt_in_annotations_in_use = 5; + * @param value The optInAnnotationsInUse to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addOptInAnnotationsInUse") + internal fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addOptInAnnotationsInUse(value) + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param value The optInAnnotationsInUse to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignOptInAnnotationsInUse") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param values The optInAnnotationsInUse to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllOptInAnnotationsInUse") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllOptInAnnotationsInUse(values) + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param values The optInAnnotationsInUse to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllOptInAnnotationsInUse") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + } + /** + * repeated string opt_in_annotations_in_use = 5; + * @param index The index to set the value at. + * @param value The optInAnnotationsInUse to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setOptInAnnotationsInUse") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { + _builder.setOptInAnnotationsInUse(index, value) + }/** + * repeated string opt_in_annotations_in_use = 5; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearOptInAnnotationsInUse") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearOptInAnnotationsInUse() + } + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class CompilerPluginArgumentsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated string compiler_plugin_arguments = 6; + * @return A list containing the compilerPluginArguments. + */ + internal val compilerPluginArguments: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getCompilerPluginArgumentsList() + ) + /** + * repeated string compiler_plugin_arguments = 6; + * @param value The compilerPluginArguments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addCompilerPluginArguments") + internal fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addCompilerPluginArguments(value) + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param value The compilerPluginArguments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignCompilerPluginArguments") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param values The compilerPluginArguments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllCompilerPluginArguments") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllCompilerPluginArguments(values) + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param values The compilerPluginArguments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllCompilerPluginArguments") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + } + /** + * repeated string compiler_plugin_arguments = 6; + * @param index The index to set the value at. + * @param value The compilerPluginArguments to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setCompilerPluginArguments") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { + _builder.setCompilerPluginArguments(index, value) + }/** + * repeated string compiler_plugin_arguments = 6; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearCompilerPluginArguments") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearCompilerPluginArguments() + } + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class CompilerPluginClasspathProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated string compiler_plugin_classpath = 7; + * @return A list containing the compilerPluginClasspath. + */ + internal val compilerPluginClasspath: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getCompilerPluginClasspathList() + ) + /** + * repeated string compiler_plugin_classpath = 7; + * @param value The compilerPluginClasspath to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addCompilerPluginClasspath") + internal fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addCompilerPluginClasspath(value) + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param value The compilerPluginClasspath to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignCompilerPluginClasspath") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param values The compilerPluginClasspath to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllCompilerPluginClasspath") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllCompilerPluginClasspath(values) + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param values The compilerPluginClasspath to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllCompilerPluginClasspath") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + } + /** + * repeated string compiler_plugin_classpath = 7; + * @param index The index to set the value at. + * @param value The compilerPluginClasspath to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setCompilerPluginClasspath") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { + _builder.setCompilerPluginClasspath(index, value) + }/** + * repeated string compiler_plugin_classpath = 7; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearCompilerPluginClasspath") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearCompilerPluginClasspath() + } + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class FreeCompilerArgsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated string free_compiler_args = 8; + * @return A list containing the freeCompilerArgs. + */ + internal val freeCompilerArgs: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getFreeCompilerArgsList() + ) + /** + * repeated string free_compiler_args = 8; + * @param value The freeCompilerArgs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addFreeCompilerArgs") + internal fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addFreeCompilerArgs(value) + } + /** + * repeated string free_compiler_args = 8; + * @param value The freeCompilerArgs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignFreeCompilerArgs") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + /** + * repeated string free_compiler_args = 8; + * @param values The freeCompilerArgs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllFreeCompilerArgs") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllFreeCompilerArgs(values) + } + /** + * repeated string free_compiler_args = 8; + * @param values The freeCompilerArgs to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllFreeCompilerArgs") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + } + /** + * repeated string free_compiler_args = 8; + * @param index The index to set the value at. + * @param value The freeCompilerArgs to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setFreeCompilerArgs") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { + _builder.setFreeCompilerArgs(index, value) + }/** + * repeated string free_compiler_args = 8; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearFreeCompilerArgs") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearFreeCompilerArgs() + }} +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmLanguageSettingsProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoKt.kt new file mode 100644 index 00000000000..cd6c02fed1e --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleCoordinatesProtoKt.kt @@ -0,0 +1,148 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmModuleCoordinatesProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmModuleCoordinatesProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto = _builder.build() + + /** + * optional string build_id = 1; + */ + internal var buildId: kotlin.String + @JvmName("getBuildId") + get() = _builder.getBuildId() + @JvmName("setBuildId") + set(value) { + _builder.setBuildId(value) + } + /** + * optional string build_id = 1; + */ + internal fun clearBuildId() { + _builder.clearBuildId() + } + /** + * optional string build_id = 1; + * @return Whether the buildId field is set. + */ + internal fun hasBuildId(): kotlin.Boolean { + return _builder.hasBuildId() + } + + /** + * optional string project_path = 2; + */ + internal var projectPath: kotlin.String + @JvmName("getProjectPath") + get() = _builder.getProjectPath() + @JvmName("setProjectPath") + set(value) { + _builder.setProjectPath(value) + } + /** + * optional string project_path = 2; + */ + internal fun clearProjectPath() { + _builder.clearProjectPath() + } + /** + * optional string project_path = 2; + * @return Whether the projectPath field is set. + */ + internal fun hasProjectPath(): kotlin.Boolean { + return _builder.hasProjectPath() + } + + /** + * optional string project_name = 3; + */ + internal var projectName: kotlin.String + @JvmName("getProjectName") + get() = _builder.getProjectName() + @JvmName("setProjectName") + set(value) { + _builder.setProjectName(value) + } + /** + * optional string project_name = 3; + */ + internal fun clearProjectName() { + _builder.clearProjectName() + } + /** + * optional string project_name = 3; + * @return Whether the projectName field is set. + */ + internal fun hasProjectName(): kotlin.Boolean { + return _builder.hasProjectName() + } + + /** + * optional string module_name = 4; + */ + internal var moduleName: kotlin.String + @JvmName("getModuleName") + get() = _builder.getModuleName() + @JvmName("setModuleName") + set(value) { + _builder.setModuleName(value) + } + /** + * optional string module_name = 4; + */ + internal fun clearModuleName() { + _builder.clearModuleName() + } + /** + * optional string module_name = 4; + * @return Whether the moduleName field is set. + */ + internal fun hasModuleName(): kotlin.Boolean { + return _builder.hasModuleName() + } + + /** + * optional string module_classifier = 5; + */ + internal var moduleClassifier: kotlin.String + @JvmName("getModuleClassifier") + get() = _builder.getModuleClassifier() + @JvmName("setModuleClassifier") + set(value) { + _builder.setModuleClassifier(value) + } + /** + * optional string module_classifier = 5; + */ + internal fun clearModuleClassifier() { + _builder.clearModuleClassifier() + } + /** + * optional string module_classifier = 5; + * @return Whether the moduleClassifier field is set. + */ + internal fun hasModuleClassifier(): kotlin.Boolean { + return _builder.hasModuleClassifier() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoKt.kt new file mode 100644 index 00000000000..ff8aa2a20f5 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmModuleProtoKt.kt @@ -0,0 +1,206 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmModuleProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmModuleProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + internal var coordinates: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto + @JvmName("getCoordinates") + get() = _builder.getCoordinates() + @JvmName("setCoordinates") + set(value) { + _builder.setCoordinates(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + */ + internal fun clearCoordinates() { + _builder.clearCoordinates() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + internal fun hasCoordinates(): kotlin.Boolean { + return _builder.hasCoordinates() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class FragmentsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + internal val fragments: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getFragmentsList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + * @param value The fragments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addFragments") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) { + _builder.addFragments(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + * @param value The fragments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignFragments") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + * @param values The fragments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllFragments") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllFragments(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + * @param values The fragments to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllFragments") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + * @param index The index to set the value at. + * @param value The fragments to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setFragments") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto) { + _builder.setFragments(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragments = 3; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearFragments") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearFragments() + } + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class VariantsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + internal val variants: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getVariantsList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + * @param value The variants to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addVariants") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) { + _builder.addVariants(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + * @param value The variants to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignVariants") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + * @param values The variants to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllVariants") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllVariants(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + * @param values The variants to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllVariants") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + * @param index The index to set the value at. + * @param value The variants to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setVariants") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto) { + _builder.setVariants(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto variants = 4; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearVariants") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearVariants() + }} +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoKt.kt new file mode 100644 index 00000000000..288946e2d98 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmNativePlatformProtoKt.kt @@ -0,0 +1,76 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmNativePlatformProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmNativePlatformProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional string konan_target = 2; + */ + internal var konanTarget: kotlin.String + @JvmName("getKonanTarget") + get() = _builder.getKonanTarget() + @JvmName("setKonanTarget") + set(value) { + _builder.setKonanTarget(value) + } + /** + * optional string konan_target = 2; + */ + internal fun clearKonanTarget() { + _builder.clearKonanTarget() + } + /** + * optional string konan_target = 2; + * @return Whether the konanTarget field is set. + */ + internal fun hasKonanTarget(): kotlin.Boolean { + return _builder.hasKonanTarget() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoKt.kt new file mode 100644 index 00000000000..d0d6d1dd6d9 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmPlatformProtoKt.kt @@ -0,0 +1,155 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmPlatformProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmPlatformProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto = _builder.build() + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + internal var jvm: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto + @JvmName("getJvm") + get() = _builder.getJvm() + @JvmName("setJvm") + set(value) { + _builder.setJvm(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + */ + internal fun clearJvm() { + _builder.clearJvm() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJvmPlatformProto jvm = 1; + * @return Whether the jvm field is set. + */ + internal fun hasJvm(): kotlin.Boolean { + return _builder.hasJvm() + } + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + internal var native: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto + @JvmName("getNative") + get() = _builder.getNative() + @JvmName("setNative") + set(value) { + _builder.setNative(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + */ + internal fun clearNative() { + _builder.clearNative() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmNativePlatformProto native = 2; + * @return Whether the native field is set. + */ + internal fun hasNative(): kotlin.Boolean { + return _builder.hasNative() + } + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + internal var js: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto + @JvmName("getJs") + get() = _builder.getJs() + @JvmName("setJs") + set(value) { + _builder.setJs(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + */ + internal fun clearJs() { + _builder.clearJs() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmJsPlatformProto js = 3; + * @return Whether the js field is set. + */ + internal fun hasJs(): kotlin.Boolean { + return _builder.hasJs() + } + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + internal var wasm: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto + @JvmName("getWasm") + get() = _builder.getWasm() + @JvmName("setWasm") + set(value) { + _builder.setWasm(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + */ + internal fun clearWasm() { + _builder.clearWasm() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto wasm = 4; + * @return Whether the wasm field is set. + */ + internal fun hasWasm(): kotlin.Boolean { + return _builder.hasWasm() + } + + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + internal var unknown: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto + @JvmName("getUnknown") + get() = _builder.getUnknown() + @JvmName("setUnknown") + set(value) { + _builder.setUnknown(value) + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + */ + internal fun clearUnknown() { + _builder.clearUnknown() + } + /** + * .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto unknown = 5; + * @return Whether the unknown field is set. + */ + internal fun hasUnknown(): kotlin.Boolean { + return _builder.hasUnknown() + } + internal val platformCase: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.PlatformCase + @JvmName("getPlatformCase") + get() = _builder.getPlatformCase() + + internal fun clearPlatform() { + _builder.clearPlatform() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoKt.kt new file mode 100644 index 00000000000..b09ab622da6 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmProjectProtoKt.kt @@ -0,0 +1,213 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmProjectProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmProjectProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional string gradle_plugin_version = 2; + */ + internal var gradlePluginVersion: kotlin.String + @JvmName("getGradlePluginVersion") + get() = _builder.getGradlePluginVersion() + @JvmName("setGradlePluginVersion") + set(value) { + _builder.setGradlePluginVersion(value) + } + /** + * optional string gradle_plugin_version = 2; + */ + internal fun clearGradlePluginVersion() { + _builder.clearGradlePluginVersion() + } + /** + * optional string gradle_plugin_version = 2; + * @return Whether the gradlePluginVersion field is set. + */ + internal fun hasGradlePluginVersion(): kotlin.Boolean { + return _builder.hasGradlePluginVersion() + } + + /** + * optional string core_libraries_version = 3; + */ + internal var coreLibrariesVersion: kotlin.String + @JvmName("getCoreLibrariesVersion") + get() = _builder.getCoreLibrariesVersion() + @JvmName("setCoreLibrariesVersion") + set(value) { + _builder.setCoreLibrariesVersion(value) + } + /** + * optional string core_libraries_version = 3; + */ + internal fun clearCoreLibrariesVersion() { + _builder.clearCoreLibrariesVersion() + } + /** + * optional string core_libraries_version = 3; + * @return Whether the coreLibrariesVersion field is set. + */ + internal fun hasCoreLibrariesVersion(): kotlin.Boolean { + return _builder.hasCoreLibrariesVersion() + } + + /** + * optional string explicit_api_mode_cli_option = 4; + */ + internal var explicitApiModeCliOption: kotlin.String + @JvmName("getExplicitApiModeCliOption") + get() = _builder.getExplicitApiModeCliOption() + @JvmName("setExplicitApiModeCliOption") + set(value) { + _builder.setExplicitApiModeCliOption(value) + } + /** + * optional string explicit_api_mode_cli_option = 4; + */ + internal fun clearExplicitApiModeCliOption() { + _builder.clearExplicitApiModeCliOption() + } + /** + * optional string explicit_api_mode_cli_option = 4; + * @return Whether the explicitApiModeCliOption field is set. + */ + internal fun hasExplicitApiModeCliOption(): kotlin.Boolean { + return _builder.hasExplicitApiModeCliOption() + } + + /** + * optional string kotlin_native_home = 5; + */ + internal var kotlinNativeHome: kotlin.String + @JvmName("getKotlinNativeHome") + get() = _builder.getKotlinNativeHome() + @JvmName("setKotlinNativeHome") + set(value) { + _builder.setKotlinNativeHome(value) + } + /** + * optional string kotlin_native_home = 5; + */ + internal fun clearKotlinNativeHome() { + _builder.clearKotlinNativeHome() + } + /** + * optional string kotlin_native_home = 5; + * @return Whether the kotlinNativeHome field is set. + */ + internal fun hasKotlinNativeHome(): kotlin.Boolean { + return _builder.hasKotlinNativeHome() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class ModulesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + internal val modules: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = com.google.protobuf.kotlin.DslList( + _builder.getModulesList() + ) + /** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + * @param value The modules to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addModules") + internal fun com.google.protobuf.kotlin.DslList.add(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) { + _builder.addModules(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + * @param value The modules to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignModules") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) { + add(value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + * @param values The modules to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllModules") + internal fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { + _builder.addAllModules(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + * @param values The modules to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllModules") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { + addAll(values) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + * @param index The index to set the value at. + * @param value The modules to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setModules") + internal operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto) { + _builder.setModules(index, value) + }/** + * repeated .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmModuleProto modules = 6; + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearModules") + internal fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearModules() + }} +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmProjectProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoKt.kt new file mode 100644 index 00000000000..7b7ccd66ab6 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResolvedBinaryDependencyProtoKt.kt @@ -0,0 +1,124 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmResolvedBinaryDependencyProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmResolvedBinaryDependencyProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + internal var coordinates: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto + @JvmName("getCoordinates") + get() = _builder.getCoordinates() + @JvmName("setCoordinates") + set(value) { + _builder.setCoordinates(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + internal fun clearCoordinates() { + _builder.clearCoordinates() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + internal fun hasCoordinates(): kotlin.Boolean { + return _builder.hasCoordinates() + } + + /** + * optional string binary_type = 3; + */ + internal var binaryType: kotlin.String + @JvmName("getBinaryType") + get() = _builder.getBinaryType() + @JvmName("setBinaryType") + set(value) { + _builder.setBinaryType(value) + } + /** + * optional string binary_type = 3; + */ + internal fun clearBinaryType() { + _builder.clearBinaryType() + } + /** + * optional string binary_type = 3; + * @return Whether the binaryType field is set. + */ + internal fun hasBinaryType(): kotlin.Boolean { + return _builder.hasBinaryType() + } + + /** + * optional string binary_file_absolute_path = 4; + */ + internal var binaryFileAbsolutePath: kotlin.String + @JvmName("getBinaryFileAbsolutePath") + get() = _builder.getBinaryFileAbsolutePath() + @JvmName("setBinaryFileAbsolutePath") + set(value) { + _builder.setBinaryFileAbsolutePath(value) + } + /** + * optional string binary_file_absolute_path = 4; + */ + internal fun clearBinaryFileAbsolutePath() { + _builder.clearBinaryFileAbsolutePath() + } + /** + * optional string binary_file_absolute_path = 4; + * @return Whether the binaryFileAbsolutePath field is set. + */ + internal fun hasBinaryFileAbsolutePath(): kotlin.Boolean { + return _builder.hasBinaryFileAbsolutePath() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResolvedBinaryDependencyProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoKt.kt new file mode 100644 index 00000000000..9d77875dd43 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmResourceDirectoryProtoKt.kt @@ -0,0 +1,76 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmResourceDirectoryProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmResourceDirectoryProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional string absolute_path = 2; + */ + internal var absolutePath: kotlin.String + @JvmName("getAbsolutePath") + get() = _builder.getAbsolutePath() + @JvmName("setAbsolutePath") + set(value) { + _builder.setAbsolutePath(value) + } + /** + * optional string absolute_path = 2; + */ + internal fun clearAbsolutePath() { + _builder.clearAbsolutePath() + } + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + internal fun hasAbsolutePath(): kotlin.Boolean { + return _builder.hasAbsolutePath() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmResourceDirectoryProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoKt.kt new file mode 100644 index 00000000000..abecd03137a --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSchemaInfoProtoKt.kt @@ -0,0 +1,124 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmSchemaInfoProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmSchemaInfoProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto = _builder.build() + + /** + * optional uint32 since_schema_version_major = 1; + */ + internal var sinceSchemaVersionMajor: kotlin.Int + @JvmName("getSinceSchemaVersionMajor") + get() = _builder.getSinceSchemaVersionMajor() + @JvmName("setSinceSchemaVersionMajor") + set(value) { + _builder.setSinceSchemaVersionMajor(value) + } + /** + * optional uint32 since_schema_version_major = 1; + */ + internal fun clearSinceSchemaVersionMajor() { + _builder.clearSinceSchemaVersionMajor() + } + /** + * optional uint32 since_schema_version_major = 1; + * @return Whether the sinceSchemaVersionMajor field is set. + */ + internal fun hasSinceSchemaVersionMajor(): kotlin.Boolean { + return _builder.hasSinceSchemaVersionMajor() + } + + /** + * optional uint32 since_schema_version_minor = 2; + */ + internal var sinceSchemaVersionMinor: kotlin.Int + @JvmName("getSinceSchemaVersionMinor") + get() = _builder.getSinceSchemaVersionMinor() + @JvmName("setSinceSchemaVersionMinor") + set(value) { + _builder.setSinceSchemaVersionMinor(value) + } + /** + * optional uint32 since_schema_version_minor = 2; + */ + internal fun clearSinceSchemaVersionMinor() { + _builder.clearSinceSchemaVersionMinor() + } + /** + * optional uint32 since_schema_version_minor = 2; + * @return Whether the sinceSchemaVersionMinor field is set. + */ + internal fun hasSinceSchemaVersionMinor(): kotlin.Boolean { + return _builder.hasSinceSchemaVersionMinor() + } + + /** + * optional uint32 since_schema_version_patch = 3; + */ + internal var sinceSchemaVersionPatch: kotlin.Int + @JvmName("getSinceSchemaVersionPatch") + get() = _builder.getSinceSchemaVersionPatch() + @JvmName("setSinceSchemaVersionPatch") + set(value) { + _builder.setSinceSchemaVersionPatch(value) + } + /** + * optional uint32 since_schema_version_patch = 3; + */ + internal fun clearSinceSchemaVersionPatch() { + _builder.clearSinceSchemaVersionPatch() + } + /** + * optional uint32 since_schema_version_patch = 3; + * @return Whether the sinceSchemaVersionPatch field is set. + */ + internal fun hasSinceSchemaVersionPatch(): kotlin.Boolean { + return _builder.hasSinceSchemaVersionPatch() + } + + /** + * optional string message = 4; + */ + internal var message: kotlin.String + @JvmName("getMessage") + get() = _builder.getMessage() + @JvmName("setMessage") + set(value) { + _builder.setMessage(value) + } + /** + * optional string message = 4; + */ + internal fun clearMessage() { + _builder.clearMessage() + } + /** + * optional string message = 4; + * @return Whether the message field is set. + */ + internal fun hasMessage(): kotlin.Boolean { + return _builder.hasMessage() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSchemaInfoProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoKt.kt new file mode 100644 index 00000000000..8e1654b73ab --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmSourceDirectoryProtoKt.kt @@ -0,0 +1,100 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmSourceDirectoryProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmSourceDirectoryProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional string absolute_path = 2; + */ + internal var absolutePath: kotlin.String + @JvmName("getAbsolutePath") + get() = _builder.getAbsolutePath() + @JvmName("setAbsolutePath") + set(value) { + _builder.setAbsolutePath(value) + } + /** + * optional string absolute_path = 2; + */ + internal fun clearAbsolutePath() { + _builder.clearAbsolutePath() + } + /** + * optional string absolute_path = 2; + * @return Whether the absolutePath field is set. + */ + internal fun hasAbsolutePath(): kotlin.Boolean { + return _builder.hasAbsolutePath() + } + + /** + * optional string type = 3; + */ + internal var type: kotlin.String + @JvmName("getType") + get() = _builder.getType() + @JvmName("setType") + set(value) { + _builder.setType(value) + } + /** + * optional string type = 3; + */ + internal fun clearType() { + _builder.clearType() + } + /** + * optional string type = 3; + * @return Whether the type field is set. + */ + internal fun hasType(): kotlin.Boolean { + return _builder.hasType() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmSourceDirectoryProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoKt.kt new file mode 100644 index 00000000000..225b9895526 --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnknownPlatformProtoKt.kt @@ -0,0 +1,52 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmUnknownPlatformProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmUnknownPlatformProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnknownPlatformProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoKt.kt new file mode 100644 index 00000000000..6615f4a65cc --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmUnresolvedBinaryDependencyProtoKt.kt @@ -0,0 +1,100 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmUnresolvedBinaryDependencyProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmUnresolvedBinaryDependencyProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + internal var coordinates: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto + @JvmName("getCoordinates") + get() = _builder.getCoordinates() + @JvmName("setCoordinates") + set(value) { + _builder.setCoordinates(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + */ + internal fun clearCoordinates() { + _builder.clearCoordinates() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmBinaryCoordinatesProto coordinates = 2; + * @return Whether the coordinates field is set. + */ + internal fun hasCoordinates(): kotlin.Boolean { + return _builder.hasCoordinates() + } + + /** + * optional string cause = 3; + */ + internal var cause: kotlin.String + @JvmName("getCause") + get() = _builder.getCause() + @JvmName("setCause") + set(value) { + _builder.setCause(value) + } + /** + * optional string cause = 3; + */ + internal fun clearCause() { + _builder.clearCause() + } + /** + * optional string cause = 3; + * @return Whether the cause field is set. + */ + internal fun hasCause(): kotlin.Boolean { + return _builder.hasCause() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmUnresolvedBinaryDependencyProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoKt.kt new file mode 100644 index 00000000000..e7741da60ee --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmVariantProtoKt.kt @@ -0,0 +1,161 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmVariantProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmVariantProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + internal var fragment: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto + @JvmName("getFragment") + get() = _builder.getFragment() + @JvmName("setFragment") + set(value) { + _builder.setFragment(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + */ + internal fun clearFragment() { + _builder.clearFragment() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmFragmentProto fragment = 1; + * @return Whether the fragment field is set. + */ + internal fun hasFragment(): kotlin.Boolean { + return _builder.hasFragment() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + internal var platform: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto + @JvmName("getPlatform") + get() = _builder.getPlatform() + @JvmName("setPlatform") + set(value) { + _builder.setPlatform(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + */ + internal fun clearPlatform() { + _builder.clearPlatform() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmPlatformProto platform = 2; + * @return Whether the platform field is set. + */ + internal fun hasPlatform(): kotlin.Boolean { + return _builder.hasPlatform() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + internal class VariantAttributesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + /** + * map<string, string> variant_attributes = 3; + */ + internal val variantAttributes: com.google.protobuf.kotlin.DslMap + @kotlin.jvm.JvmSynthetic + @JvmName("getVariantAttributesMap") + get() = com.google.protobuf.kotlin.DslMap( + _builder.getVariantAttributesMap() + ) + /** + * map<string, string> variant_attributes = 3; + */ + @JvmName("putVariantAttributes") + internal fun com.google.protobuf.kotlin.DslMap + .put(key: kotlin.String, value: kotlin.String) { + _builder.putVariantAttributes(key, value) + } + /** + * map<string, string> variant_attributes = 3; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("setVariantAttributes") + @Suppress("NOTHING_TO_INLINE") + internal inline operator fun com.google.protobuf.kotlin.DslMap + .set(key: kotlin.String, value: kotlin.String) { + put(key, value) + } + /** + * map<string, string> variant_attributes = 3; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("removeVariantAttributes") + internal fun com.google.protobuf.kotlin.DslMap + .remove(key: kotlin.String) { + _builder.removeVariantAttributes(key) + } + /** + * map<string, string> variant_attributes = 3; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("putAllVariantAttributes") + internal fun com.google.protobuf.kotlin.DslMap + .putAll(map: kotlin.collections.Map) { + _builder.putAllVariantAttributes(map) + } + /** + * map<string, string> variant_attributes = 3; + */ + @kotlin.jvm.JvmSynthetic + @JvmName("clearVariantAttributes") + internal fun com.google.protobuf.kotlin.DslMap + .clear() { + _builder.clearVariantAttributes() + } + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + internal var compilationOutput: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto + @JvmName("getCompilationOutput") + get() = _builder.getCompilationOutput() + @JvmName("setCompilationOutput") + set(value) { + _builder.setCompilationOutput(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + */ + internal fun clearCompilationOutput() { + _builder.clearCompilationOutput() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmCompilationOutputProto compilation_output = 4; + * @return Whether the compilationOutput field is set. + */ + internal fun hasCompilationOutput(): kotlin.Boolean { + return _builder.hasCompilationOutput() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmVariantProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoKt.kt new file mode 100644 index 00000000000..872c91ca6fa --- /dev/null +++ b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/IdeaKpmWasmPlatformProtoKt.kt @@ -0,0 +1,52 @@ +//Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto_idea_kpm.proto + +package org.jetbrains.kotlin.kpm.idea.proto; + +@kotlin.jvm.JvmSynthetic +internal inline fun ideaKpmWasmPlatformProto(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoKt.Dsl._create(org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.newBuilder()).apply { block() }._build() +internal object IdeaKpmWasmPlatformProtoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + internal class Dsl private constructor( + private val _builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder + ) { + internal companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto = _builder.build() + + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal var extras: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto + @JvmName("getExtras") + get() = _builder.getExtras() + @JvmName("setExtras") + set(value) { + _builder.setExtras(value) + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + */ + internal fun clearExtras() { + _builder.clearExtras() + } + /** + * optional .org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmExtrasProto extras = 1; + * @return Whether the extras field is set. + */ + internal fun hasExtras(): kotlin.Boolean { + return _builder.hasExtras() + } + } +} +@kotlin.jvm.JvmSynthetic +internal inline fun org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto.copy(block: org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProto = + org.jetbrains.kotlin.kpm.idea.proto.IdeaKpmWasmPlatformProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtrasKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmExtrasKt.kt new file mode 100644 index 00000000000..e69de29bb2d diff --git a/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmKt.kt b/libraries/tools/kotlin-gradle-plugin-idea-proto/src/generated/kotlin/org/jetbrains/kotlin/kpm/idea/proto/ProtoIdeaKpmKt.kt new file mode 100644 index 00000000000..e69de29bb2d