Re: [protobuf] Protobuf well-known types and C++

2017-10-21 Thread 'Feng Xiao' via Protocol Buffers
On Sat, Oct 21, 2017 at 4:39 PM, Antonia Elsen wrote: > What is the proper way to include well-known types in proto files? > I'm hoping to use FieldMasks and Any among others. > So far I haven't had any luck. > I've tried importing the proto files and using the namespace in the type > name; > > e

[protobuf] Protobuf well-known types and C++

2017-10-21 Thread Antonia Elsen
What is the proper way to include well-known types in proto files? I'm hoping to use FieldMasks and Any among others. So far I haven't had any luck. I've tried importing the proto files and using the namespace in the type name; ex: import "include/google/protobuf/field_mask.proto" ... google.p