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

games.mythical.saga.sdk.proto.api.item.GetItemRequestKt.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: api/item/definition.proto

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

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

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

    /**
     * 
     * Game's id for the Item to retrieve 
     * 
* * string inventory_id = 1; */ var inventoryId: kotlin.String @JvmName("getInventoryId") get() = _builder.getInventoryId() @JvmName("setInventoryId") set(value) { _builder.setInventoryId(value) } /** *
     * Game's id for the Item to retrieve 
     * 
* * string inventory_id = 1; */ fun clearInventoryId() { _builder.clearInventoryId() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.item.GetItemRequest.copy(block: games.mythical.saga.sdk.proto.api.item.GetItemRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.item.GetItemRequest = games.mythical.saga.sdk.proto.api.item.GetItemRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy