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

build.bazel.remote.execution.v2.ActionResultKt.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("-initializeactionResult")
public inline fun actionResult(block: build.bazel.remote.execution.v2.ActionResultKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.ActionResult =
  build.bazel.remote.execution.v2.ActionResultKt.Dsl._create(build.bazel.remote.execution.v2.ActionResult.newBuilder()).apply { block() }._build()
/**
 * ```
 * An ActionResult represents the result of an
 * [Action][build.bazel.remote.execution.v2.Action] being run.
 *
 * It is advised that at least one field (for example
 * `ActionResult.execution_metadata.Worker`) have a non-default value, to
 * ensure that the serialized value is non-empty, which can then be used
 * as a basic data sanity check.
 * ```
 *
 * Protobuf type `build.bazel.remote.execution.v2.ActionResult`
 */
public object ActionResultKt {
  @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.ActionResult.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: build.bazel.remote.execution.v2.ActionResult.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class OutputFilesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     */
     public val outputFiles: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getOutputFilesList()
      )
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     * @param value The outputFiles to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addOutputFiles")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.OutputFile) {
      _builder.addOutputFiles(value)
    }
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     * @param value The outputFiles to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignOutputFiles")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: build.bazel.remote.execution.v2.OutputFile) {
      add(value)
    }
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     * @param values The outputFiles to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllOutputFiles")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllOutputFiles(values)
    }
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     * @param values The outputFiles to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllOutputFiles")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     * @param index The index to set the value at.
     * @param value The outputFiles to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setOutputFiles")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.OutputFile) {
      _builder.setOutputFiles(index, value)
    }
    /**
     * ```
     * The output files of the action. For each output file requested in the
     * `output_files` or `output_paths` field of the Action, if the corresponding
     * file existed after the action completed, a single entry will be present
     * either in this field, or the `output_file_symlinks` field if the file was
     * a symbolic link to another file (`output_symlinks` field after v2.1).
     *
     * If an output listed in `output_files` was found, but was a directory rather
     * than a regular file, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputFile output_files = 2;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearOutputFiles")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearOutputFiles()
    }


    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class OutputFileSymlinksProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     */
     public val outputFileSymlinks: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getOutputFileSymlinksList()
      )
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     * @param value The outputFileSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addOutputFileSymlinks")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.OutputSymlink) {
      _builder.addOutputFileSymlinks(value)
    }
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     * @param value The outputFileSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignOutputFileSymlinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: build.bazel.remote.execution.v2.OutputSymlink) {
      add(value)
    }
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     * @param values The outputFileSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllOutputFileSymlinks")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllOutputFileSymlinks(values)
    }
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     * @param values The outputFileSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllOutputFileSymlinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     * @param index The index to set the value at.
     * @param value The outputFileSymlinks to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setOutputFileSymlinks")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.OutputSymlink) {
      _builder.setOutputFileSymlinks(index, value)
    }
    /**
     * ```
     * The output files of the action that are symbolic links to other files. Those
     * may be links to other output files, or input files, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output file requested in the `output_files` or `output_paths`
     * field of the Action, if the corresponding file existed after
     * the action completed, a single entry will be present either in this field,
     * or in the `output_files` field, if the file was not a symbolic link.
     *
     * If an output symbolic link of the same name as listed in `output_files` of
     * the Command was found, but its target type was not a regular file, the
     * server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_file_symlinks = 10;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearOutputFileSymlinks")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearOutputFileSymlinks()
    }


    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class OutputSymlinksProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     */
     public val outputSymlinks: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getOutputSymlinksList()
      )
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     * @param value The outputSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addOutputSymlinks")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.OutputSymlink) {
      _builder.addOutputSymlinks(value)
    }
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     * @param value The outputSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignOutputSymlinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: build.bazel.remote.execution.v2.OutputSymlink) {
      add(value)
    }
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     * @param values The outputSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllOutputSymlinks")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllOutputSymlinks(values)
    }
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     * @param values The outputSymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllOutputSymlinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     * @param index The index to set the value at.
     * @param value The outputSymlinks to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setOutputSymlinks")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.OutputSymlink) {
      _builder.setOutputSymlinks(index, value)
    }
    /**
     * ```
     * New in v2.1: this field will only be populated if the command
     * `output_paths` field was used, and not the pre v2.1 `output_files` or
     * `output_directories` fields.
     * The output paths of the action that are symbolic links to other paths. Those
     * may be links to other outputs, or inputs, or even absolute paths
     * outside of the working directory, if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * A single entry for each output requested in `output_paths`
     * field of the Action, if the corresponding path existed after
     * the action completed and was a symbolic link.
     *
     * If the action does not produce a requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_symlinks = 12;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearOutputSymlinks")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearOutputSymlinks()
    }


    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class OutputDirectoriesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     */
     public val outputDirectories: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getOutputDirectoriesList()
      )
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     * @param value The outputDirectories to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addOutputDirectories")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.OutputDirectory) {
      _builder.addOutputDirectories(value)
    }
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     * @param value The outputDirectories to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignOutputDirectories")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: build.bazel.remote.execution.v2.OutputDirectory) {
      add(value)
    }
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     * @param values The outputDirectories to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllOutputDirectories")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllOutputDirectories(values)
    }
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     * @param values The outputDirectories to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllOutputDirectories")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     * @param index The index to set the value at.
     * @param value The outputDirectories to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setOutputDirectories")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.OutputDirectory) {
      _builder.setOutputDirectories(index, value)
    }
    /**
     * ```
     * The output directories of the action. For each output directory requested
     * in the `output_directories` or `output_paths` field of the Action, if the
     * corresponding directory existed after the action completed, a single entry
     * will be present in the output list, which will contain the digest of a
     * [Tree][build.bazel.remote.execution.v2.Tree] message containing the
     * directory tree, and the path equal exactly to the corresponding Action
     * output_directories member.
     *
     * As an example, suppose the Action had an output directory `a/b/dir` and the
     * execution produced the following contents in `a/b/dir`: a file named `bar`
     * and a directory named `foo` with an executable file named `baz`. Then,
     * output_directory will contain (hashes shortened for readability):
     *
     * ```json
     * // OutputDirectory proto:
     * {
     *   path: "a/b/dir"
     *   tree_digest: {
     *     hash: "4a73bc9d03...",
     *     size: 55
     *   }
     * }
     * // Tree proto with hash "4a73bc9d03..." and size 55:
     * {
     *   root: {
     *     files: [
     *       {
     *         name: "bar",
     *         digest: {
     *           hash: "4a73bc9d03...",
     *           size: 65534
     *         }
     *       }
     *     ],
     *     directories: [
     *       {
     *         name: "foo",
     *         digest: {
     *           hash: "4cf2eda940...",
     *           size: 43
     *         }
     *       }
     *     ]
     *   }
     *   children : {
     *     // (Directory proto with hash "4cf2eda940..." and size 43)
     *     files: [
     *       {
     *         name: "baz",
     *         digest: {
     *           hash: "b2c941073e...",
     *           size: 1294,
     *         },
     *         is_executable: true
     *       }
     *     ]
     *   }
     * }
     * ```
     * If an output of the same name as listed in `output_files` of
     * the Command was found in `output_directories`, but was not a directory, the
     * server will return a FAILED_PRECONDITION.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputDirectory output_directories = 3;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearOutputDirectories")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearOutputDirectories()
    }


    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class OutputDirectorySymlinksProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     */
     public val outputDirectorySymlinks: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getOutputDirectorySymlinksList()
      )
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     * @param value The outputDirectorySymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addOutputDirectorySymlinks")
    public fun com.google.protobuf.kotlin.DslList.add(value: build.bazel.remote.execution.v2.OutputSymlink) {
      _builder.addOutputDirectorySymlinks(value)
    }
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     * @param value The outputDirectorySymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignOutputDirectorySymlinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: build.bazel.remote.execution.v2.OutputSymlink) {
      add(value)
    }
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     * @param values The outputDirectorySymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllOutputDirectorySymlinks")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllOutputDirectorySymlinks(values)
    }
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     * @param values The outputDirectorySymlinks to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllOutputDirectorySymlinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     * @param index The index to set the value at.
     * @param value The outputDirectorySymlinks to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setOutputDirectorySymlinks")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: build.bazel.remote.execution.v2.OutputSymlink) {
      _builder.setOutputDirectorySymlinks(index, value)
    }
    /**
     * ```
     * The output directories of the action that are symbolic links to other
     * directories. Those may be links to other output directories, or input
     * directories, or even absolute paths outside of the working directory,
     * if the server supports
     * [SymlinkAbsolutePathStrategy.ALLOWED][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
     * For each output directory requested in the `output_directories` field of
     * the Action, if the directory existed after the action completed, a
     * single entry will be present either in this field, or in the
     * `output_directories` field, if the directory was not a symbolic link.
     *
     * If an output of the same name was found, but was a symbolic link to a file
     * instead of a directory, the server will return a FAILED_PRECONDITION.
     * If the action does not produce the requested output, then that output
     * will be omitted from the list. The server is free to arrange the output
     * list as desired; clients MUST NOT assume that the output list is sorted.
     *
     * DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
     * should still populate this field in addition to `output_symlinks`.
     * ```
     *
     * `repeated .build.bazel.remote.execution.v2.OutputSymlink output_directory_symlinks = 11;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearOutputDirectorySymlinks")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearOutputDirectorySymlinks()
    }


    /**
     * ```
     * The exit code of the command.
     * ```
     *
     * `int32 exit_code = 4;`
     */
    public var exitCode: kotlin.Int
      @JvmName("getExitCode")
      get() = _builder.getExitCode()
      @JvmName("setExitCode")
      set(value) {
        _builder.setExitCode(value)
      }
    /**
     * ```
     * The exit code of the command.
     * ```
     *
     * `int32 exit_code = 4;`
     */
    public fun clearExitCode() {
      _builder.clearExitCode()
    }

    /**
     * ```
     * The standard output buffer of the action. The server SHOULD NOT inline
     * stdout unless requested by the client in the
     * [GetActionResultRequest][build.bazel.remote.execution.v2.GetActionResultRequest]
     * message. The server MAY omit inlining, even if requested, and MUST do so if inlining
     * would cause the response to exceed message size limits.
     * ```
     *
     * `bytes stdout_raw = 5;`
     */
    public var stdoutRaw: com.google.protobuf.ByteString
      @JvmName("getStdoutRaw")
      get() = _builder.getStdoutRaw()
      @JvmName("setStdoutRaw")
      set(value) {
        _builder.setStdoutRaw(value)
      }
    /**
     * ```
     * The standard output buffer of the action. The server SHOULD NOT inline
     * stdout unless requested by the client in the
     * [GetActionResultRequest][build.bazel.remote.execution.v2.GetActionResultRequest]
     * message. The server MAY omit inlining, even if requested, and MUST do so if inlining
     * would cause the response to exceed message size limits.
     * ```
     *
     * `bytes stdout_raw = 5;`
     */
    public fun clearStdoutRaw() {
      _builder.clearStdoutRaw()
    }

    /**
     * ```
     * The digest for a blob containing the standard output of the action, which
     * can be retrieved from the
     * [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
     * ```
     *
     * `.build.bazel.remote.execution.v2.Digest stdout_digest = 6;`
     */
    public var stdoutDigest: build.bazel.remote.execution.v2.Digest
      @JvmName("getStdoutDigest")
      get() = _builder.getStdoutDigest()
      @JvmName("setStdoutDigest")
      set(value) {
        _builder.setStdoutDigest(value)
      }
    /**
     * ```
     * The digest for a blob containing the standard output of the action, which
     * can be retrieved from the
     * [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
     * ```
     *
     * `.build.bazel.remote.execution.v2.Digest stdout_digest = 6;`
     */
    public fun clearStdoutDigest() {
      _builder.clearStdoutDigest()
    }
    /**
     * ```
     * The digest for a blob containing the standard output of the action, which
     * can be retrieved from the
     * [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
     * ```
     *
     * `.build.bazel.remote.execution.v2.Digest stdout_digest = 6;`
     * @return Whether the stdoutDigest field is set.
     */
    public fun hasStdoutDigest(): kotlin.Boolean {
      return _builder.hasStdoutDigest()
    }

    /**
     * ```
     * The standard error buffer of the action. The server SHOULD NOT inline
     * stderr unless requested by the client in the
     * [GetActionResultRequest][build.bazel.remote.execution.v2.GetActionResultRequest]
     * message. The server MAY omit inlining, even if requested, and MUST do so if inlining
     * would cause the response to exceed message size limits.
     * ```
     *
     * `bytes stderr_raw = 7;`
     */
    public var stderrRaw: com.google.protobuf.ByteString
      @JvmName("getStderrRaw")
      get() = _builder.getStderrRaw()
      @JvmName("setStderrRaw")
      set(value) {
        _builder.setStderrRaw(value)
      }
    /**
     * ```
     * The standard error buffer of the action. The server SHOULD NOT inline
     * stderr unless requested by the client in the
     * [GetActionResultRequest][build.bazel.remote.execution.v2.GetActionResultRequest]
     * message. The server MAY omit inlining, even if requested, and MUST do so if inlining
     * would cause the response to exceed message size limits.
     * ```
     *
     * `bytes stderr_raw = 7;`
     */
    public fun clearStderrRaw() {
      _builder.clearStderrRaw()
    }

    /**
     * ```
     * The digest for a blob containing the standard error of the action, which
     * can be retrieved from the
     * [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
     * ```
     *
     * `.build.bazel.remote.execution.v2.Digest stderr_digest = 8;`
     */
    public var stderrDigest: build.bazel.remote.execution.v2.Digest
      @JvmName("getStderrDigest")
      get() = _builder.getStderrDigest()
      @JvmName("setStderrDigest")
      set(value) {
        _builder.setStderrDigest(value)
      }
    /**
     * ```
     * The digest for a blob containing the standard error of the action, which
     * can be retrieved from the
     * [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
     * ```
     *
     * `.build.bazel.remote.execution.v2.Digest stderr_digest = 8;`
     */
    public fun clearStderrDigest() {
      _builder.clearStderrDigest()
    }
    /**
     * ```
     * The digest for a blob containing the standard error of the action, which
     * can be retrieved from the
     * [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
     * ```
     *
     * `.build.bazel.remote.execution.v2.Digest stderr_digest = 8;`
     * @return Whether the stderrDigest field is set.
     */
    public fun hasStderrDigest(): kotlin.Boolean {
      return _builder.hasStderrDigest()
    }

    /**
     * ```
     * The details of the execution that originally produced this result.
     * ```
     *
     * `.build.bazel.remote.execution.v2.ExecutedActionMetadata execution_metadata = 9;`
     */
    public var executionMetadata: build.bazel.remote.execution.v2.ExecutedActionMetadata
      @JvmName("getExecutionMetadata")
      get() = _builder.getExecutionMetadata()
      @JvmName("setExecutionMetadata")
      set(value) {
        _builder.setExecutionMetadata(value)
      }
    /**
     * ```
     * The details of the execution that originally produced this result.
     * ```
     *
     * `.build.bazel.remote.execution.v2.ExecutedActionMetadata execution_metadata = 9;`
     */
    public fun clearExecutionMetadata() {
      _builder.clearExecutionMetadata()
    }
    /**
     * ```
     * The details of the execution that originally produced this result.
     * ```
     *
     * `.build.bazel.remote.execution.v2.ExecutedActionMetadata execution_metadata = 9;`
     * @return Whether the executionMetadata field is set.
     */
    public fun hasExecutionMetadata(): kotlin.Boolean {
      return _builder.hasExecutionMetadata()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun build.bazel.remote.execution.v2.ActionResult.copy(block: `build.bazel.remote.execution.v2`.ActionResultKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.ActionResult =
  `build.bazel.remote.execution.v2`.ActionResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()

public val build.bazel.remote.execution.v2.ActionResultOrBuilder.stdoutDigestOrNull: build.bazel.remote.execution.v2.Digest?
  get() = if (hasStdoutDigest()) getStdoutDigest() else null

public val build.bazel.remote.execution.v2.ActionResultOrBuilder.stderrDigestOrNull: build.bazel.remote.execution.v2.Digest?
  get() = if (hasStderrDigest()) getStderrDigest() else null

public val build.bazel.remote.execution.v2.ActionResultOrBuilder.executionMetadataOrNull: build.bazel.remote.execution.v2.ExecutedActionMetadata?
  get() = if (hasExecutionMetadata()) getExecutionMetadata() else null





© 2015 - 2024 Weber Informatics LLC | Privacy Policy