build.bazel.remote.execution.v2.ExecutedActionMetadataKt.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("-initializeexecutedActionMetadata")
public inline fun executedActionMetadata(block: build.bazel.remote.execution.v2.ExecutedActionMetadataKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.ExecutedActionMetadata =
build.bazel.remote.execution.v2.ExecutedActionMetadataKt.Dsl._create(build.bazel.remote.execution.v2.ExecutedActionMetadata.newBuilder()).apply { block() }._build()
/**
* ```
* ExecutedActionMetadata contains details about a completed execution.
* ```
*
* Protobuf type `build.bazel.remote.execution.v2.ExecutedActionMetadata`
*/
public object ExecutedActionMetadataKt {
@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.ExecutedActionMetadata.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: build.bazel.remote.execution.v2.ExecutedActionMetadata.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): build.bazel.remote.execution.v2.ExecutedActionMetadata = _builder.build()
/**
* ```
* The name of the worker which ran the execution.
* ```
*
* `string worker = 1;`
*/
public var worker: kotlin.String
@JvmName("getWorker")
get() = _builder.getWorker()
@JvmName("setWorker")
set(value) {
_builder.setWorker(value)
}
/**
* ```
* The name of the worker which ran the execution.
* ```
*
* `string worker = 1;`
*/
public fun clearWorker() {
_builder.clearWorker()
}
/**
* ```
* When was the action added to the queue.
* ```
*
* `.google.protobuf.Timestamp queued_timestamp = 2;`
*/
public var queuedTimestamp: com.google.protobuf.Timestamp
@JvmName("getQueuedTimestamp")
get() = _builder.getQueuedTimestamp()
@JvmName("setQueuedTimestamp")
set(value) {
_builder.setQueuedTimestamp(value)
}
/**
* ```
* When was the action added to the queue.
* ```
*
* `.google.protobuf.Timestamp queued_timestamp = 2;`
*/
public fun clearQueuedTimestamp() {
_builder.clearQueuedTimestamp()
}
/**
* ```
* When was the action added to the queue.
* ```
*
* `.google.protobuf.Timestamp queued_timestamp = 2;`
* @return Whether the queuedTimestamp field is set.
*/
public fun hasQueuedTimestamp(): kotlin.Boolean {
return _builder.hasQueuedTimestamp()
}
/**
* ```
* When the worker received the action.
* ```
*
* `.google.protobuf.Timestamp worker_start_timestamp = 3;`
*/
public var workerStartTimestamp: com.google.protobuf.Timestamp
@JvmName("getWorkerStartTimestamp")
get() = _builder.getWorkerStartTimestamp()
@JvmName("setWorkerStartTimestamp")
set(value) {
_builder.setWorkerStartTimestamp(value)
}
/**
* ```
* When the worker received the action.
* ```
*
* `.google.protobuf.Timestamp worker_start_timestamp = 3;`
*/
public fun clearWorkerStartTimestamp() {
_builder.clearWorkerStartTimestamp()
}
/**
* ```
* When the worker received the action.
* ```
*
* `.google.protobuf.Timestamp worker_start_timestamp = 3;`
* @return Whether the workerStartTimestamp field is set.
*/
public fun hasWorkerStartTimestamp(): kotlin.Boolean {
return _builder.hasWorkerStartTimestamp()
}
/**
* ```
* When the worker completed the action, including all stages.
* ```
*
* `.google.protobuf.Timestamp worker_completed_timestamp = 4;`
*/
public var workerCompletedTimestamp: com.google.protobuf.Timestamp
@JvmName("getWorkerCompletedTimestamp")
get() = _builder.getWorkerCompletedTimestamp()
@JvmName("setWorkerCompletedTimestamp")
set(value) {
_builder.setWorkerCompletedTimestamp(value)
}
/**
* ```
* When the worker completed the action, including all stages.
* ```
*
* `.google.protobuf.Timestamp worker_completed_timestamp = 4;`
*/
public fun clearWorkerCompletedTimestamp() {
_builder.clearWorkerCompletedTimestamp()
}
/**
* ```
* When the worker completed the action, including all stages.
* ```
*
* `.google.protobuf.Timestamp worker_completed_timestamp = 4;`
* @return Whether the workerCompletedTimestamp field is set.
*/
public fun hasWorkerCompletedTimestamp(): kotlin.Boolean {
return _builder.hasWorkerCompletedTimestamp()
}
/**
* ```
* When the worker started fetching action inputs.
* ```
*
* `.google.protobuf.Timestamp input_fetch_start_timestamp = 5;`
*/
public var inputFetchStartTimestamp: com.google.protobuf.Timestamp
@JvmName("getInputFetchStartTimestamp")
get() = _builder.getInputFetchStartTimestamp()
@JvmName("setInputFetchStartTimestamp")
set(value) {
_builder.setInputFetchStartTimestamp(value)
}
/**
* ```
* When the worker started fetching action inputs.
* ```
*
* `.google.protobuf.Timestamp input_fetch_start_timestamp = 5;`
*/
public fun clearInputFetchStartTimestamp() {
_builder.clearInputFetchStartTimestamp()
}
/**
* ```
* When the worker started fetching action inputs.
* ```
*
* `.google.protobuf.Timestamp input_fetch_start_timestamp = 5;`
* @return Whether the inputFetchStartTimestamp field is set.
*/
public fun hasInputFetchStartTimestamp(): kotlin.Boolean {
return _builder.hasInputFetchStartTimestamp()
}
/**
* ```
* When the worker finished fetching action inputs.
* ```
*
* `.google.protobuf.Timestamp input_fetch_completed_timestamp = 6;`
*/
public var inputFetchCompletedTimestamp: com.google.protobuf.Timestamp
@JvmName("getInputFetchCompletedTimestamp")
get() = _builder.getInputFetchCompletedTimestamp()
@JvmName("setInputFetchCompletedTimestamp")
set(value) {
_builder.setInputFetchCompletedTimestamp(value)
}
/**
* ```
* When the worker finished fetching action inputs.
* ```
*
* `.google.protobuf.Timestamp input_fetch_completed_timestamp = 6;`
*/
public fun clearInputFetchCompletedTimestamp() {
_builder.clearInputFetchCompletedTimestamp()
}
/**
* ```
* When the worker finished fetching action inputs.
* ```
*
* `.google.protobuf.Timestamp input_fetch_completed_timestamp = 6;`
* @return Whether the inputFetchCompletedTimestamp field is set.
*/
public fun hasInputFetchCompletedTimestamp(): kotlin.Boolean {
return _builder.hasInputFetchCompletedTimestamp()
}
/**
* ```
* When the worker started executing the action command.
* ```
*
* `.google.protobuf.Timestamp execution_start_timestamp = 7;`
*/
public var executionStartTimestamp: com.google.protobuf.Timestamp
@JvmName("getExecutionStartTimestamp")
get() = _builder.getExecutionStartTimestamp()
@JvmName("setExecutionStartTimestamp")
set(value) {
_builder.setExecutionStartTimestamp(value)
}
/**
* ```
* When the worker started executing the action command.
* ```
*
* `.google.protobuf.Timestamp execution_start_timestamp = 7;`
*/
public fun clearExecutionStartTimestamp() {
_builder.clearExecutionStartTimestamp()
}
/**
* ```
* When the worker started executing the action command.
* ```
*
* `.google.protobuf.Timestamp execution_start_timestamp = 7;`
* @return Whether the executionStartTimestamp field is set.
*/
public fun hasExecutionStartTimestamp(): kotlin.Boolean {
return _builder.hasExecutionStartTimestamp()
}
/**
* ```
* When the worker completed executing the action command.
* ```
*
* `.google.protobuf.Timestamp execution_completed_timestamp = 8;`
*/
public var executionCompletedTimestamp: com.google.protobuf.Timestamp
@JvmName("getExecutionCompletedTimestamp")
get() = _builder.getExecutionCompletedTimestamp()
@JvmName("setExecutionCompletedTimestamp")
set(value) {
_builder.setExecutionCompletedTimestamp(value)
}
/**
* ```
* When the worker completed executing the action command.
* ```
*
* `.google.protobuf.Timestamp execution_completed_timestamp = 8;`
*/
public fun clearExecutionCompletedTimestamp() {
_builder.clearExecutionCompletedTimestamp()
}
/**
* ```
* When the worker completed executing the action command.
* ```
*
* `.google.protobuf.Timestamp execution_completed_timestamp = 8;`
* @return Whether the executionCompletedTimestamp field is set.
*/
public fun hasExecutionCompletedTimestamp(): kotlin.Boolean {
return _builder.hasExecutionCompletedTimestamp()
}
/**
* ```
* When the worker started uploading action outputs.
* ```
*
* `.google.protobuf.Timestamp output_upload_start_timestamp = 9;`
*/
public var outputUploadStartTimestamp: com.google.protobuf.Timestamp
@JvmName("getOutputUploadStartTimestamp")
get() = _builder.getOutputUploadStartTimestamp()
@JvmName("setOutputUploadStartTimestamp")
set(value) {
_builder.setOutputUploadStartTimestamp(value)
}
/**
* ```
* When the worker started uploading action outputs.
* ```
*
* `.google.protobuf.Timestamp output_upload_start_timestamp = 9;`
*/
public fun clearOutputUploadStartTimestamp() {
_builder.clearOutputUploadStartTimestamp()
}
/**
* ```
* When the worker started uploading action outputs.
* ```
*
* `.google.protobuf.Timestamp output_upload_start_timestamp = 9;`
* @return Whether the outputUploadStartTimestamp field is set.
*/
public fun hasOutputUploadStartTimestamp(): kotlin.Boolean {
return _builder.hasOutputUploadStartTimestamp()
}
/**
* ```
* When the worker finished uploading action outputs.
* ```
*
* `.google.protobuf.Timestamp output_upload_completed_timestamp = 10;`
*/
public var outputUploadCompletedTimestamp: com.google.protobuf.Timestamp
@JvmName("getOutputUploadCompletedTimestamp")
get() = _builder.getOutputUploadCompletedTimestamp()
@JvmName("setOutputUploadCompletedTimestamp")
set(value) {
_builder.setOutputUploadCompletedTimestamp(value)
}
/**
* ```
* When the worker finished uploading action outputs.
* ```
*
* `.google.protobuf.Timestamp output_upload_completed_timestamp = 10;`
*/
public fun clearOutputUploadCompletedTimestamp() {
_builder.clearOutputUploadCompletedTimestamp()
}
/**
* ```
* When the worker finished uploading action outputs.
* ```
*
* `.google.protobuf.Timestamp output_upload_completed_timestamp = 10;`
* @return Whether the outputUploadCompletedTimestamp field is set.
*/
public fun hasOutputUploadCompletedTimestamp(): kotlin.Boolean {
return _builder.hasOutputUploadCompletedTimestamp()
}
/**
* An uninstantiable, behaviorless type to represent the field in
* generics.
*/
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
public class AuxiliaryMetadataProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
*/
public val auxiliaryMetadata: com.google.protobuf.kotlin.DslList
@kotlin.jvm.JvmSynthetic
get() = com.google.protobuf.kotlin.DslList(
_builder.getAuxiliaryMetadataList()
)
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
* @param value The auxiliaryMetadata to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addAuxiliaryMetadata")
public fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.Any) {
_builder.addAuxiliaryMetadata(value)
}
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
* @param value The auxiliaryMetadata to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignAuxiliaryMetadata")
@Suppress("NOTHING_TO_INLINE")
public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.Any) {
add(value)
}
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
* @param values The auxiliaryMetadata to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addAllAuxiliaryMetadata")
public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
_builder.addAllAuxiliaryMetadata(values)
}
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
* @param values The auxiliaryMetadata to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignAllAuxiliaryMetadata")
@Suppress("NOTHING_TO_INLINE")
public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
addAll(values)
}
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
* @param index The index to set the value at.
* @param value The auxiliaryMetadata to set.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("setAuxiliaryMetadata")
public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.Any) {
_builder.setAuxiliaryMetadata(index, value)
}
/**
* ```
* Details that are specific to the kind of worker used. For example,
* on POSIX-like systems this could contain a message with
* getrusage(2) statistics.
* ```
*
* `repeated .google.protobuf.Any auxiliary_metadata = 11;`
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("clearAuxiliaryMetadata")
public fun com.google.protobuf.kotlin.DslList.clear() {
_builder.clearAuxiliaryMetadata()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun build.bazel.remote.execution.v2.ExecutedActionMetadata.copy(block: `build.bazel.remote.execution.v2`.ExecutedActionMetadataKt.Dsl.() -> kotlin.Unit): build.bazel.remote.execution.v2.ExecutedActionMetadata =
`build.bazel.remote.execution.v2`.ExecutedActionMetadataKt.Dsl._create(this.toBuilder()).apply { block() }._build()
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.queuedTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasQueuedTimestamp()) getQueuedTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.workerStartTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasWorkerStartTimestamp()) getWorkerStartTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.workerCompletedTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasWorkerCompletedTimestamp()) getWorkerCompletedTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.inputFetchStartTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasInputFetchStartTimestamp()) getInputFetchStartTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.inputFetchCompletedTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasInputFetchCompletedTimestamp()) getInputFetchCompletedTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.executionStartTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasExecutionStartTimestamp()) getExecutionStartTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.executionCompletedTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasExecutionCompletedTimestamp()) getExecutionCompletedTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.outputUploadStartTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasOutputUploadStartTimestamp()) getOutputUploadStartTimestamp() else null
public val build.bazel.remote.execution.v2.ExecutedActionMetadataOrBuilder.outputUploadCompletedTimestampOrNull: com.google.protobuf.Timestamp?
get() = if (hasOutputUploadCompletedTimestamp()) getOutputUploadCompletedTimestamp() else null