You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sdk-platform-java] Generate native image reflect-config.json for com.google.firestore.bundle #12481
Do we know how the com.google.firestore.bundle classes are added to java-firestore repo? I don't see them being passed into the generator in the Bazel build file.
I see, this is a proto only module that does not involve the generator, it is generated using protoc plugin directly. If that's the case, I don't think we have a way to generate it through generator.
Is this the only occurrence of this issue? Do you see it happening in other handwritten libraries?
Hm I could be wrong but these classes seem to get generator updates through Owlbot (example, googleapis/java-firestore#1304) which make me think that they aren't fully disconnected?
Is this the only occurrence of this issue? Do you see it happening in other handwritten libraries?
From what we've observed so far, Firestore is the only one that has this issue. From the native image perspective, Spanner needed manually added configs but for different reason as there were explicitly using + reflectively calling some com.google.rpc classes (googleapis/java-spanner#2617)
Hm I could be wrong but these classes seem to get generator updates through Owlbot (example, googleapis/java-firestore#1304) which make me think that they aren't fully disconnected?
Yes they are generated into googleapis-gen through the Bazel configurations , hence we can configure owlbot to copy the code from googleapis-gen. But the Bazel configurations only include firestore_bundle_java_proto and firestore_bundle_proto, which do not go through the gapic-generator-java code, compare to a firestore v1 Bazel configuration, that includes a firestore_java_gapic dependency.
This issue suffers from the same root cause as I mentioned in #12478, if we do prioritize these issues, I would suggest to fix #12478 first.
changed the title [-]Generate native image reflect-config.json for com.google.firestore.bundle[/-][+][sdk-platform-java] Generate native image reflect-config.json for com.google.firestore.bundle[/+]on Apr 1, 2026
Activity
blakeli0 commentedon Sep 20, 2023
Do we know how the
com.google.firestore.bundleclasses are added to java-firestore repo? I don't see them being passed into the generator in the Bazel build file.mpeddada1 commentedon Sep 20, 2023
The bazel rule for assembling this code is located under the
google/firestore/bundledirectory. Originally, it looks like this package was manually generated (googleapis/java-firestore#271) in the repo and then the bazel rules were migrated over to third_party?blakeli0 commentedon Sep 21, 2023
I see, this is a proto only module that does not involve the generator, it is generated using protoc plugin directly. If that's the case, I don't think we have a way to generate it through generator.
Is this the only occurrence of this issue? Do you see it happening in other handwritten libraries?
mpeddada1 commentedon Sep 27, 2023
Hm I could be wrong but these classes seem to get generator updates through Owlbot (example, googleapis/java-firestore#1304) which make me think that they aren't fully disconnected?
From what we've observed so far, Firestore is the only one that has this issue. From the native image perspective, Spanner needed manually added configs but for different reason as there were explicitly using + reflectively calling some
com.google.rpcclasses (googleapis/java-spanner#2617)blakeli0 commentedon Dec 19, 2023
Yes they are generated into googleapis-gen through the Bazel configurations , hence we can configure owlbot to copy the code from googleapis-gen. But the Bazel configurations only include
firestore_bundle_java_protoandfirestore_bundle_proto, which do not go through the gapic-generator-java code, compare to a firestore v1 Bazel configuration, that includes afirestore_java_gapicdependency.This issue suffers from the same root cause as I mentioned in #12478, if we do prioritize these issues, I would suggest to fix #12478 first.
[-]Generate native image reflect-config.json for com.google.firestore.bundle[/-][+][sdk-platform-java] Generate native image reflect-config.json for com.google.firestore.bundle[/+]