Builder

class Builder : GeneratedMessage.Builder<BuilderT> , FieldPersistenceOptionsOrBuilder
Persistence/data engine options specific to an individual message field.
Protobuf type elide.model.FieldPersistenceOptions

Functions

Link copied to clipboard
open fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
abstract fun build(): MessageLite
Link copied to clipboard
abstract fun buildPartial(): MessageLite
Link copied to clipboard
open fun clear(): BuilderType
abstract fun clear(): Message.Builder
Link copied to clipboard
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
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
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
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
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderType
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderT
abstract fun clearOneof(oneof: Descriptors.OneofDescriptor): Message.Builder
Link copied to clipboard
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
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
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
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
Field type, for special-case fields.
.elide.model.FieldType type = 1;
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
open fun clone(): BuilderType
open fun clone(): BuilderT
abstract fun clone(): Message.Builder
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
Link copied to clipboard
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
open fun getDescriptionBytes(): ByteString
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open 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
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open 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
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
open 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
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldBuilder(field: Descriptors.FieldDescriptor, index: Int): Message.Builder
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
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
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
open 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
open 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
open fun getType(): FieldType
Field type, for special-case fields.
.elide.model.FieldType type = 1;
Link copied to clipboard
open fun getTypeValue(): Int
Field type, for special-case fields.
.elide.model.FieldType type = 1;
Link copied to clipboard
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
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
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
open fun mergeDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Boolean
Link copied to clipboard
abstract fun mergeFrom(other: Message): Message.Builder
open fun mergeFrom(other: Message): FieldPersistenceOptions.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): FieldPersistenceOptions.Builder
Link copied to clipboard
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderType
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun mergeUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun newBuilderForField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
Provided for backwards compatibility. Do not use.
string description = 9 [deprecated = true];
Link copied to clipboard
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
open fun setField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun setField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
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
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
open fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): BuilderT
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
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
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
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
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
Field type, for special-case fields.
.elide.model.FieldType type = 1;
Link copied to clipboard
Field type, for special-case fields.
.elide.model.FieldType type = 1;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
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
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
open fun toString(): String