Discussion:
[protobuf] Create proto file in Java
X X
2018-12-03 21:07:46 UTC
Permalink
Hi,

It is possible to create new proto file using java language? for example,
he wants to create such a file:

message example {
string name
uint32 number
int16 secondNumber
}

it would be best to imagine an object framework.
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
Derek Perez
2018-12-03 23:13:27 UTC
Permalink
Yes: https://github.com/perezd/protopoet
Post by X X
Hi,
It is possible to create new proto file using java language? for example,
message example {
string name
uint32 number
int16 secondNumber
}
it would be best to imagine an object framework.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
X X
2018-12-04 10:08:02 UTC
Permalink
Thanks, it`s very helpful. But i need proto2 and proto3. There is only proto3.
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
Derek Perez
2018-12-04 19:51:49 UTC
Permalink
Could be extended, patches welcome.
Post by X X
Thanks, it`s very helpful. But i need proto2 and proto3. There is only proto3.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
Loading...