Parse findings stored as Protobuf text

This code sample shows how to extract details from inspection findings that are saved in Protobuf text format. Do this task if you saved your inspection findings to Cloud Storage. This example converts the exported SaveToGcsFindingsOutput object into a human-readable format. You can then use the output to analyze individual inspection findings.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-18 UTC.