56 references to DataOneofCase
Aspire.Dashboard (56)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (49)
1137
case
DataOneofCase
.Gauge:
1140
case
DataOneofCase
.Sum:
1143
case
DataOneofCase
.Histogram:
1146
case
DataOneofCase
.ExponentialHistogram:
1149
case
DataOneofCase
.Summary:
1214
get { return dataCase_ ==
DataOneofCase
.Gauge ? (global::OpenTelemetry.Proto.Metrics.V1.Gauge) data_ : null; }
1217
dataCase_ = value == null ?
DataOneofCase
.None :
DataOneofCase
.Gauge;
1226
get { return dataCase_ ==
DataOneofCase
.Sum ? (global::OpenTelemetry.Proto.Metrics.V1.Sum) data_ : null; }
1229
dataCase_ = value == null ?
DataOneofCase
.None :
DataOneofCase
.Sum;
1238
get { return dataCase_ ==
DataOneofCase
.Histogram ? (global::OpenTelemetry.Proto.Metrics.V1.Histogram) data_ : null; }
1241
dataCase_ = value == null ?
DataOneofCase
.None :
DataOneofCase
.Histogram;
1250
get { return dataCase_ ==
DataOneofCase
.ExponentialHistogram ? (global::OpenTelemetry.Proto.Metrics.V1.ExponentialHistogram) data_ : null; }
1253
dataCase_ = value == null ?
DataOneofCase
.None :
DataOneofCase
.ExponentialHistogram;
1262
get { return dataCase_ ==
DataOneofCase
.Summary ? (global::OpenTelemetry.Proto.Metrics.V1.Summary) data_ : null; }
1265
dataCase_ = value == null ?
DataOneofCase
.None :
DataOneofCase
.Summary;
1279
private
DataOneofCase
dataCase_ =
DataOneofCase
.None;
1282
public
DataOneofCase
DataCase {
1289
dataCase_ =
DataOneofCase
.None;
1327
if (dataCase_ ==
DataOneofCase
.Gauge) hash ^= Gauge.GetHashCode();
1328
if (dataCase_ ==
DataOneofCase
.Sum) hash ^= Sum.GetHashCode();
1329
if (dataCase_ ==
DataOneofCase
.Histogram) hash ^= Histogram.GetHashCode();
1330
if (dataCase_ ==
DataOneofCase
.ExponentialHistogram) hash ^= ExponentialHistogram.GetHashCode();
1331
if (dataCase_ ==
DataOneofCase
.Summary) hash ^= Summary.GetHashCode();
1405
if (dataCase_ ==
DataOneofCase
.Gauge) {
1409
if (dataCase_ ==
DataOneofCase
.Sum) {
1413
if (dataCase_ ==
DataOneofCase
.Histogram) {
1417
if (dataCase_ ==
DataOneofCase
.ExponentialHistogram) {
1421
if (dataCase_ ==
DataOneofCase
.Summary) {
1444
if (dataCase_ ==
DataOneofCase
.Gauge) {
1447
if (dataCase_ ==
DataOneofCase
.Sum) {
1450
if (dataCase_ ==
DataOneofCase
.Histogram) {
1453
if (dataCase_ ==
DataOneofCase
.ExponentialHistogram) {
1456
if (dataCase_ ==
DataOneofCase
.Summary) {
1481
case
DataOneofCase
.Gauge:
1487
case
DataOneofCase
.Sum:
1493
case
DataOneofCase
.Histogram:
1499
case
DataOneofCase
.ExponentialHistogram:
1505
case
DataOneofCase
.Summary:
1622
if (dataCase_ ==
DataOneofCase
.Gauge) {
1631
if (dataCase_ ==
DataOneofCase
.Sum) {
1640
if (dataCase_ ==
DataOneofCase
.Histogram) {
1649
if (dataCase_ ==
DataOneofCase
.ExponentialHistogram) {
1658
if (dataCase_ ==
DataOneofCase
.Summary) {
Otlp\Model\OtlpApplication.cs (4)
87
private static OtlpInstrumentType MapMetricType(Metric.
DataOneofCase
data)
91
Metric.
DataOneofCase
.Gauge => OtlpInstrumentType.Gauge,
92
Metric.
DataOneofCase
.Sum => OtlpInstrumentType.Sum,
93
Metric.
DataOneofCase
.Histogram => OtlpInstrumentType.Histogram,
Otlp\Model\OtlpInstrument.cs (3)
46
case Metric.
DataOneofCase
.Gauge:
52
case Metric.
DataOneofCase
.Sum:
58
case Metric.
DataOneofCase
.Histogram: