Builder

class Builder : GeneratedMessage.Builder<BuilderT> , DatapointOptionsOrBuilder
Options specified for a given datamodel point (which can be a message, a field, an enum, and so on), which describe
how the object or field may be validated in various circumstances, and how it should be handled with regard to
exposure visibility to invoking code.
Protobuf type elide.model.DatapointOptions

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
Whether this property contains a "concrete" sub-message, in which case, its properties are lifted to the parent
entity. During decoding, a property is added to indicate the concrete selection made. This is usually combined with
generic types in a one-of field, for instance, in `MenuProduct`.
bool concrete = 3;
Link copied to clipboard
Indicate to the data storage engine that a given field is ephemeral, and should not be stored, but rather held with
a calculated value for use in systems upstream from the data storage layer.
bool ephemeral = 4;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
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
Whether this data point (model or field or enum, etc) should be considered "required" for this model to be valid.
This setting is applied in various circumstances, usually when data crosses API boundaries.
bool required = 2;
Link copied to clipboard
Sets the visibility options for this data point. Depending on these options, a property or model may be exposed to
invoking code, protected from rewriting, and so on.
.elide.model.Visibility visibility = 1;
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
open fun getConcrete(): Boolean
Whether this property contains a "concrete" sub-message, in which case, its properties are lifted to the parent
entity. During decoding, a property is added to indicate the concrete selection made. This is usually combined with
generic types in a one-of field, for instance, in `MenuProduct`.
bool concrete = 3;
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getEphemeral(): Boolean
Indicate to the data storage engine that a given field is ephemeral, and should not be stored, but rather held with
a calculated value for use in systems upstream from the data storage layer.
bool ephemeral = 4;
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 getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
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
open fun getRequired(): Boolean
Whether this data point (model or field or enum, etc) should be considered "required" for this model to be valid.
This setting is applied in various circumstances, usually when data crosses API boundaries.
bool required = 2;
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
Sets the visibility options for this data point. Depending on these options, a property or model may be exposed to
invoking code, protected from rewriting, and so on.
.elide.model.Visibility visibility = 1;
Link copied to clipboard
Sets the visibility options for this data point. Depending on these options, a property or model may be exposed to
invoking code, protected from rewriting, and so on.
.elide.model.Visibility visibility = 1;
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): DatapointOptions.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DatapointOptions.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
Whether this property contains a "concrete" sub-message, in which case, its properties are lifted to the parent
entity. During decoding, a property is added to indicate the concrete selection made. This is usually combined with
generic types in a one-of field, for instance, in `MenuProduct`.
bool concrete = 3;
Link copied to clipboard
Indicate to the data storage engine that a given field is ephemeral, and should not be stored, but rather held with
a calculated value for use in systems upstream from the data storage layer.
bool ephemeral = 4;
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
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
Whether this data point (model or field or enum, etc) should be considered "required" for this model to be valid.
This setting is applied in various circumstances, usually when data crosses API boundaries.
bool required = 2;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
Sets the visibility options for this data point. Depending on these options, a property or model may be exposed to
invoking code, protected from rewriting, and so on.
.elide.model.Visibility visibility = 1;
Link copied to clipboard
Sets the visibility options for this data point. Depending on these options, a property or model may be exposed to
invoking code, protected from rewriting, and so on.
.elide.model.Visibility visibility = 1;
Link copied to clipboard
open fun toString(): String