com.google.bytestream.QueryWriteStatusRequestKt.kt Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/bytestream/bytestream.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package com.google.bytestream;
@kotlin.jvm.JvmName("-initializequeryWriteStatusRequest")
public inline fun queryWriteStatusRequest(block: com.google.bytestream.QueryWriteStatusRequestKt.Dsl.() -> kotlin.Unit): com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest =
com.google.bytestream.QueryWriteStatusRequestKt.Dsl._create(com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.newBuilder()).apply { block() }._build()
/**
* ```
* Request object for ByteStream.QueryWriteStatus.
* ```
*
* Protobuf type `google.bytestream.QueryWriteStatusRequest`
*/
public object QueryWriteStatusRequestKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
public class Dsl private constructor(
private val _builder: com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest = _builder.build()
/**
* ```
* The name of the resource whose write status is being requested.
* ```
*
* `string resource_name = 1;`
*/
public var resourceName: kotlin.String
@JvmName("getResourceName")
get() = _builder.getResourceName()
@JvmName("setResourceName")
set(value) {
_builder.setResourceName(value)
}
/**
* ```
* The name of the resource whose write status is being requested.
* ```
*
* `string resource_name = 1;`
*/
public fun clearResourceName() {
_builder.clearResourceName()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.copy(block: `com.google.bytestream`.QueryWriteStatusRequestKt.Dsl.() -> kotlin.Unit): com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest =
`com.google.bytestream`.QueryWriteStatusRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()