Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic

Enum in google.protobuf.FeatureSet.VisibilityFeature

DefaultSymbolVisibility

google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility

Values

NameNumberDescription
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN0
EXPORT_ALL1

Default pre-EDITION_2024, all UNSET visibility are export.

EXPORT_TOP_LEVEL2

All top-level symbols default to export, nested default to local.

LOCAL_ALL3

All symbols default to local.

STRICT4

All symbols local by default. Nested types cannot be exported. With special case caveat for message { enum {} reserved 1 to max; } This is the recommended setting for new protos.

Used by

Defined in google/protobuf/descriptor.proto