Lines Matching refs:DescriptorProto
60 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) {
61 DescriptorProto* result = file->add_message_type();
66 DescriptorProto* AddNestedMessage(DescriptorProto* parent, const string& name) {
67 DescriptorProto* result = parent->add_nested_type();
78 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent,
92 FieldDescriptorProto* AddField(DescriptorProto* parent,
118 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent,
132 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* parent,
134 DescriptorProto::ExtensionRange* result = parent->add_extension_range();
403 DescriptorProto* message = AddMessage(&foo_file, "TestMessage");
424 DescriptorProto* message2 = AddMessage(&bar_file, "TestMessage2");
655 DescriptorProto* message = AddMessage(&file, "TestMessage");
1174 DescriptorProto* message = AddMessage(&foo_file, "TestMessage");
1186 DescriptorProto* message2 = AddMessage(&bar_file, "TestMessage2");
1382 DescriptorProto* foo = AddMessage(&foo_file, "Foo");
1394 DescriptorProto* bar = AddMessage(&foo_file, "Bar");
1528 DescriptorProto* message = AddMessage(&file_proto, "TestMessage");
1588 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage");
1708 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage");
2288 BuildFileInTestPool(DescriptorProto::descriptor()->file());