Home
last modified time | relevance | path

Searched refs:valueCase_ (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMetrics.cs112 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.GaugeResponse
152 get { return valueCase_; }
157 valueCase_ = ValueOneofCase.None; in ClearValue()
186 if (valueCase_ == ValueOneofCase.LongValue) hash ^= LongValue.GetHashCode(); in GetHashCode()
[all …]
DControl.cs857 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.ChannelArg
885 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 …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs382 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.Metric
410 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 …]
/external/grpc-grpc-java/interop-testing/src/generated/main/java/io/grpc/testing/integration/
DMetrics.java111 valueCase_ = 2; in GaugeResponse()
116 valueCase_ = 3; in GaugeResponse()
122 valueCase_ = 4; in GaugeResponse()
150 private int valueCase_ = 0; field in Metrics.GaugeResponse
187 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 …]
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DControl.java2847 valueCase_ = 2; in ChannelArg()
2852 valueCase_ = 3; in ChannelArg()
2880 private int valueCase_ = 0; field in Control.ChannelArg
2915 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 …]