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

build.bazel.remote.execution.v2.FindMissingBlobsRequestKt.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("-initializefindMissingBlobsRequest")
public inline fun findMissingBlobsRequest(block: build.bazel.remote.execution.v2.FindMissingBlobsRequestKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.FindMissingBlobsRequest =
  build.bazel.remote.execution.v2.FindMissingBlobsRequestKt.Dsl._create(build.bazel.remote.execution.v2.FindMissingBlobsRequest.newBuilder()).apply { block() }._build()
/**
 * ```
 * A request message for
 * [ContentAddressableStorage.FindMissingBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.FindMissingBlobs].
 * ```
 *
 * Protobuf type `build.bazel.remote.execution.v2.FindMissingBlobsRequest`
 */
public object FindMissingBlobsRequestKt {
  @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.FindMissingBlobsRequest.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: build.bazel.remote.execution.v2.FindMissingBlobsRequest.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * ```
     * The instance of the execution system to operate against. A server may
     * support multiple instances of the execution system (with their own workers,
     * storage, caches, etc.). The server MAY require use of this field to select
     * between them in an implementation-defined fashion, otherwise it can be
     * omitted.
     * ```
     *
     * `string instance_name = 1;`
     */
    public var instanceName: kotlin.String
      @JvmName("getInstanceName")
      get() = _builder.getInstanceName()
      @JvmName("setInstanceName")
      set(value) {
        _builder.setInstanceName(value)
      }
    /**
     * ```
     * The instance of the execution system to operate against. A server may
     * support multiple instances of the execution system (with their own workers,
     * storage, caches, etc.). The server MAY require use of this field to select
     * between them in an implementation-defined fashion, otherwise it can be
     * omitted.
     * ```
     *
     * `string instance_name = 1;`
     */
    public fun clearInstanceName() {
      _builder.clearInstanceName()
    }

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class BlobDigestsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * A list of the blobs to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     */
     public val blobDigests: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getBlobDigestsList()
      )
    /**
     * ```
     * A list of the blobs to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     * @param value The blobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addBlobDigests")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.Digest) {
      _builder.addBlobDigests(value)
    }
    /**
     * ```
     * A list of the blobs to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     * @param value The blobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignBlobDigests")
    @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 to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     * @param values The blobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllBlobDigests")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllBlobDigests(values)
    }
    /**
     * ```
     * A list of the blobs to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     * @param values The blobDigests to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllBlobDigests")
    @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 to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     * @param index The index to set the value at.
     * @param value The blobDigests to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setBlobDigests")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.Digest) {
      _builder.setBlobDigests(index, value)
    }
    /**
     * ```
     * A list of the blobs to check.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.Digest blob_digests = 2;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearBlobDigests")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearBlobDigests()
    }

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy