public static final class DataChangeRecord.Builder extends GeneratedMessageV3.Builder<DataChangeRecord.Builder> implements DataChangeRecordOrBuilder
ChangeStream data change record.
Protobuf type google.spanner.executor.v1.DataChangeRecord
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataChangeRecord.BuilderImplements
DataChangeRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllColumnTypes(Iterable<? extends DataChangeRecord.ColumnType> values)
public DataChangeRecord.Builder addAllColumnTypes(Iterable<? extends DataChangeRecord.ColumnType> values)
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnType> |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |
addAllMods(Iterable<? extends DataChangeRecord.Mod> values)
public DataChangeRecord.Builder addAllMods(Iterable<? extends DataChangeRecord.Mod> values)
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.spanner.executor.v1.DataChangeRecord.Mod> |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |
addColumnTypes(DataChangeRecord.ColumnType value)
public DataChangeRecord.Builder addColumnTypes(DataChangeRecord.ColumnType value)
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Parameter | |
---|---|
Name | Description |
value |
DataChangeRecord.ColumnType |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |
addColumnTypes(DataChangeRecord.ColumnType.Builder builderForValue)
public DataChangeRecord.Builder addColumnTypes(DataChangeRecord.ColumnType.Builder builderForValue)
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
DataChangeRecord.ColumnType.Builder |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |
addColumnTypes(int index, DataChangeRecord.ColumnType value)
public DataChangeRecord.Builder addColumnTypes(int index, DataChangeRecord.ColumnType value)
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DataChangeRecord.ColumnType |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |
addColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue)
public DataChangeRecord.Builder addColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue)
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DataChangeRecord.ColumnType.Builder |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |
addColumnTypesBuilder()
public DataChangeRecord.ColumnType.Builder addColumnTypesBuilder()
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
addColumnTypesBuilder(int index)
public DataChangeRecord.ColumnType.Builder addColumnTypesBuilder(int index)
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
addMods(DataChangeRecord.Mod value)
public DataChangeRecord.Builder addMods(DataChangeRecord.Mod value)
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
Parameter | |
---|---|
Name | Description |
value |
DataChangeRecord.Mod |
Returns | |
---|---|
Type | Description |
DataChangeRecord.Builder |