[feature] extend objects in protos by inheritance