maintpb

package
v0.0.0-...-80a9e2a Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: BSD-3-Clause Imports: 4 Imported by: 8

README

Go Reference

golang.org/x/build/maintner/maintpb

Package maintpb is a generated protocol buffer package.

Documentation

Overview

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
StringChange
GithubLabel
GithubMilestone
GithubIssueEvent
GithubDismissedReviewEvent
GithubCommit
GithubReview
GithubIssueSyncStatus
GithubIssueCommentMutation
GithubUser
GithubTeam
GitMutation
GitRepo
GitCommit
GitDiffTree
GitDiffTreeFile
GerritMutation
GitRef

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolChange

type BoolChange struct {
	Val bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"`
}

BoolChange represents a change to a boolean value. (Notably, the wrapper type permits representing a change to false.)

func (*BoolChange) Descriptor

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

func (*BoolChange) GetVal

func (m *BoolChange) GetVal() bool

func (*BoolChange) ProtoMessage

func (*BoolChange) ProtoMessage()

func (*BoolChange) Reset

func (m *BoolChange) Reset()

func (*BoolChange) String

func (m *BoolChange) String() string

type GerritMutation

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"`
	// deleted_refs are ref names to delete.
	DeletedRefs []string `protobuf:"bytes,4,rep,name=deleted_refs,json=deletedRefs" json:"deleted_refs,omitempty"`
}

func (*GerritMutation) Descriptor

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

func (*GerritMutation) GetCommits

func (m *GerritMutation) GetCommits() []*GitCommit

func (*GerritMutation) GetDeletedRefs

func (m *GerritMutation) GetDeletedRefs() []string

func (*GerritMutation) GetProject

func (m *GerritMutation) GetProject() string

func (*GerritMutation) GetRefs

func (m *GerritMutation) GetRefs() []*GitRef

func (*GerritMutation) ProtoMessage

func (*GerritMutation) ProtoMessage()

func (*GerritMutation) Reset

func (m *GerritMutation) Reset()

func (*GerritMutation) String

func (m *GerritMutation) String() string

type GitCommit

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

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

func (*GitCommit) GetDiffTree

func (m *GitCommit) GetDiffTree() *GitDiffTree

func (*GitCommit) GetRaw

func (m *GitCommit) GetRaw() []byte

func (*GitCommit) GetSha1

func (m *GitCommit) GetSha1() string

func (*GitCommit) ProtoMessage

func (*GitCommit) ProtoMessage()

func (*GitCommit) Reset

func (m *GitCommit) Reset()

func (*GitCommit) String

func (m *GitCommit) String() string

type GitDiffTree

type GitDiffTree struct {
	File []*GitDiffTreeFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
}

git diff-tree --numstat oldtree newtree

func (*GitDiffTree) Descriptor

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

func (*GitDiffTree) GetFile

func (m *GitDiffTree) GetFile() []*GitDiffTreeFile

func (*GitDiffTree) ProtoMessage

func (*GitDiffTree) ProtoMessage()

func (*GitDiffTree) Reset

func (m *GitDiffTree) Reset()

func (*GitDiffTree) String

func (m *GitDiffTree) String() string

type GitDiffTreeFile

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"`
}

GitDiffTreeFile represents one line of `git diff-tree --numstat` output.

func (*GitDiffTreeFile) Descriptor

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

func (*GitDiffTreeFile) GetAdded

func (m *GitDiffTreeFile) GetAdded() int64

func (*GitDiffTreeFile) GetBinary

func (m *GitDiffTreeFile) GetBinary() bool

func (*GitDiffTreeFile) GetDeleted

func (m *GitDiffTreeFile) GetDeleted() int64

func (*GitDiffTreeFile) GetFile

func (m *GitDiffTreeFile) GetFile() string

func (*GitDiffTreeFile) ProtoMessage

func (*GitDiffTreeFile) ProtoMessage()

func (*GitDiffTreeFile) Reset

func (m *GitDiffTreeFile) Reset()

func (*GitDiffTreeFile) String

func (m *GitDiffTreeFile) String() string

type GitMutation

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

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

func (*GitMutation) GetCommit

func (m *GitMutation) GetCommit() *GitCommit

func (*GitMutation) GetRepo

func (m *GitMutation) GetRepo() *GitRepo

func (*GitMutation) ProtoMessage

func (*GitMutation) ProtoMessage()

func (*GitMutation) Reset

func (m *GitMutation) Reset()

func (*GitMutation) String

func (m *GitMutation) String() string

