// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/ad/v1/keyapis_ad_marketplace_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.ad.v1; @kotlin.jvm.JvmName("-initializegetMarketplaceListResponse") public inline fun getMarketplaceListResponse(block: ru.keyapis.ad.v1.GetMarketplaceListResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse = ru.keyapis.ad.v1.GetMarketplaceListResponseKt.Dsl._create(ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ на запрос получения списка маркетплейсов * ``` * * Protobuf type `keyapis.ad.v1.GetMarketplaceListResponse` */ public object GetMarketplaceListResponseKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse = _builder.build() /** * ``` * Маркетплейс * ``` * * `.keyapis.ad.v1.Marketplace data = 1;` */ public var data: ru.keyapis.ad.v1.KeyapisAdV1Proto.Marketplace @JvmName("getData") get() = _builder.getData() @JvmName("setData") set(value) { _builder.setData(value) } /** * ``` * Маркетплейс * ``` * * `.keyapis.ad.v1.Marketplace data = 1;` */ public fun clearData() { _builder.clearData() } /** * ``` * Маркетплейс * ``` * * `.keyapis.ad.v1.Marketplace data = 1;` * @return Whether the data field is set. */ public fun hasData(): kotlin.Boolean { return _builder.hasData() } public val typeCase: ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse.TypeCase @JvmName("getTypeCase") get() = _builder.getTypeCase() public fun clearType() { _builder.clearType() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse.copy(block: ru.keyapis.ad.v1.GetMarketplaceListResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponse = ru.keyapis.ad.v1.GetMarketplaceListResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.ad.v1.KeyapisAdV1Proto.GetMarketplaceListResponseOrBuilder.dataOrNull: ru.keyapis.ad.v1.KeyapisAdV1Proto.Marketplace? get() = if (hasData()) getData() else null