Searched refs:ValueOneofCase (Results 1 – 6 of 6) sorted by relevance
82 case ValueOneofCase.LongValue: in GaugeResponse()85 case ValueOneofCase.DoubleValue: in GaugeResponse()88 case ValueOneofCase.StringValue: in GaugeResponse()116 get { return valueCase_ == ValueOneofCase.LongValue ? (long) value_ : 0L; }119 valueCase_ = ValueOneofCase.LongValue;127 get { return valueCase_ == ValueOneofCase.DoubleValue ? (double) value_ : 0D; }130 valueCase_ = ValueOneofCase.DoubleValue;138 get { return valueCase_ == ValueOneofCase.StringValue ? (string) value_ : ""; }141 valueCase_ = ValueOneofCase.StringValue;147 public enum ValueOneofCase { enum in Grpc.Testing.GaugeResponse[all …]
34 case ChannelArg.ValueOneofCase.StrValue: in ToChannelOption()36 case ChannelArg.ValueOneofCase.IntValue: in ToChannelOption()
1033 case ValueOneofCase.StrValue: in ChannelArg()1036 case ValueOneofCase.IntValue: in ChannelArg()1064 get { return valueCase_ == ValueOneofCase.StrValue ? (string) value_ : ""; }1067 valueCase_ = ValueOneofCase.StrValue;1075 get { return valueCase_ == ValueOneofCase.IntValue ? (int) value_ : 0; }1078 valueCase_ = ValueOneofCase.IntValue;1084 public enum ValueOneofCase { enum in Grpc.Testing.ChannelArg1089 private ValueOneofCase valueCase_ = ValueOneofCase.None;1091 public ValueOneofCase ValueCase {1097 valueCase_ = ValueOneofCase.None; in ClearValue()[all …]
446 case ValueOneofCase.Count: in Metric()449 case ValueOneofCase.Histogram: in Metric()477 get { return valueCase_ == ValueOneofCase.Count ? (ulong) value_ : 0UL; }480 valueCase_ = ValueOneofCase.Count;488 …get { return valueCase_ == ValueOneofCase.Histogram ? (global::Grpc.Core.Histogram) value_ : null;…491 valueCase_ = value == null ? ValueOneofCase.None : ValueOneofCase.Histogram;497 public enum ValueOneofCase { enum in Grpc.Core.Metric502 private ValueOneofCase valueCase_ = ValueOneofCase.None;504 public ValueOneofCase ValueCase {510 valueCase_ = ValueOneofCase.None; in ClearValue()[all …]
2460 case ValueOneofCase.Text: in OneofMerging()2463 case ValueOneofCase.Nested: in OneofMerging()2480 get { return valueCase_ == ValueOneofCase.Text ? (string) value_ : ""; }2483 valueCase_ = ValueOneofCase.Text;2491 …get { return valueCase_ == ValueOneofCase.Nested ? (global::UnitTest.Issues.TestProtos.OneofMergin…2494 valueCase_ = value == null ? ValueOneofCase.None : ValueOneofCase.Nested;2500 public enum ValueOneofCase { enum in UnitTest.Issues.TestProtos.OneofMerging2505 private ValueOneofCase valueCase_ = ValueOneofCase.None;2507 public ValueOneofCase ValueCase {2513 valueCase_ = ValueOneofCase.None; in ClearValue()[all …]
983 Assert.AreEqual(NullValueOutsideStruct.ValueOneofCase.NullValue, message.ValueCase); in NullValueOutsideStruct_NullLiteral()1003 Assert.AreEqual(NullValueOutsideStruct.ValueOneofCase.NullValue, message.ValueCase); in NullValueOutsideStruct_Compatibility()