While reviewing the current release, I noticed when building there are many
warning messages indicating com.google.protobuf.GeneratedMessageV3 is
deprecated e.g.

nifi-2.2.0/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/vision/AbstractGetGcpVisionAnnotateOperationStatus.java:[93,16]
[deprecation] GeneratedMessageV3 in com.google.protobuf has been deprecated

com.google.protobuf.GeneratedMessageV3 is found in
com.google.protobuf:protobuf-java:4.29.0. Per the Javadoc
<https://www.javadoc.io/doc/com.google.protobuf/protobuf-java/4.29.0/com/google/protobuf/GeneratedMessageV3.html>

This class is deprecated, and slated for removal in the next Java breaking
> change (5.x). Users should update gencode to >= 4.26.x which uses
> GeneratedMessage instead.


Can someone who knows more about Protobuf explain to me what the Javadoc is
suggesting to replace com.google.protobuf.GeneratedMessageV3 with? Does the
current com.google.protobuf:protobuf-java:4.29.0 have the suggested
replacement?
Thanks!

Reply via email to