Issue 505 in protobuf: Generate proto file to a simple class and a Helper class

19 views
Skip to first unread message

prot...@googlecode.com

unread,
Apr 20, 2013, 8:21:41 AM4/20/13
to prot...@googlegroups.com
Status: New
Owner: liu...@google.com
Labels: Type-Defect Priority-Medium

New issue 505 by leorend...@gmail.com: Generate proto file to a simple
class and a Helper class
http://code.google.com/p/protobuf/issues/detail?id=505

What steps will reproduce the problem?
1. Writes a simple proto file.
2. Generate it to java code.

What is the expected output? What do you see instead?
Expects the proto file mapping to a simle class (which has only public
field or getter/setter).
But currently it mapping to a complex java object.

What version of the product are you using? On what operating system?
2.5.0 and windows/ubuntu

Please provide any additional information below.
Generate proto file to a simple class and a Helper class is my prefered.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

prot...@googlecode.com

unread,
Jul 25, 2014, 8:47:37 PM7/25/14
to prot...@googlegroups.com
Updates:
Status: WontFix
Owner: jie...@google.com

Comment #1 on issue 505 by jie...@google.com: Generate proto file to a
"option optimize_for = LITE_RUNTIME;" could reduce the generated file size.

But we still have several methods for each fields like get, set, has,
clear, merge and parse.
Reply all
Reply to author
Forward
0 new messages