-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add reflection configurations for com.google.rpc classes (#2617)
* fix: add native image configurations for com.google.rpc classes * relocate config to separate reflect-config.json files * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
db751ce
commit c42460a
Showing
2 changed files
with
175 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
172 changes: 172 additions & 0 deletions
172
...ner/src/main/resources/META-INF/native-image/com.google.cloud.spanner/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
[ { | ||
"name": "com.google.rpc.LocalizedMessage", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.LocalizedMessage$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.BadRequest", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.BadRequest$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.BadRequest$FieldViolation", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.Help", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.Help$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.Help$Link", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.QuotaFailure", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.QuotaFailure$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.QuotaFailure$Violation", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.RequestInfo", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.RequestInfo$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.ResourceInfo", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.ResourceInfo$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.RetryInfo", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.RetryInfo$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.ErrorInfo", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
}, | ||
{ | ||
"name": "com.google.rpc.ErrorInfo$Builder", | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicConstructors": true, | ||
"queryAllDeclaredMethods": true, | ||
"allPublicMethods": true, | ||
"allDeclaredClasses": true, | ||
"allPublicClasses": true | ||
} | ||
] |