// Generated by the protocol buffer compiler. DO NOT EDIT! // source: deviceapis/device/v1/deviceapis_device_safe_emergency_file_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.deviceapis.device.v1; @kotlin.jvm.JvmName("-initializegetSafeCityEmergencyFileListResponse") public inline fun getSafeCityEmergencyFileListResponse(block: ru.deviceapis.device.v1.GetSafeCityEmergencyFileListResponseKt.Dsl.() -> kotlin.Unit): ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse = ru.deviceapis.device.v1.GetSafeCityEmergencyFileListResponseKt.Dsl._create(ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ на запрос получения списка файлов оповещения * ``` * * Protobuf type `deviceapis.device.v1.GetSafeCityEmergencyFileListResponse` */ public object GetSafeCityEmergencyFileListResponseKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse = _builder.build() /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class DataProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public val data: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getDataList() ) /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` * @param value The data to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addData") public fun com.google.protobuf.kotlin.DslList.add(value: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.SafeCityEmergencyFile) { _builder.addData(value) } /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` * @param value The data to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignData") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.SafeCityEmergencyFile) { add(value) } /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` * @param values The data to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllData") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllData(values) } /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` * @param values The data to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllData") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` * @param index The index to set the value at. * @param value The data to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setData") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.SafeCityEmergencyFile) { _builder.setData(index, value) } /** * ``` * Список SafeCityEmergencyFile * ``` * * `repeated .deviceapis.device.v1.SafeCityEmergencyFile data = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearData") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearData() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse.copy(block: ru.deviceapis.device.v1.GetSafeCityEmergencyFileListResponseKt.Dsl.() -> kotlin.Unit): ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.GetSafeCityEmergencyFileListResponse = ru.deviceapis.device.v1.GetSafeCityEmergencyFileListResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build()