-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLiteOrBuilder
public interface LivekitMetrics.MetricsBatchOrBuilder implements MessageLiteOrBuilder
-
-
Method Summary
Modifier and Type Method Description abstract longgetTimestampMs()time at which this batch is sent based on a monotonic clock (millisecond resolution)int64 timestamp_ms = 1;abstract booleanhasNormalizedTimestamp().google.protobuf.Timestamp normalized_timestamp = 2;abstract TimestampgetNormalizedTimestamp().google.protobuf.Timestamp normalized_timestamp = 2;abstract List<String>getStrDataList()To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;abstract intgetStrDataCount()To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;abstract StringgetStrData(int index)To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;abstract ByteStringgetStrDataBytes(int index)To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;abstract List<LivekitMetrics.TimeSeriesMetric>getTimeSeriesList()repeated .livekit.TimeSeriesMetric time_series = 4;abstract LivekitMetrics.TimeSeriesMetricgetTimeSeries(int index)repeated .livekit.TimeSeriesMetric time_series = 4;abstract intgetTimeSeriesCount()repeated .livekit.TimeSeriesMetric time_series = 4;abstract List<LivekitMetrics.EventMetric>getEventsList()repeated .livekit.EventMetric events = 5;abstract LivekitMetrics.EventMetricgetEvents(int index)repeated .livekit.EventMetric events = 5;abstract intgetEventsCount()repeated .livekit.EventMetric events = 5;-
-
Method Detail
-
getTimestampMs
abstract long getTimestampMs()
time at which this batch is sent based on a monotonic clock (millisecond resolution)int64 timestamp_ms = 1;
-
hasNormalizedTimestamp
abstract boolean hasNormalizedTimestamp()
.google.protobuf.Timestamp normalized_timestamp = 2;
-
getNormalizedTimestamp
abstract Timestamp getNormalizedTimestamp()
.google.protobuf.Timestamp normalized_timestamp = 2;
-
getStrDataList
abstract List<String> getStrDataList()
To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;
-
getStrDataCount
abstract int getStrDataCount()
To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;
-
getStrData
abstract String getStrData(int index)
To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;- Parameters:
index- The index of the element to return.
-
getStrDataBytes
abstract ByteString getStrDataBytes(int index)
To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.repeated string str_data = 3;- Parameters:
index- The index of the element to return.
-
getTimeSeriesList
abstract List<LivekitMetrics.TimeSeriesMetric> getTimeSeriesList()
repeated .livekit.TimeSeriesMetric time_series = 4;
-
getTimeSeries
abstract LivekitMetrics.TimeSeriesMetric getTimeSeries(int index)
repeated .livekit.TimeSeriesMetric time_series = 4;
-
getTimeSeriesCount
abstract int getTimeSeriesCount()
repeated .livekit.TimeSeriesMetric time_series = 4;
-
getEventsList
abstract List<LivekitMetrics.EventMetric> getEventsList()
repeated .livekit.EventMetric events = 5;
-
getEvents
abstract LivekitMetrics.EventMetric getEvents(int index)
repeated .livekit.EventMetric events = 5;
-
getEventsCount
abstract int getEventsCount()
repeated .livekit.EventMetric events = 5;
-
-
-
-