Questions tagged [protobuf-java]

289 questions
-1
votes
1 answer

Proto buffer backward compatibility issue when field name is changed from capital to small

In current version of protobuff my oneoff looks something like below : oneof oneof_abc { double Value = 1; } But in updated version it looks like : oneof oneof_abc { double value = 1; } If you notice v in value is changed to small case. I want…
-1
votes
1 answer

getRealOneOf() vs getOneOf() in Descriptor.Descriptor Java API

Can anyone enlighten me about the difference of getRealOneOfs and getOneOfs? https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/Descriptors.Descriptor.html#getOneofs--
Styp
  • 261
  • 3
  • 12
-1
votes
2 answers

How to serialize a java.util.regex.Pattern using protobuf?

I have an object that I want to serialize using Protocol Buffers and store in redis. The object contains a java.util.regex.Pattern that is complied when the object is instantiated. public class SerializableEntity { private Pattern pattern; …
Termin4t0r
  • 199
  • 3
  • 10
1 2 3
19
20