Home
last modified time | relevance | path

Searched refs:OneofWellKnownTypes (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs262 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs167 …of(global::Google.Protobuf.TestProtos.OneofWellKnownTypes), global::Google.Protobuf.TestProtos.One… in UnittestWellKnownTypesReflection()
1364 public sealed partial class OneofWellKnownTypes : pb::IMessage<OneofWellKnownTypes> { class
1365 …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.OneofWellKnownTypes
1387 public OneofWellKnownTypes(OneofWellKnownTypes other) : this() { in OneofWellKnownTypes() method in Google.Protobuf.TestProtos.OneofWellKnownTypes
1448 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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunittest_well_known_types.proto69 message OneofWellKnownTypes { message