Searched refs:valueCase_ (Results 1 – 6 of 6) sorted by relevance
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;149 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in Grpc.Testing.GaugeResponse152 get { return valueCase_; }157 valueCase_ = ValueOneofCase.None; in ClearValue()186 if (valueCase_ == ValueOneofCase.LongValue) hash ^= LongValue.GetHashCode(); in GetHashCode()[all …]
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;882 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in Grpc.Testing.ChannelArg885 get { return valueCase_; }890 valueCase_ = ValueOneofCase.None; in ClearValue()918 if (valueCase_ == ValueOneofCase.StrValue) hash ^= StrValue.GetHashCode(); in GetHashCode()919 if (valueCase_ == ValueOneofCase.IntValue) hash ^= IntValue.GetHashCode(); in GetHashCode()920 hash ^= (int) valueCase_; in GetHashCode()[all …]
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;407 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in Grpc.Core.Metric410 get { return valueCase_; }415 valueCase_ = ValueOneofCase.None; in ClearValue()443 if (valueCase_ == ValueOneofCase.Count) hash ^= Count.GetHashCode(); in GetHashCode()444 if (valueCase_ == ValueOneofCase.Histogram) hash ^= Histogram.GetHashCode(); in GetHashCode()445 hash ^= (int) valueCase_; in GetHashCode()[all …]
111 valueCase_ = 2; in GaugeResponse()116 valueCase_ = 3; in GaugeResponse()122 valueCase_ = 4; in GaugeResponse()150 private int valueCase_ = 0; field in Metrics.GaugeResponse187 valueCase_); in getValueCase()229 if (valueCase_ == 2) { in getLongValue()240 if (valueCase_ == 3) { in getDoubleValue()252 if (valueCase_ == 4) { in getStringValue()261 if (valueCase_ == 4) { in getStringValue()273 if (valueCase_ == 4) { in getStringValueBytes()[all …]
1921 get { return valueCase_ == ValueOneofCase.Text ? (string) value_ : ""; }1924 valueCase_ = ValueOneofCase.Text;1932 …get { return valueCase_ == ValueOneofCase.Nested ? (global::UnitTest.Issues.TestProtos.OneofMergin…1935 valueCase_ = value == null ? ValueOneofCase.None : ValueOneofCase.Nested;1946 private ValueOneofCase valueCase_ = ValueOneofCase.None; field in UnitTest.Issues.TestProtos.OneofMerging1949 get { return valueCase_; }1954 valueCase_ = ValueOneofCase.None; in ClearValue()1980 if (valueCase_ == ValueOneofCase.Text) hash ^= Text.GetHashCode(); in GetHashCode()1981 if (valueCase_ == ValueOneofCase.Nested) hash ^= Nested.GetHashCode(); in GetHashCode()1982 hash ^= (int) valueCase_; in GetHashCode()[all …]
2847 valueCase_ = 2; in ChannelArg()2852 valueCase_ = 3; in ChannelArg()2880 private int valueCase_ = 0; field in Control.ChannelArg2915 valueCase_); in getValueCase()2958 if (valueCase_ == 2) { in getStrValue()2967 if (valueCase_ == 2) { in getStrValue()2979 if (valueCase_ == 2) { in getStrValueBytes()2986 if (valueCase_ == 2) { in getStrValueBytes()3000 if (valueCase_ == 3) { in getIntValue()3021 if (valueCase_ == 2) { in writeTo()[all …]