hercules.v9: gopkg.in/src-d/hercules.v9/internal/pb Index | Files

package pb

import "gopkg.in/src-d/hercules.v9/internal/pb"

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
FilesOwnership
BurndownAnalysisResults
CompressedSparseRowMatrix
Couples
TouchedFiles
CouplesAnalysisResults
UASTChange
UASTChangesSaverResults
ShotnessRecord
ShotnessAnalysisResults
FileHistory
FileHistoryResultMessage
LineStats
DevDay
DayDevs
DevsAnalysisResults
Sentiment
CommentSentimentResults
CommitFile
Commit
CommitsAnalysisResults
Typo
TyposDataset
AnalysisResults

Index

Package Files

pb.pb.go utils.go

type AnalysisResults Uses

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 (*AnalysisResults) Descriptor Uses

func (*AnalysisResults) Descriptor() ([]byte, []int)

func (*AnalysisResults) GetContents Uses

func (m *AnalysisResults) GetContents() map[string][]byte

func (*AnalysisResults) GetHeader Uses

func (m *AnalysisResults) GetHeader() *Metadata

func (*AnalysisResults) ProtoMessage Uses

func (*AnalysisResults) ProtoMessage()

func (*AnalysisResults) Reset Uses

func (m *AnalysisResults) Reset()

func (*AnalysisResults) String Uses

func (m *AnalysisResults) String() string

type BurndownAnalysisResults Uses

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"`
    // How many lines belong to relevant developers for each file. The order is the same as in `files`.
    FilesOwnership []*FilesOwnership `protobuf:"bytes,7,rep,name=files_ownership,json=filesOwnership" json:"files_ownership,omitempty"`
}

func (*BurndownAnalysisResults) Descriptor Uses

func (*BurndownAnalysisResults) Descriptor() ([]byte, []int)

func (*BurndownAnalysisResults) GetFiles Uses

func (m *BurndownAnalysisResults) GetFiles() []*BurndownSparseMatrix

func (*BurndownAnalysisResults) GetFilesOwnership Uses

func (m *BurndownAnalysisResults) GetFilesOwnership() []*FilesOwnership

func (*BurndownAnalysisResults) GetGranularity Uses

func (m *BurndownAnalysisResults) GetGranularity() int32

func (*BurndownAnalysisResults) GetPeople Uses

func (m *BurndownAnalysisResults) GetPeople() []*BurndownSparseMatrix

func (*BurndownAnalysisResults) GetPeopleInteraction Uses

func (m *BurndownAnalysisResults) GetPeopleInteraction() *CompressedSparseRowMatrix

func (*BurndownAnalysisResults) GetProject Uses

func (m *BurndownAnalysisResults) GetProject() *BurndownSparseMatrix

func (*BurndownAnalysisResults) GetSampling Uses

func (m *BurndownAnalysisResults) GetSampling() int32

func (*BurndownAnalysisResults) ProtoMessage Uses

func (*BurndownAnalysisResults) ProtoMessage()

func (*BurndownAnalysisResults) Reset Uses

func (m *BurndownAnalysisResults) Reset()

func (*BurndownAnalysisResults) String Uses

func (m *BurndownAnalysisResults) String() string

type BurndownSparseMatrix Uses

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 ToBurndownSparseMatrix Uses

func ToBurndownSparseMatrix(matrix [][]int64, name string) *BurndownSparseMatrix

ToBurndownSparseMatrix converts a rectangular integer matrix to the corresponding Protobuf object. It is specific to hercules.BurndownAnalysis.

func (*BurndownSparseMatrix) Descriptor Uses

func (*BurndownSparseMatrix) Descriptor() ([]byte, []int)

func (*BurndownSparseMatrix) GetName Uses

func (m *BurndownSparseMatrix) GetName() string

func (*BurndownSparseMatrix) GetNumberOfColumns Uses

func (m *BurndownSparseMatrix) GetNumberOfColumns() int32

func (*BurndownSparseMatrix) GetNumberOfRows Uses

func (m *BurndownSparseMatrix) GetNumberOfRows() int32

func (*BurndownSparseMatrix) GetRows Uses

func (m *BurndownSparseMatrix) GetRows() []*BurndownSparseMatrixRow

func (*BurndownSparseMatrix) ProtoMessage Uses

func (*BurndownSparseMatrix) ProtoMessage()

