-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Structs mapper utility #2278
Conversation
@kolea2 Can you please create an issue for tracking purpose? Also can I understand more about your use case? Do you need all of the functionality from this class or only a subset of it? Is there any other ways to do it? |
java-core/google-cloud-core/src/main/java/com/google/cloud/Structs.java
Outdated
Show resolved
Hide resolved
[gapic-generator-java-root] Kudos, SonarCloud Quality Gate passed! |
[java_showcase_integration_tests] SonarCloud Quality Gate failed. 0 Bugs 0.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Originally implemented in https://github.com/googleapis/java-logging/blob/d3f897c26b5b55436d2212a0d7452940f15c413f/google-cloud-logging/src/main/java/com/google/cloud/logging/Structs.java, this is a common utility that other projects can benefit from.
Test is from: https://github.com/googleapis/java-logging/blob/d3f897c26b5b55436d2212a0d7452940f15c413f/google-cloud-logging/src/test/java/com/google/cloud/logging/StructsTest.java
The only difference between the java-logging implementation and this is that builder and class methods in Structs.java have been made public.