Home
last modified time | relevance | path

Searched refs:ValueOneofCase (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMetrics.cs78 case ValueOneofCase.LongValue: in GaugeResponse()
81 case ValueOneofCase.DoubleValue: in GaugeResponse()
84 case ValueOneofCase.StringValue: in GaugeResponse()
112 get { return valueCase_ == ValueOneofCase.LongValue ? (long) value_ : 0L; }
115 valueCase_ = ValueOneofCase.LongValue;
123 get { return valueCase_ == ValueOneofCase.DoubleValue ? (double) value_ : 0D; }
126 valueCase_ = ValueOneofCase.DoubleValue;
134 get { return valueCase_ == ValueOneofCase.StringValue ? (string) value_ : ""; }
137 valueCase_ = ValueOneofCase.StringValue;
143 public enum ValueOneofCase { enum in Grpc.Testing.GaugeResponse
[all …]
DControlExtensions.cs34 case ChannelArg.ValueOneofCase.StrValue: in ToChannelOption()
36 case ChannelArg.ValueOneofCase.IntValue: in ToChannelOption()
DControl.cs826 case ValueOneofCase.StrValue: in ChannelArg()
829 case ValueOneofCase.IntValue: in ChannelArg()
857 get { return valueCase_ == ValueOneofCase.StrValue ? (string) value_ : ""; }
860 valueCase_ = ValueOneofCase.StrValue;
868 get { return valueCase_ == ValueOneofCase.IntValue ? (int) value_ : 0; }
871 valueCase_ = ValueOneofCase.IntValue;
877 public enum ValueOneofCase { enum in Grpc.Testing.ChannelArg
882 private ValueOneofCase valueCase_ = ValueOneofCase.None;
884 public ValueOneofCase ValueCase {
890 valueCase_ = ValueOneofCase.None; in ClearValue()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs351 case ValueOneofCase.Count: in Metric()
354 case ValueOneofCase.Histogram: in Metric()
382 get { return valueCase_ == ValueOneofCase.Count ? (ulong) value_ : 0UL; }
385 valueCase_ = ValueOneofCase.Count;
393 …get { return valueCase_ == ValueOneofCase.Histogram ? (global::Grpc.Core.Histogram) value_ : null;…
396 valueCase_ = value == null ? ValueOneofCase.None : ValueOneofCase.Histogram;
402 public enum ValueOneofCase { enum in Grpc.Core.Metric
407 private ValueOneofCase valueCase_ = ValueOneofCase.None;
409 public ValueOneofCase ValueCase {
415 valueCase_ = ValueOneofCase.None; in ClearValue()
[all …]