Visibility

enum Visibility : ProtocolMessageEnum
Sets the visibility of a given object and its constituent properties, in circumstances where the object is served to
a frontend client/agent. Depending on the visibility of a given property, it may or may not be emitted by an API
service, or made available (or not) in the JS context.
Protobuf enum elide.model.Visibility

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val EXPORT_VALUE: Int = 4
Export visibility: expose this item to the outer invoking context.
EXPORT = 4;
Link copied to clipboard
Package visibility: items or objects in the same package can access and address this item.
PACKAGE = 3;
Link copied to clipboard
Private visibility: only usable and addressable by itself, or associated items.
PRIVATE = 1;
Link copied to clipboard
Protected visibility: children and other associated objects can access or address this item.
PROTECTED = 2;
Link copied to clipboard
val PUBLIC_VALUE: Int = 0
Default visibility: the property or item is public.
PUBLIC = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Visibility
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Visibility>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Visibility
open fun valueOf(value: Int): Visibility

open fun valueOf(name: String): Visibility

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<Visibility>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.