build.bazel.remote.asset.v1.PushBlobResponseKt.kt Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/asset/v1/remote_asset.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package build.bazel.remote.asset.v1;
@kotlin.jvm.JvmName("-initializepushBlobResponse")
public inline fun pushBlobResponse(block: build.bazel.remote.asset.v1.PushBlobResponseKt.Dsl.() -> kotlin.Unit): build.bazel.remote.asset.v1.PushBlobResponse =
build.bazel.remote.asset.v1.PushBlobResponseKt.Dsl._create(build.bazel.remote.asset.v1.PushBlobResponse.newBuilder()).apply { block() }._build()
/**
* ```
* A response message for
* [Push.PushBlob][build.bazel.remote.asset.v1.Push.PushBlob].
* ```
*
* Protobuf type `build.bazel.remote.asset.v1.PushBlobResponse`
*/
public object PushBlobResponseKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
public class Dsl private constructor(
private val _builder: build.bazel.remote.asset.v1.PushBlobResponse.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: build.bazel.remote.asset.v1.PushBlobResponse.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): build.bazel.remote.asset.v1.PushBlobResponse = _builder.build()
}
}
@kotlin.jvm.JvmSynthetic
public inline fun build.bazel.remote.asset.v1.PushBlobResponse.copy(block: `build.bazel.remote.asset.v1`.PushBlobResponseKt.Dsl.() -> kotlin.Unit): build.bazel.remote.asset.v1.PushBlobResponse =
`build.bazel.remote.asset.v1`.PushBlobResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build()