blob: ce78efa5b22319f58fb6ea239c9be7580662d52a [file] [log] [blame]
// Code generated by protoc-gen-go4grpc; DO NOT EDIT
// source: maintner.proto
/*
Package maintpb is a generated protocol buffer package.
It is generated from these files:
maintner.proto
It has these top-level messages:
Mutation
GithubMutation
GithubIssueMutation
BoolChange
GithubLabel
GithubMilestone
GithubIssueEvent
GithubCommit
GithubIssueSyncStatus
GithubIssueCommentMutation
GithubUser
GitMutation
GitRepo
GitCommit
GitDiffTree
GitDiffTreeFile
GerritMutation
GitRef
*/
package maintpb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type Mutation struct {
GithubIssue *GithubIssueMutation `protobuf:"bytes,1,opt,name=github_issue,json=githubIssue" json:"github_issue,omitempty"`
Github *GithubMutation `protobuf:"bytes,3,opt,name=github" json:"github,omitempty"`
Git *GitMutation `protobuf:"bytes,2,opt,name=git" json:"git,omitempty"`
Gerrit *GerritMutation `protobuf:"bytes,4,opt,name=gerrit" json:"gerrit,omitempty"`
}
func (m *Mutation) Reset() { *m = Mutation{} }
func (m *Mutation) String() string { return proto.CompactTextString(m) }
func (*Mutation) ProtoMessage() {}
func (*Mutation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Mutation) GetGithubIssue() *GithubIssueMutation {
if m != nil {
return m.GithubIssue
}
return nil
}
func (m *Mutation) GetGithub() *GithubMutation {
if m != nil {
return m.Github
}
return nil
}
func (m *Mutation) GetGit() *GitMutation {
if m != nil {
return m.Git
}
return nil
}
func (m *Mutation) GetGerrit() *GerritMutation {
if m != nil {
return m.Gerrit
}
return nil
}
type GithubMutation struct {
Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
// Updated labels. (All must have id set at least)
Labels []*GithubLabel `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty"`
// Updated milestones. (All must have id set at least)
Milestones []*GithubMilestone `protobuf:"bytes,4,rep,name=milestones" json:"milestones,omitempty"`
}
func (m *GithubMutation) Reset() { *m = GithubMutation{} }
func (m *GithubMutation) String() string { return proto.CompactTextString(m) }
func (*GithubMutation) ProtoMessage() {}
func (*GithubMutation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *GithubMutation) GetOwner() string {
if m != nil {
return m.Owner
}
return ""
}
func (m *GithubMutation) GetRepo() string {
if m != nil {
return m.Repo
}
return ""
}
func (m *GithubMutation) GetLabels() []*GithubLabel {
if m != nil {
return m.Labels
}
return nil
}
func (m *GithubMutation) GetMilestones() []*GithubMilestone {
if m != nil {
return m.Milestones
}
return nil
}
type GithubIssueMutation struct {
Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
Number int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"`
// not_exist is set true if the issue has been found to not exist.
// If true, the owner/repo/number fields above must still be set.
// If a future issue mutation for the same number arrives without
// not_exist set, then the issue comes back to life.
NotExist bool `protobuf:"varint,13,opt,name=not_exist,json=notExist" json:"not_exist,omitempty"`
Id int64 `protobuf:"varint,12,opt,name=id" json:"id,omitempty"`
User *GithubUser `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
Assignees []*GithubUser `protobuf:"bytes,10,rep,name=assignees" json:"assignees,omitempty"`
DeletedAssignees []int64 `protobuf:"varint,11,rep,packed,name=deleted_assignees,json=deletedAssignees" json:"deleted_assignees,omitempty"`
Created *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
Updated *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=updated" json:"updated,omitempty"`
Body string `protobuf:"bytes,7,opt,name=body" json:"body,omitempty"`
Title string `protobuf:"bytes,9,opt,name=title" json:"title,omitempty"`
NoMilestone bool `protobuf:"varint,15,opt,name=no_milestone,json=noMilestone" json:"no_milestone,omitempty"`
// When setting a milestone, only the milestone_id must be set.
// TODO: allow num or title to be used if Github only returns those? So far unneeded.
// The num and title, if non-zero, are treated as if they were a GithubMutation.Milestone update.
MilestoneId int64 `protobuf:"varint,16,opt,name=milestone_id,json=milestoneId" json:"milestone_id,omitempty"`
MilestoneNum int64 `protobuf:"varint,17,opt,name=milestone_num,json=milestoneNum" json:"milestone_num,omitempty"`
MilestoneTitle string `protobuf:"bytes,18,opt,name=milestone_title,json=milestoneTitle" json:"milestone_title,omitempty"`
Closed *BoolChange `protobuf:"bytes,19,opt,name=closed" json:"closed,omitempty"`
Locked *BoolChange `protobuf:"bytes,25,opt,name=locked" json:"locked,omitempty"`
ClosedAt *google_protobuf.Timestamp `protobuf:"bytes,21,opt,name=closed_at,json=closedAt" json:"closed_at,omitempty"`
ClosedBy *GithubUser `protobuf:"bytes,22,opt,name=closed_by,json=closedBy" json:"closed_by,omitempty"`
RemoveLabel []int64 `protobuf:"varint,23,rep,packed,name=remove_label,json=removeLabel" json:"remove_label,omitempty"`
AddLabel []*GithubLabel `protobuf:"bytes,24,rep,name=add_label,json=addLabel" json:"add_label,omitempty"`
Comment []*GithubIssueCommentMutation `protobuf:"bytes,8,rep,name=comment" json:"comment,omitempty"`
CommentStatus *GithubIssueSyncStatus `protobuf:"bytes,14,opt,name=comment_status,json=commentStatus" json:"comment_status,omitempty"`
Event []*GithubIssueEvent `protobuf:"bytes,26,rep,name=event" json:"event,omitempty"`
EventStatus *GithubIssueSyncStatus `protobuf:"bytes,27,opt,name=event_status,json=eventStatus" json:"event_status,omitempty"`
}
func (m *GithubIssueMutation) Reset() { *m = GithubIssueMutation{} }
func (m *GithubIssueMutation) String() string { return proto.CompactTextString(m) }
func (*GithubIssueMutation) ProtoMessage() {}
func (*GithubIssueMutation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *GithubIssueMutation) GetOwner() string {
if m != nil {
return m.Owner
}
return ""
}
func (m *GithubIssueMutation) GetRepo() string {
if m != nil {
return m.Repo
}
return ""
}
func (m *GithubIssueMutation) GetNumber() int32 {
if m != nil {
return m.Number
}
return 0
}
func (m *GithubIssueMutation) GetNotExist() bool {
if m != nil {
return m.NotExist
}
return false
}
func (m *GithubIssueMutation) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *GithubIssueMutation) GetUser() *GithubUser {
if m != nil {
return m.User
}
return nil
}
func (m *GithubIssueMutation) GetAssignees() []*GithubUser {
if m != nil {
return m.Assignees
}
return nil
}
func (m *GithubIssueMutation) GetDeletedAssignees() []int64 {
if m != nil {
return m.DeletedAssignees
}
return nil
}
func (m *GithubIssueMutation) GetCreated() *google_protobuf.Timestamp {
if m != nil {
return m.Created
}
return nil
}
func (m *GithubIssueMutation) GetUpdated() *google_protobuf.Timestamp {
if m != nil {
return m.Updated
}
return nil
}
func (m *GithubIssueMutation) GetBody() string {
if m != nil {
return m.Body
}
return ""
}
func (m *GithubIssueMutation) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *GithubIssueMutation) GetNoMilestone() bool {
if m != nil {
return m.NoMilestone
}
return false
}
func (m *GithubIssueMutation) GetMilestoneId() int64 {
if m != nil {
return m.MilestoneId
}
return 0
}
func (m *GithubIssueMutation) GetMilestoneNum() int64 {
if m != nil {
return m.MilestoneNum
}
return 0
}
func (m *GithubIssueMutation) GetMilestoneTitle() string {
if m != nil {
return m.MilestoneTitle
}
return ""
}
func (m *GithubIssueMutation) GetClosed() *BoolChange {
if m != nil {
return m.Closed
}
return nil
}
func (m *GithubIssueMutation) GetLocked() *BoolChange {
if m != nil {
return m.Locked
}
return nil
}
func (m *GithubIssueMutation) GetClosedAt() *google_protobuf.Timestamp {
if m != nil {
return m.ClosedAt
}
return nil
}
func (m *GithubIssueMutation) GetClosedBy() *GithubUser {
if m != nil {
return m.ClosedBy
}
return nil
}
func (m *GithubIssueMutation) GetRemoveLabel() []int64 {
if m != nil {
return m.RemoveLabel
}
return nil
}
func (m *GithubIssueMutation) GetAddLabel() []*GithubLabel {
if m != nil {
return m.AddLabel
}
return nil
}
func (m *GithubIssueMutation) GetComment() []*GithubIssueCommentMutation {
if m != nil {
return m.Comment
}
return nil
}
func (m *GithubIssueMutation) GetCommentStatus() *GithubIssueSyncStatus {
if m != nil {
return m.CommentStatus
}
return nil
}
func (m *GithubIssueMutation) GetEvent() []*GithubIssueEvent {
if m != nil {
return m.Event
}
return nil
}
func (m *GithubIssueMutation) GetEventStatus() *GithubIssueSyncStatus {
if m != nil {
return m.EventStatus
}
return nil
}
// BoolChange represents a change to a boolean value.
type BoolChange struct {
Val bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"`
}
func (m *BoolChange) Reset() { *m = BoolChange{} }
func (m *BoolChange) String() string { return proto.CompactTextString(m) }
func (*BoolChange) ProtoMessage() {}
func (*BoolChange) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *BoolChange) GetVal() bool {
if m != nil {
return m.Val
}
return false
}
type GithubLabel struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (m *GithubLabel) Reset() { *m = GithubLabel{} }
func (m *GithubLabel) String() string { return proto.CompactTextString(m) }
func (*GithubLabel) ProtoMessage() {}
func (*GithubLabel) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *GithubLabel) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *GithubLabel) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type GithubMilestone struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// Following only need to be non-zero on changes:
Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
Closed *BoolChange `protobuf:"bytes,3,opt,name=closed" json:"closed,omitempty"`
Number int64 `protobuf:"varint,4,opt,name=number" json:"number,omitempty"`
}
func (m *GithubMilestone) Reset() { *m = GithubMilestone{} }
func (m *GithubMilestone) String() string { return proto.CompactTextString(m) }
func (*GithubMilestone) ProtoMessage() {}
func (*GithubMilestone) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *GithubMilestone) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *GithubMilestone) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *GithubMilestone) GetClosed() *BoolChange {
if m != nil {
return m.Closed
}
return nil
}
func (m *GithubMilestone) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
// See https://developer.github.com/v3/activity/events/types/#issuesevent
// for some info.
type GithubIssueEvent struct {
// Required:
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// event_type can be one of "assigned", "unassigned", "labeled",
// "unlabeled", "opened", "edited", "milestoned", "demilestoned",
// "closed", "reopened", "referenced", "renamed" or anything else
// that Github adds in the future.
EventType string `protobuf:"bytes,2,opt,name=event_type,json=eventType" json:"event_type,omitempty"`
ActorId int64 `protobuf:"varint,3,opt,name=actor_id,json=actorId" json:"actor_id,omitempty"`
Created *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=created" json:"created,omitempty"`
// label is populated for "labeled" and "unlabeled" events.
// The label will usually not have an ID, due to Github's API
// not returning one.
Label *GithubLabel `protobuf:"bytes,5,opt,name=label" json:"label,omitempty"`
// milestone is populated for "milestoned" and "demilestoned" events.
// The label will usually not have an ID, due to Github's API
// not returning one.
Milestone *GithubMilestone `protobuf:"bytes,6,opt,name=milestone" json:"milestone,omitempty"`
// For "assigned", "unassigned":
AssigneeId int64 `protobuf:"varint,7,opt,name=assignee_id,json=assigneeId" json:"assignee_id,omitempty"`
AssignerId int64 `protobuf:"varint,8,opt,name=assigner_id,json=assignerId" json:"assigner_id,omitempty"`
// For "referenced", "closed":
Commit *GithubCommit `protobuf:"bytes,9,opt,name=commit" json:"commit,omitempty"`
// For "renamed" events:
RenameFrom string `protobuf:"bytes,11,opt,name=rename_from,json=renameFrom" json:"rename_from,omitempty"`
RenameTo string `protobuf:"bytes,12,opt,name=rename_to,json=renameTo" json:"rename_to,omitempty"`
// other_json is usually empty. If Github adds event types or fields
// in the future, this captures those added fields. If non-empty it
// will be a JSON object with the fields that weren't understood.
OtherJson []byte `protobuf:"bytes,10,opt,name=other_json,json=otherJson,proto3" json:"other_json,omitempty"`
}
func (m *GithubIssueEvent) Reset() { *m = GithubIssueEvent{} }
func (m *GithubIssueEvent) String() string { return proto.CompactTextString(m) }
func (*GithubIssueEvent) ProtoMessage() {}
func (*GithubIssueEvent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *GithubIssueEvent) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *GithubIssueEvent) GetEventType() string {
if m != nil {
return m.EventType
}
return ""
}
func (m *GithubIssueEvent) GetActorId() int64 {
if m != nil {
return m.ActorId
}
return 0
}
func (m *GithubIssueEvent) GetCreated() *google_protobuf.Timestamp {
if m != nil {
return m.Created
}
return nil
}
func (m *GithubIssueEvent) GetLabel() *GithubLabel {
if m != nil {
return m.Label
}
return nil
}
func (m *GithubIssueEvent) GetMilestone() *GithubMilestone {
if m != nil {
return m.Milestone
}
return nil
}
func (m *GithubIssueEvent) GetAssigneeId() int64 {
if m != nil {
return m.AssigneeId
}
return 0
}
func (m *GithubIssueEvent) GetAssignerId() int64 {
if m != nil {
return m.AssignerId
}
return 0
}
func (m *GithubIssueEvent) GetCommit() *GithubCommit {
if m != nil {
return m.Commit
}
return nil
}
func (m *GithubIssueEvent) GetRenameFrom() string {
if m != nil {
return m.RenameFrom
}
return ""
}
func (m *GithubIssueEvent) GetRenameTo() string {
if m != nil {
return m.RenameTo
}
return ""
}
func (m *GithubIssueEvent) GetOtherJson() []byte {
if m != nil {
return m.OtherJson
}
return nil
}
type GithubCommit struct {
Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
}
func (m *GithubCommit) Reset() { *m = GithubCommit{} }
func (m *GithubCommit) String() string { return proto.CompactTextString(m) }
func (*GithubCommit) ProtoMessage() {}
func (*GithubCommit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *GithubCommit) GetOwner() string {
if m != nil {
return m.Owner
}
return ""
}
func (m *GithubCommit) GetRepo() string {
if m != nil {
return m.Repo
}
return ""
}
func (m *GithubCommit) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
// GithubIssueSyncStatus notes where syncing is at for comments
// on an issue,
// This mutation type is only made at/after the same top-level mutation
// which created the corresponding comments.
type GithubIssueSyncStatus struct {
// server_date is the "Date" response header from Github for the
// final HTTP response.
ServerDate *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=server_date,json=serverDate" json:"server_date,omitempty"`
}
func (m *GithubIssueSyncStatus) Reset() { *m = GithubIssueSyncStatus{} }
func (m *GithubIssueSyncStatus) String() string { return proto.CompactTextString(m) }
func (*GithubIssueSyncStatus) ProtoMessage() {}
func (*GithubIssueSyncStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *GithubIssueSyncStatus) GetServerDate() *google_protobuf.Timestamp {
if m != nil {
return m.ServerDate
}
return nil
}
type GithubIssueCommentMutation struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
User *GithubUser `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
Body string `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"`
Created *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=created" json:"created,omitempty"`
Updated *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=updated" json:"updated,omitempty"`
}
func (m *GithubIssueCommentMutation) Reset() { *m = GithubIssueCommentMutation{} }
func (m *GithubIssueCommentMutation) String() string { return proto.CompactTextString(m) }
func (*GithubIssueCommentMutation) ProtoMessage() {}
func (*GithubIssueCommentMutation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
func (m *GithubIssueCommentMutation) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *GithubIssueCommentMutation) GetUser() *GithubUser {
if m != nil {
return m.User
}
return nil
}
func (m *GithubIssueCommentMutation) GetBody() string {
if m != nil {
return m.Body
}
return ""
}
func (m *GithubIssueCommentMutation) GetCreated() *google_protobuf.Timestamp {
if m != nil {
return m.Created
}
return nil
}
func (m *GithubIssueCommentMutation) GetUpdated() *google_protobuf.Timestamp {
if m != nil {
return m.Updated
}
return nil
}
type GithubUser struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Login string `protobuf:"bytes,2,opt,name=login" json:"login,omitempty"`
}
func (m *GithubUser) Reset() { *m = GithubUser{} }
func (m *GithubUser) String() string { return proto.CompactTextString(m) }
func (*GithubUser) ProtoMessage() {}
func (*GithubUser) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *GithubUser) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *GithubUser) GetLogin() string {
if m != nil {
return m.Login
}
return ""
}
type GitMutation struct {
Repo *GitRepo `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"`
// commit adds a commit, or adds new information to a commit if fields
// are added in the future.
Commit *GitCommit `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"`
}
func (m *GitMutation) Reset() { *m = GitMutation{} }
func (m *GitMutation) String() string { return proto.CompactTextString(m) }
func (*GitMutation) ProtoMessage() {}
func (*GitMutation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
func (m *GitMutation) GetRepo() *GitRepo {
if m != nil {
return m.Repo
}
return nil
}
func (m *GitMutation) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
// GitRepo identifies a git repo being mutated.
type GitRepo struct {
// If go_repo is set, it identifies a go.googlesource.com/<go_repo> repo.
GoRepo string `protobuf:"bytes,1,opt,name=go_repo,json=goRepo" json:"go_repo,omitempty"`
}
func (m *GitRepo) Reset() { *m = GitRepo{} }
func (m *GitRepo) String() string { return proto.CompactTextString(m) }
func (*GitRepo) ProtoMessage() {}
func (*GitRepo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
func (m *GitRepo) GetGoRepo() string {
if m != nil {
return m.GoRepo
}
return ""
}
type GitCommit struct {
Sha1 string `protobuf:"bytes,1,opt,name=sha1" json:"sha1,omitempty"`
// raw is the "git cat-file commit $sha1" output.
Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"`
DiffTree *GitDiffTree `protobuf:"bytes,3,opt,name=diff_tree,json=diffTree" json:"diff_tree,omitempty"`
}
func (m *GitCommit) Reset() { *m = GitCommit{} }
func (m *GitCommit) String() string { return proto.CompactTextString(m) }
func (*GitCommit) ProtoMessage() {}
func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
func (m *GitCommit) GetSha1() string {
if m != nil {
return m.Sha1
}
return ""
}
func (m *GitCommit) GetRaw() []byte {
if m != nil {
return m.Raw
}
return nil
}
func (m *GitCommit) GetDiffTree() *GitDiffTree {
if m != nil {
return m.DiffTree
}
return nil
}
// git diff-tree --numstat oldtree newtree
type GitDiffTree struct {
File []*GitDiffTreeFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
}
func (m *GitDiffTree) Reset() { *m = GitDiffTree{} }
func (m *GitDiffTree) String() string { return proto.CompactTextString(m) }
func (*GitDiffTree) ProtoMessage() {}
func (*GitDiffTree) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
func (m *GitDiffTree) GetFile() []*GitDiffTreeFile {
if m != nil {
return m.File
}
return nil
}
// GitDiffTreeFile represents one line of `git diff-tree --numstat` output.
type GitDiffTreeFile struct {
File string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
Added int64 `protobuf:"varint,2,opt,name=added" json:"added,omitempty"`
Deleted int64 `protobuf:"varint,3,opt,name=deleted" json:"deleted,omitempty"`
Binary bool `protobuf:"varint,4,opt,name=binary" json:"binary,omitempty"`
}
func (m *GitDiffTreeFile) Reset() { *m = GitDiffTreeFile{} }
func (m *GitDiffTreeFile) String() string { return proto.CompactTextString(m) }
func (*GitDiffTreeFile) ProtoMessage() {}
func (*GitDiffTreeFile) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
func (m *GitDiffTreeFile) GetFile() string {
if m != nil {
return m.File
}
return ""
}
func (m *GitDiffTreeFile) GetAdded() int64 {
if m != nil {
return m.Added
}
return 0
}
func (m *GitDiffTreeFile) GetDeleted() int64 {
if m != nil {
return m.Deleted
}
return 0
}
func (m *GitDiffTreeFile) GetBinary() bool {
if m != nil {
return m.Binary
}
return false
}
type GerritMutation struct {
// Project is the Gerrit server and project, without scheme (https implied) or
// trailing slash.
Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
// Commits to add.
Commits []*GitCommit `protobuf:"bytes,2,rep,name=commits" json:"commits,omitempty"`
// git refs to update.
Refs []*GitRef `protobuf:"bytes,3,rep,name=refs" json:"refs,omitempty"`
}
func (m *GerritMutation) Reset() { *m = GerritMutation{} }
func (m *GerritMutation) String() string { return proto.CompactTextString(m) }
func (*GerritMutation) ProtoMessage() {}
func (*GerritMutation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
func (m *GerritMutation) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *GerritMutation) GetCommits() []*GitCommit {
if m != nil {
return m.Commits
}
return nil
}
func (m *GerritMutation) GetRefs() []*GitRef {
if m != nil {
return m.Refs
}
return nil
}
type GitRef struct {
// ref is the git ref name, such as:
// HEAD
// refs/heads/master
// refs/changes/00/14700/1
// refs/changes/00/14700/meta
// refs/meta/config
Ref string `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
// sha1 is the lowercase hex sha1
Sha1 string `protobuf:"bytes,2,opt,name=sha1" json:"sha1,omitempty"`
}
func (m *GitRef) Reset() { *m = GitRef{} }
func (m *GitRef) String() string { return proto.CompactTextString(m) }
func (*GitRef) ProtoMessage() {}
func (*GitRef) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
func (m *GitRef) GetRef() string {
if m != nil {
return m.Ref
}
return ""
}
func (m *GitRef) GetSha1() string {
if m != nil {
return m.Sha1
}
return ""
}
func init() {
proto.RegisterType((*Mutation)(nil), "maintpb.Mutation")
proto.RegisterType((*GithubMutation)(nil), "maintpb.GithubMutation")
proto.RegisterType((*GithubIssueMutation)(nil), "maintpb.GithubIssueMutation")
proto.RegisterType((*BoolChange)(nil), "maintpb.BoolChange")
proto.RegisterType((*GithubLabel)(nil), "maintpb.GithubLabel")
proto.RegisterType((*GithubMilestone)(nil), "maintpb.GithubMilestone")
proto.RegisterType((*GithubIssueEvent)(nil), "maintpb.GithubIssueEvent")
proto.RegisterType((*GithubCommit)(nil), "maintpb.GithubCommit")
proto.RegisterType((*GithubIssueSyncStatus)(nil), "maintpb.GithubIssueSyncStatus")
proto.RegisterType((*GithubIssueCommentMutation)(nil), "maintpb.GithubIssueCommentMutation")
proto.RegisterType((*GithubUser)(nil), "maintpb.GithubUser")
proto.RegisterType((*GitMutation)(nil), "maintpb.GitMutation")
proto.RegisterType((*GitRepo)(nil), "maintpb.GitRepo")
proto.RegisterType((*GitCommit)(nil), "maintpb.GitCommit")
proto.RegisterType((*GitDiffTree)(nil), "maintpb.GitDiffTree")
proto.RegisterType((*GitDiffTreeFile)(nil), "maintpb.GitDiffTreeFile")
proto.RegisterType((*GerritMutation)(nil), "maintpb.GerritMutation")
proto.RegisterType((*GitRef)(nil), "maintpb.GitRef")
}
func init() { proto.RegisterFile("maintner.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1232 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0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