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?

message person
  required string first_name =1;
  required string last_name =2;

  extensions 100 to 199;
extend person
  required string middle_name = 100;



You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to