Searched refs:OneofNestedMessage (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 113 Assert.IsNull(message.OneofNestedMessage); in DefaultValues() 540 OneofNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 20 } in CloneOneofField() 548 original.OneofNestedMessage.Bb = 30; in CloneOneofField() 561 Assert.IsNull(message.OneofNestedMessage); in OneofProperties() 568 Assert.IsNull(message.OneofNestedMessage); in OneofProperties() 576 Assert.IsNull(message.OneofNestedMessage); in OneofProperties() 583 Assert.IsNull(message.OneofNestedMessage); in OneofProperties() 587 message.OneofNestedMessage = nestedMessage; in OneofProperties() 591 Assert.AreEqual(nestedMessage, message.OneofNestedMessage); in OneofProperties() 592 … Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofNestedMessage, message.OneofFieldCase); in OneofProperties() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 855 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes() 856 OneofNestedMessage = other.OneofNestedMessage.Clone(); in TestAllTypes() 1473 public global::Conformance.TestAllTypes.Types.NestedMessage OneofNestedMessage { property in Conformance.TestAllTypes 1474 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Conformance.Test… 1477 …neofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage; 1926 OneofNestedMessage = 112, enumerator 2014 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; in Equals() 2128 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode() 2314 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo() 2316 output.WriteMessage(OneofNestedMessage); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 306 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes() 307 OneofNestedMessage = other.OneofNestedMessage.Clone(); in TestAllTypes() 765 public global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage OneofNestedMessage { property in Google.Protobuf.TestProtos.TestAllTypes 766 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Google.Protobuf.… 769 …neofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage; 798 OneofNestedMessage = 112, enumerator 868 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; in Equals() 922 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode() 1048 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo() 1050 output.WriteMessage(OneofNestedMessage); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 72 …Assert.AreEqual(message.OneofNestedMessage, fields[TestAllTypes.OneofNestedMessageFieldNumber].Acc… in GetValue()
|
/external/golang-protobuf/conformance/internal/conformance_proto/ |
D | conformance.pb.go | 949 …OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,… member 984 return x.OneofNestedMessage
|