set name(newName) {
    // eslint-disable-next-line deprecation/deprecation
    this.setName(newName);
  }
Get the metadata for this transaction.
@deprecated Use `spanGetMetadata(transaction)` instead.