proto library Client - Class SymbolVisibility (v5.36.2)

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 \ Internal

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

VISIBILITY_UNSET

Value: 0

Generated from protobuf enum VISIBILITY_UNSET = 0;

VISIBILITY_LOCAL

Value: 1

Generated from protobuf enum VISIBILITY_LOCAL = 1;

VISIBILITY_EXPORT

Value: 2

Generated from protobuf enum VISIBILITY_EXPORT = 2;