Skip to content

Consider moving ProtobufMessageFeature native image configuration to gax #1323

@mpeddada1

Description

@mpeddada1

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 of com.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

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions