pb.pb.go 27 KB

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