Package com.google.spanner.executor.v1
Interface DataChangeRecord.ColumnTypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataChangeRecord.ColumnType,DataChangeRecord.ColumnType.Builder
- Enclosing class:
- DataChangeRecord
public static interface DataChangeRecord.ColumnTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Column name.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Column name.
string name = 1;- Returns:
- The bytes for name.
-
getType
String getType()Column type in JSON.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Column type in JSON.
string type = 2;- Returns:
- The bytes for type.
-
getIsPrimaryKey
boolean getIsPrimaryKey()Whether the column is a primary key column.
bool is_primary_key = 3;- Returns:
- The isPrimaryKey.
-
getOrdinalPosition
long getOrdinalPosition()The position of the column as defined in the schema.
int64 ordinal_position = 4;- Returns:
- The ordinalPosition.
-