ExponentialHistogramDataPoint constructor
ExponentialHistogramDataPoint({
- Iterable<
KeyValue> ? attributes, - Int64? startTimeUnixNano,
- Int64? timeUnixNano,
- Int64? count,
- double? sum,
- int? scale,
- Int64? zeroCount,
- ExponentialHistogramDataPoint_Buckets? positive,
- ExponentialHistogramDataPoint_Buckets? negative,
- int? flags,
- Iterable<
Exemplar> ? exemplars, - double? min,
- double? max,
- double? zeroThreshold,
Implementation
factory ExponentialHistogramDataPoint({
$core.Iterable<$3.KeyValue>? attributes,
$fixnum.Int64? startTimeUnixNano,
$fixnum.Int64? timeUnixNano,
$fixnum.Int64? count,
$core.double? sum,
$core.int? scale,
$fixnum.Int64? zeroCount,
ExponentialHistogramDataPoint_Buckets? positive,
ExponentialHistogramDataPoint_Buckets? negative,
$core.int? flags,
$core.Iterable<Exemplar>? exemplars,
$core.double? min,
$core.double? max,
$core.double? zeroThreshold,
}) {
final $result = create();
if (attributes != null) {
$result.attributes.addAll(attributes);
}
if (startTimeUnixNano != null) {
$result.startTimeUnixNano = startTimeUnixNano;
}
if (timeUnixNano != null) {
$result.timeUnixNano = timeUnixNano;
}
if (count != null) {
$result.count = count;
}
if (sum != null) {
$result.sum = sum;
}
if (scale != null) {
$result.scale = scale;
}
if (zeroCount != null) {
$result.zeroCount = zeroCount;
}
if (positive != null) {
$result.positive = positive;
}
if (negative != null) {
$result.negative = negative;
}
if (flags != null) {
$result.flags = flags;
}
if (exemplars != null) {
$result.exemplars.addAll(exemplars);
}
if (min != null) {
$result.min = min;
}
if (max != null) {
$result.max = max;
}
if (zeroThreshold != null) {
$result.zeroThreshold = zeroThreshold;
}
return $result;
}