Reference documentation and code samples for the proto library Client class SymbolVisibility.
Describes the 'visibility' of a symbol with respect to the proto import
system. Symbols can only be imported when the visibility rules do not prevent
it (ex: local symbols cannot be imported). Visibility modifiers can only set
on message and enum as they are the only types available to be referenced
from other files.
Protobuf type google.protobuf.SymbolVisibility
Namespace
Google \ Protobuf \ InternalMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
VISIBILITY_UNSET
Value: 0Generated from protobuf enum VISIBILITY_UNSET = 0;
VISIBILITY_LOCAL
Value: 1Generated from protobuf enum VISIBILITY_LOCAL = 1;
VISIBILITY_EXPORT
Value: 2Generated from protobuf enum VISIBILITY_EXPORT = 2;