type GitRef

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

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

func (*GitRef) GetRef

func (m *GitRef) GetRef() string

func (*GitRef) GetSha1

func (m *GitRef) GetSha1() string

func (*GitRef) ProtoMessage

func (*GitRef) ProtoMessage()

func (*GitRef) Reset

func (m *GitRef) Reset()

func (*GitRef) String

func (m *GitRef) String() string

type GitRepo

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"`
}

GitRepo identifies a git repo being mutated.

func (*GitRepo) Descriptor

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

func (*GitRepo) GetGoRepo

func (m *GitRepo) GetGoRepo() string

func (*GitRepo) ProtoMessage

func (*GitRepo) ProtoMessage()

func (*GitRepo) Reset

func (m *GitRepo) Reset()

func (*GitRepo) String

func (m *GitRepo) String() string

type GithubCommit

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

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

func (*GithubCommit) GetCommitId

func (m *GithubCommit) GetCommitId() string

func (*GithubCommit) GetOwner

func (m *GithubCommit) GetOwner() string

func (*GithubCommit) GetRepo

func (m *GithubCommit) GetRepo() string

func (*GithubCommit) ProtoMessage

func (*GithubCommit) ProtoMessage()

func (*GithubCommit) Reset

func (m *GithubCommit) Reset()

func (*GithubCommit) String

func (m *GithubCommit) String() string

type GithubDismissedReviewEvent

type GithubDismissedReviewEvent struct {
	ReviewId         int64  `protobuf:"varint,1,opt,name=review_id,json=reviewId" json:"review_id,omitempty"`
	DismissalMessage string `protobuf:"bytes,3,opt,name=dismissal_message,json=dismissalMessage" json:"dismissal_message,omitempty"`
	State            string `protobuf:"bytes,4,opt,name=state" json:"state,omitempty"`
}

Contents of a dismissed review event - when someone leaves a review requesting changes and someone else dismisses it. See https://developer.github.com/v3/issues/events for more information.

func (*GithubDismissedReviewEvent) Descriptor

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

func (*GithubDismissedReviewEvent) GetDismissalMessage

func (m *GithubDismissedReviewEvent) GetDismissalMessage() string

func (*GithubDismissedReviewEvent) GetReviewId

func (m *GithubDismissedReviewEvent) GetReviewId() int64

func (*GithubDismissedReviewEvent) GetState

func (m *GithubDismissedReviewEvent) GetState() string

func (*GithubDismissedReviewEvent) ProtoMessage

func (*GithubDismissedReviewEvent) ProtoMessage()

func (*GithubDismissedReviewEvent) Reset

func (m *GithubDismissedReviewEvent) Reset()

func (*GithubDismissedReviewEvent) String

func (m *GithubDismissedReviewEvent) String() string

type GithubIssueCommentMutation

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

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

func (*GithubIssueCommentMutation) GetBody

func (m *GithubIssueCommentMutation) GetBody() string

func (*GithubIssueCommentMutation) GetCreated

func (*GithubIssueCommentMutation) GetId

func (m *GithubIssueCommentMutation) GetId() int64

func (*GithubIssueCommentMutation) GetUpdated

func (*GithubIssueCommentMutation) GetUser

func (m *GithubIssueCommentMutation) GetUser() *GithubUser

func (*GithubIssueCommentMutation) ProtoMessage

func (*GithubIssueCommentMutation) ProtoMessage()

func (*GithubIssueCommentMutation) Reset

func (m *GithubIssueCommentMutation) Reset()

func (*GithubIssueCommentMutation) String

func (m *GithubIssueCommentMutation) String() string

type GithubIssueEvent

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"`
	ReviewerId        int64       `protobuf:"varint,13,opt,name=reviewer_id,json=reviewerId" json:"reviewer_id,omitempty"`
	ReviewRequesterId int64       `protobuf:"varint,14,opt,name=review_requester_id,json=reviewRequesterId" json:"review_requester_id,omitempty"`
	TeamReviewer      *GithubTeam `protobuf:"bytes,16,opt,name=team_reviewer,json=teamReviewer" json:"team_reviewer,omitempty"`
	// Contents of a dismissed review event, see dismissed_review in
	// https://developer.github.com/v3/issues/events/ for more info
	DismissedReview *GithubDismissedReviewEvent `protobuf:"bytes,15,opt,name=dismissed_review,json=dismissedReview" json:"dismissed_review,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"`
}

See https://developer.github.com/v3/activity/events/types/#issuesevent for some info.