func (*BurndownSparseMatrix) Reset Uses

func (m *BurndownSparseMatrix) Reset()

func (*BurndownSparseMatrix) String Uses

func (m *BurndownSparseMatrix) String() string

type BurndownSparseMatrixRow Uses

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 (*BurndownSparseMatrixRow) Descriptor Uses

func (*BurndownSparseMatrixRow) Descriptor() ([]byte, []int)

func (*BurndownSparseMatrixRow) GetColumns Uses

func (m *BurndownSparseMatrixRow) GetColumns() []uint32

func (*BurndownSparseMatrixRow) ProtoMessage Uses

func (*BurndownSparseMatrixRow) ProtoMessage()

func (*BurndownSparseMatrixRow) Reset Uses

func (m *BurndownSparseMatrixRow) Reset()

func (*BurndownSparseMatrixRow) String Uses

func (m *BurndownSparseMatrixRow) String() string

type CommentSentimentResults Uses

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 (*CommentSentimentResults) Descriptor Uses

func (*CommentSentimentResults) Descriptor() ([]byte, []int)

func (*CommentSentimentResults) GetSentimentByDay Uses

func (m *CommentSentimentResults) GetSentimentByDay() map[int32]*Sentiment

func (*CommentSentimentResults) ProtoMessage Uses

func (*CommentSentimentResults) ProtoMessage()

func (*CommentSentimentResults) Reset Uses

func (m *CommentSentimentResults) Reset()

func (*CommentSentimentResults) String Uses

func (m *CommentSentimentResults) String() string

type Commit Uses

type Commit struct {
    Hash         string        `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
    WhenUnixTime int64         `protobuf:"varint,2,opt,name=when_unix_time,json=whenUnixTime,proto3" json:"when_unix_time,omitempty"`
    Author       int32         `protobuf:"varint,3,opt,name=author,proto3" json:"author,omitempty"`
    Files        []*CommitFile `protobuf:"bytes,4,rep,name=files" json:"files,omitempty"`
}

func (*Commit) Descriptor Uses

func (*Commit) Descriptor() ([]byte, []int)

func (*Commit) GetAuthor Uses

func (m *Commit) GetAuthor() int32

func (*Commit) GetFiles Uses

func (m *Commit) GetFiles() []*CommitFile

func (*Commit) GetHash Uses

func (m *Commit) GetHash() string

func (*Commit) GetWhenUnixTime Uses

func (m *Commit) GetWhenUnixTime() int64

func (*Commit) ProtoMessage Uses

func (*Commit) ProtoMessage()

func (*Commit) Reset Uses

func (m *Commit) Reset()

func (*Commit) String Uses

func (m *Commit) String() string

type CommitFile Uses

type CommitFile struct {
    Name     string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Language string     `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
    Stats    *LineStats `protobuf:"bytes,4,opt,name=stats" json:"stats,omitempty"`
}

func (*CommitFile) Descriptor Uses

func (*CommitFile) Descriptor() ([]byte, []int)

func (*CommitFile) GetLanguage Uses

func (m *CommitFile) GetLanguage() string

func (*CommitFile) GetName Uses

func (m *CommitFile) GetName() string

func (*CommitFile) GetStats Uses

func (m *CommitFile) GetStats() *LineStats

func (*CommitFile) ProtoMessage Uses

func (*CommitFile) ProtoMessage()

func (*CommitFile) Reset Uses

func (m *CommitFile) Reset()

func (*CommitFile) String Uses

func (m *CommitFile) String() string

type CommitsAnalysisResults Uses

type CommitsAnalysisResults struct {
    Commits     []*Commit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
    AuthorIndex []string  `protobuf:"bytes,2,rep,name=author_index,json=authorIndex" json:"author_index,omitempty"`
}

func (*CommitsAnalysisResults) Descriptor Uses

func (*CommitsAnalysisResults) Descriptor() ([]byte, []int)

func (*CommitsAnalysisResults) GetAuthorIndex Uses

func (m *CommitsAnalysisResults) GetAuthorIndex() []string

func (*CommitsAnalysisResults) GetCommits Uses

func (m *CommitsAnalysisResults) GetCommits() []*Commit

func (*CommitsAnalysisResults) ProtoMessage Uses

func (*CommitsAnalysisResults) ProtoMessage()

func (*CommitsAnalysisResults) Reset Uses

func (m *CommitsAnalysisResults) Reset()

func (*CommitsAnalysisResults) String Uses

func (m *CommitsAnalysisResults) String() string

type CompressedSparseRowMatrix Uses

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 DenseToCompressedSparseRowMatrix Uses

func DenseToCompressedSparseRowMatrix(matrix [][]int64) *CompressedSparseRowMatrix

DenseToCompressedSparseRowMatrix takes an integer matrix and converts it to a Protobuf CSR. CSR format: https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29

func MapToCompressedSparseRowMatrix Uses

func MapToCompressedSparseRowMatrix(matrix []map[int]int64) *CompressedSparseRowMatrix

MapToCompressedSparseRowMatrix takes an integer matrix and converts it to a Protobuf CSR. In contrast to DenseToCompressedSparseRowMatrix, a matrix here is already in DOK format. CSR format: https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29

func (*CompressedSparseRowMatrix) Descriptor Uses

func (*CompressedSparseRowMatrix) Descriptor() ([]byte, []int)

func (*CompressedSparseRowMatrix) GetData Uses

func (m *CompressedSparseRowMatrix) GetData() []int64

func (*CompressedSparseRowMatrix) GetIndices Uses

func (m *CompressedSparseRowMatrix) GetIndices() []int32

func (*CompressedSparseRowMatrix) GetIndptr Uses

func (m *CompressedSparseRowMatrix) GetIndptr() []int64

func (*CompressedSparseRowMatrix) GetNumberOfColumns Uses

func (m *CompressedSparseRowMatrix) GetNumberOfColumns() int32

func (*CompressedSparseRowMatrix) GetNumberOfRows Uses

func (m *CompressedSparseRowMatrix) GetNumberOfRows() int32

func (*CompressedSparseRowMatrix) ProtoMessage Uses

func (*CompressedSparseRowMatrix) ProtoMessage()

func (*CompressedSparseRowMatrix) Reset Uses

func (m *CompressedSparseRowMatrix) Reset()

func (*CompressedSparseRowMatrix) String Uses

func (m *CompressedSparseRowMatrix) String() string

type Couples Uses

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 (*Couples) Descriptor Uses

func (*Couples) Descriptor() ([]byte, []int)

func (*Couples) GetIndex Uses

func (m *Couples) GetIndex() []string

func (*Couples) GetMatrix Uses

func (m *Couples) GetMatrix() *CompressedSparseRowMatrix

func (*Couples) ProtoMessage Uses

func (*Couples) ProtoMessage()

func (*Couples) Reset Uses

func (m *Couples) Reset()

func (*Couples) String Uses

func (m *Couples) String() string

type CouplesAnalysisResults Uses

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"`
    // order corresponds to `file_couples::index`
    FilesLines []int32 `protobuf:"varint,9,rep,packed,name=files_lines,json=filesLines" json:"files_lines,omitempty"`
}

func (*CouplesAnalysisResults) Descriptor Uses

func (*CouplesAnalysisResults) Descriptor() ([]byte, []int)

func (*CouplesAnalysisResults) GetFileCouples Uses

func (m *CouplesAnalysisResults) GetFileCouples() *Couples

func (*CouplesAnalysisResults) GetFilesLines Uses

func (m *CouplesAnalysisResults) GetFilesLines() []int32

func (*CouplesAnalysisResults) GetPeopleCouples Uses

func (m *CouplesAnalysisResults) GetPeopleCouples() *Couples

func (*CouplesAnalysisResults) GetPeopleFiles Uses

func (m *CouplesAnalysisResults) GetPeopleFiles() []*TouchedFiles

func (*CouplesAnalysisResults) ProtoMessage Uses

func (*CouplesAnalysisResults) ProtoMessage()

func (*CouplesAnalysisResults) Reset Uses

func (m *CouplesAnalysisResults) Reset()

func (*CouplesAnalysisResults) String Uses

func (m *CouplesAnalysisResults) String() string

type DayDevs Uses

type DayDevs struct {
    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"`
}

func (*DayDevs) Descriptor Uses

func (*DayDevs) Descriptor() ([]byte, []int)

func (*DayDevs) GetDevs Uses

func (m *DayDevs) GetDevs() map[int32]*DevDay

func (*DayDevs) ProtoMessage Uses

func (*DayDevs) ProtoMessage()

