/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | GeneratedMessageTest.java | 57 import protobuf_unittest.UnittestProto.TestAllTypes.NestedMessage; 94 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage.BB_FIELD_NUMBER); in testGetFieldBuilderForExtensionField() 112 NestedMessage.newBuilder().setBb(123).build()); in testGetFieldBuilderWithExistingMessage() 117 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage.BB_FIELD_NUMBER); in testGetFieldBuilderWithExistingMessage() 133 NestedMessage.Builder nestedMessageBuilder = NestedMessage.newBuilder().setBb(123); in testGetFieldBuilderWithExistingBuilder() 140 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage in testGetFieldBuilderWithExistingBuilder() [all...] |
H A D | TestUtilLite.java | 195 TestAllTypesLite.NestedMessage.newBuilder().setBb(118).build()); in setAllFields() 199 builder.setOptionalLazyMessage(TestAllTypesLite.NestedMessage.newBuilder().setBb(127).build()); in setAllFields() 228 TestAllTypesLite.NestedMessage.newBuilder().setBb(218).build()); in setAllFields() 231 builder.addRepeatedLazyMessage(TestAllTypesLite.NestedMessage.newBuilder().setBb(227).build()); in setAllFields() 259 TestAllTypesLite.NestedMessage.newBuilder().setBb(318).build()); in setAllFields() 262 builder.addRepeatedLazyMessage(TestAllTypesLite.NestedMessage.newBuilder().setBb(327).build()); in setAllFields() 297 builder.setOneofNestedMessage(TestAllTypesLite.NestedMessage.newBuilder().setBb(602).build()); in setAllFields() 347 TestAllTypesLite.NestedMessage.newBuilder().setBb(118).build()); in setAllExtensions() 357 TestAllTypesLite.NestedMessage.newBuilder().setBb(127).build()); in setAllExtensions() 388 TestAllTypesLite.NestedMessage in setAllExtensions() [all...] |
H A D | FieldPresenceTest.java | 232 builder.setOptionalLazyMessage(TestAllTypes.NestedMessage.getDefaultInstance()); in testLazyField() 381 TestAllTypes.NestedMessage.Builder nestedBuilder = builder.getOptionalNestedMessageBuilder(); in testMessageField() 394 builder.setOptionalNestedMessage(TestAllTypes.NestedMessage.getDefaultInstance()); in testMessageField() 403 builder.setOptionalNestedMessage(TestAllTypes.NestedMessage.getDefaultInstance()); in testSerializeAndParse() 428 builder.setOptionalNestedMessage(TestAllTypes.NestedMessage.getDefaultInstance()); in testRepeatedFields() 431 builder.addRepeatedNestedMessage(TestAllTypes.NestedMessage.getDefaultInstance()); in testRepeatedFields()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | arena_unittest.cc | 460 TestAllTypes::NestedMessage* nested = new TestAllTypes::NestedMessage; in TEST() 470 std::unique_ptr<TestAllTypes::NestedMessage> nested( in TEST() 474 TestAllTypes::NestedMessage* released_null = in TEST() 567 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() 585 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() 594 nested_msg = static_cast<TestAllTypes::NestedMessage*>( in TEST() 605 TestAllTypes::NestedMessage* heap_submessage = in TEST() 606 new TestAllTypes::NestedMessage(); in TEST() 613 TestAllTypes::NestedMessage* arena2_submessag in TEST() [all...] |
H A D | proto3_arena_lite_unittest.cc | 135 TestAllTypes::NestedMessage* nested = new TestAllTypes::NestedMessage; in TEST() 145 std::unique_ptr<TestAllTypes::NestedMessage> nested( in TEST()
|
H A D | generated_message_reflection_unittest.cc | 86 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 147 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 630 unittest::TestAllTypes::NestedMessage::default_instance().GetReflection(); in TEST() 633 unittest::TestAllTypes::NestedMessage::descriptor()->FindFieldByName( in TEST() 648 unittest::TestAllTypes::NestedMessage::default_instance().GetReflection(); in TEST() 651 unittest::TestAllTypes::NestedMessage::descriptor()->FindFieldByName( in TEST() 668 unittest::TestAllTypes::NestedMessage* nested = in TEST() 669 new unittest::TestAllTypes::NestedMessage(); in TEST() 707 EXPECT_EQ(&unittest::TestOneof2::NestedMessage::default_instance(), in TEST()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | SampleMessages.cs | 67 SingleNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 35 }, in CreateFullTestAllTypes() 89 RepeatedNestedMessage = { new TestAllTypes.Types.NestedMessage { Bb = 35 }, new TestAllTypes.Types.NestedMessage { Bb = 10 } }, in CreateFullTestAllTypes() 119 OptionalNestedMessage = new Proto2.TestAllTypes.Types.NestedMessage { Bb = 35 }, in CreateFullTestAllTypesProto2() 142 RepeatedNestedMessage = { new Proto2.TestAllTypes.Types.NestedMessage { Bb = 35 }, new Proto2.TestAllTypes.Types.NestedMessage { Bb = 10 } }, in CreateFullTestAllTypesProto2() 171 message.SetExtension(OptionalNestedMessageExtension, new Proto2.TestAllTypes.Types.NestedMessage { Bb = 35 }); in CreateFullTestAllExtensions() 194 message.GetOrInitializeExtension(RepeatedNestedMessageExtension).AddRange(new[] { new Proto2.TestAllTypes.Types.NestedMessage { Bb = 35 }, new Proto2.TestAllTypes.Types.NestedMessage { Bb = 10 } }); in CreateFullTestAllExtensions()
|
H A D | FieldMaskTreeTest.cs | 195 SingleNestedMessage = new TestAllTypes.Types.NestedMessage {Bb = 5678}, in Merge() 197 RepeatedNestedMessage = {new TestAllTypes.Types.NestedMessage {Bb = 8765}} in Merge() 238 SingleNestedMessage = new TestAllTypes.Types.NestedMessage {Bb = 5678} in Merge() 262 RepeatedNestedMessage = {new TestAllTypes.Types.NestedMessage {Bb = 8765}} in Merge() 299 SingleNestedMessage = new TestAllTypes.Types.NestedMessage {Bb = 5678} in Merge() 329 RepeatedNestedMessage = {new TestAllTypes.Types.NestedMessage {Bb = 8765}} in Merge()
|
H A D | GeneratedMessageTest.cs | 158 SingleNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 35 },
in RoundTrip_SingleValues() 192 RepeatedNestedMessage = { new TestAllTypes.Types.NestedMessage { Bb = 35 }, new TestAllTypes.Types.NestedMessage { Bb = 10 } },
in RoundTrip_RepeatedValues() 551 SingleNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 20 }
in CloneSingleMessageField() 568 RepeatedNestedMessage = { new TestAllTypes.Types.NestedMessage { Bb = 20 } }
in CloneRepeatedMessageField() 586 OneofNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 20 }
in CloneOneofField() 632 var nestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 25 };
in OneofProperties()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | UnittestProto3Optional.cs | 63 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufUnittest.TestProto3Optional), global::ProtobufUnittest.TestProto3Optional.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalCord", "OptionalNestedMessage", "LazyNestedMessage", "OptionalNestedEnum", "SingularInt32", "SingularInt64" }, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalCord", "OptionalNestedMessage", "LazyNestedMessage", "OptionalNestedEnum" }, new[]{ typeof(global::ProtobufUnittest.TestProto3Optional.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage), global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage.Parser, new[]{ "Bb" }, new[]{ "Bb" }, null, null, null)}) in UnittestProto3OptionalReflection() 484 private global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage optionalNestedMessage_; 486 public global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage OptionalNestedMessage { 495 private global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage lazyNestedMessage_; 497 public global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage LazyNestedMessage { 938 OptionalNestedMessage = new global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage(); in MergeFrom() 944 LazyNestedMessage = new global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage(); in MergeFrom() 1037 OptionalNestedMessage = new global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage(); in MergeFrom() 1044 LazyNestedMessage = new global::ProtobufUnittest.TestProto3Optional.Types.NestedMessage(); in MergeFrom() 1185 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in ProtobufUnittest.TestProto3Optional.Types 1207 public NestedMessage() { NestedMessage() method in ProtobufUnittest.TestProto3Optional.Types.NestedMessage 1214 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in ProtobufUnittest.TestProto3Optional.Types.NestedMessage [all...] |
H A D | TestMessagesProto3.cs | 235 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3), global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalAliasedEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "OptionalBoolWrapper", "OptionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint32Wrapper", "OptionalUint64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapper", "OptionalStringWrapper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "RepeatedInt32Wrapper", "RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedUint64Wrapper", "RepeatedFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringWrapper", "RepeatedBytesWrapper", "OptionalDuration", "OptionalTimestamp", "OptionalFieldMask", "OptionalStruct", "OptionalAny", "OptionalValue", "RepeatedDuration", "RepeatedTimestamp", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny", "RepeatedValue", "RepeatedListValue", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum), typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage), global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null), in TestMessagesProto3Reflection() 639 private global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage optionalNestedMessage_; 641 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage OptionalNestedMessage { 880 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> _repeated_repeatedNestedMessage_codec 881 = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser); 882 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>(); 884 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> RepeatedNestedMessage { 1379 private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> 5187 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in ProtobufTestMessages.Proto3.TestAllTypesProto3.Types 5208 public NestedMessage() { NestedMessage() method in ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage 5215 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage [all...] |
H A D | TestMessagesProto2.cs | 210 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "Data", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null), in TestMessagesProto2Reflection() 216 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalString", "NestedMessage", "OptionalGroup", "OptionalBool", "RepeatedInt32" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup.Parser, new[]{ "A" }, null, null, null, null)}) in TestMessagesProto2Reflection() 793 private global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage optionalNestedMessage_; 795 public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage OptionalNestedMessage { 1073 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> _repeated_repeatedNestedMessage_codec 1074 = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser); 1075 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage>(); 1077 public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> RepeatedNestedMessag 4737 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in ProtobufTestMessages.Proto2.TestAllTypesProto2.Types 4759 public NestedMessage() { NestedMessage() method in ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage 4766 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage 6073 public global::ProtobufTestMessages.Proto2.ForeignMessageProto2 NestedMessage { global() property in ProtobufTestMessages.Proto2.UnknownToTestAllTypes [all...] |
H A D | Unittest.cs | 672 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestAllTypes), global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalGroup", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalImportMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalImportEnum", "OptionalStringPiece", "OptionalCord", "OptionalPublicImportMessage", "OptionalLazyMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedGroup", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedImportMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedImportEnum", "RepeatedStringPiece", "RepeatedCord", "RepeatedLazyMessage", "DefaultInt32", "DefaultInt64", "DefaultUint32", "DefaultUint64", "DefaultSint32", "DefaultSint64", "DefaultFixed32", "DefaultFixed64", "DefaultSfixed32", "DefaultSfixed64", "DefaultFloat", "DefaultDouble", "DefaultBool", "DefaultString", "DefaultBytes", "DefaultNestedEnum", "DefaultForeignEnum", "DefaultImportEnum", "DefaultStringPiece", "DefaultCord", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes" }, new[]{ "OneofField" }, new[]{ typeof(global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.NestedMessage), global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.NestedMessage.Parser, new[]{ "Bb" }, null, null, null, null), in UnittestReflection() 703 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits), global::Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits.Parser, new[]{ "OptionalNestedMessage" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits.Types.NestedMessage), global::Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits.Types.NestedMessage.Parser, new[]{ "NestedmessageRepeatedInt32", "NestedmessageRepeatedForeignmessage" }, null, null, null, null)}), in UnittestReflection() 705 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestFieldOrderings), global::Google.Protobuf.TestProtos.Proto2.TestFieldOrderings.Parser, new[]{ "MyString", "MyInt", "MyFloat", "OptionalNestedMessage" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestFieldOrderings.Types.NestedMessage), global::Google.Protobuf.TestProtos.Proto2.TestFieldOrderings.Types.NestedMessage.Parser, new[]{ "Oo", "Bb" }, null, null, null, null)}), in UnittestReflection() 722 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestOneof2.Types.NestedMessage), global::Google.Protobuf.TestProtos.Proto2.TestOneof2.Types.NestedMessage.Parser, new[]{ "QuxInt", "CorgeInt" }, null, null, null, null)}), in UnittestReflection() 723 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestRequiredOneof), global::Google.Protobuf.TestProtos.Proto2.TestRequiredOneof.Parser, new[]{ "FooInt", "FooString", "FooMessage" }, new[]{ "Foo" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestRequiredOneof.Types.NestedMessage), global::Google.Protobuf.TestProtos.Proto2.TestRequiredOneof.Types.NestedMessage in UnittestReflection() 4408 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types 4430 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.NestedMessage 4437 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.NestedMessage 13740 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits.Types 13761 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits.Types.NestedMessage 13768 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestNestedMessageHasBits.Types.NestedMessage 14896 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.Proto2.TestFieldOrderings.Types 14918 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestFieldOrderings.Types.NestedMessage 14925 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestFieldOrderings.Types.NestedMessage 21554 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.Proto2.TestOneof2.Types 21576 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestOneof2.Types.NestedMessage 21583 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestOneof2.Types.NestedMessage 22090 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.Proto2.TestRequiredOneof.Types 22112 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestRequiredOneof.Types.NestedMessage 22119 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestRequiredOneof.Types.NestedMessage 22445 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.Proto2.TestRequiredMap.Types 22467 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestRequiredMap.Types.NestedMessage 22474 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.Proto2.TestRequiredMap.Types.NestedMessage [all...] |
H A D | UnittestProto3.cs | 162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestAllTypes), global::Google.Protobuf.TestProtos.TestAllTypes.Parser, new[]{ "SingleInt32", "SingleInt64", "SingleUint32", "SingleUint64", "SingleSint32", "SingleSint64", "SingleFixed32", "SingleFixed64", "SingleSfixed32", "SingleSfixed64", "SingleFloat", "SingleDouble", "SingleBool", "SingleString", "SingleBytes", "SingleNestedMessage", "SingleForeignMessage", "SingleImportMessage", "SingleNestedEnum", "SingleForeignEnum", "SingleImportEnum", "SinglePublicImportMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedImportMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedImportEnum", "RepeatedPublicImportMessage", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes" }, new[]{ "OneofField" }, new[]{ typeof(global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage), global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage.Parser, new[]{ "Bb" }, null, null, null, null)}), in UnittestProto3Reflection() 174 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestFieldOrderings), global::Google.Protobuf.TestProtos.TestFieldOrderings.Parser, new[]{ "MyString", "MyInt", "MyFloat", "SingleNestedMessage" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestFieldOrderings.Types.NestedMessage), global::Google.Protobuf.TestProtos.TestFieldOrderings.Types.NestedMessage.Parser, new[]{ "Oo", "Bb" }, null, null, null, null)}), in UnittestProto3Reflection() 523 private global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage singleNestedMessage_; 525 public global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage SingleNestedMessage { 756 private static readonly pb::FieldCodec<global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage> _repeated_repeatedNestedMessage_codec 757 = pb::FieldCodec.ForMessage(386, global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage.Parser); 758 private readonly pbc::RepeatedField<global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage>(); 2022 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.TestAllTypes.Types 2043 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage 2050 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage 4824 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> global() class in Google.Protobuf.TestProtos.TestFieldOrderings.Types 4845 public NestedMessage() { NestedMessage() method in Google.Protobuf.TestProtos.TestFieldOrderings.Types.NestedMessage 4852 public NestedMessage(NestedMessage other) : this() { NestedMessage() method in Google.Protobuf.TestProtos.TestFieldOrderings.Types.NestedMessage [all...] |
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
H A D | SampleMessages.cs | 64 SingleNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 35 }, in CreateFullTestAllTypes() 86 RepeatedNestedMessage = { new TestAllTypes.Types.NestedMessage { Bb = 35 }, new TestAllTypes.Types.NestedMessage { Bb = 10 } }, in CreateFullTestAllTypes()
|
H A D | GeneratedMessageTest.cs | 155 SingleNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 35 },
in RoundTrip_SingleValues() 189 RepeatedNestedMessage = { new TestAllTypes.Types.NestedMessage { Bb = 35 }, new TestAllTypes.Types.NestedMessage { Bb = 10 } },
in RoundTrip_RepeatedValues() 505 SingleNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 20 }
in CloneSingleMessageField() 522 RepeatedNestedMessage = { new TestAllTypes.Types.NestedMessage { Bb = 20 } }
in CloneRepeatedMessageField() 540 OneofNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 20 }
in CloneOneofField() 586 var nestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 25 };
in OneofProperties()
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | generator_test.py | 63 proto_type.NestedMessage.DESCRIPTOR, 158 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR, 164 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.nested_types, []) 172 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type, 175 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type, 190 desc = unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR
|
/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/ |
H A D | LiteTest.java | 44 import com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage; 102 .setOptionalNestedMessage(NestedMessage.newBuilder().setBb(7)) in testLite() 141 NestedMessage.newBuilder().setBb(7).build()) in testLiteExtensions() 381 NestedMessage nestedMessage = NestedMessage.newBuilder().setBb(1).build(); in testSanityCopyOnWrite() 383 assertEquals(NestedMessage.getDefaultInstance(), message.getOptionalLazyMessage()); in testSanityCopyOnWrite() 387 assertEquals(NestedMessage.getDefaultInstance(), message.getOptionalLazyMessage()); in testSanityCopyOnWrite() 389 assertEquals(NestedMessage.getDefaultInstance(), builder.getOptionalLazyMessage()); in testSanityCopyOnWrite() 393 NestedMessage.Builder nestedMessageBuilder = NestedMessage in testSanityCopyOnWrite() [all...] |
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | FieldMaskTreeTest.java | 40 import protobuf_unittest.UnittestProto.TestAllTypes.NestedMessage; 195 .setOptionalNestedMessage(NestedMessage.newBuilder().setBb(5678)) in testMergeImpl() 197 .addRepeatedNestedMessage(NestedMessage.newBuilder().setBb(8765)) in testMergeImpl() 237 expected.getPayloadBuilder().setOptionalNestedMessage(NestedMessage.newBuilder().setBb(5678)); in testMergeImpl() 251 expected.getPayloadBuilder().addRepeatedNestedMessage(NestedMessage.newBuilder().setBb(8765)); in testMergeImpl() 276 .setOptionalNestedMessage(NestedMessage.newBuilder().setBb(5678)); in testMergeImpl() 293 .addRepeatedNestedMessage(NestedMessage.newBuilder().setBb(8765)); in testMergeImpl()
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | generator_test.py | 69 proto_type.NestedMessage.DESCRIPTOR, 164 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR, 170 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.nested_types, []) 178 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type, 181 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type, 196 desc = unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR 328 unittest_pb2.TestAllTypes.NestedMessage, 330 'protobuf_unittest.TestAllTypes.NestedMessage')) 332 symbol_database.Default().GetSymbol('protobuf_unittest.NestedMessage')
|
H A D | symbol_database_test.py | 58 db.RegisterMessage(unittest_pb2.TestAllTypes.NestedMessage) 83 unittest_pb2.TestAllTypes.NestedMessage, self._Database().GetSymbol( 84 'protobuf_unittest.TestAllTypes.NestedMessage')) 109 'protobuf_unittest.TestAllTypes.NestedMessage', 111 'protobuf_unittest.TestAllTypes.NestedMessage').full_name)
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | GeneratedMessageTest.java | 54 import protobuf_unittest.UnittestProto.TestAllTypes.NestedMessage; 221 builder.setOptionalNestedMessage((TestAllTypes.NestedMessage) null); in testSettersRejectNull() 228 (TestAllTypes.NestedMessage.Builder) null); in testSettersRejectNull() 252 builder.addRepeatedNestedMessage((TestAllTypes.NestedMessage) null); in testSettersRejectNull() 259 (TestAllTypes.NestedMessage.Builder) null); in testSettersRejectNull() 302 TestAllTypes.NestedMessage.newBuilder().setBb(218).build()); in testRepeatedSettersRejectNull() 304 TestAllTypes.NestedMessage.newBuilder().setBb(456).build()); in testRepeatedSettersRejectNull() 306 builder.setRepeatedNestedMessage(1, (TestAllTypes.NestedMessage) null); in testRepeatedSettersRejectNull() 313 1, (TestAllTypes.NestedMessage.Builder) null); in testRepeatedSettersRejectNull() 620 .setNested(MessageWithNoOuter.NestedMessage in testMultipleFilesOption() [all...] |
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
H A D | TypeRegistryTest.cs | 55 var registry = TypeRegistry.FromMessages(TestAllTypes.Types.NestedMessage.Descriptor); in TypesFromSameFile() 58 // ... and nested (not the same as the original NestedMessage!) in TypesFromSameFile() 59 AssertDescriptorPresent(registry, TestFieldOrderings.Types.NestedMessage.Descriptor); in TypesFromSameFile()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
H A D | TypeRegistryTest.cs | 55 var registry = TypeRegistry.FromMessages(TestAllTypes.Types.NestedMessage.Descriptor); in TypesFromSameFile() 58 // ... and nested (not the same as the original NestedMessage!) in TypesFromSameFile() 59 AssertDescriptorPresent(registry, TestFieldOrderings.Types.NestedMessage.Descriptor); in TypesFromSameFile()
|
/third_party/protobuf/ruby/tests/ |
H A D | generated_code_test.rb | 18 A::B::C::TestMessage::NestedMessage.new
|