func (*GithubIssueEvent) Descriptor

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

func (*GithubIssueEvent) GetActorId

func (m *GithubIssueEvent) GetActorId() int64

func (*GithubIssueEvent) GetAssigneeId

func (m *GithubIssueEvent) GetAssigneeId() int64

func (*GithubIssueEvent) GetAssignerId

func (m *GithubIssueEvent) GetAssignerId() int64

func (*GithubIssueEvent) GetCommit

func (m *GithubIssueEvent) GetCommit() *GithubCommit

func (*GithubIssueEvent) GetCreated

func (m *GithubIssueEvent) GetCreated() *google_protobuf.Timestamp

func (*GithubIssueEvent) GetDismissedReview

func (m *GithubIssueEvent) GetDismissedReview() *GithubDismissedReviewEvent

func (*GithubIssueEvent) GetEventType

func (m *GithubIssueEvent) GetEventType() string

func (*GithubIssueEvent) GetId

func (m *GithubIssueEvent) GetId() int64

func (*GithubIssueEvent) GetLabel

func (m *GithubIssueEvent) GetLabel() *GithubLabel

func (*GithubIssueEvent) GetMilestone

func (m *GithubIssueEvent) GetMilestone() *GithubMilestone

func (*GithubIssueEvent) GetOtherJson

func (m *GithubIssueEvent) GetOtherJson() []byte

func (*GithubIssueEvent) GetRenameFrom

func (m *GithubIssueEvent) GetRenameFrom() string

func (*GithubIssueEvent) GetRenameTo

func (m *GithubIssueEvent) GetRenameTo() string

func (*GithubIssueEvent) GetReviewRequesterId

func (m *GithubIssueEvent) GetReviewRequesterId() int64

func (*GithubIssueEvent) GetReviewerId

func (m *GithubIssueEvent) GetReviewerId() int64

func (*GithubIssueEvent) GetTeamReviewer

func (m *GithubIssueEvent) GetTeamReviewer() *GithubTeam

func (*GithubIssueEvent) ProtoMessage

func (*GithubIssueEvent) ProtoMessage()

func (*GithubIssueEvent) Reset

func (m *GithubIssueEvent) Reset()

func (*GithubIssueEvent) String

func (m *GithubIssueEvent) String() string

type GithubIssueMutation

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"`
	Title            string                     `protobuf:"bytes,9,opt,name=title" json:"title,omitempty"`
	// body_change changes the body field (the top post, which isn't a comment).
	// It is now used in preference to the old body field.
	BodyChange *StringChange `protobuf:"bytes,31,opt,name=body_change,json=bodyChange" json:"body_change,omitempty"`
	// body was the old way to change the body, but it doesn't support removing the
	// body text, which is common on PRs. New mutations use body_change instead.
	Body        string `protobuf:"bytes,7,opt,name=body" json:"body,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"`
	PullRequest    bool                          `protobuf:"varint,28,opt,name=pull_request,json=pullRequest" json:"pull_request,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"`
	Review         []*GithubReview               `protobuf:"bytes,29,rep,name=review" json:"review,omitempty"`
	ReviewStatus   *GithubIssueSyncStatus        `protobuf:"bytes,30,opt,name=review_status,json=reviewStatus" json:"review_status,omitempty"`
}

func (*GithubIssueMutation) Descriptor

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

func (*GithubIssueMutation) GetAddLabel

func (m *GithubIssueMutation) GetAddLabel() []*GithubLabel

func (*GithubIssueMutation) GetAssignees

func (m *GithubIssueMutation) GetAssignees() []*GithubUser

func (*GithubIssueMutation) GetBody

func (m *GithubIssueMutation) GetBody() string

func (*GithubIssueMutation) GetBodyChange

func (m *GithubIssueMutation) GetBodyChange() *StringChange

func (*GithubIssueMutation) GetClosed

func (m *GithubIssueMutation) GetClosed() *BoolChange

func (*GithubIssueMutation) GetClosedAt

func (m *GithubIssueMutation) GetClosedAt() *google_protobuf.Timestamp

func (*GithubIssueMutation) GetClosedBy

func (m *GithubIssueMutation) GetClosedBy() *GithubUser

func (*GithubIssueMutation) GetComment

func (*GithubIssueMutation) GetCommentStatus

func (m *GithubIssueMutation) GetCommentStatus() *GithubIssueSyncStatus

func (*GithubIssueMutation) GetCreated

func (*GithubIssueMutation) GetDeletedAssignees