func (*DayDevs) Reset Uses

func (m *DayDevs) Reset()

func (*DayDevs) String Uses

func (m *DayDevs) String() string

type DevDay Uses

type DevDay struct {
    Commits   int32                 `protobuf:"varint,1,opt,name=commits,proto3" json:"commits,omitempty"`
    Stats     *LineStats            `protobuf:"bytes,2,opt,name=stats" json:"stats,omitempty"`
    Languages map[string]*LineStats `protobuf:"bytes,3,rep,name=languages" json:"languages,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}

func (*DevDay) Descriptor Uses

func (*DevDay) Descriptor() ([]byte, []int)

func (*DevDay) GetCommits Uses

func (m *DevDay) GetCommits() int32

func (*DevDay) GetLanguages Uses

func (m *DevDay) GetLanguages() map[string]*LineStats

func (*DevDay) GetStats Uses

func (m *DevDay) GetStats() *LineStats

func (*DevDay) ProtoMessage Uses

func (*DevDay) ProtoMessage()

func (*DevDay) Reset Uses

func (m *DevDay) Reset()

func (*DevDay) String Uses

func (m *DevDay) String() string

type DevsAnalysisResults Uses

type DevsAnalysisResults struct {
    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"`
    DevIndex []string           `protobuf:"bytes,2,rep,name=dev_index,json=devIndex" json:"dev_index,omitempty"`
}

func (*DevsAnalysisResults) Descriptor Uses

func (*DevsAnalysisResults) Descriptor() ([]byte, []int)

func (*DevsAnalysisResults) GetDays Uses

func (m *DevsAnalysisResults) GetDays() map[int32]*DayDevs

func (*DevsAnalysisResults) GetDevIndex Uses

func (m *DevsAnalysisResults) GetDevIndex() []string

func (*DevsAnalysisResults) ProtoMessage Uses

func (*DevsAnalysisResults) ProtoMessage()

func (*DevsAnalysisResults) Reset Uses

func (m *DevsAnalysisResults) Reset()

func (*DevsAnalysisResults) String Uses

func (m *DevsAnalysisResults) String() string

type FileHistory Uses

type FileHistory struct {
    Commits            []string             `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
    ChangesByDeveloper map[int32]*LineStats `protobuf:"bytes,2,rep,name=changes_by_developer,json=changesByDeveloper" json:"changes_by_developer,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}

func (*FileHistory) Descriptor Uses

func (*FileHistory) Descriptor() ([]byte, []int)

func (*FileHistory) GetChangesByDeveloper Uses

func (m *FileHistory) GetChangesByDeveloper() map[int32]*LineStats

func (*FileHistory) GetCommits Uses

func (m *FileHistory) GetCommits() []string

func (*FileHistory) ProtoMessage Uses

func (*FileHistory) ProtoMessage()

func (*FileHistory) Reset Uses

func (m *FileHistory) Reset()

func (*FileHistory) String Uses

func (m *FileHistory) String() string

type FileHistoryResultMessage Uses

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 (*FileHistoryResultMessage) Descriptor Uses

func (*FileHistoryResultMessage) Descriptor() ([]byte, []int)

func (*FileHistoryResultMessage) GetFiles Uses

func (m *FileHistoryResultMessage) GetFiles() map[string]*FileHistory

func (*FileHistoryResultMessage) ProtoMessage Uses

func (*FileHistoryResultMessage) ProtoMessage()

func (*FileHistoryResultMessage) Reset Uses

func (m *FileHistoryResultMessage) Reset()

func (*FileHistoryResultMessage) String Uses

func (m *FileHistoryResultMessage) String() string

type FilesOwnership Uses

type FilesOwnership struct {
    // The sum always equals to the total number of lines in the file.
    Value map[int32]int32 `protobuf:"bytes,1,rep,name=value" json:"value,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}

func (*FilesOwnership) Descriptor Uses

func (*FilesOwnership) Descriptor() ([]byte, []int)

func (*FilesOwnership) GetValue Uses

func (m *FilesOwnership) GetValue() map[int32]int32

func (*FilesOwnership) ProtoMessage Uses

func (*FilesOwnership) ProtoMessage()

func (*FilesOwnership) Reset Uses

func (m *FilesOwnership) Reset()

func (*FilesOwnership) String Uses

func (m *FilesOwnership) String() string

type LineStats Uses

type LineStats struct {
    Added   int32 `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"`
    Removed int32 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"`
    Changed int32 `protobuf:"varint,3,opt,name=changed,proto3" json:"changed,omitempty"`
}

func (*LineStats) Descriptor Uses

func (*LineStats) Descriptor() ([]byte, []int)

func (*LineStats) GetAdded Uses

func (m *LineStats) GetAdded() int32

func (*LineStats) GetChanged Uses

func (m *LineStats) GetChanged() int32

func (*LineStats) GetRemoved Uses

func (m *LineStats) GetRemoved() int32

func (*LineStats) ProtoMessage Uses

func (*LineStats) ProtoMessage()

func (*LineStats) Reset Uses

func (m *LineStats) Reset()

func (*LineStats) String Uses

func (m *LineStats) String() string

type Metadata Uses

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"`
    // time taken by each pipeline item in seconds
    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"`
}

