// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_control/v1/keyapis_telemetry_control_dictionary_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.telemetry_control.v1; @kotlin.jvm.JvmName("-initializedictionaryMrf") public inline fun dictionaryMrf(block: ru.keyapis.telemetry_control.v1.DictionaryMrfKt.Dsl.() -> kotlin.Unit): ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf = ru.keyapis.telemetry_control.v1.DictionaryMrfKt.Dsl._create(ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf.newBuilder()).apply { block() }._build() /** * ``` * Элемент справочника Макрорегионы (МРФ) * ``` * * Protobuf type `keyapis.telemetry_control.v1.DictionaryMrf` */ public object DictionaryMrfKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf = _builder.build() /** * ``` * Идентификатор * ``` * * `int32 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public var id: kotlin.Int @JvmName("getId") get() = _builder.getId() @JvmName("setId") set(value) { _builder.setId(value) } /** * ``` * Идентификатор * ``` * * `int32 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public fun clearId() { _builder.clearId() } /** * ``` * Дата создания * ``` * * `.google.protobuf.Timestamp created_at = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public var createdAt: com.google.protobuf.Timestamp @JvmName("getCreatedAt") get() = _builder.getCreatedAt() @JvmName("setCreatedAt") set(value) { _builder.setCreatedAt(value) } /** * ``` * Дата создания * ``` * * `.google.protobuf.Timestamp created_at = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public fun clearCreatedAt() { _builder.clearCreatedAt() } /** * ``` * Дата создания * ``` * * `.google.protobuf.Timestamp created_at = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];` * @return Whether the createdAt field is set. */ public fun hasCreatedAt(): kotlin.Boolean { return _builder.hasCreatedAt() } /** * ``` * Дата последнего изменения. * Заполняется и обновляется сервером. * Заполняется при создании и изменении * ``` * * `.google.protobuf.Timestamp changed_at = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public var changedAt: com.google.protobuf.Timestamp @JvmName("getChangedAt") get() = _builder.getChangedAt() @JvmName("setChangedAt") set(value) { _builder.setChangedAt(value) } /** * ``` * Дата последнего изменения. * Заполняется и обновляется сервером. * Заполняется при создании и изменении * ``` * * `.google.protobuf.Timestamp changed_at = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public fun clearChangedAt() { _builder.clearChangedAt() } /** * ``` * Дата последнего изменения. * Заполняется и обновляется сервером. * Заполняется при создании и изменении * ``` * * `.google.protobuf.Timestamp changed_at = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];` * @return Whether the changedAt field is set. */ public fun hasChangedAt(): kotlin.Boolean { return _builder.hasChangedAt() } /** * ``` * Локализованный заголовок элемента * ``` * * `.google.protobuf.StringValue title = 4;` */ public var title: com.google.protobuf.StringValue @JvmName("getTitle") get() = _builder.getTitle() @JvmName("setTitle") set(value) { _builder.setTitle(value) } /** * ``` * Локализованный заголовок элемента * ``` * * `.google.protobuf.StringValue title = 4;` */ public fun clearTitle() { _builder.clearTitle() } /** * ``` * Локализованный заголовок элемента * ``` * * `.google.protobuf.StringValue title = 4;` * @return Whether the title field is set. */ public fun hasTitle(): kotlin.Boolean { return _builder.hasTitle() } /** * ``` * Техническое наименование элемента * ``` * * `.google.protobuf.StringValue code = 5;` */ public var code: com.google.protobuf.StringValue @JvmName("getCode") get() = _builder.getCode() @JvmName("setCode") set(value) { _builder.setCode(value) } /** * ``` * Техническое наименование элемента * ``` * * `.google.protobuf.StringValue code = 5;` */ public fun clearCode() { _builder.clearCode() } /** * ``` * Техническое наименование элемента * ``` * * `.google.protobuf.StringValue code = 5;` * @return Whether the code field is set. */ public fun hasCode(): kotlin.Boolean { return _builder.hasCode() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf.copy(block: ru.keyapis.telemetry_control.v1.DictionaryMrfKt.Dsl.() -> kotlin.Unit): ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrf = ru.keyapis.telemetry_control.v1.DictionaryMrfKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrfOrBuilder.createdAtOrNull: com.google.protobuf.Timestamp? get() = if (hasCreatedAt()) getCreatedAt() else null public val ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrfOrBuilder.changedAtOrNull: com.google.protobuf.Timestamp? get() = if (hasChangedAt()) getChangedAt() else null public val ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrfOrBuilder.titleOrNull: com.google.protobuf.StringValue? get() = if (hasTitle()) getTitle() else null public val ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.DictionaryMrfOrBuilder.codeOrNull: com.google.protobuf.StringValue? get() = if (hasCode()) getCode() else null