sendMetadataCallbacks_(metadata) {
    for (let i = 0; i < this.onMetadataCallbacks_.length; i++) {
      this.onMetadataCallbacks_[i](metadata);
    }
  }
@private
@param {!Metadata} metadata The metadata to send back