// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_alerting/v1/keyapis_telemetry_alerting_trigger_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.telemetry_alerting.v1; @kotlin.jvm.JvmName("-initializetriggerFilter") public inline fun triggerFilter(block: ru.keyapis.telemetry_alerting.v1.TriggerFilterKt.Dsl.() -> kotlin.Unit): ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter = ru.keyapis.telemetry_alerting.v1.TriggerFilterKt.Dsl._create(ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter.newBuilder()).apply { block() }._build() /** * ``` * Параметры фильтрации триггеров. * При передаче массива в параметр фильтра элементы массива работают в выборке через ИЛИ. * При передаче нескольких разных параметров фильтра они работают в выборке через И * ``` * * Protobuf type `keyapis.telemetry_alerting.v1.TriggerFilter` */ public object TriggerFilterKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter = _builder.build() /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class SeverityTypesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` */ public val severityTypes: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getSeverityTypesList() ) /** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` * @param value The severityTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addSeverityTypes") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.SeverityType) { _builder.addSeverityTypes(value) }/** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` * @param value The severityTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignSeverityTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.SeverityType) { add(value) }/** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` * @param values The severityTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllSeverityTypes") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllSeverityTypes(values) }/** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` * @param values The severityTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllSeverityTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` * @param index The index to set the value at. * @param value The severityTypes to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setSeverityTypes") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.SeverityType) { _builder.setSeverityTypes(index, value) }/** * ``` * По уровням критичности * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.SeverityType severity_types = 1;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearSeverityTypes") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearSeverityTypes() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class TagsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * По тэгам * ``` * * `repeated string tags = 2;` * @return A list containing the tags. */ public val tags: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getTagsList() ) /** * ``` * По тэгам * ``` * * `repeated string tags = 2;` * @param value The tags to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addTags") public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { _builder.addTags(value) } /** * ``` * По тэгам * ``` * * `repeated string tags = 2;` * @param value The tags to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignTags") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { add(value) } /** * ``` * По тэгам * ``` * * `repeated string tags = 2;` * @param values The tags to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllTags") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllTags(values) } /** * ``` * По тэгам * ``` * * `repeated string tags = 2;` * @param values The tags to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllTags") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * По тэгам * ``` * * `repeated string tags = 2;` * @param index The index to set the value at. * @param value The tags to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setTags") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { _builder.setTags(index, value) }/** * ``` * По тэгам * ``` * * `repeated string tags = 2;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearTags") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearTags() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class MetricTypesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` */ public val metricTypes: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getMetricTypesList() ) /** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` * @param value The metricTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addMetricTypes") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.MetricType) { _builder.addMetricTypes(value) }/** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` * @param value The metricTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignMetricTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.MetricType) { add(value) }/** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` * @param values The metricTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllMetricTypes") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllMetricTypes(values) }/** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` * @param values The metricTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllMetricTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` * @param index The index to set the value at. * @param value The metricTypes to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setMetricTypes") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.MetricType) { _builder.setMetricTypes(index, value) }/** * ``` * По типам метрик триггеров * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricType metric_types = 3;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearMetricTypes") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearMetricTypes() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class DeviceModelsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` * @return A list containing the deviceModels. */ public val deviceModels: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getDeviceModelsList() ) /** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` * @param value The deviceModels to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addDeviceModels") public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { _builder.addDeviceModels(value) } /** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` * @param value The deviceModels to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignDeviceModels") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { add(value) } /** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` * @param values The deviceModels to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllDeviceModels") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllDeviceModels(values) } /** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` * @param values The deviceModels to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllDeviceModels") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` * @param index The index to set the value at. * @param value The deviceModels to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setDeviceModels") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { _builder.setDeviceModels(index, value) }/** * ``` * По моделям устройств * ``` * * `repeated string device_models = 4;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearDeviceModels") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearDeviceModels() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class DeviceTypesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` */ public val deviceTypes: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getDeviceTypesList() ) /** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` * @param value The deviceTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addDeviceTypes") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.DeviceType) { _builder.addDeviceTypes(value) }/** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` * @param value The deviceTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignDeviceTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.DeviceType) { add(value) }/** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` * @param values The deviceTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllDeviceTypes") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllDeviceTypes(values) }/** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` * @param values The deviceTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllDeviceTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` * @param index The index to set the value at. * @param value The deviceTypes to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setDeviceTypes") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.DeviceType) { _builder.setDeviceTypes(index, value) }/** * ``` * По типам устройств * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.DeviceType device_types = 5;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearDeviceTypes") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearDeviceTypes() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class MetricGroupingTypesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` */ public val metricGroupingTypes: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getMetricGroupingTypesList() ) /** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` * @param value The metricGroupingTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addMetricGroupingTypes") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.MetricGroupingType) { _builder.addMetricGroupingTypes(value) }/** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` * @param value The metricGroupingTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignMetricGroupingTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.MetricGroupingType) { add(value) }/** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` * @param values The metricGroupingTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllMetricGroupingTypes") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllMetricGroupingTypes(values) }/** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` * @param values The metricGroupingTypes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllMetricGroupingTypes") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` * @param index The index to set the value at. * @param value The metricGroupingTypes to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setMetricGroupingTypes") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.Trigger.MetricGroupingType) { _builder.setMetricGroupingTypes(index, value) }/** * ``` * По типам группировки метрик * ``` * * `repeated .keyapis.telemetry_alerting.v1.Trigger.MetricGroupingType metric_grouping_types = 6;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearMetricGroupingTypes") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearMetricGroupingTypes() } /** * ``` * По признаку активности триггера * ``` * * `.google.protobuf.BoolValue is_disabled = 7;` */ public var isDisabled: com.google.protobuf.BoolValue @JvmName("getIsDisabled") get() = _builder.getIsDisabled() @JvmName("setIsDisabled") set(value) { _builder.setIsDisabled(value) } /** * ``` * По признаку активности триггера * ``` * * `.google.protobuf.BoolValue is_disabled = 7;` */ public fun clearIsDisabled() { _builder.clearIsDisabled() } /** * ``` * По признаку активности триггера * ``` * * `.google.protobuf.BoolValue is_disabled = 7;` * @return Whether the isDisabled field is set. */ public fun hasIsDisabled(): kotlin.Boolean { return _builder.hasIsDisabled() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter.copy(block: ru.keyapis.telemetry_alerting.v1.TriggerFilterKt.Dsl.() -> kotlin.Unit): ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilter = ru.keyapis.telemetry_alerting.v1.TriggerFilterKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.telemetry_alerting.v1.KeyapisTelemetryAlertingV1Proto.TriggerFilterOrBuilder.isDisabledOrNull: com.google.protobuf.BoolValue? get() = if (hasIsDisabled()) getIsDisabled() else null