![JAR search and dependency download from the Maven repository](/logo.png)
build.bazel.remote.execution.v2.DirectoryNodeKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of remote-cache Show documentation
Show all versions of remote-cache Show documentation
Bitrise remote cache implementation for Gradle
// 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("-initializedirectoryNode")
public inline fun directoryNode(block: build.bazel.remote.execution.v2.DirectoryNodeKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.DirectoryNode =
build.bazel.remote.execution.v2.DirectoryNodeKt.Dsl._create(build.bazel.remote.execution.v2.DirectoryNode.newBuilder()).apply { block() }._build()
/**
* ```
* A `DirectoryNode` represents a child of a
* [Directory][build.bazel.remote.execution.v2.Directory] which is itself
* a `Directory` and its associated metadata.
* ```
*
* Protobuf type `build.bazel.remote.execution.v2.DirectoryNode`
*/
public object DirectoryNodeKt {
@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.DirectoryNode.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: build.bazel.remote.execution.v2.DirectoryNode.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): build.bazel.remote.execution.v2.DirectoryNode = _builder.build()
/**
* ```
* The name of the directory.
* ```
*
* `string name = 1;`
*/
public var name: kotlin.String
@JvmName("getName")
get() = _builder.getName()
@JvmName("setName")
set(value) {
_builder.setName(value)
}
/**
* ```
* The name of the directory.
* ```
*
* `string name = 1;`
*/
public fun clearName() {
_builder.clearName()
}
/**
* ```
* The digest of the
* [Directory][build.bazel.remote.execution.v2.Directory] object
* represented. See [Digest][build.bazel.remote.execution.v2.Digest]
* for information about how to take the digest of a proto message.
* ```
*
* `.build.bazel.remote.execution.v2.Digest digest = 2;`
*/
public var digest: build.bazel.remote.execution.v2.Digest
@JvmName("getDigest")
get() = _builder.getDigest()
@JvmName("setDigest")
set(value) {
_builder.setDigest(value)
}
/**
* ```
* The digest of the
* [Directory][build.bazel.remote.execution.v2.Directory] object
* represented. See [Digest][build.bazel.remote.execution.v2.Digest]
* for information about how to take the digest of a proto message.
* ```
*
* `.build.bazel.remote.execution.v2.Digest digest = 2;`
*/
public fun clearDigest() {
_builder.clearDigest()
}
/**
* ```
* The digest of the
* [Directory][build.bazel.remote.execution.v2.Directory] object
* represented. See [Digest][build.bazel.remote.execution.v2.Digest]
* for information about how to take the digest of a proto message.
* ```
*
* `.build.bazel.remote.execution.v2.Digest digest = 2;`
* @return Whether the digest field is set.
*/
public fun hasDigest(): kotlin.Boolean {
return _builder.hasDigest()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun build.bazel.remote.execution.v2.DirectoryNode.copy(block: `build.bazel.remote.execution.v2`.DirectoryNodeKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.DirectoryNode =
`build.bazel.remote.execution.v2`.DirectoryNodeKt.Dsl._create(this.toBuilder()).apply { block() }._build()
public val build.bazel.remote.execution.v2.DirectoryNodeOrBuilder.digestOrNull: build.bazel.remote.execution.v2.Digest?
get() = if (hasDigest()) getDigest() else null
© 2015 - 2025 Weber Informatics LLC | Privacy Policy