Home
last modified time | relevance | path

Searched refs:message_proto (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2219 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage"); in TEST_F() local
2225 AddField(message_proto, "int32" , 1, label, FD::TYPE_INT32 ) in TEST_F()
2227 AddField(message_proto, "int64" , 2, label, FD::TYPE_INT64 ) in TEST_F()
2229 AddField(message_proto, "uint32", 3, label, FD::TYPE_UINT32) in TEST_F()
2231 AddField(message_proto, "uint64", 4, label, FD::TYPE_UINT64) in TEST_F()
2233 AddField(message_proto, "float" , 5, label, FD::TYPE_FLOAT ) in TEST_F()
2235 AddField(message_proto, "double", 6, label, FD::TYPE_DOUBLE) in TEST_F()
2237 AddField(message_proto, "bool" , 7, label, FD::TYPE_BOOL ) in TEST_F()
2239 AddField(message_proto, "string", 8, label, FD::TYPE_STRING) in TEST_F()
2241 AddField(message_proto, "data" , 9, label, FD::TYPE_BYTES ) in TEST_F()
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py67 message_proto = file_proto.message_type.add(
69 message_proto.field.add(
74 enum_proto = message_proto.enum_type.add(
83 self.my_message = self.my_file.message_types_by_name[message_proto.name]