pb.pb.go 30 KB

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