CollectionMode

enum CollectionMode : ProtocolMessageEnum
Specifies how a sub-object in a particular message should be persisted.
Protobuf enum elide.model.CollectionMode

Entries

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

Properties

Link copied to clipboard
`COLLECTION` mode stores the specified collection as a sub-collection under the parent document.
COLLECTION = 1;
Link copied to clipboard
val GROUP_VALUE: Int = 2
`GROUP` mode stores the specified collection at the root of the data system.
GROUP = 2;
Link copied to clipboard
val NESTED_VALUE: Int = 0
`NESTED` mode stores the specified collection within the parent document.
NESTED = 0;

Functions

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

open fun valueOf(name: String): CollectionMode

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.