Iam new to use protobuf. Am using protobuf library in Linux-C.
Is there any example for setting optional and required string to my message?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The protobuf front page has an example of a
.proto-file containing:So that doesn’t seem to be very complicated. There doesn’t seem to be an “official” C API on those pages, and you didn’t provide a link to the one you’re using so it’s hard to say more.