Re: [protobuf] Extra dot in descriptor data (protoc java)

2022-01-25 Thread 'Venkat Duddu' via Protocol Buffers
2 AM UTC-8 marc.g...@gmail.com >> wrote: >> >>> 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,

Re: [protobuf] Extra dot in descriptor data (protoc java)

2021-12-22 Thread 'Venkat Duddu' via Protocol Buffers
, December 22, 2021 at 11:18:12 AM UTC-8 marc.g...@gmail.com wrote: > 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, < > prot...@goo

[protobuf] Extra dot in descriptor data (protoc java)

2021-12-22 Thread &#x27;Venkat Duddu' via Protocol Buffers
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.Str

[protobuf] Deserializing protobuf message in Java without generated classes

2021-10-13 Thread Venkat Duddu
I have a use case where we want to de-serialize the protobuf message into Generic key value pairs like Map (something similar to support in Jackson deserialize json into generic map). At the time of deserialization I have the proto schema along with data (bytest) to deserialize, but not the gen

Re: [protobuf] Protobuf imports in Java

2021-10-12 Thread Venkat Duddu
a little bit > further down the page, but it looks like the warning is in the wrong place. > Thank you for letting us know. I'm working on a fix for this. > > On Mon, Oct 11, 2021 at 3:01 PM Venkat Duddu wrote: > >> This section >> https://developers.google.com/proto

[protobuf] Protobuf imports in Java

2021-10-11 Thread Venkat Duddu
This section https://developers.google.com/protocol-buffers/docs/proto3#importing_definitions says Note that this feature is not available in Java. I tried generating java classes for proto files that have imports and protoc worked fine without any issues. Can I get clarification on what tha