FieldVisibility

enum FieldVisibility : ProtocolMessageEnum
Describes the visibility options for a given field.
Protobuf enum elide.model.FieldVisibility

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
Denotes data that should only be exposed to authorized users.
AUTHORIZED = 2;
Link copied to clipboard
Default visibility level. No change to default behavior.
DEFAULT_VISIBILITY = 0;
Link copied to clipboard
Denotes data that should only be exposed internally.
INTERNAL = 4;
Link copied to clipboard
val OPEN_VALUE: Int = 1
Denotes data that is fine to expose publicly.
OPEN = 1;
Link copied to clipboard
val OWNER_VALUE: Int = 3
Denotes data that should only be exposed to users authorized by the owner.
OWNER = 3;

Functions

Link copied to clipboard
open fun forNumber(value: Int): FieldVisibility
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<FieldVisibility>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): FieldVisibility
open fun valueOf(value: Int): FieldVisibility

open fun valueOf(name: String): FieldVisibility

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

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.