All Downloads are FREE. Search and download functionalities are using the official Maven repository.

games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdatesKt.kt Maven / Gradle / Ivy

There is a newer version: 1.1.30
Show newest version
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streams/item/definition.proto

package games.mythical.saga.sdk.proto.streams.item;

@kotlin.jvm.JvmName("-initializeitemStatusUpdates")
inline fun itemStatusUpdates(block: games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdatesKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates =
  games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdatesKt.Dsl._create(games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.newBuilder()).apply { block() }._build()
object ItemStatusUpdatesKt {
  @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.item.ItemStatusUpdates.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates = _builder.build()

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    class StatusUpdatesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     */
     val statusUpdates: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getStatusUpdatesList()
      )
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     * @param value The statusUpdates to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addStatusUpdates")
    fun com.google.protobuf.kotlin.DslList.add(value: games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate) {
      _builder.addStatusUpdates(value)
    }
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     * @param value The statusUpdates to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignStatusUpdates")
    @Suppress("NOTHING_TO_INLINE")
    inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate) {
      add(value)
    }
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     * @param values The statusUpdates to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllStatusUpdates")
    fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllStatusUpdates(values)
    }
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     * @param values The statusUpdates to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllStatusUpdates")
    @Suppress("NOTHING_TO_INLINE")
    inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     * @param index The index to set the value at.
     * @param value The statusUpdates to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setStatusUpdates")
    operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate) {
      _builder.setStatusUpdates(index, value)
    }
    /**
     * repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearStatusUpdates")
    fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearStatusUpdates()
    }

  }
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.copy(block: games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdatesKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates =
  games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdatesKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy