[protobuf] How to get the number of the repeated data?

2010-03-17 Thread jungle
here is .proto
message foo{
   required xxx
   repeated xxx
}

how to figure out the exact number of the repeated filed?

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] How to get the number of the repeated data?

2010-03-17 Thread Jason Hsueh
This is covered in the tutorial - select the one for your language from
http://code.google.com/apis/protocolbuffers/docs/overview.html

On Tue, Mar 16, 2010 at 8:57 PM, jungle www1...@gmail.com wrote:

 here is .proto
 message foo{
   required xxx
   repeated xxx
 }

 how to figure out the exact number of the repeated filed?

 --
 You received this message because you are subscribed to the Google Groups
 Protocol Buffers group.
 To post to this group, send email to proto...@googlegroups.com.
 To unsubscribe from this group, send email to
 protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.