Home
last modified time | relevance | path

Searched refs:OneofFieldOneofCase (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs1323 case OneofFieldOneofCase.AnyField: in OneofWellKnownTypes()
1326 case OneofFieldOneofCase.ApiField: in OneofWellKnownTypes()
1329 case OneofFieldOneofCase.DurationField: in OneofWellKnownTypes()
1332 case OneofFieldOneofCase.EmptyField: in OneofWellKnownTypes()
1335 case OneofFieldOneofCase.FieldMaskField: in OneofWellKnownTypes()
1338 case OneofFieldOneofCase.SourceContextField: in OneofWellKnownTypes()
1341 case OneofFieldOneofCase.StructField: in OneofWellKnownTypes()
1344 case OneofFieldOneofCase.TimestampField: in OneofWellKnownTypes()
1347 case OneofFieldOneofCase.TypeField: in OneofWellKnownTypes()
1350 case OneofFieldOneofCase.DoubleField: in OneofWellKnownTypes()
[all …]
DUnittestProto3.cs303 case OneofFieldOneofCase.OneofUint32: in TestAllTypes()
306 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
309 case OneofFieldOneofCase.OneofString: in TestAllTypes()
312 case OneofFieldOneofCase.OneofBytes: in TestAllTypes()
756 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
759 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
766 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Google.Protobuf.…
769 …oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessag…
776 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
779 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs109 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in DefaultValues()
562 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in OneofProperties()
569 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofString, message.OneofFieldCase); in OneofProperties()
577 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofBytes, message.OneofFieldCase); in OneofProperties()
584 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties()
592 … Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofNestedMessage, message.OneofFieldCase); in OneofProperties()
599 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in OneofProperties()
607 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofString, message1.OneofFieldCase); in Oneof_DefaultValuesNotEqual()
608 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in Oneof_DefaultValuesNotEqual()
623 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in OneofSerialization_NonDefaultValue()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs264 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.EmptyField, message.OneofFieldCase); in Oneof()
268 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.StringField, message.OneofFieldCase); in Oneof()
272 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.StringField, message.OneofFieldCase); in Oneof()
276 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.DoubleField, message.OneofFieldCase); in Oneof()
280 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.DoubleField, message.OneofFieldCase); in Oneof()
284 Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in Oneof()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs852 case OneofFieldOneofCase.OneofUint32: in TestAllTypes()
855 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
858 case OneofFieldOneofCase.OneofString: in TestAllTypes()
861 case OneofFieldOneofCase.OneofBytes: in TestAllTypes()
1464 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
1467 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
1474 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Conformance.Test…
1477 …oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessag…
1484 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
1487 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs198 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in Oneof()