// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/ad/v1/keyapis_ad_salepoint_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.ad.v1; @kotlin.jvm.JvmName("-initializegetSalepointCountRequest") public inline fun getSalepointCountRequest(block: ru.keyapis.ad.v1.GetSalepointCountRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequest = ru.keyapis.ad.v1.GetSalepointCountRequestKt.Dsl._create(ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequest.newBuilder()).apply { block() }._build() /** * ``` * Запрос получения количества точек продаж * ``` * * Protobuf type `keyapis.ad.v1.GetSalepointCountRequest` */ public object GetSalepointCountRequestKt { @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.GetSalepointCountRequest.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequest.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequest = _builder.build() /** * ``` * Фильтр * ``` * * `.keyapis.ad.v1.SalepointFilter filter = 1;` */ public var filter: ru.keyapis.ad.v1.KeyapisAdV1Proto.SalepointFilter @JvmName("getFilter") get() = _builder.getFilter() @JvmName("setFilter") set(value) { _builder.setFilter(value) } /** * ``` * Фильтр * ``` * * `.keyapis.ad.v1.SalepointFilter filter = 1;` */ public fun clearFilter() { _builder.clearFilter() } /** * ``` * Фильтр * ``` * * `.keyapis.ad.v1.SalepointFilter filter = 1;` * @return Whether the filter field is set. */ public fun hasFilter(): kotlin.Boolean { return _builder.hasFilter() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequest.copy(block: ru.keyapis.ad.v1.GetSalepointCountRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequest = ru.keyapis.ad.v1.GetSalepointCountRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.ad.v1.KeyapisAdV1Proto.GetSalepointCountRequestOrBuilder.filterOrNull: ru.keyapis.ad.v1.KeyapisAdV1Proto.SalepointFilter? get() = if (hasFilter()) getFilter() else null