games.mythical.saga.sdk.proto.streams.StatusConfirmRequestKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streams/stream.proto
package games.mythical.saga.sdk.proto.streams;
@kotlin.jvm.JvmName("-initializestatusConfirmRequest")
inline fun statusConfirmRequest(block: games.mythical.saga.sdk.proto.streams.StatusConfirmRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.StatusConfirmRequest =
games.mythical.saga.sdk.proto.streams.StatusConfirmRequestKt.Dsl._create(games.mythical.saga.sdk.proto.streams.StatusConfirmRequest.newBuilder()).apply { block() }._build()
object StatusConfirmRequestKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
class Dsl private constructor(
private val _builder: games.mythical.saga.sdk.proto.streams.StatusConfirmRequest.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.streams.StatusConfirmRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.streams.StatusConfirmRequest = _builder.build()
/**
* string trace_id = 1;
*/
var traceId: kotlin.String
@JvmName("getTraceId")
get() = _builder.getTraceId()
@JvmName("setTraceId")
set(value) {
_builder.setTraceId(value)
}
/**
* string trace_id = 1;
*/
fun clearTraceId() {
_builder.clearTraceId()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.streams.StatusConfirmRequest.copy(block: games.mythical.saga.sdk.proto.streams.StatusConfirmRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.StatusConfirmRequest =
games.mythical.saga.sdk.proto.streams.StatusConfirmRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()