proto library Client - Class DefaultSymbolVisibility (v5.36.2)

Reference documentation and code samples for the proto library Client class DefaultSymbolVisibility.

Protobuf type google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility

Namespace

Google \ Protobuf \ Internal \ FeatureSet \ VisibilityFeature

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DEFAULT_SYMBOL_VISIBILITY_UNKNOWN

Value: 0

Generated from protobuf enum DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;

EXPORT_ALL

Value: 1

Default pre-EDITION_2024, all UNSET visibility are export.

Generated from protobuf enum EXPORT_ALL = 1;

EXPORT_TOP_LEVEL

Value: 2

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

Generated from protobuf enum EXPORT_TOP_LEVEL = 2;

LOCAL_ALL

Value: 3

All symbols default to local.

Generated from protobuf enum LOCAL_ALL = 3;

STRICT

Value: 4

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.

Generated from protobuf enum STRICT = 4;