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

build.bazel.remote.execution.v2.FindMissingBlobsResponseKt.kt Maven / Gradle / Ivy

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto

// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package build.bazel.remote.execution.v2;

@kotlin.jvm.JvmName("-initializefindMissingBlobsResponse")
public inline fun findMissingBlobsResponse(block: build.bazel.remote.execution.v2.FindMissingBlobsResponseKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.FindMissingBlobsResponse =
  build.bazel.remote.execution.v2.FindMissingBlobsResponseKt.Dsl._create(build.bazel.remote.execution.v2.FindMissingBlobsResponse.newBuilder()).apply { block() }._build()
/**
 * ```
 * A response message for
 * [ContentAddressableStorage.FindMissingBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.FindMissingBlobs].
 * ```
 *
 * Protobuf type `build.bazel.remote.execution.v2.FindMissingBlobsResponse`
 */
public object FindMissingBlobsResponseKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: build.bazel.remote.execution.v2.FindMissingBlobsResponse.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: build.bazel.remote.execution.v2.FindMissingBlobsResponse.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): build.bazel.remote.execution.v2.FindMissingBlobsResponse = _builder.build()

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class MissingBlobDigestsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     */
     public val missingBlobDigests: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getMissingBlobDigestsList()
      )
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     * @param value The missingBlobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addMissingBlobDigests")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.Digest) {
      _builder.addMissingBlobDigests(value)
    }
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     * @param value The missingBlobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignMissingBlobDigests")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: build.bazel.remote.execution.v2.Digest) {
      add(value)
    }
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     * @param values The missingBlobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllMissingBlobDigests")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllMissingBlobDigests(values)
    }
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     * @param values The missingBlobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllMissingBlobDigests")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     * @param index The index to set the value at.
     * @param value The missingBlobDigests to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setMissingBlobDigests")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.Digest) {
      _builder.setMissingBlobDigests(index, value)
    }
    /**
     * ```
     * A list of the blobs requested *not* present in the storage.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearMissingBlobDigests")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearMissingBlobDigests()
    }

  }
}
@kotlin.jvm.JvmSynthetic
public inline fun build.bazel.remote.execution.v2.FindMissingBlobsResponse.copy(block: `build.bazel.remote.execution.v2`.FindMissingBlobsResponseKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.FindMissingBlobsResponse =
  `build.bazel.remote.execution.v2`.FindMissingBlobsResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy