Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Sources/LiveKit/Protos/livekit_metrics.pb.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ struct Livekit_MetricsBatch: Sendable {
var timestampMs: Int64 = 0

var normalizedTimestamp: SwiftProtobuf.Google_Protobuf_Timestamp {
get {return _normalizedTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
get {_normalizedTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
set {_normalizedTimestamp = newValue}
}
/// Returns true if `normalizedTimestamp` has been explicitly set.
var hasNormalizedTimestamp: Bool {return self._normalizedTimestamp != nil}
var hasNormalizedTimestamp: Bool {self._normalizedTimestamp != nil}
/// Clears the value of `normalizedTimestamp`. Subsequent reads from it will return its default value.
mutating func clearNormalizedTimestamp() {self._normalizedTimestamp = nil}

Expand Down Expand Up @@ -241,11 +241,11 @@ struct Livekit_MetricSample: Sendable {
var timestampMs: Int64 = 0

var normalizedTimestamp: SwiftProtobuf.Google_Protobuf_Timestamp {
get {return _normalizedTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
get {_normalizedTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
set {_normalizedTimestamp = newValue}
}
/// Returns true if `normalizedTimestamp` has been explicitly set.
var hasNormalizedTimestamp: Bool {return self._normalizedTimestamp != nil}
var hasNormalizedTimestamp: Bool {self._normalizedTimestamp != nil}
/// Clears the value of `normalizedTimestamp`. Subsequent reads from it will return its default value.
mutating func clearNormalizedTimestamp() {self._normalizedTimestamp = nil}

Expand Down Expand Up @@ -276,29 +276,29 @@ struct Livekit_EventMetric: Sendable {

/// end time of event based on a monotonic clock (in milliseconds), if needed
var endTimestampMs: Int64 {
get {return _endTimestampMs ?? 0}
get {_endTimestampMs ?? 0}
set {_endTimestampMs = newValue}
}
/// Returns true if `endTimestampMs` has been explicitly set.
var hasEndTimestampMs: Bool {return self._endTimestampMs != nil}
var hasEndTimestampMs: Bool {self._endTimestampMs != nil}
/// Clears the value of `endTimestampMs`. Subsequent reads from it will return its default value.
mutating func clearEndTimestampMs() {self._endTimestampMs = nil}

var normalizedStartTimestamp: SwiftProtobuf.Google_Protobuf_Timestamp {
get {return _normalizedStartTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
get {_normalizedStartTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
set {_normalizedStartTimestamp = newValue}
}
/// Returns true if `normalizedStartTimestamp` has been explicitly set.
var hasNormalizedStartTimestamp: Bool {return self._normalizedStartTimestamp != nil}
var hasNormalizedStartTimestamp: Bool {self._normalizedStartTimestamp != nil}
/// Clears the value of `normalizedStartTimestamp`. Subsequent reads from it will return its default value.
mutating func clearNormalizedStartTimestamp() {self._normalizedStartTimestamp = nil}

var normalizedEndTimestamp: SwiftProtobuf.Google_Protobuf_Timestamp {
get {return _normalizedEndTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
get {_normalizedEndTimestamp ?? SwiftProtobuf.Google_Protobuf_Timestamp()}
set {_normalizedEndTimestamp = newValue}
}
/// Returns true if `normalizedEndTimestamp` has been explicitly set.
var hasNormalizedEndTimestamp: Bool {return self._normalizedEndTimestamp != nil}
var hasNormalizedEndTimestamp: Bool {self._normalizedEndTimestamp != nil}
/// Clears the value of `normalizedEndTimestamp`. Subsequent reads from it will return its default value.
mutating func clearNormalizedEndTimestamp() {self._normalizedEndTimestamp = nil}

Expand All @@ -324,11 +324,11 @@ struct Livekit_MetricsRecordingHeader: Sendable {
var roomID: String = String()

var enableUserDataTraining: Bool {
get {return _enableUserDataTraining ?? false}
get {_enableUserDataTraining ?? false}
set {_enableUserDataTraining = newValue}
}
/// Returns true if `enableUserDataTraining` has been explicitly set.
var hasEnableUserDataTraining: Bool {return self._enableUserDataTraining != nil}
var hasEnableUserDataTraining: Bool {self._enableUserDataTraining != nil}
/// Clears the value of `enableUserDataTraining`. Subsequent reads from it will return its default value.
mutating func clearEnableUserDataTraining() {self._enableUserDataTraining = nil}

Expand Down
Loading
Loading