Enum FieldOptions.Types.OptionRetention (3.27.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public enum FieldOptions . Types . OptionRetention
If set to RETENTION_SOURCE, the option will be omitted from the binary.
Note: as of January 2023, support for this is in progress and does not yet
have an effect (b/264593489).
Namespace
Google.Protobuf.Reflection
Assembly
Google.Protobuf.dll
Fields
Name
Description
RetentionRuntime
RetentionSource
RetentionUnknown
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-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]