Consider moving ProtobufMessageFeature native image configuration to gax #1323
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Currently java-compute brings in gax-grpc for the purpose of bringing in ProtobufMessageFeature. The
ProtobufMessageFeature
class is used to register reflection configurations for all the sub-classes ofcom.google.protobuf.GeneratedMessageV3
which is used by generated client libraries.However, adding a dependency on gax-grpc can cause confusion especially when a library (such a java-compute) is REST-based and has also resulted in some unintended behavior (googleapis/java-compute#721) during native image compilation.
TODO:
The dependency on gax-grpc needs to be removed from java-compute once this change is made, released and gax is upgraded in the libraries
cc: @blakeli0 @suztomo
The text was updated successfully, but these errors were encountered: