pb

package
v9.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisResults

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 `` /* 150-byte string literal not displayed */
}

func (*AnalysisResults) Descriptor

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

func (*AnalysisResults) GetContents

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

func (*AnalysisResults) GetHeader

func (m *AnalysisResults) GetHeader() *Metadata

func (*AnalysisResults) ProtoMessage

func (*AnalysisResults) ProtoMessage()

func (*AnalysisResults) Reset

func (m *AnalysisResults) Reset()

func (*AnalysisResults) String

func (m *AnalysisResults) String() string

type BurndownAnalysisResults

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

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

func (*BurndownAnalysisResults) GetFiles

func (*BurndownAnalysisResults) GetFilesOwnership

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

func (*BurndownAnalysisResults) GetGranularity

func (m *BurndownAnalysisResults) GetGranularity() int32

func (*BurndownAnalysisResults) GetPeople

func (*BurndownAnalysisResults) GetPeopleInteraction

func (m *BurndownAnalysisResults) GetPeopleInteraction() *CompressedSparseRowMatrix

func (*BurndownAnalysisResults) GetProject

func (*BurndownAnalysisResults) GetSampling

func (m *BurndownAnalysisResults) GetSampling() int32

func (*BurndownAnalysisResults) ProtoMessage

func (*BurndownAnalysisResults) ProtoMessage()

func (*BurndownAnalysisResults) Reset

func (m *BurndownAnalysisResults) Reset()

func (*BurndownAnalysisResults) String

func (m *BurndownAnalysisResults) String() string

type BurndownSparseMatrix

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

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

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

func (*BurndownSparseMatrix) GetName

func (m *BurndownSparseMatrix) GetName() string

func (*BurndownSparseMatrix) GetNumberOfColumns

func (m *BurndownSparseMatrix) GetNumberOfColumns() int32

func (*BurndownSparseMatrix) GetNumberOfRows

func (m *BurndownSparseMatrix) GetNumberOfRows() int32

func (*BurndownSparseMatrix) GetRows

func (*BurndownSparseMatrix) ProtoMessage

func (*BurndownSparseMatrix) ProtoMessage()

func (*BurndownSparseMatrix) Reset

func (m *BurndownSparseMatrix) Reset()

func (*BurndownSparseMatrix) String

func (m *BurndownSparseMatrix) String() string

type BurndownSparseMatrixRow

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

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

func (*BurndownSparseMatrixRow) GetColumns

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

func (*BurndownSparseMatrixRow) ProtoMessage

func (*BurndownSparseMatrixRow) ProtoMessage()

func (*BurndownSparseMatrixRow) Reset

func (m *BurndownSparseMatrixRow) Reset()

func (*BurndownSparseMatrixRow) String

func (m *BurndownSparseMatrixRow) String() string

type CommentSentimentResults

type CommentSentimentResults struct {
	SentimentByDay map[int32]*Sentiment `` /* 180-byte string literal not displayed */
}

func (*CommentSentimentResults) Descriptor

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

func (*CommentSentimentResults) GetSentimentByDay

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

func (*CommentSentimentResults) ProtoMessage

func (*CommentSentimentResults) ProtoMessage()

func (*CommentSentimentResults) Reset

func (m *CommentSentimentResults) Reset()

func (*CommentSentimentResults) String

func (m *CommentSentimentResults) String() string

type Commit added in v9.1.1

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 added in v9.1.1

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

func (*Commit) GetAuthor added in v9.1.1

func (m *Commit) GetAuthor() int32

func (*Commit) GetFiles added in v9.1.1

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

func (*Commit) GetHash added in v9.1.1

func (m *Commit) GetHash() string

func (*Commit) GetWhenUnixTime added in v9.1.1

func (m *Commit) GetWhenUnixTime() int64

func (*Commit) ProtoMessage added in v9.1.1

func (*Commit) ProtoMessage()

func (*Commit) Reset added in v9.1.1

func (m *Commit) Reset()

func (*Commit) String added in v9.1.1

func (m *Commit) String() string

type CommitFile added in v9.1.1

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 added in v9.1.1

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

