FieldType

enum FieldType : ProtocolMessageEnum
Enumerates field handling special-cases. Fields may be annotated with these special types to change the way they are
handled by the model mapping layer.
Protobuf enum elide.model.FieldType

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val FLAGS_VALUE: Int = 4
Store this object as a special flags-style mapping.
FLAGS = 4;
Link copied to clipboard
val ID_VALUE: Int = 2
This is an ID field that should be used as the final name of this document.
ID = 2;
Link copied to clipboard
val KEY_VALUE: Int = 1
This is a key field (a primary key sub-message) for a GROUP or COLLECTION-mode message.
KEY = 1;
Link copied to clipboard
val PARENT_VALUE: Int = 7
This field represents a key for this item's parent.
PARENT = 7;
Link copied to clipboard
val PATH_VALUE: Int = 8
This field represents a full key path in hierarchical storage.
PATH = 8;
Link copied to clipboard
This key is a foreign reference.
REFERENCE = 5;
Link copied to clipboard
This is a standard field (default value).
STANDARD = 0;
Link copied to clipboard
val TAGS_VALUE: Int = 3
This is a tags-style field.
TAGS = 3;
Link copied to clipboard
This item is a timestamp.
TIMESTAMP = 6;

Functions

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

open fun valueOf(name: String): FieldType

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<FieldType>

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.