func (*Metadata) Descriptor Uses

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) GetBeginUnixTime Uses

func (m *Metadata) GetBeginUnixTime() int64

func (*Metadata) GetCommits Uses

func (m *Metadata) GetCommits() int32

func (*Metadata) GetEndUnixTime Uses

func (m *Metadata) GetEndUnixTime() int64

func (*Metadata) GetHash Uses

func (m *Metadata) GetHash() string

func (*Metadata) GetRepository Uses

func (m *Metadata) GetRepository() string

func (*Metadata) GetRunTime Uses

func (m *Metadata) GetRunTime() int64

func (*Metadata) GetRunTimePerItem Uses

func (m *Metadata) GetRunTimePerItem() map[string]float64

func (*Metadata) GetVersion Uses

func (m *Metadata) GetVersion() int32

func (*Metadata) ProtoMessage Uses

func (*Metadata) ProtoMessage()

func (*Metadata) Reset Uses

func (m *Metadata) Reset()

func (*Metadata) String Uses

func (m *Metadata) String() string

type Sentiment Uses

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 (*Sentiment) Descriptor Uses

func (*Sentiment) Descriptor() ([]byte, []int)

func (*Sentiment) GetComments Uses

func (m *Sentiment) GetComments() []string

func (*Sentiment) GetCommits Uses

func (m *Sentiment) GetCommits() []string

func (*Sentiment) GetValue Uses

func (m *Sentiment) GetValue() float32

func (*Sentiment) ProtoMessage Uses

func (*Sentiment) ProtoMessage()

func (*Sentiment) Reset Uses

func (m *Sentiment) Reset()

func (*Sentiment) String Uses

func (m *Sentiment) String() string

type ShotnessAnalysisResults Uses

type ShotnessAnalysisResults struct {
    Records []*ShotnessRecord `protobuf:"bytes,1,rep,name=records" json:"records,omitempty"`
}

func (*ShotnessAnalysisResults) Descriptor Uses

func (*ShotnessAnalysisResults) Descriptor() ([]byte, []int)

func (*ShotnessAnalysisResults) GetRecords Uses

func (m *ShotnessAnalysisResults) GetRecords() []*ShotnessRecord

func (*ShotnessAnalysisResults) ProtoMessage Uses

func (*ShotnessAnalysisResults) ProtoMessage()

func (*ShotnessAnalysisResults) Reset Uses

func (m *ShotnessAnalysisResults) Reset()

func (*ShotnessAnalysisResults) String Uses

func (m *ShotnessAnalysisResults) String() string

type ShotnessRecord Uses

