Newbie question:

Can an extended message have a required field? For example, If I
wanted to make any application using detailperson.proto's definition
of a person have to have a middle name?

person.proto:
message person
{
  required string first_name =1;
  required string last_name =2;

  extensions 100 to 199;
}
-------------------------
detailedperson.proto:
extend person
{
  required string middle_name = 100;
}

Thanks.

-Aaron

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@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.

Reply via email to