// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/vc/v1/keyapis_vc_camera_archive_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.vc.v1; @kotlin.jvm.JvmName("-initializegetCameraArchiveIntervalsRequest") public inline fun getCameraArchiveIntervalsRequest(block: ru.keyapis.vc.v1.GetCameraArchiveIntervalsRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest = ru.keyapis.vc.v1.GetCameraArchiveIntervalsRequestKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest.newBuilder()).apply { block() }._build() /** * ``` * Запрос получения дней, в которых есть записи на камере * ``` * * Protobuf type `keyapis.vc.v1.GetCameraArchiveIntervalsRequest` */ public object GetCameraArchiveIntervalsRequestKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest = _builder.build() /** * ``` * Идентификатор камеры * ``` * * `string camera_uid = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var cameraUid: kotlin.String @JvmName("getCameraUid") get() = _builder.getCameraUid() @JvmName("setCameraUid") set(value) { _builder.setCameraUid(value) } /** * ``` * Идентификатор камеры * ``` * * `string camera_uid = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearCameraUid() { _builder.clearCameraUid() } /** * ``` * Время с которого нужно получить интервалы архива unixtime * ``` * * `.google.protobuf.DoubleValue timestamp_since = 2;` */ public var timestampSince: com.google.protobuf.DoubleValue @JvmName("getTimestampSince") get() = _builder.getTimestampSince() @JvmName("setTimestampSince") set(value) { _builder.setTimestampSince(value) } /** * ``` * Время с которого нужно получить интервалы архива unixtime * ``` * * `.google.protobuf.DoubleValue timestamp_since = 2;` */ public fun clearTimestampSince() { _builder.clearTimestampSince() } /** * ``` * Время с которого нужно получить интервалы архива unixtime * ``` * * `.google.protobuf.DoubleValue timestamp_since = 2;` * @return Whether the timestampSince field is set. */ public fun hasTimestampSince(): kotlin.Boolean { return _builder.hasTimestampSince() } /** * ``` * Время по которое нужно получить интервалы архива unixtime * ``` * * `.google.protobuf.DoubleValue timestamp_till = 3;` */ public var timestampTill: com.google.protobuf.DoubleValue @JvmName("getTimestampTill") get() = _builder.getTimestampTill() @JvmName("setTimestampTill") set(value) { _builder.setTimestampTill(value) } /** * ``` * Время по которое нужно получить интервалы архива unixtime * ``` * * `.google.protobuf.DoubleValue timestamp_till = 3;` */ public fun clearTimestampTill() { _builder.clearTimestampTill() } /** * ``` * Время по которое нужно получить интервалы архива unixtime * ``` * * `.google.protobuf.DoubleValue timestamp_till = 3;` * @return Whether the timestampTill field is set. */ public fun hasTimestampTill(): kotlin.Boolean { return _builder.hasTimestampTill() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest.copy(block: ru.keyapis.vc.v1.GetCameraArchiveIntervalsRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequest = ru.keyapis.vc.v1.GetCameraArchiveIntervalsRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequestOrBuilder.timestampSinceOrNull: com.google.protobuf.DoubleValue? get() = if (hasTimestampSince()) getTimestampSince() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveIntervalsRequestOrBuilder.timestampTillOrNull: com.google.protobuf.DoubleValue? get() = if (hasTimestampTill()) getTimestampTill() else null