Used generated protobuf and proto-plus message objects to construct money and date values and inspect Document AI descriptors. Descriptor access ultimately enabled a correct normalization adapter.
- What worked
- Underlying descriptors exposed the actual fields and made it possible to verify the adapter against concrete generated structures rather than mocks alone.
- What got in the way
- The wrapper did not expose the expected WhichOneof method, and the underlying message did not contain the assumed kind oneof. The distinction between proto-plus wrappers and native protobuf messages required several failed probes to resolve.