func (*CommitFile) GetLanguage added in v9.1.1

func (m *CommitFile) GetLanguage() string

func (*CommitFile) GetName added in v9.1.1

func (m *CommitFile) GetName() string

func (*CommitFile) GetStats added in v9.1.1

func (m *CommitFile) GetStats() *LineStats

func (*CommitFile) ProtoMessage added in v9.1.1

func (*CommitFile) ProtoMessage()

func (*CommitFile) Reset added in v9.1.1

func (m *CommitFile) Reset()

func (*CommitFile) String added in v9.1.1

func (m *CommitFile) String() string

type CommitsAnalysisResults added in v9.1.1

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 added in v9.1.1

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

func (*CommitsAnalysisResults) GetAuthorIndex added in v9.1.1

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

func (*CommitsAnalysisResults) GetCommits added in v9.1.1

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

func (*CommitsAnalysisResults) ProtoMessage added in v9.1.1

func (*CommitsAnalysisResults) ProtoMessage()

func (*CommitsAnalysisResults) Reset added in v9.1.1

func (m *CommitsAnalysisResults) Reset()

func (*CommitsAnalysisResults) String added in v9.1.1

func (m *CommitsAnalysisResults) String() string

type CompressedSparseRowMatrix

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

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

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

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

func (*CompressedSparseRowMatrix) GetData

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

func (*CompressedSparseRowMatrix) GetIndices

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

func (*CompressedSparseRowMatrix) GetIndptr

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

func (*CompressedSparseRowMatrix) GetNumberOfColumns

func (m *CompressedSparseRowMatrix) GetNumberOfColumns() int32

func (*CompressedSparseRowMatrix) GetNumberOfRows

func (m *CompressedSparseRowMatrix) GetNumberOfRows() int32

func (*CompressedSparseRowMatrix) ProtoMessage

func (*CompressedSparseRowMatrix) ProtoMessage()

func (*CompressedSparseRowMatrix) Reset

func (m *CompressedSparseRowMatrix) Reset()

func (*CompressedSparseRowMatrix) String

func (m *CompressedSparseRowMatrix) String() string

type Couples

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

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

func (*Couples) GetIndex

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

func (*Couples) GetMatrix

func (m *Couples) GetMatrix() *CompressedSparseRowMatrix

func (*Couples) ProtoMessage

func (*Couples) ProtoMessage()

func (*Couples) Reset

func (m *Couples) Reset()

func (*Couples) String

func (m *Couples) String() string

type CouplesAnalysisResults

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

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

func (*CouplesAnalysisResults) GetFileCouples

func (m *CouplesAnalysisResults) GetFileCouples() *Couples

func (*CouplesAnalysisResults) GetFilesLines

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

func (*CouplesAnalysisResults) GetPeopleCouples

func (m *CouplesAnalysisResults) GetPeopleCouples() *Couples

func (*CouplesAnalysisResults) GetPeopleFiles

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

func (*CouplesAnalysisResults) ProtoMessage

func (*CouplesAnalysisResults) ProtoMessage()

func (*CouplesAnalysisResults) Reset

func (m *CouplesAnalysisResults) Reset()

func (*CouplesAnalysisResults) String

func (m *CouplesAnalysisResults) String() string

type DayDevs

type DayDevs struct {
	Devs map[int32]*DevDay `` /* 136-byte string literal not displayed */
}

func (*DayDevs) Descriptor

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

func (*DayDevs) GetDevs

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

func (*DayDevs) ProtoMessage

func (*DayDevs) ProtoMessage()

func (*DayDevs) Reset

func (m *DayDevs) Reset()

func (*DayDevs) String

func (m *DayDevs) String() string

type DevDay

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 `` /* 145-byte string literal not displayed */
}

func (*DevDay) Descriptor

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

func (*DevDay) GetCommits

func (m *DevDay) GetCommits() int32

func (*DevDay) GetLanguages

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

func (*DevDay) GetStats

func (m *DevDay) GetStats() *LineStats

func (*DevDay) ProtoMessage

func (*DevDay) ProtoMessage()

func (*DevDay) Reset

