SpannerFieldOptionsOrBuilder

interface SpannerFieldOptionsOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
abstract fun getColumn(): String
Override column name in Spanner only.
string column = 1;
Link copied to clipboard
abstract fun getColumnBytes(): ByteString
Override column name in Spanner only.
string column = 1;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
abstract fun getDefaultInstanceForType(): Message
Link copied to clipboard
abstract fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
abstract fun getExpression(): String
Expression value for this field. Converts this field into a calculated value.
string expression = 7;
Link copied to clipboard
abstract fun getExpressionBytes(): ByteString
Expression value for this field. Converts this field into a calculated value.
string expression = 7;
Link copied to clipboard
abstract fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
abstract fun getIgnore(): Boolean
Whether to ignore this column in Spanner specifically.
bool ignore = 2;
Link copied to clipboard
Link copied to clipboard
abstract fun getJson(): Boolean
Override the field to store STRUCT objects as JSON.
bool json = 4;
Link copied to clipboard
abstract fun getNonnull(): Boolean
Specifies this column as `NONNULL`, in which case you cannot store `NULL` values in this field.
bool nonnull = 6;
Link copied to clipboard
abstract fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getPrimaryKey(): Boolean
Marks a field as a member of a Spanner row's primary key.
bool primary_key = 9;
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 getSize(): Int
Length of this field in the database, when expressed as a string.
uint32 size = 5;
Link copied to clipboard
abstract fun getStored(): Boolean
Specifies the `STORED` option for this field. Only applicable if an `expression` is present.
bool stored = 8;
Link copied to clipboard
Override the field type in Spanner only.
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
abstract fun getTypeValue(): Int
Override the field type in Spanner only.
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
abstract fun getUnknownFields(): UnknownFieldSet
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