func (m *GithubIssueMutation) GetDeletedAssignees() []int64

func (*GithubIssueMutation) GetEvent

func (m *GithubIssueMutation) GetEvent() []*GithubIssueEvent

func (*GithubIssueMutation) GetEventStatus

func (m *GithubIssueMutation) GetEventStatus() *GithubIssueSyncStatus

func (*GithubIssueMutation) GetId

func (m *GithubIssueMutation) GetId() int64

func (*GithubIssueMutation) GetLocked

func (m *GithubIssueMutation) GetLocked() *BoolChange

func (*GithubIssueMutation) GetMilestoneId

func (m *GithubIssueMutation) GetMilestoneId() int64

func (*GithubIssueMutation) GetMilestoneNum

func (m *GithubIssueMutation) GetMilestoneNum() int64

func (*GithubIssueMutation) GetMilestoneTitle

func (m *GithubIssueMutation) GetMilestoneTitle() string

func (*GithubIssueMutation) GetNoMilestone

func (m *GithubIssueMutation) GetNoMilestone() bool

func (*GithubIssueMutation) GetNotExist

func (m *GithubIssueMutation) GetNotExist() bool

func (*GithubIssueMutation) GetNumber

func (m *GithubIssueMutation) GetNumber() int32

func (*GithubIssueMutation) GetOwner

func (m *GithubIssueMutation) GetOwner() string

func (*GithubIssueMutation) GetPullRequest

func (m *GithubIssueMutation) GetPullRequest() bool

func (*GithubIssueMutation) GetRemoveLabel

func (m *GithubIssueMutation) GetRemoveLabel() []int64

func (*GithubIssueMutation) GetRepo

func (m *GithubIssueMutation) GetRepo() string

func (*GithubIssueMutation) GetReview

func (m *GithubIssueMutation) GetReview() []*GithubReview

func (*GithubIssueMutation) GetReviewStatus

func (m *GithubIssueMutation) GetReviewStatus() *GithubIssueSyncStatus

func (*GithubIssueMutation) GetTitle

func (m *GithubIssueMutation) GetTitle() string

func (*GithubIssueMutation) GetUpdated

func (*GithubIssueMutation) GetUser

func (m *GithubIssueMutation) GetUser() *GithubUser

func (*GithubIssueMutation) ProtoMessage

func (*GithubIssueMutation) ProtoMessage()

func (*GithubIssueMutation) Reset

func (m *GithubIssueMutation) Reset()

func (*GithubIssueMutation) String

func (m *GithubIssueMutation) String() string

type GithubIssueSyncStatus

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"`
}

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.

func (*GithubIssueSyncStatus) Descriptor

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

func (*GithubIssueSyncStatus) GetServerDate

func (m *GithubIssueSyncStatus) GetServerDate() *google_protobuf.Timestamp

func (*GithubIssueSyncStatus) ProtoMessage

func (*GithubIssueSyncStatus) ProtoMessage()

func (*GithubIssueSyncStatus) Reset

func (m *GithubIssueSyncStatus) Reset()

func (*GithubIssueSyncStatus) String

func (m *GithubIssueSyncStatus) String() string

type GithubLabel

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

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

func (*GithubLabel) GetId

func (m *GithubLabel) GetId() int64

func (*GithubLabel) GetName

func (m *GithubLabel) GetName() string

func (*GithubLabel) ProtoMessage

func (*GithubLabel) ProtoMessage()

func (*GithubLabel) Reset

func (m *GithubLabel) Reset()

func (*GithubLabel) String

func (m *GithubLabel) String() string

type GithubMilestone

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

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

func (*GithubMilestone) GetClosed

func (m *GithubMilestone) GetClosed() *BoolChange

func (*GithubMilestone) GetId

func (m *GithubMilestone) GetId() int64

func (*GithubMilestone) GetNumber

func (m *GithubMilestone) GetNumber() int64

func (*GithubMilestone) GetTitle

func (m *GithubMilestone) GetTitle() string

func (*GithubMilestone) ProtoMessage

func (*GithubMilestone) ProtoMessage()

func (*GithubMilestone) Reset

func (m *GithubMilestone) Reset()

func (*GithubMilestone) String

func (m *GithubMilestone) String() string

type GithubMutation

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

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

func (*GithubMutation) GetLabels

func (m *GithubMutation) GetLabels() []*GithubLabel

func (*GithubMutation) GetMilestones

func (m *GithubMutation) GetMilestones() []*GithubMilestone

func (*GithubMutation) GetOwner

