FieldPersistenceOptionsOrBuilder

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
abstract fun getDefaultInstanceForType(): Message
Link copied to clipboard
abstract fun getDescription(): String
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
abstract fun getDescriptionBytes(): ByteString
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
abstract fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
abstract fun getExplicit(): Boolean
This field should always be explicitly listed with a value, even if it is set to the default value. This function
is especially useful for enums with default values, when there is a desire to have consistent indexes.
bool explicit = 7;
Link copied to clipboard
abstract fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
abstract fun getImmutable(): Boolean
This field should allow writes when the model that contains it is written, but then, henceforth, the model should
not allow this field to be mutated.
bool immutable = 6;
Link copied to clipboard
Link copied to clipboard
abstract fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getReadOnly(): Boolean
This field should not allow writes, but rather produce its value dynamically. Fields marked in this manner cannot
be set by external code at any point in time.
bool read_only = 5;
Link copied to clipboard
abstract fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
abstract fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
abstract fun getStampCreate(): Boolean
This item is a timestamp, and we would like it to be automatically set when the model is created. After that point,
we would like this field to be read-only.
bool stamp_create = 4;
Link copied to clipboard
abstract fun getStampUpdate(): Boolean
This item is a timestamp, and we would like it to be automatically updated each time the model that contains it is
modified in underlying storage. The field should be read-only.
bool stamp_update = 3;
Link copied to clipboard
abstract fun getSummary(): String
Summary for this field, which provides a narrative description. It should be suitable for use in external
circumstances, like documentation.
string summary = 2;
Link copied to clipboard
abstract fun getSummaryBytes(): ByteString
Summary for this field, which provides a narrative description. It should be suitable for use in external
circumstances, like documentation.
string summary = 2;
Link copied to clipboard
abstract fun getType(): FieldType
Field type, for special-case fields.
.elide.model.FieldType type = 1;
Link copied to clipboard
abstract fun getTypeValue(): Int
Field type, for special-case fields.
.elide.model.FieldType type = 1;
Link copied to clipboard
abstract fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
Describes the visibility level of a given field in a tree of fields. This value applies recursively under message
fields on which it is applied. Depending on the visibility level active when data is deserialized or serialized,
certain data may be withheld corresponding to the invoking user or system's access level.
.elide.model.FieldVisibility visibility = 8;
Link copied to clipboard
abstract fun getVisibilityValue(): Int
Describes the visibility level of a given field in a tree of fields. This value applies recursively under message
fields on which it is applied. Depending on the visibility level active when data is deserialized or serialized,
certain data may be withheld corresponding to the invoking user or system's access level.
.elide.model.FieldVisibility visibility = 8;
Link copied to clipboard
abstract fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
abstract fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
abstract fun isInitialized(): Boolean