games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoKt.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/reservation/definition.proto
package games.mythical.saga.sdk.proto.streams.reservation;
@kotlin.jvm.JvmName("-initializereservationReleasedProto")
inline fun reservationReleasedProto(block: games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto =
games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoKt.Dsl._create(games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.newBuilder()).apply { block() }._build()
object ReservationReleasedProtoKt {
@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.reservation.ReservationReleasedProto.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto = _builder.build()
/**
* string reservation_id = 1;
*/
var reservationId: kotlin.String
@JvmName("getReservationId")
get() = _builder.getReservationId()
@JvmName("setReservationId")
set(value) {
_builder.setReservationId(value)
}
/**
* string reservation_id = 1;
*/
fun clearReservationId() {
_builder.clearReservationId()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.copy(block: games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto =
games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build()