IIRC, the leading dot means that the name is absolute rather than relative.
I'm not sure it represents an error.

On Wed, 22 Dec 2021, 19:00 'Venkat Duddu' via Protocol Buffers, <
[email protected]> wrote:

> We are seeing extra dot for external referenced variables in
> descriptorData in the generated java class for a given Message.
>
> *Message Definition*
> syntax = "proto3";
> package com.chegg;
>
> import "google/protobuf/struct.proto";
>
> message OneGraphRequest {
> string operation_name = 1;
> google.protobuf.Struct variables = 2;
> string query = 3;
> }
>
> *DescriptorData (*java.lang.String[] descriptorData*)* from the generated
> Class for *variables* looks like this:
> "*.google.protobuf.Struct*"
>
> It is starting with extra dot (before google), how can we suppress (remove
> the extra dot at the begining) it?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/338c0e38-6c7a-435d-945b-f2e23f8a6979n%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/338c0e38-6c7a-435d-945b-f2e23f8a6979n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CAF95VAxCr%2BfQ1HozrfhyXjBZVB55x_RkashLoNpPKh7%2BkspvNw%40mail.gmail.com.

Reply via email to