Searched refs:valueCase_ (Results 1 – 4 of 4) sorted by relevance
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;153 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in Grpc.Testing.GaugeResponse156 get { return valueCase_; }161 valueCase_ = ValueOneofCase.None; in ClearValue()190 if (valueCase_ == ValueOneofCase.LongValue) hash ^= LongValue.GetHashCode(); in GetHashCode()[all …]
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;1089 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in Grpc.Testing.ChannelArg1092 get { return valueCase_; }1097 valueCase_ = ValueOneofCase.None; in ClearValue()1125 if (valueCase_ == ValueOneofCase.StrValue) hash ^= StrValue.GetHashCode(); in GetHashCode()1126 if (valueCase_ == ValueOneofCase.IntValue) hash ^= IntValue.GetHashCode(); in GetHashCode()1127 hash ^= (int) valueCase_; in GetHashCode()[all …]
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;502 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in Grpc.Core.Metric505 get { return valueCase_; }510 valueCase_ = ValueOneofCase.None; in ClearValue()538 if (valueCase_ == ValueOneofCase.Count) hash ^= Count.GetHashCode(); in GetHashCode()539 if (valueCase_ == ValueOneofCase.Histogram) hash ^= Histogram.GetHashCode(); in GetHashCode()540 hash ^= (int) valueCase_; in GetHashCode()[all …]
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;2505 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in UnitTest.Issues.TestProtos.OneofMerging2508 get { return valueCase_; }2513 valueCase_ = ValueOneofCase.None; in ClearValue()2539 if (valueCase_ == ValueOneofCase.Text) hash ^= Text.GetHashCode(); in GetHashCode()2540 if (valueCase_ == ValueOneofCase.Nested) hash ^= Nested.GetHashCode(); in GetHashCode()2541 hash ^= (int) valueCase_; in GetHashCode()[all …]