SpannerFieldOptions

Extended options for use with Cloud Spanner, which may be affixed to an individual model field.
Protobuf type elide.model.SpannerFieldOptions

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , SpannerFieldOptionsOrBuilder
Extended options for use with Cloud Spanner, which may be affixed to an individual model field.
Protobuf type elide.model.SpannerFieldOptions

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getColumn(): String
Override column name in Spanner only.
string column = 1;
Link copied to clipboard
open fun getColumnBytes(): ByteString
Override column name in Spanner only.
string column = 1;
Link copied to clipboard
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 getExpression(): String
Expression value for this field. Converts this field into a calculated value.
string expression = 7;
Link copied to clipboard
open fun getExpressionBytes(): ByteString
Expression value for this field. Converts this field into a calculated value.
string expression = 7;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getIgnore(): Boolean
Whether to ignore this column in Spanner specifically.
bool ignore = 2;
Link copied to clipboard
open fun getJson(): Boolean
Override the field to store STRUCT objects as JSON.
bool json = 4;
Link copied to clipboard
open 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
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getParserForType(): Parser<out Message>
abstract fun getParserForType(): Parser<out MessageLite>
Link copied to clipboard
Marks a field as a member of a Spanner row's primary key.
bool primary_key = 9;
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
Link copied to clipboard
open fun getSize(): Int
Length of this field in the database, when expressed as a string.
uint32 size = 5;
Link copied to clipboard
open 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
open fun getTypeValue(): Int
Override the field type in Spanner only.
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions
Link copied to clipboard
open fun parseFrom(data: ByteString): SpannerFieldOptions
open fun parseFrom(input: CodedInputStream): SpannerFieldOptions
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions
Link copied to clipboard
open fun parser(): Parser<SpannerFieldOptions>
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)