Searched refs:OneofWellKnownTypes (Results 1 – 3 of 3) sorted by relevance
262 var message = new OneofWellKnownTypes { EmptyField = new Empty() }; in Oneof()264 … 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()288 private void AssertOneofRoundTrip(OneofWellKnownTypes message) in AssertOneofRoundTrip()292 var parsed = OneofWellKnownTypes.Parser.ParseFrom(bytes); in AssertOneofRoundTrip()
167 …of(global::Google.Protobuf.TestProtos.OneofWellKnownTypes), global::Google.Protobuf.TestProtos.One… in UnittestWellKnownTypesReflection()1364 public sealed partial class OneofWellKnownTypes : pb::IMessage<OneofWellKnownTypes> { class1365 …adonly pb::MessageParser<OneofWellKnownTypes> _parser = new pb::MessageParser<OneofWellKnownTypes>…1367 public static pb::MessageParser<OneofWellKnownTypes> Parser { get { return _parser; } }1380 public OneofWellKnownTypes() { in OneofWellKnownTypes() method in Google.Protobuf.TestProtos.OneofWellKnownTypes1387 public OneofWellKnownTypes(OneofWellKnownTypes other) : this() { in OneofWellKnownTypes() method in Google.Protobuf.TestProtos.OneofWellKnownTypes1448 public OneofWellKnownTypes Clone() { in Clone()1449 return new OneofWellKnownTypes(this); in Clone()1696 return Equals(other as OneofWellKnownTypes); in Equals()1700 public bool Equals(OneofWellKnownTypes other) { in Equals()[all …]
69 message OneofWellKnownTypes { message