thank you very much!
在 2018年11月23日星期五 UTC+8下午4:35:43,Marc Gravell写道:
>
> "set" isn't a protobuf concept - the closest that exists is "repeated";
> likewise "object" - ideally using some defined message type. Putting those
> together, that gives you:
>
> syntax = "proto3";
>
> message SomeRoot {
"set" isn't a protobuf concept - the closest that exists is "repeated";
likewise "object" - ideally using some defined message type. Putting those
together, that gives you:
syntax = "proto3";
message SomeRoot {
repeated SomeLeaf items = 1;
}
message SomeLeaf {
map values = 1;
}
message
I want define a message. Example: Set> please help me.
--
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+unsubscr...@googlegroups.com.
To post to