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
CloneableInstantiable
Constants |
public Google Generated from protobuf enum VISIBILITY_EXPORT = 2; |
public Google Generated from protobuf enum VISIBILITY_LOCAL = 1; |
public Google Generated from protobuf enum VISIBILITY_UNSET = 0; |
Methods |
public static name( $value) |
public static value( $name) |
Properties |
private static $valueToName = ['VISIBILITY_UNSET', 'VISIBILITY_LOCAL', 'VISIBILITY_EXPORT'] |
Properties |
private static $valueToName = ['VISIBILITY_UNSET', 'VISIBILITY_LOCAL', 'VISIBILITY_EXPORT'] |
Methods |
public static name( $value) |
public static value( $name) |