Dear List,
I desperately try to generate JAVA classes for Protocol buffers. I
tried protobuf-21.7, protobuf-21.6 and the latest protobuf-main but there
are always two classes that are faulty:
com.google.protobuf.GeneratedMessageLite
Line 1307: if (instance.extensions != FieldSet.emptySet()) {
Incompatible operand types
FieldSet<GeneratedMessageLite.ExtensionDescriptor> and
FieldSet<FieldSet.FieldDescriptorLite<FieldSet.FieldDescriptorLite<T>>>
and class com.google.protobuf.GeneratedMessageV3
Line 1679: ? (FieldSet<FieldDescriptor>) FieldSet.emptySet()
Cannot cast from
FieldSet<FieldSet.FieldDescriptorLite<FieldSet.FieldDescriptorLite<T>>> to
FieldSet<Descriptors.FieldDescriptor>
Is there anyone who can solve this? I am unable to fix this.
Thank you very much for your help,
Markus
--
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/f3023d0e-cec0-4372-b156-752fb70c697bn%40googlegroups.com.