Reference documentation and code samples for the proto library Client class DefaultSymbolVisibility.
Protobuf type google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
Namespace
Google \ Protobuf \ Internal \ FeatureSet \ VisibilityFeatureMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN
Value: 0Generated from protobuf enum DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
EXPORT_ALL
Value: 1Default pre-EDITION_2024, all UNSET visibility are export.
Generated from protobuf enum EXPORT_ALL = 1;
EXPORT_TOP_LEVEL
Value: 2All top-level symbols default to export, nested default to local.
Generated from protobuf enum EXPORT_TOP_LEVEL = 2;
LOCAL_ALL
Value: 3All symbols default to local.
Generated from protobuf enum LOCAL_ALL = 3;
STRICT
Value: 4All 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;