Interface SpannerFieldOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SpannerFieldOptions, SpannerFieldOptions.Builder

public interface SpannerFieldOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Override column name in Spanner only.
    com.google.protobuf.ByteString
    Override column name in Spanner only.
    Expression value for this field.
    com.google.protobuf.ByteString
    Expression value for this field.
    boolean
    Whether to ignore this column in Spanner specifically.
    boolean
    Override the field to store STRUCT objects as JSON.
    boolean
    Specifies this column as `NONNULL`, in which case you cannot store `NULL` values in this field.
    boolean
    Marks a field as a member of a Spanner row's primary key.
    int
    Length of this field in the database, when expressed as a string.
    boolean
    Specifies the `STORED` option for this field.
    Override the field type in Spanner only.
    int
    Override the field type in Spanner only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getColumn

      String getColumn()
       Override column name in Spanner only.
       
      string column = 1 [json_name = "column"];
      Returns:
      The column.
    • getColumnBytes

      com.google.protobuf.ByteString getColumnBytes()
       Override column name in Spanner only.
       
      string column = 1 [json_name = "column"];
      Returns:
      The bytes for column.
    • getIgnore

      boolean getIgnore()
       Whether to ignore this column in Spanner specifically.
       
      bool ignore = 2 [json_name = "ignore"];
      Returns:
      The ignore.
    • getTypeValue

      int getTypeValue()
       Override the field type in Spanner only.
       
      .elide.model.SpannerOptions.SpannerType type = 3 [json_name = "type"];
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Override the field type in Spanner only.
       
      .elide.model.SpannerOptions.SpannerType type = 3 [json_name = "type"];
      Returns:
      The type.
    • getJson

      boolean getJson()
       Override the field to store STRUCT objects as JSON.
       
      bool json = 4 [json_name = "json"];
      Returns:
      The json.
    • getSize

      int getSize()
       Length of this field in the database, when expressed as a string.
       
      uint32 size = 5 [json_name = "size"];
      Returns:
      The size.
    • getNonnull

      boolean getNonnull()
       Specifies this column as `NONNULL`, in which case you cannot store `NULL` values in this field.
       
      bool nonnull = 6 [json_name = "nonnull"];
      Returns:
      The nonnull.
    • getExpression

      String getExpression()
       Expression value for this field. Converts this field into a calculated value.
       
      string expression = 7 [json_name = "expression"];
      Returns:
      The expression.
    • getExpressionBytes

      com.google.protobuf.ByteString getExpressionBytes()
       Expression value for this field. Converts this field into a calculated value.
       
      string expression = 7 [json_name = "expression"];
      Returns:
      The bytes for expression.
    • getStored

      boolean getStored()
       Specifies the `STORED` option for this field. Only applicable if an `expression` is present.
       
      bool stored = 8 [json_name = "stored"];
      Returns:
      The stored.
    • getPrimaryKey

      boolean getPrimaryKey()
       Marks a field as a member of a Spanner row's primary key.
       
      bool primary_key = 9 [json_name = "primaryKey"];
      Returns:
      The primaryKey.