pb.pb.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: pb.proto
  3. /*
  4. Package pb is a generated protocol buffer package.
  5. It is generated from these files:
  6. pb.proto
  7. It has these top-level messages:
  8. Metadata
  9. BurndownSparseMatrixRow
  10. BurndownSparseMatrix
  11. BurndownAnalysisResults
  12. CompressedSparseRowMatrix
  13. Couples
  14. TouchedFiles
  15. CouplesAnalysisResults
  16. UASTChange
  17. UASTChangesSaverResults
  18. ShotnessRecord
  19. ShotnessAnalysisResults
  20. FileHistory
  21. FileHistoryResultMessage
  22. Sentiment
  23. CommentSentimentResults
  24. AnalysisResults
  25. */
  26. package pb
  27. import proto "github.com/gogo/protobuf/proto"
  28. import fmt "fmt"
  29. import math "math"
  30. // Reference imports to suppress errors if they are not otherwise used.
  31. var _ = proto.Marshal
  32. var _ = fmt.Errorf
  33. var _ = math.Inf
  34. // This is a compile-time assertion to ensure that this generated file
  35. // is compatible with the proto package it is being compiled against.
  36. // A compilation error at this line likely means your copy of the
  37. // proto package needs to be updated.
  38. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  39. type Metadata struct {
  40. // this format is versioned
  41. Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
  42. // git hash of the revision from which Hercules is built
  43. Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
  44. // repository's name
  45. Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
  46. // UNIX timestamp of the first analysed commit
  47. BeginUnixTime int64 `protobuf:"varint,4,opt,name=begin_unix_time,json=beginUnixTime,proto3" json:"begin_unix_time,omitempty"`
  48. // UNIX timestamp of the last analysed commit
  49. EndUnixTime int64 `protobuf:"varint,5,opt,name=end_unix_time,json=endUnixTime,proto3" json:"end_unix_time,omitempty"`
  50. // number of processed commits
  51. Commits int32 `protobuf:"varint,6,opt,name=commits,proto3" json:"commits,omitempty"`
  52. // duration of the analysis in milliseconds
  53. RunTime int64 `protobuf:"varint,7,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
  54. }
  55. func (m *Metadata) Reset() { *m = Metadata{} }
  56. func (m *Metadata) String() string { return proto.CompactTextString(m) }
  57. func (*Metadata) ProtoMessage() {}
  58. func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{0} }
  59. func (m *Metadata) GetVersion() int32 {
  60. if m != nil {
  61. return m.Version
  62. }
  63. return 0
  64. }
  65. func (m *Metadata) GetHash() string {
  66. if m != nil {
  67. return m.Hash
  68. }
  69. return ""
  70. }
  71. func (m *Metadata) GetRepository() string {
  72. if m != nil {
  73. return m.Repository
  74. }
  75. return ""
  76. }
  77. func (m *Metadata) GetBeginUnixTime() int64 {
  78. if m != nil {
  79. return m.BeginUnixTime
  80. }
  81. return 0
  82. }
  83. func (m *Metadata) GetEndUnixTime() int64 {
  84. if m != nil {
  85. return m.EndUnixTime
  86. }
  87. return 0
  88. }
  89. func (m *Metadata) GetCommits() int32 {
  90. if m != nil {
  91. return m.Commits
  92. }
  93. return 0
  94. }
  95. func (m *Metadata) GetRunTime() int64 {
  96. if m != nil {
  97. return m.RunTime
  98. }
  99. return 0
  100. }
  101. type BurndownSparseMatrixRow struct {
  102. // the first `len(column)` elements are stored,
  103. // the rest `number_of_columns - len(column)` values are zeros
  104. Columns []uint32 `protobuf:"varint,1,rep,packed,name=columns" json:"columns,omitempty"`
  105. }
  106. func (m *BurndownSparseMatrixRow) Reset() { *m = BurndownSparseMatrixRow{} }
  107. func (m *BurndownSparseMatrixRow) String() string { return proto.CompactTextString(m) }
  108. func (*BurndownSparseMatrixRow) ProtoMessage() {}
  109. func (*BurndownSparseMatrixRow) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{1} }
  110. func (m *BurndownSparseMatrixRow) GetColumns() []uint32 {
  111. if m != nil {
  112. return m.Columns
  113. }
  114. return nil
  115. }
  116. type BurndownSparseMatrix struct {
  117. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  118. NumberOfRows int32 `protobuf:"varint,2,opt,name=number_of_rows,json=numberOfRows,proto3" json:"number_of_rows,omitempty"`
  119. NumberOfColumns int32 `protobuf:"varint,3,opt,name=number_of_columns,json=numberOfColumns,proto3" json:"number_of_columns,omitempty"`
  120. // `len(row)` matches `number_of_rows`
  121. Rows []*BurndownSparseMatrixRow `protobuf:"bytes,4,rep,name=rows" json:"rows,omitempty"`
  122. }
  123. func (m *BurndownSparseMatrix) Reset() { *m = BurndownSparseMatrix{} }
  124. func (m *BurndownSparseMatrix) String() string { return proto.CompactTextString(m) }
  125. func (*BurndownSparseMatrix) ProtoMessage() {}
  126. func (*BurndownSparseMatrix) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{2} }
  127. func (m *BurndownSparseMatrix) GetName() string {
  128. if m != nil {
  129. return m.Name
  130. }
  131. return ""
  132. }
  133. func (m *BurndownSparseMatrix) GetNumberOfRows() int32 {
  134. if m != nil {
  135. return m.NumberOfRows
  136. }
  137. return 0
  138. }
  139. func (m *BurndownSparseMatrix) GetNumberOfColumns() int32 {
  140. if m != nil {
  141. return m.NumberOfColumns
  142. }
  143. return 0
  144. }
  145. func (m *BurndownSparseMatrix) GetRows() []*BurndownSparseMatrixRow {
  146. if m != nil {
  147. return m.Rows
  148. }
  149. return nil
  150. }
  151. type BurndownAnalysisResults struct {
  152. // how many days are in each band [burndown_project, burndown_file, burndown_developer]
  153. Granularity int32 `protobuf:"varint,1,opt,name=granularity,proto3" json:"granularity,omitempty"`
  154. // how frequently we measure the state of each band [burndown_project, burndown_file, burndown_developer]
  155. Sampling int32 `protobuf:"varint,2,opt,name=sampling,proto3" json:"sampling,omitempty"`
  156. // always exists
  157. Project *BurndownSparseMatrix `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"`
  158. // this is included if `-burndown-files` was specified
  159. Files []*BurndownSparseMatrix `protobuf:"bytes,4,rep,name=files" json:"files,omitempty"`
  160. // these two are included if `-burndown-people` was specified
  161. People []*BurndownSparseMatrix `protobuf:"bytes,5,rep,name=people" json:"people,omitempty"`
  162. // rows and cols order correspond to `burndown_developer`
  163. PeopleInteraction *CompressedSparseRowMatrix `protobuf:"bytes,6,opt,name=people_interaction,json=peopleInteraction" json:"people_interaction,omitempty"`
  164. }
  165. func (m *BurndownAnalysisResults) Reset() { *m = BurndownAnalysisResults{} }
  166. func (m *BurndownAnalysisResults) String() string { return proto.CompactTextString(m) }
  167. func (*BurndownAnalysisResults) ProtoMessage() {}
  168. func (*BurndownAnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{3} }
  169. func (m *BurndownAnalysisResults) GetGranularity() int32 {
  170. if m != nil {
  171. return m.Granularity
  172. }
  173. return 0
  174. }
  175. func (m *BurndownAnalysisResults) GetSampling() int32 {
  176. if m != nil {
  177. return m.Sampling
  178. }
  179. return 0
  180. }
  181. func (m *BurndownAnalysisResults) GetProject() *BurndownSparseMatrix {
  182. if m != nil {
  183. return m.Project
  184. }
  185. return nil
  186. }
  187. func (m *BurndownAnalysisResults) GetFiles() []*BurndownSparseMatrix {
  188. if m != nil {
  189. return m.Files
  190. }
  191. return nil
  192. }
  193. func (m *BurndownAnalysisResults) GetPeople() []*BurndownSparseMatrix {
  194. if m != nil {
  195. return m.People
  196. }
  197. return nil
  198. }
  199. func (m *BurndownAnalysisResults) GetPeopleInteraction() *CompressedSparseRowMatrix {
  200. if m != nil {
  201. return m.PeopleInteraction
  202. }
  203. return nil
  204. }
  205. type CompressedSparseRowMatrix struct {
  206. NumberOfRows int32 `protobuf:"varint,1,opt,name=number_of_rows,json=numberOfRows,proto3" json:"number_of_rows,omitempty"`
  207. NumberOfColumns int32 `protobuf:"varint,2,opt,name=number_of_columns,json=numberOfColumns,proto3" json:"number_of_columns,omitempty"`
  208. // https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29
  209. Data []int64 `protobuf:"varint,3,rep,packed,name=data" json:"data,omitempty"`
  210. Indices []int32 `protobuf:"varint,4,rep,packed,name=indices" json:"indices,omitempty"`
  211. Indptr []int64 `protobuf:"varint,5,rep,packed,name=indptr" json:"indptr,omitempty"`
  212. }
  213. func (m *CompressedSparseRowMatrix) Reset() { *m = CompressedSparseRowMatrix{} }
  214. func (m *CompressedSparseRowMatrix) String() string { return proto.CompactTextString(m) }
  215. func (*CompressedSparseRowMatrix) ProtoMessage() {}
  216. func (*CompressedSparseRowMatrix) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{4} }
  217. func (m *CompressedSparseRowMatrix) GetNumberOfRows() int32 {
  218. if m != nil {
  219. return m.NumberOfRows
  220. }
  221. return 0
  222. }
  223. func (m *CompressedSparseRowMatrix) GetNumberOfColumns() int32 {
  224. if m != nil {
  225. return m.NumberOfColumns
  226. }
  227. return 0
  228. }
  229. func (m *CompressedSparseRowMatrix) GetData() []int64 {
  230. if m != nil {
  231. return m.Data
  232. }
  233. return nil
  234. }
  235. func (m *CompressedSparseRowMatrix) GetIndices() []int32 {
  236. if m != nil {
  237. return m.Indices
  238. }
  239. return nil
  240. }
  241. func (m *CompressedSparseRowMatrix) GetIndptr() []int64 {
  242. if m != nil {
  243. return m.Indptr
  244. }
  245. return nil
  246. }
  247. type Couples struct {
  248. // name of each `matrix`'s row and column
  249. Index []string `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"`
  250. // is always square
  251. Matrix *CompressedSparseRowMatrix `protobuf:"bytes,2,opt,name=matrix" json:"matrix,omitempty"`
  252. }
  253. func (m *Couples) Reset() { *m = Couples{} }
  254. func (m *Couples) String() string { return proto.CompactTextString(m) }
  255. func (*Couples) ProtoMessage() {}
  256. func (*Couples) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{5} }
  257. func (m *Couples) GetIndex() []string {
  258. if m != nil {
  259. return m.Index
  260. }
  261. return nil
  262. }
  263. func (m *Couples) GetMatrix() *CompressedSparseRowMatrix {
  264. if m != nil {
  265. return m.Matrix
  266. }
  267. return nil
  268. }
  269. type TouchedFiles struct {
  270. Files []int32 `protobuf:"varint,1,rep,packed,name=files" json:"files,omitempty"`
  271. }
  272. func (m *TouchedFiles) Reset() { *m = TouchedFiles{} }
  273. func (m *TouchedFiles) String() string { return proto.CompactTextString(m) }
  274. func (*TouchedFiles) ProtoMessage() {}
  275. func (*TouchedFiles) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{6} }
  276. func (m *TouchedFiles) GetFiles() []int32 {
  277. if m != nil {
  278. return m.Files
  279. }
  280. return nil
  281. }
  282. type CouplesAnalysisResults struct {
  283. FileCouples *Couples `protobuf:"bytes,6,opt,name=file_couples,json=fileCouples" json:"file_couples,omitempty"`
  284. PeopleCouples *Couples `protobuf:"bytes,7,opt,name=people_couples,json=peopleCouples" json:"people_couples,omitempty"`
  285. // order corresponds to `people_couples::index`
  286. PeopleFiles []*TouchedFiles `protobuf:"bytes,8,rep,name=people_files,json=peopleFiles" json:"people_files,omitempty"`
  287. }
  288. func (m *CouplesAnalysisResults) Reset() { *m = CouplesAnalysisResults{} }
  289. func (m *CouplesAnalysisResults) String() string { return proto.CompactTextString(m) }
  290. func (*CouplesAnalysisResults) ProtoMessage() {}
  291. func (*CouplesAnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{7} }
  292. func (m *CouplesAnalysisResults) GetFileCouples() *Couples {
  293. if m != nil {
  294. return m.FileCouples
  295. }
  296. return nil
  297. }
  298. func (m *CouplesAnalysisResults) GetPeopleCouples() *Couples {
  299. if m != nil {
  300. return m.PeopleCouples
  301. }
  302. return nil
  303. }
  304. func (m *CouplesAnalysisResults) GetPeopleFiles() []*TouchedFiles {
  305. if m != nil {
  306. return m.PeopleFiles
  307. }
  308. return nil
  309. }
  310. type UASTChange struct {
  311. FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
  312. SrcBefore string `protobuf:"bytes,2,opt,name=src_before,json=srcBefore,proto3" json:"src_before,omitempty"`
  313. SrcAfter string `protobuf:"bytes,3,opt,name=src_after,json=srcAfter,proto3" json:"src_after,omitempty"`
  314. UastBefore string `protobuf:"bytes,4,opt,name=uast_before,json=uastBefore,proto3" json:"uast_before,omitempty"`
  315. UastAfter string `protobuf:"bytes,5,opt,name=uast_after,json=uastAfter,proto3" json:"uast_after,omitempty"`
  316. }
  317. func (m *UASTChange) Reset() { *m = UASTChange{} }
  318. func (m *UASTChange) String() string { return proto.CompactTextString(m) }
  319. func (*UASTChange) ProtoMessage() {}
  320. func (*UASTChange) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{8} }
  321. func (m *UASTChange) GetFileName() string {
  322. if m != nil {
  323. return m.FileName
  324. }
  325. return ""
  326. }
  327. func (m *UASTChange) GetSrcBefore() string {
  328. if m != nil {
  329. return m.SrcBefore
  330. }
  331. return ""
  332. }
  333. func (m *UASTChange) GetSrcAfter() string {
  334. if m != nil {
  335. return m.SrcAfter
  336. }
  337. return ""
  338. }
  339. func (m *UASTChange) GetUastBefore() string {
  340. if m != nil {
  341. return m.UastBefore
  342. }
  343. return ""
  344. }
  345. func (m *UASTChange) GetUastAfter() string {
  346. if m != nil {
  347. return m.UastAfter
  348. }
  349. return ""
  350. }
  351. type UASTChangesSaverResults struct {
  352. Changes []*UASTChange `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
  353. }
  354. func (m *UASTChangesSaverResults) Reset() { *m = UASTChangesSaverResults{} }
  355. func (m *UASTChangesSaverResults) String() string { return proto.CompactTextString(m) }
  356. func (*UASTChangesSaverResults) ProtoMessage() {}
  357. func (*UASTChangesSaverResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{9} }
  358. func (m *UASTChangesSaverResults) GetChanges() []*UASTChange {
  359. if m != nil {
  360. return m.Changes
  361. }
  362. return nil
  363. }
  364. type ShotnessRecord struct {
  365. InternalRole string `protobuf:"bytes,1,opt,name=internal_role,json=internalRole,proto3" json:"internal_role,omitempty"`
  366. Roles []int32 `protobuf:"varint,2,rep,packed,name=roles" json:"roles,omitempty"`
  367. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  368. File string `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"`
  369. Counters map[int32]int32 `protobuf:"bytes,5,rep,name=counters" json:"counters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  370. }
  371. func (m *ShotnessRecord) Reset() { *m = ShotnessRecord{} }
  372. func (m *ShotnessRecord) String() string { return proto.CompactTextString(m) }
  373. func (*ShotnessRecord) ProtoMessage() {}
  374. func (*ShotnessRecord) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{10} }
  375. func (m *ShotnessRecord) GetInternalRole() string {
  376. if m != nil {
  377. return m.InternalRole
  378. }
  379. return ""
  380. }
  381. func (m *ShotnessRecord) GetRoles() []int32 {
  382. if m != nil {
  383. return m.Roles
  384. }
  385. return nil
  386. }
  387. func (m *ShotnessRecord) GetName() string {
  388. if m != nil {
  389. return m.Name
  390. }
  391. return ""
  392. }
  393. func (m *ShotnessRecord) GetFile() string {
  394. if m != nil {
  395. return m.File
  396. }
  397. return ""
  398. }
  399. func (m *ShotnessRecord) GetCounters() map[int32]int32 {
  400. if m != nil {
  401. return m.Counters
  402. }
  403. return nil
  404. }
  405. type ShotnessAnalysisResults struct {
  406. Records []*ShotnessRecord `protobuf:"bytes,1,rep,name=records" json:"records,omitempty"`
  407. }
  408. func (m *ShotnessAnalysisResults) Reset() { *m = ShotnessAnalysisResults{} }
  409. func (m *ShotnessAnalysisResults) String() string { return proto.CompactTextString(m) }
  410. func (*ShotnessAnalysisResults) ProtoMessage() {}
  411. func (*ShotnessAnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{11} }
  412. func (m *ShotnessAnalysisResults) GetRecords() []*ShotnessRecord {
  413. if m != nil {
  414. return m.Records
  415. }
  416. return nil
  417. }
  418. type FileHistory struct {
  419. Commits []string `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
  420. }
  421. func (m *FileHistory) Reset() { *m = FileHistory{} }
  422. func (m *FileHistory) String() string { return proto.CompactTextString(m) }
  423. func (*FileHistory) ProtoMessage() {}
  424. func (*FileHistory) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{12} }
  425. func (m *FileHistory) GetCommits() []string {
  426. if m != nil {
  427. return m.Commits
  428. }
  429. return nil
  430. }
  431. type FileHistoryResultMessage struct {
  432. Files map[string]*FileHistory `protobuf:"bytes,1,rep,name=files" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  433. }
  434. func (m *FileHistoryResultMessage) Reset() { *m = FileHistoryResultMessage{} }
  435. func (m *FileHistoryResultMessage) String() string { return proto.CompactTextString(m) }
  436. func (*FileHistoryResultMessage) ProtoMessage() {}
  437. func (*FileHistoryResultMessage) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{13} }
  438. func (m *FileHistoryResultMessage) GetFiles() map[string]*FileHistory {
  439. if m != nil {
  440. return m.Files
  441. }
  442. return nil
  443. }
  444. type Sentiment struct {
  445. Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
  446. Comments []string `protobuf:"bytes,2,rep,name=comments" json:"comments,omitempty"`
  447. Commits []string `protobuf:"bytes,3,rep,name=commits" json:"commits,omitempty"`
  448. }
  449. func (m *Sentiment) Reset() { *m = Sentiment{} }
  450. func (m *Sentiment) String() string { return proto.CompactTextString(m) }
  451. func (*Sentiment) ProtoMessage() {}
  452. func (*Sentiment) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{14} }
  453. func (m *Sentiment) GetValue() float32 {
  454. if m != nil {
  455. return m.Value
  456. }
  457. return 0
  458. }
  459. func (m *Sentiment) GetComments() []string {
  460. if m != nil {
  461. return m.Comments
  462. }
  463. return nil
  464. }
  465. func (m *Sentiment) GetCommits() []string {
  466. if m != nil {
  467. return m.Commits
  468. }
  469. return nil
  470. }
  471. type CommentSentimentResults struct {
  472. SentimentByDay map[int32]*Sentiment `protobuf:"bytes,1,rep,name=sentiment_by_day,json=sentimentByDay" json:"sentiment_by_day,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  473. }
  474. func (m *CommentSentimentResults) Reset() { *m = CommentSentimentResults{} }
  475. func (m *CommentSentimentResults) String() string { return proto.CompactTextString(m) }
  476. func (*CommentSentimentResults) ProtoMessage() {}
  477. func (*CommentSentimentResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{15} }
  478. func (m *CommentSentimentResults) GetSentimentByDay() map[int32]*Sentiment {
  479. if m != nil {
  480. return m.SentimentByDay
  481. }
  482. return nil
  483. }
  484. type AnalysisResults struct {
  485. Header *Metadata `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
  486. // the mapped values are dynamic messages which require the second parsing pass.
  487. Contents map[string][]byte `protobuf:"bytes,2,rep,name=contents" json:"contents,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  488. }
  489. func (m *AnalysisResults) Reset() { *m = AnalysisResults{} }
  490. func (m *AnalysisResults) String() string { return proto.CompactTextString(m) }
  491. func (*AnalysisResults) ProtoMessage() {}
  492. func (*AnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{16} }
  493. func (m *AnalysisResults) GetHeader() *Metadata {
  494. if m != nil {
  495. return m.Header
  496. }
  497. return nil
  498. }
  499. func (m *AnalysisResults) GetContents() map[string][]byte {
  500. if m != nil {
  501. return m.Contents
  502. }
  503. return nil
  504. }
  505. func init() {
  506. proto.RegisterType((*Metadata)(nil), "Metadata")
  507. proto.RegisterType((*BurndownSparseMatrixRow)(nil), "BurndownSparseMatrixRow")
  508. proto.RegisterType((*BurndownSparseMatrix)(nil), "BurndownSparseMatrix")
  509. proto.RegisterType((*BurndownAnalysisResults)(nil), "BurndownAnalysisResults")
  510. proto.RegisterType((*CompressedSparseRowMatrix)(nil), "CompressedSparseRowMatrix")
  511. proto.RegisterType((*Couples)(nil), "Couples")
  512. proto.RegisterType((*TouchedFiles)(nil), "TouchedFiles")
  513. proto.RegisterType((*CouplesAnalysisResults)(nil), "CouplesAnalysisResults")
  514. proto.RegisterType((*UASTChange)(nil), "UASTChange")
  515. proto.RegisterType((*UASTChangesSaverResults)(nil), "UASTChangesSaverResults")
  516. proto.RegisterType((*ShotnessRecord)(nil), "ShotnessRecord")
  517. proto.RegisterType((*ShotnessAnalysisResults)(nil), "ShotnessAnalysisResults")
  518. proto.RegisterType((*FileHistory)(nil), "FileHistory")
  519. proto.RegisterType((*FileHistoryResultMessage)(nil), "FileHistoryResultMessage")
  520. proto.RegisterType((*Sentiment)(nil), "Sentiment")
  521. proto.RegisterType((*CommentSentimentResults)(nil), "CommentSentimentResults")
  522. proto.RegisterType((*AnalysisResults)(nil), "AnalysisResults")
  523. }
  524. func init() { proto.RegisterFile("pb.proto", fileDescriptorPb) }
  525. var fileDescriptorPb = []byte{
  526. // 1053 bytes of a gzipped FileDescriptorProto
  527. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xdf, 0x6e, 0x1b, 0xc5,
  528. 0x17, 0xd6, 0x66, 0xfd, 0xf7, 0xac, 0x9d, 0xb4, 0xf3, 0xeb, 0xaf, 0xd9, 0x06, 0xb5, 0x98, 0x25,
  529. 0x80, 0xa1, 0x65, 0x8b, 0xdc, 0x1b, 0x08, 0x37, 0x24, 0x2e, 0x15, 0xbd, 0x08, 0x48, 0xe3, 0x14,
  530. 0x2e, 0xad, 0xf1, 0xee, 0x24, 0x5e, 0x58, 0xcf, 0xac, 0x66, 0x76, 0x93, 0xf8, 0x65, 0xb8, 0x43,
  531. 0x42, 0x48, 0x88, 0x0b, 0x5e, 0x80, 0xd7, 0xe0, 0x19, 0x78, 0x09, 0x34, 0xff, 0xec, 0xb5, 0xe5,
  532. 0x54, 0xdc, 0xcd, 0x39, 0xe7, 0xfb, 0xce, 0x9c, 0xf9, 0xce, 0x99, 0xd9, 0x85, 0x4e, 0x31, 0x8b,
  533. 0x0b, 0xc1, 0x4b, 0x1e, 0xfd, 0xed, 0x41, 0xe7, 0x9c, 0x96, 0x24, 0x25, 0x25, 0x41, 0x21, 0xb4,
  534. 0xaf, 0xa9, 0x90, 0x19, 0x67, 0xa1, 0x37, 0xf0, 0x86, 0x4d, 0xec, 0x4c, 0x84, 0xa0, 0x31, 0x27,
  535. 0x72, 0x1e, 0xee, 0x0d, 0xbc, 0x61, 0x17, 0xeb, 0x35, 0x7a, 0x02, 0x20, 0x68, 0xc1, 0x65, 0x56,
  536. 0x72, 0xb1, 0x0c, 0x7d, 0x1d, 0xa9, 0x79, 0xd0, 0x87, 0x70, 0x30, 0xa3, 0x57, 0x19, 0x9b, 0x56,
  537. 0x2c, 0xbb, 0x9d, 0x96, 0xd9, 0x82, 0x86, 0x8d, 0x81, 0x37, 0xf4, 0x71, 0x5f, 0xbb, 0xdf, 0xb0,
  538. 0xec, 0xf6, 0x22, 0x5b, 0x50, 0x14, 0x41, 0x9f, 0xb2, 0xb4, 0x86, 0x6a, 0x6a, 0x54, 0x40, 0x59,
  539. 0xba, 0xc2, 0x84, 0xd0, 0x4e, 0xf8, 0x62, 0x91, 0x95, 0x32, 0x6c, 0x99, 0xca, 0xac, 0x89, 0x1e,
  540. 0x41, 0x47, 0x54, 0xcc, 0x10, 0xdb, 0x9a, 0xd8, 0x16, 0x15, 0x53, 0xa4, 0xe8, 0x05, 0x1c, 0x9e,
  541. 0x55, 0x82, 0xa5, 0xfc, 0x86, 0x4d, 0x0a, 0x22, 0x24, 0x3d, 0x27, 0xa5, 0xc8, 0x6e, 0x31, 0xbf,
  542. 0x31, 0xf9, 0xf2, 0x6a, 0xc1, 0x64, 0xe8, 0x0d, 0xfc, 0x61, 0x1f, 0x3b, 0x33, 0xfa, 0xcd, 0x83,
  543. 0x07, 0xbb, 0x58, 0x4a, 0x02, 0x46, 0x16, 0x54, 0x2b, 0xd3, 0xc5, 0x7a, 0x8d, 0x8e, 0x61, 0x9f,
  544. 0x55, 0x8b, 0x19, 0x15, 0x53, 0x7e, 0x39, 0x15, 0xfc, 0x46, 0x6a, 0x81, 0x9a, 0xb8, 0x67, 0xbc,
  545. 0xdf, 0x5d, 0x62, 0x7e, 0x23, 0xd1, 0x27, 0x70, 0x7f, 0x8d, 0x72, 0xdb, 0xfa, 0x1a, 0x78, 0xe0,
  546. 0x80, 0x63, 0xe3, 0x46, 0xcf, 0xa0, 0xa1, 0xf3, 0x34, 0x06, 0xfe, 0x30, 0x18, 0x85, 0xf1, 0x1d,
  547. 0x07, 0xc0, 0x1a, 0x15, 0xfd, 0xb1, 0xb7, 0x3e, 0xe2, 0x29, 0x23, 0xf9, 0x52, 0x66, 0x12, 0x53,
  548. 0x59, 0xe5, 0xa5, 0x44, 0x03, 0x08, 0xae, 0x04, 0x61, 0x55, 0x4e, 0x44, 0x56, 0x2e, 0x6d, 0x43,
  549. 0xeb, 0x2e, 0x74, 0x04, 0x1d, 0x49, 0x16, 0x45, 0x9e, 0xb1, 0x2b, 0x5b, 0xf7, 0xca, 0x46, 0xcf,
  550. 0xa1, 0x5d, 0x08, 0xfe, 0x23, 0x4d, 0x4a, 0x5d, 0x69, 0x30, 0xfa, 0xff, 0xee, 0x52, 0x1c, 0x0a,
  551. 0x3d, 0x85, 0xe6, 0x65, 0x96, 0x53, 0x57, 0xf9, 0x1d, 0x70, 0x83, 0x41, 0x9f, 0x42, 0xab, 0xa0,
  552. 0xbc, 0xc8, 0x55, 0xaf, 0xdf, 0x82, 0xb6, 0x20, 0xf4, 0x1a, 0x90, 0x59, 0x4d, 0x33, 0x56, 0x52,
  553. 0x41, 0x92, 0x52, 0x8d, 0x68, 0x4b, 0xd7, 0x75, 0x14, 0x8f, 0xf9, 0xa2, 0x10, 0x54, 0x4a, 0x9a,
  554. 0x1a, 0x32, 0xe6, 0x37, 0x96, 0x7f, 0xdf, 0xb0, 0x5e, 0xaf, 0x49, 0xd1, 0x9f, 0x1e, 0x3c, 0xba,
  555. 0x93, 0xb0, 0xa3, 0x9f, 0xde, 0x7f, 0xed, 0xe7, 0xde, 0xee, 0x7e, 0x22, 0x68, 0xa8, 0xab, 0x15,
  556. 0xfa, 0x03, 0x7f, 0xe8, 0xe3, 0x86, 0xbb, 0x66, 0x19, 0x4b, 0xb3, 0xc4, 0x8a, 0xd5, 0xc4, 0xce,
  557. 0x44, 0x0f, 0xa1, 0x95, 0xb1, 0xb4, 0x28, 0x85, 0xd6, 0xc5, 0xc7, 0xd6, 0x8a, 0x26, 0xd0, 0x1e,
  558. 0xf3, 0xaa, 0x50, 0xd2, 0x3d, 0x80, 0x66, 0xc6, 0x52, 0x7a, 0xab, 0xe7, 0xb6, 0x8b, 0x8d, 0x81,
  559. 0x46, 0xd0, 0x5a, 0xe8, 0x23, 0xe8, 0x3a, 0xde, 0xae, 0x8a, 0x45, 0x46, 0xc7, 0xd0, 0xbb, 0xe0,
  560. 0x55, 0x32, 0xa7, 0xe9, 0xab, 0xcc, 0x66, 0x36, 0x1d, 0xf4, 0x74, 0x51, 0xc6, 0x88, 0x7e, 0xf5,
  561. 0xe0, 0xa1, 0xdd, 0x7b, 0x7b, 0xc2, 0x9e, 0x42, 0x4f, 0x61, 0xa6, 0x89, 0x09, 0xdb, 0x86, 0x74,
  562. 0x62, 0x0b, 0xc7, 0x81, 0x8a, 0xba, 0xba, 0x9f, 0xc3, 0xbe, 0xed, 0xa1, 0x83, 0xb7, 0xb7, 0xe0,
  563. 0x7d, 0x13, 0x77, 0x84, 0xcf, 0xa0, 0x67, 0x09, 0xa6, 0xaa, 0x8e, 0x9e, 0x94, 0x7e, 0x5c, 0xaf,
  564. 0x19, 0x07, 0x06, 0xa2, 0x8d, 0xe8, 0x17, 0x0f, 0xe0, 0xcd, 0xe9, 0xe4, 0x62, 0x3c, 0x27, 0xec,
  565. 0x8a, 0xa2, 0x77, 0xa0, 0xab, 0xcb, 0xab, 0xdd, 0xda, 0x8e, 0x72, 0x7c, 0xab, 0x6e, 0xee, 0x63,
  566. 0x00, 0x29, 0x92, 0xe9, 0x8c, 0x5e, 0x72, 0x41, 0xed, 0xb3, 0xd6, 0x95, 0x22, 0x39, 0xd3, 0x0e,
  567. 0xc5, 0x55, 0x61, 0x72, 0x59, 0x52, 0x61, 0x9f, 0xb6, 0x8e, 0x14, 0xc9, 0xa9, 0xb2, 0xd1, 0xbb,
  568. 0x10, 0x54, 0x44, 0x96, 0x8e, 0xdc, 0x30, 0x2f, 0x9f, 0x72, 0x59, 0xf6, 0x63, 0xd0, 0x96, 0xa5,
  569. 0x37, 0x4d, 0x72, 0xe5, 0xd1, 0xfc, 0xe8, 0x2b, 0x38, 0x5c, 0x97, 0x29, 0x27, 0xe4, 0x9a, 0x0a,
  570. 0x27, 0xe9, 0x07, 0xd0, 0x4e, 0x8c, 0x5b, 0x77, 0x21, 0x18, 0x05, 0xf1, 0x1a, 0x8a, 0x5d, 0x2c,
  571. 0xfa, 0xc7, 0x83, 0xfd, 0xc9, 0x9c, 0x97, 0x8c, 0x4a, 0x89, 0x69, 0xc2, 0x45, 0x8a, 0xde, 0x87,
  572. 0xbe, 0xbe, 0x1c, 0x8c, 0xe4, 0x53, 0xc1, 0x73, 0x77, 0xe2, 0x9e, 0x73, 0x62, 0x9e, 0x53, 0xd5,
  573. 0x62, 0x15, 0x53, 0xd3, 0xaa, 0x5b, 0xac, 0x8d, 0xd5, 0xcb, 0xe6, 0xd7, 0x5e, 0x36, 0x04, 0x0d,
  574. 0xa5, 0x95, 0x3d, 0x9c, 0x5e, 0xa3, 0x2f, 0xa0, 0x93, 0xf0, 0x4a, 0xe5, 0x93, 0xf6, 0xde, 0x3e,
  575. 0x8e, 0x37, 0xab, 0x50, 0xbd, 0xd4, 0xf1, 0xaf, 0x59, 0x29, 0x96, 0x78, 0x05, 0x3f, 0xfa, 0x12,
  576. 0xfa, 0x1b, 0x21, 0x74, 0x0f, 0xfc, 0x9f, 0xa8, 0x7b, 0x95, 0xd4, 0x52, 0xd5, 0x76, 0x4d, 0xf2,
  577. 0x8a, 0xda, 0x9b, 0x64, 0x8c, 0x93, 0xbd, 0xcf, 0xbd, 0xe8, 0x25, 0x1c, 0xba, 0x6d, 0xb6, 0x47,
  578. 0xf0, 0x63, 0x68, 0x0b, 0xbd, 0xb3, 0xd3, 0xeb, 0x60, 0xab, 0x22, 0xec, 0xe2, 0xd1, 0x47, 0x10,
  579. 0xa8, 0x31, 0xf9, 0x26, 0x93, 0xfa, 0xeb, 0x54, 0xfb, 0xa2, 0x98, 0x9b, 0xe4, 0xcc, 0xe8, 0x67,
  580. 0x0f, 0xc2, 0x1a, 0xd2, 0x6c, 0x75, 0x4e, 0xa5, 0x24, 0x57, 0x14, 0x9d, 0xd4, 0x2f, 0x49, 0x30,
  581. 0x3a, 0x8e, 0xef, 0x42, 0xea, 0x80, 0xd5, 0xc1, 0x50, 0x8e, 0x5e, 0x01, 0xac, 0x9d, 0x75, 0x05,
  582. 0xba, 0x46, 0x81, 0xa8, 0xae, 0x40, 0x30, 0xea, 0x6d, 0xe4, 0xae, 0xe9, 0xf1, 0x03, 0x74, 0x27,
  583. 0x94, 0xa9, 0x2f, 0x1e, 0x2b, 0xd7, 0xb2, 0xa9, 0x44, 0x7b, 0x16, 0xa6, 0x9e, 0x76, 0x75, 0x1c,
  584. 0xca, 0x4a, 0xd3, 0xeb, 0x2e, 0x5e, 0xd9, 0xf5, 0x93, 0xfb, 0x9b, 0x27, 0xff, 0xcb, 0x83, 0xc3,
  585. 0xb1, 0x81, 0xad, 0x36, 0x70, 0x4a, 0x7f, 0x0f, 0xf7, 0xa4, 0xf3, 0x4d, 0x67, 0xcb, 0x69, 0x4a,
  586. 0x96, 0x56, 0x83, 0x67, 0xf1, 0x1d, 0x9c, 0x78, 0xe5, 0x38, 0x5b, 0xbe, 0x24, 0x4b, 0xa3, 0xc5,
  587. 0xbe, 0xdc, 0x70, 0x1e, 0x9d, 0xc3, 0xff, 0x76, 0xc0, 0x76, 0xcc, 0xc7, 0x60, 0x53, 0x1d, 0x58,
  588. 0x67, 0xaf, 0x6b, 0xf3, 0xbb, 0x07, 0x07, 0xdb, 0x43, 0xf2, 0x1e, 0xb4, 0xe6, 0x94, 0xa4, 0x54,
  589. 0xe8, 0x74, 0xc1, 0xa8, 0x1b, 0xbb, 0x3f, 0x1e, 0x6c, 0x03, 0xe8, 0x44, 0xe9, 0xc5, 0xca, 0x95,
  590. 0x5e, 0xc1, 0xe8, 0x49, 0xbc, 0x95, 0x26, 0x1e, 0x5b, 0xc0, 0x6a, 0xb6, 0x8d, 0x69, 0x66, 0xbb,
  591. 0x16, 0xda, 0xd1, 0xd9, 0x8d, 0xd9, 0xee, 0xd5, 0xea, 0x9d, 0xb5, 0xf4, 0x6f, 0xd8, 0x8b, 0x7f,
  592. 0x03, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x55, 0x2d, 0x51, 0x92, 0x09, 0x00, 0x00,
  593. }