Hi everyone, even we can define a message in proto:
message test {
string str = 1;
}
But both sides of the message sending and receiving have some special
meanings for the value of the 'str',such as "system", "handshake", etc.
How can we define these constant data int 'proto3', so both sides can use
'*.proto' file instead of oral agreement.
In my opinion, constants are also a part of message definition.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/057b1709-a5bb-4291-b059-4faebe94330cn%40googlegroups.com.