Interface ChangeStreamRecord.DataChangeRecord.ColumnMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChangeStreamRecord.DataChangeRecord.ColumnMetadata, ChangeStreamRecord.DataChangeRecord.ColumnMetadata.Builder
Enclosing class:
ChangeStreamRecord.DataChangeRecord

public static interface ChangeStreamRecord.DataChangeRecord.ColumnMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether the column is a primary key column.
    Name of the column.
    com.google.protobuf.ByteString
    Name of the column.
    long
    Ordinal position of the column based on the original table definition in the schema starting with a value of 1.
    Type of the column.
    Type of the column.
    boolean
    Type of the column.

    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

    • getName

      String getName()
       Name of the column.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the column.
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasType

      boolean hasType()
       Type of the column.
       
      .google.spanner.v1.Type type = 2;
      Returns:
      Whether the type field is set.
    • getType

      Type getType()
       Type of the column.
       
      .google.spanner.v1.Type type = 2;
      Returns:
      The type.
    • getTypeOrBuilder

      TypeOrBuilder getTypeOrBuilder()
       Type of the column.
       
      .google.spanner.v1.Type type = 2;
    • getIsPrimaryKey

      boolean getIsPrimaryKey()
       Indicates whether the column is a primary key column.
       
      bool is_primary_key = 3;
      Returns:
      The isPrimaryKey.
    • getOrdinalPosition

      long getOrdinalPosition()
       Ordinal position of the column based on the original table definition
       in the schema starting with a value of 1.
       
      int64 ordinal_position = 4;
      Returns:
      The ordinalPosition.