// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: proto_tcs.proto

// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package org.jetbrains.kotlin.gradle.idea.proto.generated.tcs;

@kotlin.jvm.JvmName("-initializeideaKotlinUnresolvedBinaryDependencyProto")
public inline fun ideaKotlinUnresolvedBinaryDependencyProto(block: org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto =
  org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProtoKt.Dsl._create(org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto.newBuilder()).apply { block() }._build()
/**
 * Protobuf type `org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto`
 */
public object IdeaKotlinUnresolvedBinaryDependencyProtoKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto = _builder.build()

    /**
     * `optional .org.jetbrains.kotlin.gradle.idea.proto.generated.IdeaExtrasProto extras = 1;`
     */
    public var extras: org.jetbrains.kotlin.gradle.idea.proto.generated.IdeaExtrasProto
      @JvmName("getExtras")
      get() = _builder.extras
      @JvmName("setExtras")
      set(value) {
        _builder.extras = value
      }
    /**
     * `optional .org.jetbrains.kotlin.gradle.idea.proto.generated.IdeaExtrasProto extras = 1;`
     */
    public fun clearExtras() {
      _builder.clearExtras()
    }
    /**
     * `optional .org.jetbrains.kotlin.gradle.idea.proto.generated.IdeaExtrasProto extras = 1;`
     * @return Whether the extras field is set.
     */
    public fun hasExtras(): kotlin.Boolean {
      return _builder.hasExtras()
    }
    public val IdeaKotlinUnresolvedBinaryDependencyProtoKt.Dsl.extrasOrNull: org.jetbrains.kotlin.gradle.idea.proto.generated.IdeaExtrasProto?
      get() = _builder.extrasOrNull

    /**
     * `optional .org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinBinaryCoordinatesProto coordinates = 2;`
     */
    public var coordinates: org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinBinaryCoordinatesProto
      @JvmName("getCoordinates")
      get() = _builder.coordinates
      @JvmName("setCoordinates")
      set(value) {
        _builder.coordinates = value
      }
    /**
     * `optional .org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinBinaryCoordinatesProto coordinates = 2;`
     */
    public fun clearCoordinates() {
      _builder.clearCoordinates()
    }
    /**
     * `optional .org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinBinaryCoordinatesProto coordinates = 2;`
     * @return Whether the coordinates field is set.
     */
    public fun hasCoordinates(): kotlin.Boolean {
      return _builder.hasCoordinates()
    }
    public val IdeaKotlinUnresolvedBinaryDependencyProtoKt.Dsl.coordinatesOrNull: org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinBinaryCoordinatesProto?
      get() = _builder.coordinatesOrNull

    /**
     * `optional string cause = 3;`
     */
    public var cause: kotlin.String
      @JvmName("getCause")
      get() = _builder.cause
      @JvmName("setCause")
      set(value) {
        _builder.cause = value
      }
    /**
     * `optional string cause = 3;`
     */
    public fun clearCause() {
      _builder.clearCause()
    }
    /**
     * `optional string cause = 3;`
     * @return Whether the cause field is set.
     */
    public fun hasCause(): kotlin.Boolean {
      return _builder.hasCause()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto.copy(block: `org.jetbrains.kotlin.gradle.idea.proto.generated.tcs`.IdeaKotlinUnresolvedBinaryDependencyProtoKt.Dsl.() -> kotlin.Unit): org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProto =
  `org.jetbrains.kotlin.gradle.idea.proto.generated.tcs`.IdeaKotlinUnresolvedBinaryDependencyProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build()

public val org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProtoOrBuilder.extrasOrNull: org.jetbrains.kotlin.gradle.idea.proto.generated.IdeaExtrasProto?
  get() = if (hasExtras()) getExtras() else null

public val org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinUnresolvedBinaryDependencyProtoOrBuilder.coordinatesOrNull: org.jetbrains.kotlin.gradle.idea.proto.generated.tcs.IdeaKotlinBinaryCoordinatesProto?
  get() = if (hasCoordinates()) getCoordinates() else null