func (m *DevDay) Reset()

func (*DevDay) String

func (m *DevDay) String() string

type DevsAnalysisResults

type DevsAnalysisResults struct {
	Days     map[int32]*DayDevs `` /* 136-byte string literal not displayed */
	DevIndex []string           `protobuf:"bytes,2,rep,name=dev_index,json=devIndex" json:"dev_index,omitempty"`
}

func (*DevsAnalysisResults) Descriptor

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

func (*DevsAnalysisResults) GetDays

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

func (*DevsAnalysisResults) GetDevIndex

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

func (*DevsAnalysisResults) ProtoMessage

func (*DevsAnalysisResults) ProtoMessage()

func (*DevsAnalysisResults) Reset

func (m *DevsAnalysisResults) Reset()

func (*DevsAnalysisResults) String

func (m *DevsAnalysisResults) String() string

type FileHistory

type FileHistory struct {
	Commits            []string             `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
	ChangesByDeveloper map[int32]*LineStats `` /* 192-byte string literal not displayed */
}

func (*FileHistory) Descriptor

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

func (*FileHistory) GetChangesByDeveloper

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

func (*FileHistory) GetCommits

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

func (*FileHistory) ProtoMessage

func (*FileHistory) ProtoMessage()

func (*FileHistory) Reset

func (m *FileHistory) Reset()

func (*FileHistory) String

func (m *FileHistory) String() string

type FileHistoryResultMessage

type FileHistoryResultMessage struct {
	Files map[string]*FileHistory `` /* 137-byte string literal not displayed */
}

func (*FileHistoryResultMessage) Descriptor

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

func (*FileHistoryResultMessage) GetFiles

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

func (*FileHistoryResultMessage) ProtoMessage

func (*FileHistoryResultMessage) ProtoMessage()

func (*FileHistoryResultMessage) Reset

func (m *FileHistoryResultMessage) Reset()

func (*FileHistoryResultMessage) String

func (m *FileHistoryResultMessage) String() string

type FilesOwnership

type FilesOwnership struct {
	// The sum always equals to the total number of lines in the file.
	Value map[int32]int32 `` /* 146-byte string literal not displayed */
}

func (*FilesOwnership) Descriptor

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

func (*FilesOwnership) GetValue

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

func (*FilesOwnership) ProtoMessage

func (*FilesOwnership) ProtoMessage()

func (*FilesOwnership) Reset

func (m *FilesOwnership) Reset()

func (*FilesOwnership) String

func (m *FilesOwnership) String() string

type LineStats

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

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

func (*LineStats) GetAdded

func (m *LineStats) GetAdded() int32

func (*LineStats) GetChanged

func (m *LineStats) GetChanged() int32

func (*LineStats) GetRemoved

func (m *LineStats) GetRemoved() int32

func (*LineStats) ProtoMessage

func (*LineStats) ProtoMessage()

func (*LineStats) Reset

func (m *LineStats) Reset()

func (*LineStats) String

func (m *LineStats) String() string

type Metadata

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 `` /* 190-byte string literal not displayed */
}

func (*Metadata) Descriptor

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

func (*Metadata) GetBeginUnixTime

func (m *Metadata) GetBeginUnixTime() int64

func (*Metadata) GetCommits

func (m *Metadata) GetCommits() int32

func (*Metadata) GetEndUnixTime

func (m *Metadata) GetEndUnixTime() int64

func (*Metadata) GetHash

func (m *Metadata) GetHash() string

func (*Metadata) GetRepository

func (m *Metadata) GetRepository() string

func (*Metadata) GetRunTime

func (m *Metadata) GetRunTime() int64

func (*Metadata) GetRunTimePerItem

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

func (*Metadata) GetVersion

func (m *Metadata) GetVersion() int32

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

type Sentiment

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

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

func (*Sentiment) GetComments

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

func (*Sentiment) GetCommits

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

func (*Sentiment) GetValue

func (m *Sentiment) GetValue() float32

func (*Sentiment) ProtoMessage

func (*Sentiment) ProtoMessage()

func (*Sentiment) Reset

func (m *Sentiment) Reset()

func (*Sentiment) String

func (m *Sentiment) String() string

type ShotnessAnalysisResults

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

func (*ShotnessAnalysisResults) Descriptor

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

func (*ShotnessAnalysisResults) GetRecords

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

func (*ShotnessAnalysisResults) ProtoMessage

func (*ShotnessAnalysisResults) ProtoMessage()

func (*ShotnessAnalysisResults) Reset

func (m *ShotnessAnalysisResults) Reset()

func (*ShotnessAnalysisResults) String

func (m *ShotnessAnalysisResults) String() string

type ShotnessRecord

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 `` /* 152-byte string literal not displayed */
}

func (*ShotnessRecord) Descriptor

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

func (*ShotnessRecord) GetCounters

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

func (*ShotnessRecord) GetFile

func (m *ShotnessRecord) GetFile() string

func (*ShotnessRecord) GetName

func (m *ShotnessRecord) GetName() string

func (*ShotnessRecord) GetType

func (m *ShotnessRecord) GetType() string

func (*ShotnessRecord) ProtoMessage

func (*ShotnessRecord) ProtoMessage()

func (*ShotnessRecord) Reset

func (m *ShotnessRecord) Reset()

func (*ShotnessRecord) String

func (m *ShotnessRecord) String() string

type TouchedFiles

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

func (*TouchedFiles) Descriptor

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

func (*TouchedFiles) GetFiles

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

func (*TouchedFiles) ProtoMessage

func (*TouchedFiles) ProtoMessage()

func (*TouchedFiles) Reset

func (m *TouchedFiles) Reset()

func (*TouchedFiles) String

func (m *TouchedFiles) String() string

type Typo added in v9.3.0

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 added in v9.3.0

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

func (*Typo) GetCommit added in v9.3.0

func (m *Typo) GetCommit() string

func (*Typo) GetCorrect added in v9.3.0

func (m *Typo) GetCorrect() string

func (*Typo) GetFile added in v9.3.0

func (m *Typo) GetFile() string

func (*Typo) GetLine added in v9.3.0

func (m *Typo) GetLine() int32

func (*Typo) GetWrong added in v9.3.0

func (m *Typo) GetWrong() string

func (*Typo) ProtoMessage added in v9.3.0

func (*Typo) ProtoMessage()

func (*Typo) Reset added in v9.3.0

func (m *Typo) Reset()

func (*Typo) String added in v9.3.0

func (m *Typo) String() string

type TyposDataset added in v9.3.0

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

func (*TyposDataset) Descriptor added in v9.3.0

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

func (*TyposDataset) GetTypos added in v9.3.0

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

func (*TyposDataset) ProtoMessage added in v9.3.0

func (*TyposDataset) ProtoMessage()

func (*TyposDataset) Reset added in v9.3.0

func (m *TyposDataset) Reset()

func (*TyposDataset) String added in v9.3.0

func (m *TyposDataset) String() string

type UASTChange

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

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

func (*UASTChange) GetFileName

func (m *UASTChange) GetFileName() string

func (*UASTChange) GetSrcAfter

func (m *UASTChange) GetSrcAfter() string

func (*UASTChange) GetSrcBefore

func (m *UASTChange) GetSrcBefore() string

func (*UASTChange) GetUastAfter

func (m *UASTChange) GetUastAfter() string

func (*UASTChange) GetUastBefore

func (m *UASTChange) GetUastBefore() string

func (*UASTChange) ProtoMessage

func (*UASTChange) ProtoMessage()

func (*UASTChange) Reset

func (m *UASTChange) Reset()

func (*UASTChange) String

func (m *UASTChange) String() string

type UASTChangesSaverResults

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

func (*UASTChangesSaverResults) Descriptor

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

func (*UASTChangesSaverResults) GetChanges

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

func (*UASTChangesSaverResults) ProtoMessage

func (*UASTChangesSaverResults) ProtoMessage()

func (*UASTChangesSaverResults) Reset

func (m *UASTChangesSaverResults) Reset()

func (*UASTChangesSaverResults) String

func (m *UASTChangesSaverResults) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL