|
@@ -0,0 +1,685 @@
|
|
|
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
|
+// source: pb.proto
|
|
|
+
|
|
|
+/*
|
|
|
+Package pb is a generated protocol buffer package.
|
|
|
+
|
|
|
+It is generated from these files:
|
|
|
+ pb.proto
|
|
|
+
|
|
|
+It has these top-level messages:
|
|
|
+ Metadata
|
|
|
+ BurndownSparseMatrixRow
|
|
|
+ BurndownSparseMatrix
|
|
|
+ BurndownAnalysisResults
|
|
|
+ CompressedSparseRowMatrix
|
|
|
+ Couples
|
|
|
+ TouchedFiles
|
|
|
+ CouplesAnalysisResults
|
|
|
+ UASTChange
|
|
|
+ UASTChangesSaverResults
|
|
|
+ ShotnessRecord
|
|
|
+ ShotnessAnalysisResults
|
|
|
+ FileHistory
|
|
|
+ FileHistoryResultMessage
|
|
|
+ Sentiment
|
|
|
+ CommentSentimentResults
|
|
|
+ AnalysisResults
|
|
|
+*/
|
|
|
+package pb
|
|
|
+
|
|
|
+import proto "github.com/gogo/protobuf/proto"
|
|
|
+import fmt "fmt"
|
|
|
+import math "math"
|
|
|
+
|
|
|
+// Reference imports to suppress errors if they are not otherwise used.
|
|
|
+var _ = proto.Marshal
|
|
|
+var _ = fmt.Errorf
|
|
|
+var _ = math.Inf
|
|
|
+
|
|
|
+// This is a compile-time assertion to ensure that this generated file
|
|
|
+// is compatible with the proto package it is being compiled against.
|
|
|
+// A compilation error at this line likely means your copy of the
|
|
|
+// proto package needs to be updated.
|
|
|
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
+
|
|
|
+type Metadata struct {
|
|
|
+ // this format is versioned
|
|
|
+ Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
+ // git hash of the revision from which Hercules is built
|
|
|
+ Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
+ // repository's name
|
|
|
+ Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
|
|
|
+ // UNIX timestamp of the first analysed commit
|
|
|
+ BeginUnixTime int64 `protobuf:"varint,4,opt,name=begin_unix_time,json=beginUnixTime,proto3" json:"begin_unix_time,omitempty"`
|
|
|
+ // UNIX timestamp of the last analysed commit
|
|
|
+ EndUnixTime int64 `protobuf:"varint,5,opt,name=end_unix_time,json=endUnixTime,proto3" json:"end_unix_time,omitempty"`
|
|
|
+ // number of processed commits
|
|
|
+ Commits int32 `protobuf:"varint,6,opt,name=commits,proto3" json:"commits,omitempty"`
|
|
|
+ // duration of the analysis in milliseconds
|
|
|
+ RunTime int64 `protobuf:"varint,7,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) Reset() { *m = Metadata{} }
|
|
|
+func (m *Metadata) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*Metadata) ProtoMessage() {}
|
|
|
+func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{0} }
|
|
|
+
|
|
|
+func (m *Metadata) GetVersion() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Version
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) GetHash() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Hash
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) GetRepository() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Repository
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) GetBeginUnixTime() int64 {
|
|
|
+ if m != nil {
|
|
|
+ return m.BeginUnixTime
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) GetEndUnixTime() int64 {
|
|
|
+ if m != nil {
|
|
|
+ return m.EndUnixTime
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) GetCommits() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Commits
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Metadata) GetRunTime() int64 {
|
|
|
+ if m != nil {
|
|
|
+ return m.RunTime
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type BurndownSparseMatrixRow struct {
|
|
|
+ // the first `len(column)` elements are stored,
|
|
|
+ // the rest `number_of_columns - len(column)` values are zeros
|
|
|
+ Columns []uint32 `protobuf:"varint,1,rep,packed,name=columns" json:"columns,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrixRow) Reset() { *m = BurndownSparseMatrixRow{} }
|
|
|
+func (m *BurndownSparseMatrixRow) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*BurndownSparseMatrixRow) ProtoMessage() {}
|
|
|
+func (*BurndownSparseMatrixRow) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{1} }
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrixRow) GetColumns() []uint32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Columns
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type BurndownSparseMatrix struct {
|
|
|
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
+ NumberOfRows int32 `protobuf:"varint,2,opt,name=number_of_rows,json=numberOfRows,proto3" json:"number_of_rows,omitempty"`
|
|
|
+ NumberOfColumns int32 `protobuf:"varint,3,opt,name=number_of_columns,json=numberOfColumns,proto3" json:"number_of_columns,omitempty"`
|
|
|
+ // `len(row)` matches `number_of_rows`
|
|
|
+ Rows []*BurndownSparseMatrixRow `protobuf:"bytes,4,rep,name=rows" json:"rows,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrix) Reset() { *m = BurndownSparseMatrix{} }
|
|
|
+func (m *BurndownSparseMatrix) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*BurndownSparseMatrix) ProtoMessage() {}
|
|
|
+func (*BurndownSparseMatrix) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{2} }
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrix) GetName() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Name
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrix) GetNumberOfRows() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.NumberOfRows
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrix) GetNumberOfColumns() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.NumberOfColumns
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownSparseMatrix) GetRows() []*BurndownSparseMatrixRow {
|
|
|
+ if m != nil {
|
|
|
+ return m.Rows
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type BurndownAnalysisResults struct {
|
|
|
+ // how many days are in each band [burndown_project, burndown_file, burndown_developer]
|
|
|
+ Granularity int32 `protobuf:"varint,1,opt,name=granularity,proto3" json:"granularity,omitempty"`
|
|
|
+ // how frequently we measure the state of each band [burndown_project, burndown_file, burndown_developer]
|
|
|
+ Sampling int32 `protobuf:"varint,2,opt,name=sampling,proto3" json:"sampling,omitempty"`
|
|
|
+ // always exists
|
|
|
+ Project *BurndownSparseMatrix `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"`
|
|
|
+ // this is included if `-burndown-files` was specified
|
|
|
+ Files []*BurndownSparseMatrix `protobuf:"bytes,4,rep,name=files" json:"files,omitempty"`
|
|
|
+ // these two are included if `-burndown-people` was specified
|
|
|
+ People []*BurndownSparseMatrix `protobuf:"bytes,5,rep,name=people" json:"people,omitempty"`
|
|
|
+ // rows and cols order correspond to `burndown_developer`
|
|
|
+ PeopleInteraction *CompressedSparseRowMatrix `protobuf:"bytes,6,opt,name=people_interaction,json=peopleInteraction" json:"people_interaction,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) Reset() { *m = BurndownAnalysisResults{} }
|
|
|
+func (m *BurndownAnalysisResults) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*BurndownAnalysisResults) ProtoMessage() {}
|
|
|
+func (*BurndownAnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{3} }
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) GetGranularity() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Granularity
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) GetSampling() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Sampling
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) GetProject() *BurndownSparseMatrix {
|
|
|
+ if m != nil {
|
|
|
+ return m.Project
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) GetFiles() []*BurndownSparseMatrix {
|
|
|
+ if m != nil {
|
|
|
+ return m.Files
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) GetPeople() []*BurndownSparseMatrix {
|
|
|
+ if m != nil {
|
|
|
+ return m.People
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *BurndownAnalysisResults) GetPeopleInteraction() *CompressedSparseRowMatrix {
|
|
|
+ if m != nil {
|
|
|
+ return m.PeopleInteraction
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CompressedSparseRowMatrix struct {
|
|
|
+ NumberOfRows int32 `protobuf:"varint,1,opt,name=number_of_rows,json=numberOfRows,proto3" json:"number_of_rows,omitempty"`
|
|
|
+ NumberOfColumns int32 `protobuf:"varint,2,opt,name=number_of_columns,json=numberOfColumns,proto3" json:"number_of_columns,omitempty"`
|
|
|
+ // https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29
|
|
|
+ Data []int64 `protobuf:"varint,3,rep,packed,name=data" json:"data,omitempty"`
|
|
|
+ Indices []int32 `protobuf:"varint,4,rep,packed,name=indices" json:"indices,omitempty"`
|
|
|
+ Indptr []int64 `protobuf:"varint,5,rep,packed,name=indptr" json:"indptr,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CompressedSparseRowMatrix) Reset() { *m = CompressedSparseRowMatrix{} }
|
|
|
+func (m *CompressedSparseRowMatrix) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*CompressedSparseRowMatrix) ProtoMessage() {}
|
|
|
+func (*CompressedSparseRowMatrix) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{4} }
|
|
|
+
|
|
|
+func (m *CompressedSparseRowMatrix) GetNumberOfRows() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.NumberOfRows
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CompressedSparseRowMatrix) GetNumberOfColumns() int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.NumberOfColumns
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CompressedSparseRowMatrix) GetData() []int64 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CompressedSparseRowMatrix) GetIndices() []int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Indices
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CompressedSparseRowMatrix) GetIndptr() []int64 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Indptr
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type Couples struct {
|
|
|
+ // name of each `matrix`'s row and column
|
|
|
+ Index []string `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"`
|
|
|
+ // is always square
|
|
|
+ Matrix *CompressedSparseRowMatrix `protobuf:"bytes,2,opt,name=matrix" json:"matrix,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Couples) Reset() { *m = Couples{} }
|
|
|
+func (m *Couples) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*Couples) ProtoMessage() {}
|
|
|
+func (*Couples) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{5} }
|
|
|
+
|
|
|
+func (m *Couples) GetIndex() []string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Index
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Couples) GetMatrix() *CompressedSparseRowMatrix {
|
|
|
+ if m != nil {
|
|
|
+ return m.Matrix
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type TouchedFiles struct {
|
|
|
+ Files []int32 `protobuf:"varint,1,rep,packed,name=files" json:"files,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *TouchedFiles) Reset() { *m = TouchedFiles{} }
|
|
|
+func (m *TouchedFiles) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*TouchedFiles) ProtoMessage() {}
|
|
|
+func (*TouchedFiles) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{6} }
|
|
|
+
|
|
|
+func (m *TouchedFiles) GetFiles() []int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Files
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CouplesAnalysisResults struct {
|
|
|
+ FileCouples *Couples `protobuf:"bytes,6,opt,name=file_couples,json=fileCouples" json:"file_couples,omitempty"`
|
|
|
+ PeopleCouples *Couples `protobuf:"bytes,7,opt,name=people_couples,json=peopleCouples" json:"people_couples,omitempty"`
|
|
|
+ // order corresponds to `people_couples::index`
|
|
|
+ PeopleFiles []*TouchedFiles `protobuf:"bytes,8,rep,name=people_files,json=peopleFiles" json:"people_files,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CouplesAnalysisResults) Reset() { *m = CouplesAnalysisResults{} }
|
|
|
+func (m *CouplesAnalysisResults) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*CouplesAnalysisResults) ProtoMessage() {}
|
|
|
+func (*CouplesAnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{7} }
|
|
|
+
|
|
|
+func (m *CouplesAnalysisResults) GetFileCouples() *Couples {
|
|
|
+ if m != nil {
|
|
|
+ return m.FileCouples
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CouplesAnalysisResults) GetPeopleCouples() *Couples {
|
|
|
+ if m != nil {
|
|
|
+ return m.PeopleCouples
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CouplesAnalysisResults) GetPeopleFiles() []*TouchedFiles {
|
|
|
+ if m != nil {
|
|
|
+ return m.PeopleFiles
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type UASTChange struct {
|
|
|
+ FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
|
|
|
+ SrcBefore string `protobuf:"bytes,2,opt,name=src_before,json=srcBefore,proto3" json:"src_before,omitempty"`
|
|
|
+ SrcAfter string `protobuf:"bytes,3,opt,name=src_after,json=srcAfter,proto3" json:"src_after,omitempty"`
|
|
|
+ UastBefore string `protobuf:"bytes,4,opt,name=uast_before,json=uastBefore,proto3" json:"uast_before,omitempty"`
|
|
|
+ UastAfter string `protobuf:"bytes,5,opt,name=uast_after,json=uastAfter,proto3" json:"uast_after,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *UASTChange) Reset() { *m = UASTChange{} }
|
|
|
+func (m *UASTChange) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*UASTChange) ProtoMessage() {}
|
|
|
+func (*UASTChange) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{8} }
|
|
|
+
|
|
|
+func (m *UASTChange) GetFileName() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.FileName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *UASTChange) GetSrcBefore() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.SrcBefore
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *UASTChange) GetSrcAfter() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.SrcAfter
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *UASTChange) GetUastBefore() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.UastBefore
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *UASTChange) GetUastAfter() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.UastAfter
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type UASTChangesSaverResults struct {
|
|
|
+ Changes []*UASTChange `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *UASTChangesSaverResults) Reset() { *m = UASTChangesSaverResults{} }
|
|
|
+func (m *UASTChangesSaverResults) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*UASTChangesSaverResults) ProtoMessage() {}
|
|
|
+func (*UASTChangesSaverResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{9} }
|
|
|
+
|
|
|
+func (m *UASTChangesSaverResults) GetChanges() []*UASTChange {
|
|
|
+ if m != nil {
|
|
|
+ return m.Changes
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type ShotnessRecord struct {
|
|
|
+ InternalRole string `protobuf:"bytes,1,opt,name=internal_role,json=internalRole,proto3" json:"internal_role,omitempty"`
|
|
|
+ Roles []int32 `protobuf:"varint,2,rep,packed,name=roles" json:"roles,omitempty"`
|
|
|
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
+ File string `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"`
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *ShotnessRecord) Reset() { *m = ShotnessRecord{} }
|
|
|
+func (m *ShotnessRecord) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*ShotnessRecord) ProtoMessage() {}
|
|
|
+func (*ShotnessRecord) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{10} }
|
|
|
+
|
|
|
+func (m *ShotnessRecord) GetInternalRole() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.InternalRole
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *ShotnessRecord) GetRoles() []int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Roles
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *ShotnessRecord) GetName() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Name
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *ShotnessRecord) GetFile() string {
|
|
|
+ if m != nil {
|
|
|
+ return m.File
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (m *ShotnessRecord) GetCounters() map[int32]int32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Counters
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type ShotnessAnalysisResults struct {
|
|
|
+ Records []*ShotnessRecord `protobuf:"bytes,1,rep,name=records" json:"records,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *ShotnessAnalysisResults) Reset() { *m = ShotnessAnalysisResults{} }
|
|
|
+func (m *ShotnessAnalysisResults) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*ShotnessAnalysisResults) ProtoMessage() {}
|
|
|
+func (*ShotnessAnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{11} }
|
|
|
+
|
|
|
+func (m *ShotnessAnalysisResults) GetRecords() []*ShotnessRecord {
|
|
|
+ if m != nil {
|
|
|
+ return m.Records
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type FileHistory struct {
|
|
|
+ Commits []string `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *FileHistory) Reset() { *m = FileHistory{} }
|
|
|
+func (m *FileHistory) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*FileHistory) ProtoMessage() {}
|
|
|
+func (*FileHistory) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{12} }
|
|
|
+
|
|
|
+func (m *FileHistory) GetCommits() []string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Commits
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type FileHistoryResultMessage struct {
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *FileHistoryResultMessage) Reset() { *m = FileHistoryResultMessage{} }
|
|
|
+func (m *FileHistoryResultMessage) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*FileHistoryResultMessage) ProtoMessage() {}
|
|
|
+func (*FileHistoryResultMessage) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{13} }
|
|
|
+
|
|
|
+func (m *FileHistoryResultMessage) GetFiles() map[string]*FileHistory {
|
|
|
+ if m != nil {
|
|
|
+ return m.Files
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type Sentiment struct {
|
|
|
+ Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
+ Comments []string `protobuf:"bytes,2,rep,name=comments" json:"comments,omitempty"`
|
|
|
+ Commits []string `protobuf:"bytes,3,rep,name=commits" json:"commits,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Sentiment) Reset() { *m = Sentiment{} }
|
|
|
+func (m *Sentiment) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*Sentiment) ProtoMessage() {}
|
|
|
+func (*Sentiment) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{14} }
|
|
|
+
|
|
|
+func (m *Sentiment) GetValue() float32 {
|
|
|
+ if m != nil {
|
|
|
+ return m.Value
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Sentiment) GetComments() []string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Comments
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *Sentiment) GetCommits() []string {
|
|
|
+ if m != nil {
|
|
|
+ return m.Commits
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CommentSentimentResults struct {
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *CommentSentimentResults) Reset() { *m = CommentSentimentResults{} }
|
|
|
+func (m *CommentSentimentResults) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*CommentSentimentResults) ProtoMessage() {}
|
|
|
+func (*CommentSentimentResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{15} }
|
|
|
+
|
|
|
+func (m *CommentSentimentResults) GetSentimentByDay() map[int32]*Sentiment {
|
|
|
+ if m != nil {
|
|
|
+ return m.SentimentByDay
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type AnalysisResults struct {
|
|
|
+ Header *Metadata `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
|
|
|
+ // the mapped values are dynamic messages which require the second parsing pass.
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *AnalysisResults) Reset() { *m = AnalysisResults{} }
|
|
|
+func (m *AnalysisResults) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*AnalysisResults) ProtoMessage() {}
|
|
|
+func (*AnalysisResults) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{16} }
|
|
|
+
|
|
|
+func (m *AnalysisResults) GetHeader() *Metadata {
|
|
|
+ if m != nil {
|
|
|
+ return m.Header
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *AnalysisResults) GetContents() map[string][]byte {
|
|
|
+ if m != nil {
|
|
|
+ return m.Contents
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func init() {
|
|
|
+ proto.RegisterType((*Metadata)(nil), "Metadata")
|
|
|
+ proto.RegisterType((*BurndownSparseMatrixRow)(nil), "BurndownSparseMatrixRow")
|
|
|
+ proto.RegisterType((*BurndownSparseMatrix)(nil), "BurndownSparseMatrix")
|
|
|
+ proto.RegisterType((*BurndownAnalysisResults)(nil), "BurndownAnalysisResults")
|
|
|
+ proto.RegisterType((*CompressedSparseRowMatrix)(nil), "CompressedSparseRowMatrix")
|
|
|
+ proto.RegisterType((*Couples)(nil), "Couples")
|
|
|
+ proto.RegisterType((*TouchedFiles)(nil), "TouchedFiles")
|
|
|
+ proto.RegisterType((*CouplesAnalysisResults)(nil), "CouplesAnalysisResults")
|
|
|
+ proto.RegisterType((*UASTChange)(nil), "UASTChange")
|
|
|
+ proto.RegisterType((*UASTChangesSaverResults)(nil), "UASTChangesSaverResults")
|
|
|
+ proto.RegisterType((*ShotnessRecord)(nil), "ShotnessRecord")
|
|
|
+ proto.RegisterType((*ShotnessAnalysisResults)(nil), "ShotnessAnalysisResults")
|
|
|
+ proto.RegisterType((*FileHistory)(nil), "FileHistory")
|
|
|
+ proto.RegisterType((*FileHistoryResultMessage)(nil), "FileHistoryResultMessage")
|
|
|
+ proto.RegisterType((*Sentiment)(nil), "Sentiment")
|
|
|
+ proto.RegisterType((*CommentSentimentResults)(nil), "CommentSentimentResults")
|
|
|
+ proto.RegisterType((*AnalysisResults)(nil), "AnalysisResults")
|
|
|
+}
|
|
|
+
|
|
|
+func init() { proto.RegisterFile("pb.proto", fileDescriptorPb) }
|
|
|
+
|
|
|
+var fileDescriptorPb = []byte{
|
|
|
+ // 1053 bytes of a gzipped FileDescriptorProto
|
|
|
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xdf, 0x6e, 0x1b, 0xc5,
|
|
|
+ 0x17, 0xd6, 0x66, 0xfd, 0xf7, 0xac, 0x9d, 0xb4, 0xf3, 0xeb, 0xaf, 0xd9, 0x06, 0xb5, 0x98, 0x25,
|
|
|
+ 0x80, 0xa1, 0x65, 0x8b, 0xdc, 0x1b, 0x08, 0x37, 0x24, 0x2e, 0x15, 0xbd, 0x08, 0x48, 0xe3, 0x14,
|
|
|
+ 0x2e, 0xad, 0xf1, 0xee, 0x24, 0x5e, 0x58, 0xcf, 0xac, 0x66, 0x76, 0x93, 0xf8, 0x65, 0xb8, 0x43,
|
|
|
+ 0x42, 0x48, 0x88, 0x0b, 0x5e, 0x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