Home
last modified time | relevance | path

Searched refs:ValueOneofCase (Results 1 – 8 of 8) 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 …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestIssues.cs2669 case ValueOneofCase.Text: in OneofMerging()
2672 case ValueOneofCase.Nested: in OneofMerging()
2691 get { return valueCase_ == ValueOneofCase.Text ? (string) value_ : ""; }
2694 valueCase_ = ValueOneofCase.Text;
2703 …get { return valueCase_ == ValueOneofCase.Nested ? (global::UnitTest.Issues.TestProtos.OneofMergin…
2706 valueCase_ = value == null ? ValueOneofCase.None : ValueOneofCase.Nested;
2712 public enum ValueOneofCase { enum in UnitTest.Issues.TestProtos.OneofMerging
2717 private ValueOneofCase valueCase_ = ValueOneofCase.None;
2720 public ValueOneofCase ValueCase {
2727 valueCase_ = ValueOneofCase.None; in ClearValue()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestIssues.cs2673 case ValueOneofCase.Text: in OneofMerging()
2676 case ValueOneofCase.Nested: in OneofMerging()
2695 get { return valueCase_ == ValueOneofCase.Text ? (string) value_ : ""; }
2698 valueCase_ = ValueOneofCase.Text;
2707 …get { return valueCase_ == ValueOneofCase.Nested ? (global::UnitTest.Issues.TestProtos.OneofMergin…
2710 valueCase_ = value == null ? ValueOneofCase.None : ValueOneofCase.Nested;
2716 public enum ValueOneofCase { enum in UnitTest.Issues.TestProtos.OneofMerging
2721 private ValueOneofCase valueCase_ = ValueOneofCase.None;
2724 public ValueOneofCase ValueCase {
2731 valueCase_ = ValueOneofCase.None; in ClearValue()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs984 Assert.AreEqual(NullValueOutsideStruct.ValueOneofCase.NullValue, message.ValueCase); in NullValueOutsideStruct_NullLiteral()
1004 Assert.AreEqual(NullValueOutsideStruct.ValueOneofCase.NullValue, message.ValueCase); in NullValueOutsideStruct_Compatibility()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs984 Assert.AreEqual(NullValueOutsideStruct.ValueOneofCase.NullValue, message.ValueCase); in NullValueOutsideStruct_NullLiteral()
1004 Assert.AreEqual(NullValueOutsideStruct.ValueOneofCase.NullValue, message.ValueCase); in NullValueOutsideStruct_Compatibility()