func (m *GithubMutation) GetOwner() string

func (*GithubMutation) GetRepo

func (m *GithubMutation) GetRepo() string

func (*GithubMutation) ProtoMessage

func (*GithubMutation) ProtoMessage()

func (*GithubMutation) Reset

func (m *GithubMutation) Reset()

func (*GithubMutation) String

func (m *GithubMutation) String() string

type GithubReview

type GithubReview struct {
	// Required:
	Id               int64                      `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ActorId          int64                      `protobuf:"varint,2,opt,name=actor_id,json=actorId" json:"actor_id,omitempty"`
	Created          *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=created" json:"created,omitempty"`
	Body             string                     `protobuf:"bytes,4,opt,name=body" json:"body,omitempty"`
	State            string                     `protobuf:"bytes,5,opt,name=state" json:"state,omitempty"`
	CommitId         string                     `protobuf:"bytes,6,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
	ActorAssociation string                     `protobuf:"bytes,7,opt,name=actor_association,json=actorAssociation" json:"actor_association,omitempty"`
	// other_json is usually empty.
	OtherJson []byte `protobuf:"bytes,8,opt,name=other_json,json=otherJson,proto3" json:"other_json,omitempty"`
}

Contents of a pull request review - when someone comments, requests changes, or approves changes on a pull request. See https://developer.github.com/v3/pulls/reviews/ for more information.

func (*GithubReview) Descriptor

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

func (*GithubReview) GetActorAssociation

func (m *GithubReview) GetActorAssociation() string

func (*GithubReview) GetActorId

func (m *GithubReview) GetActorId() int64

func (*GithubReview) GetBody

func (m *GithubReview) GetBody() string

func (*GithubReview) GetCommitId

func (m *GithubReview) GetCommitId() string

func (*GithubReview) GetCreated

func (m *GithubReview) GetCreated() *google_protobuf.Timestamp

func (*GithubReview) GetId

func (m *GithubReview) GetId() int64

func (*GithubReview) GetOtherJson

func (m *GithubReview) GetOtherJson() []byte

func (*GithubReview) GetState

func (m *GithubReview) GetState() string

func (*GithubReview) ProtoMessage

func (*GithubReview) ProtoMessage()

func (*GithubReview) Reset

func (m *GithubReview) Reset()

func (*GithubReview) String

func (m *GithubReview) String() string

type GithubTeam

type GithubTeam struct {
	Id   int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Slug string `protobuf:"bytes,2,opt,name=slug" json:"slug,omitempty"`
}

func (*GithubTeam) Descriptor

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

func (*GithubTeam) GetId

func (m *GithubTeam) GetId() int64

func (*GithubTeam) GetSlug

func (m *GithubTeam) GetSlug() string

func (*GithubTeam) ProtoMessage

func (*GithubTeam) ProtoMessage()

func (*GithubTeam) Reset

func (m *GithubTeam) Reset()

func (*GithubTeam) String

func (m *GithubTeam) String() string

type GithubUser

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

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

func (*GithubUser) GetId

func (m *GithubUser) GetId() int64

func (*GithubUser) GetLogin

func (m *GithubUser) GetLogin() string

func (*GithubUser) ProtoMessage

func (*GithubUser) ProtoMessage()

func (*GithubUser) Reset

func (m *GithubUser) Reset()

func (*GithubUser) String

func (m *GithubUser) String() string

type Mutation

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

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

func (*Mutation) GetGerrit

func (m *Mutation) GetGerrit() *GerritMutation

func (*Mutation) GetGit

func (m *Mutation) GetGit() *GitMutation

func (*Mutation) GetGithub

func (m *Mutation) GetGithub() *GithubMutation

func (*Mutation) GetGithubIssue

func (m *Mutation) GetGithubIssue() *GithubIssueMutation

func (*Mutation) ProtoMessage

func (*Mutation) ProtoMessage()

func (*Mutation) Reset

func (m *Mutation) Reset()

func (*Mutation) String

func (m *Mutation) String() string

type StringChange

type StringChange struct {
	Val string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"`
}

StringChange represents a change to a boolean value. (Notably, the wrapper type permits representing a change to the empty string.)

func (*StringChange) Descriptor

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

func (*StringChange) GetVal

func (m *StringChange) GetVal() string

func (*StringChange) ProtoMessage

func (*StringChange) ProtoMessage()

func (*StringChange) Reset

func (m *StringChange) Reset()

func (*StringChange) String

func (m *StringChange) String() string

Jump to

Keyboard shortcuts

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