/** * * * <pre> * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. * The list of columns must contain enough columns to allow * Cloud Spanner to derive values for all primary key columns in the * row(s) to be modified. * </pre> * * <code>repeated string columns = 2;</code> */ public Builder addColumns(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /**
/** * * * <pre> * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. * The list of columns must contain enough columns to allow * Cloud Spanner to derive values for all primary key columns in the * row(s) to be modified. * </pre> * * <code>repeated string columns = 2;</code> */ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; }
/** * * * <pre> * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. * The list of columns must contain enough columns to allow * Cloud Spanner to derive values for all primary key columns in the * row(s) to be modified. * </pre> * * <code>repeated string columns = 2;</code> */ public Builder setColumns(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /**
bitField0_ = (bitField0_ & ~0x00000002); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_);
/** * * * <pre> * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. * The list of columns must contain enough columns to allow * Cloud Spanner to derive values for all primary key columns in the * row(s) to be modified. * </pre> * * <code>repeated string columns = 2;</code> */ public Builder addAllColumns(java.lang.Iterable<java.lang.String> values) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); return this; } /**