That should work; you should be able to use repeated fields inside your
extension submessage field. I think you might just be running into a syntax
issue; could you post the code snippet and the error you're getting?

On Wed, Nov 16, 2016 at 4:08 AM, <[email protected]> wrote:

> import "IpInterfaces.proto";
> package IpInterfaces;
>
> message DNSServerNames{
> *repeated* string dnsServers=11;//limited only to optional?
> }
> extend IpInterfaceAddress{
> optional DNSServerNames dnsServerNames=1000001;
> }
>
> Unable to perform SetExtension(dnsServers,value).
> Is this supported or is it limited only to OPTIONAL?
>
> Thanks in Advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to