type ShotnessRecord struct {
    Type     string          `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    Name     string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    File     string          `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
    Counters map[int32]int32 `protobuf:"bytes,4,rep,name=counters" json:"counters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}

func (*ShotnessRecord) Descriptor Uses

func (*ShotnessRecord) Descriptor() ([]byte, []int)

func (*ShotnessRecord) GetCounters Uses

func (m *ShotnessRecord) GetCounters() map[int32]int32

func (*ShotnessRecord) GetFile Uses

func (m *ShotnessRecord) GetFile() string

func (*ShotnessRecord) GetName Uses

func (m *ShotnessRecord) GetName() string

func (*ShotnessRecord) GetType Uses

func (m *ShotnessRecord) GetType() string

func (*ShotnessRecord) ProtoMessage Uses

func (*ShotnessRecord) ProtoMessage()

func (*ShotnessRecord) Reset Uses

func (m *ShotnessRecord) Reset()

func (*ShotnessRecord) String Uses

func (m *ShotnessRecord) String() string

type TouchedFiles Uses

type TouchedFiles struct {
    Files []int32 `protobuf:"varint,1,rep,packed,name=files" json:"files,omitempty"`
}

func (*TouchedFiles) Descriptor Uses

func (*TouchedFiles) Descriptor() ([]byte, []int)

func (*TouchedFiles) GetFiles Uses

func (m *TouchedFiles) GetFiles() []int32

func (*TouchedFiles) ProtoMessage Uses

func (*TouchedFiles) ProtoMessage()

func (*TouchedFiles) Reset Uses

func (m *TouchedFiles) Reset()

func (*TouchedFiles) String Uses

func (m *TouchedFiles) String() string

type Typo Uses

type Typo struct {
    Wrong   string `protobuf:"bytes,1,opt,name=wrong,proto3" json:"wrong,omitempty"`
    Correct string `protobuf:"bytes,2,opt,name=correct,proto3" json:"correct,omitempty"`
    Commit  string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
    File    string `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"`
    Line    int32  `protobuf:"varint,5,opt,name=line,proto3" json:"line,omitempty"`
}

func (*Typo) Descriptor Uses

func (*Typo) Descriptor() ([]byte, []int)

func (*Typo) GetCommit Uses

func (m *Typo) GetCommit() string

func (*Typo) GetCorrect Uses

func (m *Typo) GetCorrect() string

func (*Typo) GetFile Uses

func (m *Typo) GetFile() string

func (*Typo) GetLine Uses

func (m *Typo) GetLine() int32

func (*Typo) GetWrong Uses

func (m *Typo) GetWrong() string

func (*Typo) ProtoMessage Uses

func (*Typo) ProtoMessage()

func (*Typo) Reset Uses

func (m *Typo) Reset()

func (*Typo) String Uses

func (m *Typo) String() string

type TyposDataset Uses

type TyposDataset struct {
    Typos []*Typo `protobuf:"bytes,1,rep,name=typos" json:"typos,omitempty"`
}

func (*TyposDataset) Descriptor Uses

func (*TyposDataset) Descriptor() ([]byte, []int)

func (*TyposDataset) GetTypos Uses

func (m *TyposDataset) GetTypos() []*Typo

func (*TyposDataset) ProtoMessage Uses

func (*TyposDataset) ProtoMessage()

func (*TyposDataset) Reset Uses

func (m *TyposDataset) Reset()

func (*TyposDataset) String Uses

func (m *TyposDataset) String() string

type UASTChange Uses

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 (*UASTChange) Descriptor Uses

func (*UASTChange) Descriptor() ([]byte, []int)

func (*UASTChange) GetFileName Uses

func (m *UASTChange) GetFileName() string

func (*UASTChange) GetSrcAfter Uses

func (m *UASTChange) GetSrcAfter() string

func (*UASTChange) GetSrcBefore Uses

func (m *UASTChange) GetSrcBefore() string

func (*UASTChange) GetUastAfter Uses

func (m *UASTChange) GetUastAfter() string

func (*UASTChange) GetUastBefore Uses

func (m *UASTChange) GetUastBefore() string

func (*UASTChange) ProtoMessage Uses

func (*UASTChange) ProtoMessage()

func (*UASTChange) Reset Uses

func (m *UASTChange) Reset()

func (*UASTChange) String Uses

func (m *UASTChange) String() string

type UASTChangesSaverResults Uses

type UASTChangesSaverResults struct {
    Changes []*UASTChange `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
}

func (*UASTChangesSaverResults) Descriptor Uses

func (*UASTChangesSaverResults) Descriptor() ([]byte, []int)

func (*UASTChangesSaverResults) GetChanges Uses

func (m *UASTChangesSaverResults) GetChanges() []*UASTChange

func (*UASTChangesSaverResults) ProtoMessage Uses

func (*UASTChangesSaverResults) ProtoMessage()

func (*UASTChangesSaverResults) Reset Uses

func (m *UASTChangesSaverResults) Reset()

func (*UASTChangesSaverResults) String Uses

func (m *UASTChangesSaverResults) String() string

Package pb imports 4 packages (graph) and is imported by 5 packages. Updated 2019-04-26. Refresh now. Tools for package owners.