blob: e093e13590cb956e11fd78a7478d1985f3f494d6 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/common/proto/gerrit/gerrit.proto
package gerrit
import prpc "go.chromium.org/luci/grpc/prpc"
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Specifies what extra information to include in the response.
//
// Source of truth:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#query-options
type QueryOption int32
const (
QueryOption_OPTION_UNSPECIFIED QueryOption = 0
// A summary of each label required for submit, and approvers that have
// granted (or rejected) with that label.
QueryOption_LABELS QueryOption = 1
// Detailed label information, including numeric values of all existing
// approvals, recognized label values, values permitted to be set by the
// current user, all reviewers by state, and reviewers that may be removed by
// the current user.
QueryOption_DETAILED_LABELS QueryOption = 2
// Describe the current revision (patch set) of the change, including the
// commit SHA-1 and URLs to fetch from.
QueryOption_CURRENT_REVISION QueryOption = 4
// Describe all revisions, not just current.
QueryOption_ALL_REVISIONS QueryOption = 8
// Parse and output all header fields from the commit object, including
// message. Only valid when the CURRENT_REVISION or ALL_REVISIONS option is
// selected.
QueryOption_CURRENT_COMMIT QueryOption = 16
// Parse and output all header fields from the output revisions. If only
// CURRENT_REVISION was requested then only the current revision’s commit data
// will be output.
QueryOption_ALL_COMMITS QueryOption = 32
// List files modified by the commit and magic files, including basic line
// counts inserted/deleted per file. Only valid when the CURRENT_REVISION or
// ALL_REVISIONS option is selected.
QueryOption_CURRENT_FILES QueryOption = 64
// List files modified by the commit and magic files, including basic line
// counts inserted/deleted per file. If only the CURRENT_REVISION was
// requested then only that commit’s modified files will be output.
QueryOption_ALL_FILES QueryOption = 128
// Include _account_id, email and username fields when referencing accounts.
QueryOption_DETAILED_ACCOUNTS QueryOption = 256
// Include updates to reviewers set as ReviewerUpdateInfo entities.
QueryOption_REVIEWER_UPDATES QueryOption = 512
// Include messages associated with the change.
QueryOption_MESSAGES QueryOption = 1024
// Include information on available actions for the change and its current
// revision. Ignored if the caller is not authenticated.
QueryOption_CURRENT_ACTIONS QueryOption = 2048
// Include information on available change actions for the change. Ignored if
// the caller is not authenticated.
QueryOption_CHANGE_ACTIONS QueryOption = 4096
// Include the reviewed field if all of the following are true:
// - the change is open
// - the caller is authenticated
// - the caller has commented on the change more recently than the last update
// from the change owner, i.e. this change would show up in the results of
// reviewedby:self.
QueryOption_REVIEWED QueryOption = 8192
// Skip the mergeable field in ChangeInfo. For fast moving projects, this
// field must be recomputed often, which is slow for projects with big trees.
QueryOption_SKIP_MERGEABLE QueryOption = 16384
// Include the submittable field in ChangeInfo, which can be used to tell if
// the change is reviewed and ready for submit.
QueryOption_SUBMITTABLE QueryOption = 32768
// Include the web_links field in CommitInfo, therefore only valid in
// combination with CURRENT_COMMIT or ALL_COMMITS.
QueryOption_WEB_LINKS QueryOption = 65536
// Include potential problems with the change.
QueryOption_CHECK QueryOption = 131072
// Include the full commit message with Gerrit-specific commit footers in the
// RevisionInfo.
QueryOption_COMMIT_FOOTERS QueryOption = 262144
// Include push certificate information in the RevisionInfo. Ignored if signed
// push is not enabled on the server.
QueryOption_PUSH_CERTIFICATES QueryOption = 524288
// Include references to external tracking systems as TrackingIdInfo.
QueryOption_TRACKING_IDS QueryOption = 1048576
// Include the commands field in the FetchInfo for revisions. Only valid when
// the CURRENT_REVISION or ALL_REVISIONS option is selected.
QueryOption_DOWNLOAD_COMMANDS QueryOption = 2097152
)
var QueryOption_name = map[int32]string{
0: "OPTION_UNSPECIFIED",
1: "LABELS",
2: "DETAILED_LABELS",
4: "CURRENT_REVISION",
8: "ALL_REVISIONS",
16: "CURRENT_COMMIT",
32: "ALL_COMMITS",
64: "CURRENT_FILES",
128: "ALL_FILES",
256: "DETAILED_ACCOUNTS",
512: "REVIEWER_UPDATES",
1024: "MESSAGES",
2048: "CURRENT_ACTIONS",
4096: "CHANGE_ACTIONS",
8192: "REVIEWED",
16384: "SKIP_MERGEABLE",
32768: "SUBMITTABLE",
65536: "WEB_LINKS",
131072: "CHECK",
262144: "COMMIT_FOOTERS",
524288: "PUSH_CERTIFICATES",
1048576: "TRACKING_IDS",
2097152: "DOWNLOAD_COMMANDS",
}
var QueryOption_value = map[string]int32{
"OPTION_UNSPECIFIED": 0,
"LABELS": 1,
"DETAILED_LABELS": 2,
"CURRENT_REVISION": 4,
"ALL_REVISIONS": 8,
"CURRENT_COMMIT": 16,
"ALL_COMMITS": 32,
"CURRENT_FILES": 64,
"ALL_FILES": 128,
"DETAILED_ACCOUNTS": 256,
"REVIEWER_UPDATES": 512,
"MESSAGES": 1024,
"CURRENT_ACTIONS": 2048,
"CHANGE_ACTIONS": 4096,
"REVIEWED": 8192,
"SKIP_MERGEABLE": 16384,
"SUBMITTABLE": 32768,
"WEB_LINKS": 65536,
"CHECK": 131072,
"COMMIT_FOOTERS": 262144,
"PUSH_CERTIFICATES": 524288,
"TRACKING_IDS": 1048576,
"DOWNLOAD_COMMANDS": 2097152,
}
func (x QueryOption) String() string {
return proto.EnumName(QueryOption_name, int32(x))
}
func (QueryOption) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{0}
}
type MergeableStrategy int32
const (
MergeableStrategy_MERGEABLE_STRATEGY_UNSPECIFIED MergeableStrategy = 0
MergeableStrategy_RECURSIVE MergeableStrategy = 1
MergeableStrategy_RESOLVE MergeableStrategy = 2
MergeableStrategy_SIMPLE_TWO_WAY_IN_CORE MergeableStrategy = 3
MergeableStrategy_OURS MergeableStrategy = 4
MergeableStrategy_THEIRS MergeableStrategy = 5
)
var MergeableStrategy_name = map[int32]string{
0: "MERGEABLE_STRATEGY_UNSPECIFIED",
1: "RECURSIVE",
2: "RESOLVE",
3: "SIMPLE_TWO_WAY_IN_CORE",
4: "OURS",
5: "THEIRS",
}
var MergeableStrategy_value = map[string]int32{
"MERGEABLE_STRATEGY_UNSPECIFIED": 0,
"RECURSIVE": 1,
"RESOLVE": 2,
"SIMPLE_TWO_WAY_IN_CORE": 3,
"OURS": 4,
"THEIRS": 5,
}
func (x MergeableStrategy) String() string {
return proto.EnumName(MergeableStrategy_name, int32(x))
}
func (MergeableStrategy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{1}
}
type ChangeInfo_Status int32
const (
ChangeInfo_STATUS_INVALID ChangeInfo_Status = 0
ChangeInfo_NEW ChangeInfo_Status = 1
ChangeInfo_MERGED ChangeInfo_Status = 2
ChangeInfo_ABANDONED ChangeInfo_Status = 3
)
var ChangeInfo_Status_name = map[int32]string{
0: "STATUS_INVALID",
1: "NEW",
2: "MERGED",
3: "ABANDONED",
}
var ChangeInfo_Status_value = map[string]int32{
"STATUS_INVALID": 0,
"NEW": 1,
"MERGED": 2,
"ABANDONED": 3,
}
func (x ChangeInfo_Status) String() string {
return proto.EnumName(ChangeInfo_Status_name, int32(x))
}
func (ChangeInfo_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{2, 0}
}
// The kind of change for this revision.
type RevisionInfo_Kind int32
const (
RevisionInfo_KIND_INVALID RevisionInfo_Kind = 0
RevisionInfo_REWORK RevisionInfo_Kind = 1
RevisionInfo_TRIVIAL_REBASE RevisionInfo_Kind = 2
RevisionInfo_MERGE_FIRST_PARENT_UPDATE RevisionInfo_Kind = 3
RevisionInfo_NO_CODE_CHANGE RevisionInfo_Kind = 4
RevisionInfo_NO_CHANGE RevisionInfo_Kind = 5
)
var RevisionInfo_Kind_name = map[int32]string{
0: "KIND_INVALID",
1: "REWORK",
2: "TRIVIAL_REBASE",
3: "MERGE_FIRST_PARENT_UPDATE",
4: "NO_CODE_CHANGE",
5: "NO_CHANGE",
}
var RevisionInfo_Kind_value = map[string]int32{
"KIND_INVALID": 0,
"REWORK": 1,
"TRIVIAL_REBASE": 2,
"MERGE_FIRST_PARENT_UPDATE": 3,
"NO_CODE_CHANGE": 4,
"NO_CHANGE": 5,
}
func (x RevisionInfo_Kind) String() string {
return proto.EnumName(RevisionInfo_Kind_name, int32(x))
}
func (RevisionInfo_Kind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{3, 0}
}
type FileInfo_Status int32
const (
FileInfo_M FileInfo_Status = 0
FileInfo_A FileInfo_Status = 1
FileInfo_D FileInfo_Status = 2
FileInfo_R FileInfo_Status = 3
FileInfo_C FileInfo_Status = 4
FileInfo_W FileInfo_Status = 5
)
var FileInfo_Status_name = map[int32]string{
0: "M",
1: "A",
2: "D",
3: "R",
4: "C",
5: "W",
}
var FileInfo_Status_value = map[string]int32{
"M": 0,
"A": 1,
"D": 2,
"R": 3,
"C": 4,
"W": 5,
}
func (x FileInfo_Status) String() string {
return proto.EnumName(FileInfo_Status_name, int32(x))
}
func (FileInfo_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{4, 0}
}
type MergeableInfo_SubmitType int32
const (
MergeableInfo_SUBMIT_TYPE_UNSPECIFIED MergeableInfo_SubmitType = 0
MergeableInfo_MERGE_IF_NECESSARY MergeableInfo_SubmitType = 1
MergeableInfo_FAST_FORWARD_ONLY MergeableInfo_SubmitType = 2
MergeableInfo_REBASE_IF_NECESSARY MergeableInfo_SubmitType = 3
MergeableInfo_REBASE_ALWAYS MergeableInfo_SubmitType = 4
MergeableInfo_MERGE_ALWAYS MergeableInfo_SubmitType = 5
MergeableInfo_CHERRY_PICK MergeableInfo_SubmitType = 6
)
var MergeableInfo_SubmitType_name = map[int32]string{
0: "SUBMIT_TYPE_UNSPECIFIED",
1: "MERGE_IF_NECESSARY",
2: "FAST_FORWARD_ONLY",
3: "REBASE_IF_NECESSARY",
4: "REBASE_ALWAYS",
5: "MERGE_ALWAYS",
6: "CHERRY_PICK",
}
var MergeableInfo_SubmitType_value = map[string]int32{
"SUBMIT_TYPE_UNSPECIFIED": 0,
"MERGE_IF_NECESSARY": 1,
"FAST_FORWARD_ONLY": 2,
"REBASE_IF_NECESSARY": 3,
"REBASE_ALWAYS": 4,
"MERGE_ALWAYS": 5,
"CHERRY_PICK": 6,
}
func (x MergeableInfo_SubmitType) String() string {
return proto.EnumName(MergeableInfo_SubmitType_name, int32(x))
}
func (MergeableInfo_SubmitType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{13, 0}
}
// Request to get information for a single change.
//
// Encodes path arguments and query options described at
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-change
type GetChangeRequest struct {
// Change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// What to include in the response.
Options []QueryOption `protobuf:"varint,2,rep,packed,name=options,proto3,enum=gerrit.QueryOption" json:"options,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetChangeRequest) Reset() { *m = GetChangeRequest{} }
func (m *GetChangeRequest) String() string { return proto.CompactTextString(m) }
func (*GetChangeRequest) ProtoMessage() {}
func (*GetChangeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{0}
}
func (m *GetChangeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetChangeRequest.Unmarshal(m, b)
}
func (m *GetChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetChangeRequest.Marshal(b, m, deterministic)
}
func (m *GetChangeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetChangeRequest.Merge(m, src)
}
func (m *GetChangeRequest) XXX_Size() int {
return xxx_messageInfo_GetChangeRequest.Size(m)
}
func (m *GetChangeRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetChangeRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetChangeRequest proto.InternalMessageInfo
func (m *GetChangeRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *GetChangeRequest) GetOptions() []QueryOption {
if m != nil {
return m.Options
}
return nil
}
// Information about an account.
// Source of truth: https://gerrit-review.googlesource.com/Documentation/rest-api-accounts.html#account-info
type AccountInfo struct {
// The full name of the user.
// Only set if detailed account information is requested.
// See option DETAILED_ACCOUNTS for change queries
// and option DETAILS for account queries.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The email address the user prefers to be contacted through.
// Only set if detailed account information is requested.
// See option DETAILED_ACCOUNTS for change queries
// and options DETAILS and ALL_EMAILS for account queries.
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
// A list of the secondary email addresses of the user.
// Only set for account queries when the ALL_EMAILS option or the suggest
// parameter is set. Secondary emails are only included if the calling user
// has the Modify Account, and hence is allowed to see secondary emails of
// other users.
SecondaryEmails []string `protobuf:"bytes,3,rep,name=secondary_emails,json=secondaryEmails,proto3" json:"secondary_emails,omitempty"`
// The username of the user.
// Only set if detailed account information is requested.
// See option DETAILED_ACCOUNTS for change queries
// and option DETAILS for account queries.
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AccountInfo) Reset() { *m = AccountInfo{} }
func (m *AccountInfo) String() string { return proto.CompactTextString(m) }
func (*AccountInfo) ProtoMessage() {}
func (*AccountInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{1}
}
func (m *AccountInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountInfo.Unmarshal(m, b)
}
func (m *AccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountInfo.Marshal(b, m, deterministic)
}
func (m *AccountInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountInfo.Merge(m, src)
}
func (m *AccountInfo) XXX_Size() int {
return xxx_messageInfo_AccountInfo.Size(m)
}
func (m *AccountInfo) XXX_DiscardUnknown() {
xxx_messageInfo_AccountInfo.DiscardUnknown(m)
}
var xxx_messageInfo_AccountInfo proto.InternalMessageInfo
func (m *AccountInfo) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AccountInfo) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *AccountInfo) GetSecondaryEmails() []string {
if m != nil {
return m.SecondaryEmails
}
return nil
}
func (m *AccountInfo) GetUsername() string {
if m != nil {
return m.Username
}
return ""
}
// Information about a change.
// Source of truth: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-info
type ChangeInfo struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The owner of the change.
Owner *AccountInfo `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// The project of this change. For example, "chromium/src".
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// Ref that this change targets, e.g.: refs/heads/master
//
// Note that the gerrit API may return short branch name (master instead of
// refs/heads/master) but we convert it to a ref for consistency across the
// API.
Ref string `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"`
Status ChangeInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=gerrit.ChangeInfo_Status" json:"status,omitempty"`
// Current revision of the change.
//
// See:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#revision-id
CurrentRevision string `protobuf:"bytes,6,opt,name=current_revision,json=currentRevision,proto3" json:"current_revision,omitempty"`
// A map of patch set commit IDs to RevisionInfos.
//
// Only set if revision information is requested.
Revisions map[string]*RevisionInfo `protobuf:"bytes,7,rep,name=revisions,proto3" json:"revisions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeInfo) Reset() { *m = ChangeInfo{} }
func (m *ChangeInfo) String() string { return proto.CompactTextString(m) }
func (*ChangeInfo) ProtoMessage() {}
func (*ChangeInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{2}
}
func (m *ChangeInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeInfo.Unmarshal(m, b)
}
func (m *ChangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeInfo.Marshal(b, m, deterministic)
}
func (m *ChangeInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeInfo.Merge(m, src)
}
func (m *ChangeInfo) XXX_Size() int {
return xxx_messageInfo_ChangeInfo.Size(m)
}
func (m *ChangeInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeInfo proto.InternalMessageInfo
func (m *ChangeInfo) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *ChangeInfo) GetOwner() *AccountInfo {
if m != nil {
return m.Owner
}
return nil
}
func (m *ChangeInfo) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *ChangeInfo) GetRef() string {
if m != nil {
return m.Ref
}
return ""
}
func (m *ChangeInfo) GetStatus() ChangeInfo_Status {
if m != nil {
return m.Status
}
return ChangeInfo_STATUS_INVALID
}
func (m *ChangeInfo) GetCurrentRevision() string {
if m != nil {
return m.CurrentRevision
}
return ""
}
func (m *ChangeInfo) GetRevisions() map[string]*RevisionInfo {
if m != nil {
return m.Revisions
}
return nil
}
// Information about a patch set.
// Source of truth: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#revision-info
type RevisionInfo struct {
// The kind of this patch set.
Kind RevisionInfo_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=gerrit.RevisionInfo_Kind" json:"kind,omitempty"`
// The patch set number.
Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
// The uploader of this patch set.
Uploader *AccountInfo `protobuf:"bytes,3,opt,name=uploader,proto3" json:"uploader,omitempty"`
// The Git reference for the patch set.
Ref string `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"`
// A map of file paths to FileInfos.
//
// Only set if file information is requested.
Files map[string]*FileInfo `protobuf:"bytes,6,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RevisionInfo) Reset() { *m = RevisionInfo{} }
func (m *RevisionInfo) String() string { return proto.CompactTextString(m) }
func (*RevisionInfo) ProtoMessage() {}
func (*RevisionInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{3}
}
func (m *RevisionInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RevisionInfo.Unmarshal(m, b)
}
func (m *RevisionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RevisionInfo.Marshal(b, m, deterministic)
}
func (m *RevisionInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_RevisionInfo.Merge(m, src)
}
func (m *RevisionInfo) XXX_Size() int {
return xxx_messageInfo_RevisionInfo.Size(m)
}
func (m *RevisionInfo) XXX_DiscardUnknown() {
xxx_messageInfo_RevisionInfo.DiscardUnknown(m)
}
var xxx_messageInfo_RevisionInfo proto.InternalMessageInfo
func (m *RevisionInfo) GetKind() RevisionInfo_Kind {
if m != nil {
return m.Kind
}
return RevisionInfo_KIND_INVALID
}
func (m *RevisionInfo) GetNumber() int32 {
if m != nil {
return m.Number
}
return 0
}
func (m *RevisionInfo) GetUploader() *AccountInfo {
if m != nil {
return m.Uploader
}
return nil
}
func (m *RevisionInfo) GetRef() string {
if m != nil {
return m.Ref
}
return ""
}
func (m *RevisionInfo) GetFiles() map[string]*FileInfo {
if m != nil {
return m.Files
}
return nil
}
// Information about a file in a patch set.
// Source of truth: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#file-info
type FileInfo struct {
// Status of the file.
Status FileInfo_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gerrit.FileInfo_Status" json:"status,omitempty"`
// Whether the file is binary.
Binary bool `protobuf:"varint,2,opt,name=binary,proto3" json:"binary,omitempty"`
// The old file path; only set if renamed or copied.
OldPath string `protobuf:"bytes,3,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
// Number of lines inserted.
LinesInserted int32 `protobuf:"varint,4,opt,name=lines_inserted,json=linesInserted,proto3" json:"lines_inserted,omitempty"`
// Number of lines deleted.
LinesDeleted int32 `protobuf:"varint,5,opt,name=lines_deleted,json=linesDeleted,proto3" json:"lines_deleted,omitempty"`
// Number of bytes by which the file size increased/decreased.
SizeDelta int64 `protobuf:"varint,6,opt,name=size_delta,json=sizeDelta,proto3" json:"size_delta,omitempty"`
// File size in bytes.
Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileInfo) Reset() { *m = FileInfo{} }
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
func (*FileInfo) ProtoMessage() {}
func (*FileInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{4}
}
func (m *FileInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileInfo.Unmarshal(m, b)
}
func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic)
}
func (m *FileInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileInfo.Merge(m, src)
}
func (m *FileInfo) XXX_Size() int {
return xxx_messageInfo_FileInfo.Size(m)
}
func (m *FileInfo) XXX_DiscardUnknown() {
xxx_messageInfo_FileInfo.DiscardUnknown(m)
}
var xxx_messageInfo_FileInfo proto.InternalMessageInfo
func (m *FileInfo) GetStatus() FileInfo_Status {
if m != nil {
return m.Status
}
return FileInfo_M
}
func (m *FileInfo) GetBinary() bool {
if m != nil {
return m.Binary
}
return false
}
func (m *FileInfo) GetOldPath() string {
if m != nil {
return m.OldPath
}
return ""
}
func (m *FileInfo) GetLinesInserted() int32 {
if m != nil {
return m.LinesInserted
}
return 0
}
func (m *FileInfo) GetLinesDeleted() int32 {
if m != nil {
return m.LinesDeleted
}
return 0
}
func (m *FileInfo) GetSizeDelta() int64 {
if m != nil {
return m.SizeDelta
}
return 0
}
func (m *FileInfo) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
// Information for creating a new change.
//
// Fields are a subset of:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-input
type CreateChangeRequest struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Ref to base the new change at. e.g. refs/heads/master
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
// 40-digit hex SHA-1 of the git commit which will be the parent commit of the
// newly created change. If set, it must be a merged commit on the destination
// branch.
BaseCommit string `protobuf:"bytes,4,opt,name=base_commit,json=baseCommit,proto3" json:"base_commit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateChangeRequest) Reset() { *m = CreateChangeRequest{} }
func (m *CreateChangeRequest) String() string { return proto.CompactTextString(m) }
func (*CreateChangeRequest) ProtoMessage() {}
func (*CreateChangeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{5}
}
func (m *CreateChangeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateChangeRequest.Unmarshal(m, b)
}
func (m *CreateChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateChangeRequest.Marshal(b, m, deterministic)
}
func (m *CreateChangeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateChangeRequest.Merge(m, src)
}
func (m *CreateChangeRequest) XXX_Size() int {
return xxx_messageInfo_CreateChangeRequest.Size(m)
}
func (m *CreateChangeRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateChangeRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateChangeRequest proto.InternalMessageInfo
func (m *CreateChangeRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *CreateChangeRequest) GetRef() string {
if m != nil {
return m.Ref
}
return ""
}
func (m *CreateChangeRequest) GetSubject() string {
if m != nil {
return m.Subject
}
return ""
}
func (m *CreateChangeRequest) GetBaseCommit() string {
if m != nil {
return m.BaseCommit
}
return ""
}
// Information to submit a change.
//
// This is a placeholder to support the arguments from:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#submit-change
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#submit-input
type SubmitChangeRequest struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The project of this change. For example, "chromium/src".
//
// Optional, but recommended for better routing and faster RPC execution.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SubmitChangeRequest) Reset() { *m = SubmitChangeRequest{} }
func (m *SubmitChangeRequest) String() string { return proto.CompactTextString(m) }
func (*SubmitChangeRequest) ProtoMessage() {}
func (*SubmitChangeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{6}
}
func (m *SubmitChangeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SubmitChangeRequest.Unmarshal(m, b)
}
func (m *SubmitChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SubmitChangeRequest.Marshal(b, m, deterministic)
}
func (m *SubmitChangeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SubmitChangeRequest.Merge(m, src)
}
func (m *SubmitChangeRequest) XXX_Size() int {
return xxx_messageInfo_SubmitChangeRequest.Size(m)
}
func (m *SubmitChangeRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SubmitChangeRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SubmitChangeRequest proto.InternalMessageInfo
func (m *SubmitChangeRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *SubmitChangeRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
// Information for changing contents of single file in a change edit.
//
// Fields encode the path arguments of
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#put-edit-file
type ChangeEditFileContentRequest struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The project of this change. For example, "chromium/src".
//
// Optional, but recommended for better routing and faster RPC execution.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Path to the file to edit inside the project.
FilePath string `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
// New content of the file. Overwrites existing contents entirely.
Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeEditFileContentRequest) Reset() { *m = ChangeEditFileContentRequest{} }
func (m *ChangeEditFileContentRequest) String() string { return proto.CompactTextString(m) }
func (*ChangeEditFileContentRequest) ProtoMessage() {}
func (*ChangeEditFileContentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{7}
}
func (m *ChangeEditFileContentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeEditFileContentRequest.Unmarshal(m, b)
}
func (m *ChangeEditFileContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeEditFileContentRequest.Marshal(b, m, deterministic)
}
func (m *ChangeEditFileContentRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeEditFileContentRequest.Merge(m, src)
}
func (m *ChangeEditFileContentRequest) XXX_Size() int {
return xxx_messageInfo_ChangeEditFileContentRequest.Size(m)
}
func (m *ChangeEditFileContentRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeEditFileContentRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeEditFileContentRequest proto.InternalMessageInfo
func (m *ChangeEditFileContentRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *ChangeEditFileContentRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *ChangeEditFileContentRequest) GetFilePath() string {
if m != nil {
return m.FilePath
}
return ""
}
func (m *ChangeEditFileContentRequest) GetContent() []byte {
if m != nil {
return m.Content
}
return nil
}
// Information for publishing a change edit.
//
// This is a placeholder to support the arguments from:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#publish-edit
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#publish-change-edit-input
type ChangeEditPublishRequest struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The project of this change. For example, "chromium/src".
//
// Optional, but recommended for better routing and faster RPC execution.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeEditPublishRequest) Reset() { *m = ChangeEditPublishRequest{} }
func (m *ChangeEditPublishRequest) String() string { return proto.CompactTextString(m) }
func (*ChangeEditPublishRequest) ProtoMessage() {}
func (*ChangeEditPublishRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{8}
}
func (m *ChangeEditPublishRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeEditPublishRequest.Unmarshal(m, b)
}
func (m *ChangeEditPublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeEditPublishRequest.Marshal(b, m, deterministic)
}
func (m *ChangeEditPublishRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeEditPublishRequest.Merge(m, src)
}
func (m *ChangeEditPublishRequest) XXX_Size() int {
return xxx_messageInfo_ChangeEditPublishRequest.Size(m)
}
func (m *ChangeEditPublishRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeEditPublishRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeEditPublishRequest proto.InternalMessageInfo
func (m *ChangeEditPublishRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *ChangeEditPublishRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
// Information for abandoning a change.
//
// Fields are a subset of arguments from:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#abandon-change
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#abandon-input
type AbandonChangeRequest struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The project of this change. For example, "chromium/src".
//
// Optional, but recommended for better routing and faster RPC execution.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AbandonChangeRequest) Reset() { *m = AbandonChangeRequest{} }
func (m *AbandonChangeRequest) String() string { return proto.CompactTextString(m) }
func (*AbandonChangeRequest) ProtoMessage() {}
func (*AbandonChangeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{9}
}
func (m *AbandonChangeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AbandonChangeRequest.Unmarshal(m, b)
}
func (m *AbandonChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AbandonChangeRequest.Marshal(b, m, deterministic)
}
func (m *AbandonChangeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AbandonChangeRequest.Merge(m, src)
}
func (m *AbandonChangeRequest) XXX_Size() int {
return xxx_messageInfo_AbandonChangeRequest.Size(m)
}
func (m *AbandonChangeRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AbandonChangeRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AbandonChangeRequest proto.InternalMessageInfo
func (m *AbandonChangeRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *AbandonChangeRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *AbandonChangeRequest) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
// Information to set various review bits on a change
//
// Fields are a subset of arguments from:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#set-review
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#review-input
type SetReviewRequest struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The project of this change. For example, "chromium/src".
//
// Optional, but recommended for better routing and faster RPC execution.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Unique ID for the revision to query.
// See
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#revision-id
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// Message to be added to the change along with this review.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// labels to add, e.g.:
// {
// "Code-Review": -1,
// "Verified": 1,
// }
Labels map[string]int32 `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetReviewRequest) Reset() { *m = SetReviewRequest{} }
func (m *SetReviewRequest) String() string { return proto.CompactTextString(m) }
func (*SetReviewRequest) ProtoMessage() {}
func (*SetReviewRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{10}
}
func (m *SetReviewRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetReviewRequest.Unmarshal(m, b)
}
func (m *SetReviewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetReviewRequest.Marshal(b, m, deterministic)
}
func (m *SetReviewRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetReviewRequest.Merge(m, src)
}
func (m *SetReviewRequest) XXX_Size() int {
return xxx_messageInfo_SetReviewRequest.Size(m)
}
func (m *SetReviewRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetReviewRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetReviewRequest proto.InternalMessageInfo
func (m *SetReviewRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *SetReviewRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *SetReviewRequest) GetRevisionId() string {
if m != nil {
return m.RevisionId
}
return ""
}
func (m *SetReviewRequest) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *SetReviewRequest) GetLabels() map[string]int32 {
if m != nil {
return m.Labels
}
return nil
}
// Information returned by a SetReview RPC.
//
// Fields are a subset of:
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#review-result
type ReviewResult struct {
// Map of labels to values after the review was posted. Null if any reviewer
// additions were rejected.
Labels map[string]int32 `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReviewResult) Reset() { *m = ReviewResult{} }
func (m *ReviewResult) String() string { return proto.CompactTextString(m) }
func (*ReviewResult) ProtoMessage() {}
func (*ReviewResult) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{11}
}
func (m *ReviewResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReviewResult.Unmarshal(m, b)
}
func (m *ReviewResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReviewResult.Marshal(b, m, deterministic)
}
func (m *ReviewResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReviewResult.Merge(m, src)
}
func (m *ReviewResult) XXX_Size() int {
return xxx_messageInfo_ReviewResult.Size(m)
}
func (m *ReviewResult) XXX_DiscardUnknown() {
xxx_messageInfo_ReviewResult.DiscardUnknown(m)
}
var xxx_messageInfo_ReviewResult proto.InternalMessageInfo
func (m *ReviewResult) GetLabels() map[string]int32 {
if m != nil {
return m.Labels
}
return nil
}
type GetMergeableRequest struct {
// The change number.
Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// The project of this change. For example, "chromium/src".
//
// Optional, but recommended for better routing and faster RPC execution.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Unique ID for the revision to query.
// See
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#revision-id
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// The source to merge from, e.g. a complete or abbreviated commit SHA-1, a
// complete reference name, a short reference name under refs/heads,
// refs/tags, or refs/remotes namespace, etc.
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
// The strategy of the merge.
Strategy MergeableStrategy `protobuf:"varint,5,opt,name=strategy,proto3,enum=gerrit.MergeableStrategy" json:"strategy,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetMergeableRequest) Reset() { *m = GetMergeableRequest{} }
func (m *GetMergeableRequest) String() string { return proto.CompactTextString(m) }
func (*GetMergeableRequest) ProtoMessage() {}
func (*GetMergeableRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{12}
}
func (m *GetMergeableRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetMergeableRequest.Unmarshal(m, b)
}
func (m *GetMergeableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetMergeableRequest.Marshal(b, m, deterministic)
}
func (m *GetMergeableRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetMergeableRequest.Merge(m, src)
}
func (m *GetMergeableRequest) XXX_Size() int {
return xxx_messageInfo_GetMergeableRequest.Size(m)
}
func (m *GetMergeableRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetMergeableRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetMergeableRequest proto.InternalMessageInfo
func (m *GetMergeableRequest) GetNumber() int64 {
if m != nil {
return m.Number
}
return 0
}
func (m *GetMergeableRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *GetMergeableRequest) GetRevisionId() string {
if m != nil {
return m.RevisionId
}
return ""
}
func (m *GetMergeableRequest) GetSource() string {
if m != nil {
return m.Source
}
return ""
}
func (m *GetMergeableRequest) GetStrategy() MergeableStrategy {
if m != nil {
return m.Strategy
}
return MergeableStrategy_MERGEABLE_STRATEGY_UNSPECIFIED
}
// Contains information about the mergeability of a change.
//
// See
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#mergeable-info
type MergeableInfo struct {
// Submit type used for this change.
SubmitType MergeableInfo_SubmitType `protobuf:"varint,1,opt,name=submit_type,json=submitType,proto3,enum=gerrit.MergeableInfo_SubmitType" json:"submit_type,omitempty"`
// The strategy of the merge.
Strategy MergeableStrategy `protobuf:"varint,2,opt,name=strategy,proto3,enum=gerrit.MergeableStrategy" json:"strategy,omitempty"`
// true if this change is cleanly mergeable, false otherwise.
Mergeable bool `protobuf:"varint,3,opt,name=mergeable,proto3" json:"mergeable,omitempty"`
// true if this change is already merged, false otherwise.
CommitMerged bool `protobuf:"varint,4,opt,name=commit_merged,json=commitMerged,proto3" json:"commit_merged,omitempty"`
// true if the content of this change is already merged, false otherwise.
ContentMerged bool `protobuf:"varint,5,opt,name=content_merged,json=contentMerged,proto3" json:"content_merged,omitempty"`
// A list of paths with conflicts.
Conflicts []string `protobuf:"bytes,6,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
// A list of other branch names where this change could merge cleanly.
MergeableInto []string `protobuf:"bytes,7,rep,name=mergeable_into,json=mergeableInto,proto3" json:"mergeable_into,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MergeableInfo) Reset() { *m = MergeableInfo{} }
func (m *MergeableInfo) String() string { return proto.CompactTextString(m) }
func (*MergeableInfo) ProtoMessage() {}
func (*MergeableInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3c6e096860f6adc3, []int{13}
}
func (m *MergeableInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MergeableInfo.Unmarshal(m, b)
}
func (m *MergeableInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MergeableInfo.Marshal(b, m, deterministic)
}
func (m *MergeableInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_MergeableInfo.Merge(m, src)
}
func (m *MergeableInfo) XXX_Size() int {
return xxx_messageInfo_MergeableInfo.Size(m)
}
func (m *MergeableInfo) XXX_DiscardUnknown() {
xxx_messageInfo_MergeableInfo.DiscardUnknown(m)
}
var xxx_messageInfo_MergeableInfo proto.InternalMessageInfo
func (m *MergeableInfo) GetSubmitType() MergeableInfo_SubmitType {
if m != nil {
return m.SubmitType
}
return MergeableInfo_SUBMIT_TYPE_UNSPECIFIED
}
func (m *MergeableInfo) GetStrategy() MergeableStrategy {
if m != nil {
return m.Strategy
}
return MergeableStrategy_MERGEABLE_STRATEGY_UNSPECIFIED
}
func (m *MergeableInfo) GetMergeable() bool {
if m != nil {
return m.Mergeable
}
return false
}
func (m *MergeableInfo) GetCommitMerged() bool {
if m != nil {
return m.CommitMerged
}
return false
}
func (m *MergeableInfo) GetContentMerged() bool {
if m != nil {
return m.ContentMerged
}
return false
}
func (m *MergeableInfo) GetConflicts() []string {
if m != nil {
return m.Conflicts
}
return nil
}
func (m *MergeableInfo) GetMergeableInto() []string {
if m != nil {
return m.MergeableInto
}
return nil
}
func init() {
proto.RegisterEnum("gerrit.QueryOption", QueryOption_name, QueryOption_value)
proto.RegisterEnum("gerrit.MergeableStrategy", MergeableStrategy_name, MergeableStrategy_value)
proto.RegisterEnum("gerrit.ChangeInfo_Status", ChangeInfo_Status_name, ChangeInfo_Status_value)
proto.RegisterEnum("gerrit.RevisionInfo_Kind", RevisionInfo_Kind_name, RevisionInfo_Kind_value)
proto.RegisterEnum("gerrit.FileInfo_Status", FileInfo_Status_name, FileInfo_Status_value)
proto.RegisterEnum("gerrit.MergeableInfo_SubmitType", MergeableInfo_SubmitType_name, MergeableInfo_SubmitType_value)
proto.RegisterType((*GetChangeRequest)(nil), "gerrit.GetChangeRequest")
proto.RegisterType((*AccountInfo)(nil), "gerrit.AccountInfo")
proto.RegisterType((*ChangeInfo)(nil), "gerrit.ChangeInfo")
proto.RegisterMapType((map[string]*RevisionInfo)(nil), "gerrit.ChangeInfo.RevisionsEntry")
proto.RegisterType((*RevisionInfo)(nil), "gerrit.RevisionInfo")
proto.RegisterMapType((map[string]*FileInfo)(nil), "gerrit.RevisionInfo.FilesEntry")
proto.RegisterType((*FileInfo)(nil), "gerrit.FileInfo")
proto.RegisterType((*CreateChangeRequest)(nil), "gerrit.CreateChangeRequest")
proto.RegisterType((*SubmitChangeRequest)(nil), "gerrit.SubmitChangeRequest")
proto.RegisterType((*ChangeEditFileContentRequest)(nil), "gerrit.ChangeEditFileContentRequest")
proto.RegisterType((*ChangeEditPublishRequest)(nil), "gerrit.ChangeEditPublishRequest")
proto.RegisterType((*AbandonChangeRequest)(nil), "gerrit.AbandonChangeRequest")
proto.RegisterType((*SetReviewRequest)(nil), "gerrit.SetReviewRequest")
proto.RegisterMapType((map[string]int32)(nil), "gerrit.SetReviewRequest.LabelsEntry")
proto.RegisterType((*ReviewResult)(nil), "gerrit.ReviewResult")
proto.RegisterMapType((map[string]int32)(nil), "gerrit.ReviewResult.LabelsEntry")
proto.RegisterType((*GetMergeableRequest)(nil), "gerrit.GetMergeableRequest")
proto.RegisterType((*MergeableInfo)(nil), "gerrit.MergeableInfo")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/common/proto/gerrit/gerrit.proto", fileDescriptor_3c6e096860f6adc3)
}
var fileDescriptor_3c6e096860f6adc3 = []byte{
// 1790 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6e, 0xe3, 0xc8,
0x11, 0x5e, 0xea, 0xcf, 0x52, 0xc9, 0x3f, 0xed, 0xb6, 0xc7, 0xa3, 0xd1, 0xcc, 0x66, 0x14, 0x65,
0x13, 0x78, 0x07, 0x58, 0x19, 0x71, 0x30, 0xc0, 0x6e, 0x12, 0x60, 0x87, 0xa6, 0xda, 0x36, 0x63,
0x89, 0x54, 0x9a, 0x94, 0x05, 0x9f, 0x08, 0x4a, 0x6a, 0xcb, 0xcc, 0x4a, 0xa4, 0x43, 0x52, 0xbb,
0xd0, 0x22, 0x08, 0x04, 0x04, 0x41, 0x1e, 0x21, 0xe7, 0x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a3, 0xec, 0xb0, 0xb5, 0x8a, 0xd1, 0x96, 0x11, 0x6c, 0x6b, 0x8c, 0x64, 0xd8, 0x5b,
0x1b, 0x46, 0xf0, 0xab, 0xf4, 0x87, 0x64, 0xcb, 0x8c, 0xb2, 0xd5, 0xc5, 0x05, 0xec, 0x66, 0x3b,
0xdd, 0x4a, 0xc3, 0x96, 0xfe, 0x57, 0x7f, 0xb6, 0xb5, 0x6d, 0x0c, 0x4b, 0x22, 0x28, 0x3f, 0xfb,
0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0x99, 0x45, 0xc7, 0x63, 0x10, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// GerritClient is the client API for Gerrit service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type GerritClient interface {
// Loads a change by id.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-change
GetChange(ctx context.Context, in *GetChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error)
// Create a new empty change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#create-change
CreateChange(ctx context.Context, in *CreateChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error)
// Edit a single file within an existing change edit.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#put-edit-file
ChangeEditFileContent(ctx context.Context, in *ChangeEditFileContentRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Publish all changes in a a change edit.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#publish-edit
ChangeEditPublish(ctx context.Context, in *ChangeEditPublishRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Set various review bits on a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#set-review
SetReview(ctx context.Context, in *SetReviewRequest, opts ...grpc.CallOption) (*ReviewResult, error)
// Submit a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#submit-change
SubmitChange(ctx context.Context, in *SubmitChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error)
// Abandon a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#abandon-change
AbandonChange(ctx context.Context, in *AbandonChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error)
// Gets Mergeable status for a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-projects.html#get-mergeable-info
GetMergeable(ctx context.Context, in *GetMergeableRequest, opts ...grpc.CallOption) (*MergeableInfo, error)
}
type gerritPRPCClient struct {
client *prpc.Client
}
func NewGerritPRPCClient(client *prpc.Client) GerritClient {
return &gerritPRPCClient{client}
}
func (c *gerritPRPCClient) GetChange(ctx context.Context, in *GetChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.client.Call(ctx, "gerrit.Gerrit", "GetChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) CreateChange(ctx context.Context, in *CreateChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.client.Call(ctx, "gerrit.Gerrit", "CreateChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) ChangeEditFileContent(ctx context.Context, in *ChangeEditFileContentRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.client.Call(ctx, "gerrit.Gerrit", "ChangeEditFileContent", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) ChangeEditPublish(ctx context.Context, in *ChangeEditPublishRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.client.Call(ctx, "gerrit.Gerrit", "ChangeEditPublish", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) SetReview(ctx context.Context, in *SetReviewRequest, opts ...grpc.CallOption) (*ReviewResult, error) {
out := new(ReviewResult)
err := c.client.Call(ctx, "gerrit.Gerrit", "SetReview", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) SubmitChange(ctx context.Context, in *SubmitChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.client.Call(ctx, "gerrit.Gerrit", "SubmitChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) AbandonChange(ctx context.Context, in *AbandonChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.client.Call(ctx, "gerrit.Gerrit", "AbandonChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritPRPCClient) GetMergeable(ctx context.Context, in *GetMergeableRequest, opts ...grpc.CallOption) (*MergeableInfo, error) {
out := new(MergeableInfo)
err := c.client.Call(ctx, "gerrit.Gerrit", "GetMergeable", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
type gerritClient struct {
cc *grpc.ClientConn
}
func NewGerritClient(cc *grpc.ClientConn) GerritClient {
return &gerritClient{cc}
}
func (c *gerritClient) GetChange(ctx context.Context, in *GetChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/GetChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) CreateChange(ctx context.Context, in *CreateChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/CreateChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) ChangeEditFileContent(ctx context.Context, in *ChangeEditFileContentRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/ChangeEditFileContent", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) ChangeEditPublish(ctx context.Context, in *ChangeEditPublishRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/ChangeEditPublish", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) SetReview(ctx context.Context, in *SetReviewRequest, opts ...grpc.CallOption) (*ReviewResult, error) {
out := new(ReviewResult)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/SetReview", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) SubmitChange(ctx context.Context, in *SubmitChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/SubmitChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) AbandonChange(ctx context.Context, in *AbandonChangeRequest, opts ...grpc.CallOption) (*ChangeInfo, error) {
out := new(ChangeInfo)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/AbandonChange", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *gerritClient) GetMergeable(ctx context.Context, in *GetMergeableRequest, opts ...grpc.CallOption) (*MergeableInfo, error) {
out := new(MergeableInfo)
err := c.cc.Invoke(ctx, "/gerrit.Gerrit/GetMergeable", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// GerritServer is the server API for Gerrit service.
type GerritServer interface {
// Loads a change by id.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-change
GetChange(context.Context, *GetChangeRequest) (*ChangeInfo, error)
// Create a new empty change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#create-change
CreateChange(context.Context, *CreateChangeRequest) (*ChangeInfo, error)
// Edit a single file within an existing change edit.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#put-edit-file
ChangeEditFileContent(context.Context, *ChangeEditFileContentRequest) (*empty.Empty, error)
// Publish all changes in a a change edit.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#publish-edit
ChangeEditPublish(context.Context, *ChangeEditPublishRequest) (*empty.Empty, error)
// Set various review bits on a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#set-review
SetReview(context.Context, *SetReviewRequest) (*ReviewResult, error)
// Submit a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#submit-change
SubmitChange(context.Context, *SubmitChangeRequest) (*ChangeInfo, error)
// Abandon a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#abandon-change
AbandonChange(context.Context, *AbandonChangeRequest) (*ChangeInfo, error)
// Gets Mergeable status for a change.
//
// https://gerrit-review.googlesource.com/Documentation/rest-api-projects.html#get-mergeable-info
GetMergeable(context.Context, *GetMergeableRequest) (*MergeableInfo, error)
}
// UnimplementedGerritServer can be embedded to have forward compatible implementations.
type UnimplementedGerritServer struct {
}
func (*UnimplementedGerritServer) GetChange(ctx context.Context, req *GetChangeRequest) (*ChangeInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetChange not implemented")
}
func (*UnimplementedGerritServer) CreateChange(ctx context.Context, req *CreateChangeRequest) (*ChangeInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateChange not implemented")
}
func (*UnimplementedGerritServer) ChangeEditFileContent(ctx context.Context, req *ChangeEditFileContentRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method ChangeEditFileContent not implemented")
}
func (*UnimplementedGerritServer) ChangeEditPublish(ctx context.Context, req *ChangeEditPublishRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method ChangeEditPublish not implemented")
}
func (*UnimplementedGerritServer) SetReview(ctx context.Context, req *SetReviewRequest) (*ReviewResult, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetReview not implemented")
}
func (*UnimplementedGerritServer) SubmitChange(ctx context.Context, req *SubmitChangeRequest) (*ChangeInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method SubmitChange not implemented")
}
func (*UnimplementedGerritServer) AbandonChange(ctx context.Context, req *AbandonChangeRequest) (*ChangeInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method AbandonChange not implemented")
}
func (*UnimplementedGerritServer) GetMergeable(ctx context.Context, req *GetMergeableRequest) (*MergeableInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetMergeable not implemented")
}
func RegisterGerritServer(s prpc.Registrar, srv GerritServer) {
s.RegisterService(&_Gerrit_serviceDesc, srv)
}
func _Gerrit_GetChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetChangeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).GetChange(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/GetChange",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).GetChange(ctx, req.(*GetChangeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_CreateChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateChangeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).CreateChange(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/CreateChange",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).CreateChange(ctx, req.(*CreateChangeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_ChangeEditFileContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ChangeEditFileContentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).ChangeEditFileContent(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/ChangeEditFileContent",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).ChangeEditFileContent(ctx, req.(*ChangeEditFileContentRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_ChangeEditPublish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ChangeEditPublishRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).ChangeEditPublish(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/ChangeEditPublish",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).ChangeEditPublish(ctx, req.(*ChangeEditPublishRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_SetReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetReviewRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).SetReview(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/SetReview",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).SetReview(ctx, req.(*SetReviewRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_SubmitChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SubmitChangeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).SubmitChange(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/SubmitChange",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).SubmitChange(ctx, req.(*SubmitChangeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_AbandonChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AbandonChangeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).AbandonChange(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/AbandonChange",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).AbandonChange(ctx, req.(*AbandonChangeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Gerrit_GetMergeable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetMergeableRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GerritServer).GetMergeable(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gerrit.Gerrit/GetMergeable",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GerritServer).GetMergeable(ctx, req.(*GetMergeableRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Gerrit_serviceDesc = grpc.ServiceDesc{
ServiceName: "gerrit.Gerrit",
HandlerType: (*GerritServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetChange",
Handler: _Gerrit_GetChange_Handler,
},
{
MethodName: "CreateChange",
Handler: _Gerrit_CreateChange_Handler,
},
{
MethodName: "ChangeEditFileContent",
Handler: _Gerrit_ChangeEditFileContent_Handler,
},
{
MethodName: "ChangeEditPublish",
Handler: _Gerrit_ChangeEditPublish_Handler,
},
{
MethodName: "SetReview",
Handler: _Gerrit_SetReview_Handler,
},
{
MethodName: "SubmitChange",
Handler: _Gerrit_SubmitChange_Handler,
},
{
MethodName: "AbandonChange",
Handler: _Gerrit_AbandonChange_Handler,
},
{
MethodName: "GetMergeable",
Handler: _Gerrit_GetMergeable_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "go.chromium.org/luci/common/proto/gerrit/gerrit.proto",
}