class TestRef(Message): ref_field = ReferenceField(Test()) list_test_field = ListField(ReferenceField(Test())) list_int_field = ListField(Int64Field())
class TestMessageThree(Message): name = StringField() ref = ReferenceField(TestMessageOne())
class TestMapRef(Message): map_field = MapField(StringField(), ReferenceField(Test()))
class CompositeMessage(TestORMMessage): ref_field = ReferenceField(SimpleMessage()) list_test_field = RepeatedField(ReferenceField(SimpleMessage())) list_int_field = RepeatedField(Int32Field()) map_field = MapField(StringField(), ReferenceField(SimpleMessage()))