3630 lines
139 KiB
Go
3630 lines
139 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: operations.proto
|
||
|
|
||
|
package gitalypb
|
||
|
|
||
|
import (
|
||
|
context "context"
|
||
|
fmt "fmt"
|
||
|
proto "github.com/golang/protobuf/proto"
|
||
|
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
|
||
|
|
||
|
type UserCherryPickResponse_CreateTreeError int32
|
||
|
|
||
|
const (
|
||
|
UserCherryPickResponse_NONE UserCherryPickResponse_CreateTreeError = 0
|
||
|
UserCherryPickResponse_EMPTY UserCherryPickResponse_CreateTreeError = 1
|
||
|
UserCherryPickResponse_CONFLICT UserCherryPickResponse_CreateTreeError = 2
|
||
|
)
|
||
|
|
||
|
var UserCherryPickResponse_CreateTreeError_name = map[int32]string{
|
||
|
0: "NONE",
|
||
|
1: "EMPTY",
|
||
|
2: "CONFLICT",
|
||
|
}
|
||
|
|
||
|
var UserCherryPickResponse_CreateTreeError_value = map[string]int32{
|
||
|
"NONE": 0,
|
||
|
"EMPTY": 1,
|
||
|
"CONFLICT": 2,
|
||
|
}
|
||
|
|
||
|
func (x UserCherryPickResponse_CreateTreeError) String() string {
|
||
|
return proto.EnumName(UserCherryPickResponse_CreateTreeError_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (UserCherryPickResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{18, 0}
|
||
|
}
|
||
|
|
||
|
type UserRevertResponse_CreateTreeError int32
|
||
|
|
||
|
const (
|
||
|
UserRevertResponse_NONE UserRevertResponse_CreateTreeError = 0
|
||
|
UserRevertResponse_EMPTY UserRevertResponse_CreateTreeError = 1
|
||
|
UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2
|
||
|
)
|
||
|
|
||
|
var UserRevertResponse_CreateTreeError_name = map[int32]string{
|
||
|
0: "NONE",
|
||
|
1: "EMPTY",
|
||
|
2: "CONFLICT",
|
||
|
}
|
||
|
|
||
|
var UserRevertResponse_CreateTreeError_value = map[string]int32{
|
||
|
"NONE": 0,
|
||
|
"EMPTY": 1,
|
||
|
"CONFLICT": 2,
|
||
|
}
|
||
|
|
||
|
func (x UserRevertResponse_CreateTreeError) String() string {
|
||
|
return proto.EnumName(UserRevertResponse_CreateTreeError_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (UserRevertResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{20, 0}
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesActionHeader_ActionType int32
|
||
|
|
||
|
const (
|
||
|
UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0
|
||
|
UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1
|
||
|
UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2
|
||
|
UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3
|
||
|
UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4
|
||
|
UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5
|
||
|
)
|
||
|
|
||
|
var UserCommitFilesActionHeader_ActionType_name = map[int32]string{
|
||
|
0: "CREATE",
|
||
|
1: "CREATE_DIR",
|
||
|
2: "UPDATE",
|
||
|
3: "MOVE",
|
||
|
4: "DELETE",
|
||
|
5: "CHMOD",
|
||
|
}
|
||
|
|
||
|
var UserCommitFilesActionHeader_ActionType_value = map[string]int32{
|
||
|
"CREATE": 0,
|
||
|
"CREATE_DIR": 1,
|
||
|
"UPDATE": 2,
|
||
|
"MOVE": 3,
|
||
|
"DELETE": 4,
|
||
|
"CHMOD": 5,
|
||
|
}
|
||
|
|
||
|
func (x UserCommitFilesActionHeader_ActionType) String() string {
|
||
|
return proto.EnumName(UserCommitFilesActionHeader_ActionType_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{21, 0}
|
||
|
}
|
||
|
|
||
|
type UserCreateBranchRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
||
|
User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} }
|
||
|
func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCreateBranchRequest) ProtoMessage() {}
|
||
|
func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{0}
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCreateBranchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCreateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCreateBranchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCreateBranchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCreateBranchRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCreateBranchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCreateBranchRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserCreateBranchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCreateBranchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCreateBranchRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCreateBranchRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchRequest) GetBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.BranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchRequest) GetStartPoint() []byte {
|
||
|
if m != nil {
|
||
|
return m.StartPoint
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserCreateBranchResponse struct {
|
||
|
Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
// Error returned by the pre-receive hook. If no error was thrown,
|
||
|
// it's the empty string ("")
|
||
|
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} }
|
||
|
func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCreateBranchResponse) ProtoMessage() {}
|
||
|
func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{1}
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCreateBranchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCreateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCreateBranchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCreateBranchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCreateBranchResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCreateBranchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCreateBranchResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserCreateBranchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCreateBranchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCreateBranchResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCreateBranchResponse) GetBranch() *Branch {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateBranchResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserUpdateBranchRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
||
|
User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"`
|
||
|
Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) Reset() { *m = UserUpdateBranchRequest{} }
|
||
|
func (m *UserUpdateBranchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserUpdateBranchRequest) ProtoMessage() {}
|
||
|
func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{2}
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserUpdateBranchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserUpdateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserUpdateBranchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserUpdateBranchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserUpdateBranchRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserUpdateBranchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserUpdateBranchRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserUpdateBranchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserUpdateBranchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserUpdateBranchRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) GetBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.BranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) GetNewrev() []byte {
|
||
|
if m != nil {
|
||
|
return m.Newrev
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchRequest) GetOldrev() []byte {
|
||
|
if m != nil {
|
||
|
return m.Oldrev
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserUpdateBranchResponse struct {
|
||
|
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchResponse) Reset() { *m = UserUpdateBranchResponse{} }
|
||
|
func (m *UserUpdateBranchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserUpdateBranchResponse) ProtoMessage() {}
|
||
|
func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{3}
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateBranchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserUpdateBranchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserUpdateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserUpdateBranchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserUpdateBranchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserUpdateBranchResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserUpdateBranchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserUpdateBranchResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserUpdateBranchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserUpdateBranchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserUpdateBranchResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserUpdateBranchResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserDeleteBranchRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
||
|
User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} }
|
||
|
func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserDeleteBranchRequest) ProtoMessage() {}
|
||
|
func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{4}
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteBranchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserDeleteBranchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserDeleteBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserDeleteBranchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserDeleteBranchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserDeleteBranchRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserDeleteBranchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserDeleteBranchRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserDeleteBranchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserDeleteBranchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserDeleteBranchRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserDeleteBranchRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteBranchRequest) GetBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.BranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteBranchRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserDeleteBranchResponse struct {
|
||
|
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} }
|
||
|
func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserDeleteBranchResponse) ProtoMessage() {}
|
||
|
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{5}
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteBranchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserDeleteBranchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserDeleteBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserDeleteBranchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserDeleteBranchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserDeleteBranchResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserDeleteBranchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserDeleteBranchResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserDeleteBranchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserDeleteBranchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserDeleteBranchResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserDeleteBranchResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserDeleteTagRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
||
|
User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} }
|
||
|
func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserDeleteTagRequest) ProtoMessage() {}
|
||
|
func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{6}
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteTagRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserDeleteTagRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserDeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserDeleteTagRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserDeleteTagRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserDeleteTagRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserDeleteTagRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserDeleteTagRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserDeleteTagRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserDeleteTagRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserDeleteTagRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserDeleteTagRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteTagRequest) GetTagName() []byte {
|
||
|
if m != nil {
|
||
|
return m.TagName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteTagRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserDeleteTagResponse struct {
|
||
|
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} }
|
||
|
func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserDeleteTagResponse) ProtoMessage() {}
|
||
|
func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{7}
|
||
|
}
|
||
|
|
||
|
func (m *UserDeleteTagResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserDeleteTagResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserDeleteTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserDeleteTagResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserDeleteTagResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserDeleteTagResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserDeleteTagResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserDeleteTagResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserDeleteTagResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserDeleteTagResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserDeleteTagResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserDeleteTagResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserCreateTagRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
||
|
User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
TargetRevision []byte `protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"`
|
||
|
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} }
|
||
|
func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCreateTagRequest) ProtoMessage() {}
|
||
|
func (*UserCreateTagRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{8}
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCreateTagRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCreateTagRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCreateTagRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCreateTagRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCreateTagRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCreateTagRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserCreateTagRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCreateTagRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCreateTagRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCreateTagRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagRequest) GetTagName() []byte {
|
||
|
if m != nil {
|
||
|
return m.TagName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagRequest) GetTargetRevision() []byte {
|
||
|
if m != nil {
|
||
|
return m.TargetRevision
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagRequest) GetMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserCreateTagResponse struct {
|
||
|
Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
|
||
|
Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} }
|
||
|
func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCreateTagResponse) ProtoMessage() {}
|
||
|
func (*UserCreateTagResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{9}
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCreateTagResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCreateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCreateTagResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCreateTagResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCreateTagResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCreateTagResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCreateTagResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserCreateTagResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCreateTagResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCreateTagResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCreateTagResponse) GetTag() *Tag {
|
||
|
if m != nil {
|
||
|
return m.Tag
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagResponse) GetExists() bool {
|
||
|
if m != nil {
|
||
|
return m.Exists
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (m *UserCreateTagResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserMergeBranchRequest struct {
|
||
|
// First message
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
// Second message
|
||
|
// Tell the server to apply the merge to the branch
|
||
|
Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} }
|
||
|
func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserMergeBranchRequest) ProtoMessage() {}
|
||
|
func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{10}
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserMergeBranchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserMergeBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserMergeBranchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserMergeBranchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserMergeBranchRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserMergeBranchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserMergeBranchRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserMergeBranchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserMergeBranchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserMergeBranchRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserMergeBranchRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) GetCommitId() string {
|
||
|
if m != nil {
|
||
|
return m.CommitId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) GetMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchRequest) GetApply() bool {
|
||
|
if m != nil {
|
||
|
return m.Apply
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type UserMergeBranchResponse struct {
|
||
|
// First message
|
||
|
// The merge commit the branch will be updated to. The caller can still abort the merge.
|
||
|
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
|
||
|
// Second message
|
||
|
// If set, the merge has been applied to the branch.
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} }
|
||
|
func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserMergeBranchResponse) ProtoMessage() {}
|
||
|
func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{11}
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserMergeBranchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserMergeBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserMergeBranchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserMergeBranchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserMergeBranchResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserMergeBranchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserMergeBranchResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserMergeBranchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserMergeBranchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserMergeBranchResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserMergeBranchResponse) GetCommitId() string {
|
||
|
if m != nil {
|
||
|
return m.CommitId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeBranchResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserMergeToRefRequest struct {
|
||
|
// UserMergeRef creates a merge commit and updates target_ref to point to that
|
||
|
// new commit. The first parent of the merge commit (the main line) is taken
|
||
|
// from first_parent_ref. The second parent is specified by its commit ID in source_sha.
|
||
|
// If target_ref already exists it will be overwritten.
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
SourceSha string `protobuf:"bytes,3,opt,name=source_sha,json=sourceSha,proto3" json:"source_sha,omitempty"`
|
||
|
// branch is deprecated in favor of `first_parent_ref`.
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
TargetRef []byte `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`
|
||
|
Message []byte `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
FirstParentRef []byte `protobuf:"bytes,7,opt,name=first_parent_ref,json=firstParentRef,proto3" json:"first_parent_ref,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) Reset() { *m = UserMergeToRefRequest{} }
|
||
|
func (m *UserMergeToRefRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserMergeToRefRequest) ProtoMessage() {}
|
||
|
func (*UserMergeToRefRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{12}
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserMergeToRefRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserMergeToRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserMergeToRefRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserMergeToRefRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserMergeToRefRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserMergeToRefRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserMergeToRefRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserMergeToRefRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserMergeToRefRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserMergeToRefRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetSourceSha() string {
|
||
|
if m != nil {
|
||
|
return m.SourceSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetTargetRef() []byte {
|
||
|
if m != nil {
|
||
|
return m.TargetRef
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefRequest) GetFirstParentRef() []byte {
|
||
|
if m != nil {
|
||
|
return m.FirstParentRef
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserMergeToRefResponse struct {
|
||
|
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefResponse) Reset() { *m = UserMergeToRefResponse{} }
|
||
|
func (m *UserMergeToRefResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserMergeToRefResponse) ProtoMessage() {}
|
||
|
func (*UserMergeToRefResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{13}
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserMergeToRefResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserMergeToRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserMergeToRefResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserMergeToRefResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserMergeToRefResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserMergeToRefResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserMergeToRefResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserMergeToRefResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserMergeToRefResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserMergeToRefResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserMergeToRefResponse) GetCommitId() string {
|
||
|
if m != nil {
|
||
|
return m.CommitId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserMergeToRefResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type OperationBranchUpdate struct {
|
||
|
// If this string is non-empty the branch has been updated.
|
||
|
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
|
||
|
// Used for cache invalidation in GitLab
|
||
|
RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated,proto3" json:"repo_created,omitempty"`
|
||
|
// Used for cache invalidation in GitLab
|
||
|
BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} }
|
||
|
func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) }
|
||
|
func (*OperationBranchUpdate) ProtoMessage() {}
|
||
|
func (*OperationBranchUpdate) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{14}
|
||
|
}
|
||
|
|
||
|
func (m *OperationBranchUpdate) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_OperationBranchUpdate.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *OperationBranchUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_OperationBranchUpdate.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *OperationBranchUpdate) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_OperationBranchUpdate.Merge(m, src)
|
||
|
}
|
||
|
func (m *OperationBranchUpdate) XXX_Size() int {
|
||
|
return xxx_messageInfo_OperationBranchUpdate.Size(m)
|
||
|
}
|
||
|
func (m *OperationBranchUpdate) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_OperationBranchUpdate.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_OperationBranchUpdate proto.InternalMessageInfo
|
||
|
|
||
|
func (m *OperationBranchUpdate) GetCommitId() string {
|
||
|
if m != nil {
|
||
|
return m.CommitId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *OperationBranchUpdate) GetRepoCreated() bool {
|
||
|
if m != nil {
|
||
|
return m.RepoCreated
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (m *OperationBranchUpdate) GetBranchCreated() bool {
|
||
|
if m != nil {
|
||
|
return m.BranchCreated
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type UserFFBranchRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchRequest) Reset() { *m = UserFFBranchRequest{} }
|
||
|
func (m *UserFFBranchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserFFBranchRequest) ProtoMessage() {}
|
||
|
func (*UserFFBranchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{15}
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserFFBranchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserFFBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserFFBranchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserFFBranchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserFFBranchRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserFFBranchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserFFBranchRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserFFBranchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserFFBranchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserFFBranchRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserFFBranchRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchRequest) GetCommitId() string {
|
||
|
if m != nil {
|
||
|
return m.CommitId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchRequest) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserFFBranchResponse struct {
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchResponse) Reset() { *m = UserFFBranchResponse{} }
|
||
|
func (m *UserFFBranchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserFFBranchResponse) ProtoMessage() {}
|
||
|
func (*UserFFBranchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{16}
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserFFBranchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserFFBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserFFBranchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserFFBranchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserFFBranchResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserFFBranchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserFFBranchResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserFFBranchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserFFBranchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserFFBranchResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserFFBranchResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserCherryPickRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
|
||
|
BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
||
|
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"`
|
||
|
StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) Reset() { *m = UserCherryPickRequest{} }
|
||
|
func (m *UserCherryPickRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCherryPickRequest) ProtoMessage() {}
|
||
|
func (*UserCherryPickRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{17}
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCherryPickRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCherryPickRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCherryPickRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCherryPickRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCherryPickRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCherryPickRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCherryPickRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserCherryPickRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCherryPickRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCherryPickRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetCommit() *GitCommit {
|
||
|
if m != nil {
|
||
|
return m.Commit
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.BranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetStartBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.StartBranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickRequest) GetStartRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.StartRepository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserCherryPickResponse struct {
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"`
|
||
|
CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
CreateTreeErrorCode UserCherryPickResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserCherryPickResponse_CreateTreeError" json:"create_tree_error_code,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickResponse) Reset() { *m = UserCherryPickResponse{} }
|
||
|
func (m *UserCherryPickResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCherryPickResponse) ProtoMessage() {}
|
||
|
func (*UserCherryPickResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{18}
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCherryPickResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCherryPickResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCherryPickResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCherryPickResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCherryPickResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCherryPickResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCherryPickResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserCherryPickResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCherryPickResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCherryPickResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickResponse) GetCreateTreeError() string {
|
||
|
if m != nil {
|
||
|
return m.CreateTreeError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickResponse) GetCommitError() string {
|
||
|
if m != nil {
|
||
|
return m.CommitError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserCherryPickResponse) GetCreateTreeErrorCode() UserCherryPickResponse_CreateTreeError {
|
||
|
if m != nil {
|
||
|
return m.CreateTreeErrorCode
|
||
|
}
|
||
|
return UserCherryPickResponse_NONE
|
||
|
}
|
||
|
|
||
|
type UserRevertRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
|
||
|
BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
||
|
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"`
|
||
|
StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) Reset() { *m = UserRevertRequest{} }
|
||
|
func (m *UserRevertRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRevertRequest) ProtoMessage() {}
|
||
|
func (*UserRevertRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{19}
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRevertRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRevertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRevertRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRevertRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRevertRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRevertRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRevertRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserRevertRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRevertRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRevertRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserRevertRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) GetCommit() *GitCommit {
|
||
|
if m != nil {
|
||
|
return m.Commit
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) GetBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.BranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) GetMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) GetStartBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.StartBranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertRequest) GetStartRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.StartRepository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserRevertResponse struct {
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"`
|
||
|
CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
CreateTreeErrorCode UserRevertResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserRevertResponse_CreateTreeError" json:"create_tree_error_code,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertResponse) Reset() { *m = UserRevertResponse{} }
|
||
|
func (m *UserRevertResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRevertResponse) ProtoMessage() {}
|
||
|
func (*UserRevertResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{20}
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRevertResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRevertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRevertResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRevertResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRevertResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRevertResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRevertResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserRevertResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRevertResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRevertResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertResponse) GetCreateTreeError() string {
|
||
|
if m != nil {
|
||
|
return m.CreateTreeError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertResponse) GetCommitError() string {
|
||
|
if m != nil {
|
||
|
return m.CommitError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError {
|
||
|
if m != nil {
|
||
|
return m.CreateTreeErrorCode
|
||
|
}
|
||
|
return UserRevertResponse_NONE
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesActionHeader struct {
|
||
|
Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"`
|
||
|
FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
|
||
|
PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"`
|
||
|
Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content,proto3" json:"base64_content,omitempty"`
|
||
|
ExecuteFilemode bool `protobuf:"varint,5,opt,name=execute_filemode,json=executeFilemode,proto3" json:"execute_filemode,omitempty"`
|
||
|
// Move actions that change the file path, but not its content, should set
|
||
|
// infer_content to true instead of populating the content field. Ignored for
|
||
|
// other action types.
|
||
|
InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent,proto3" json:"infer_content,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) Reset() { *m = UserCommitFilesActionHeader{} }
|
||
|
func (m *UserCommitFilesActionHeader) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCommitFilesActionHeader) ProtoMessage() {}
|
||
|
func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{21}
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCommitFilesActionHeader.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCommitFilesActionHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCommitFilesActionHeader.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCommitFilesActionHeader) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCommitFilesActionHeader.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCommitFilesActionHeader) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCommitFilesActionHeader.Size(m)
|
||
|
}
|
||
|
func (m *UserCommitFilesActionHeader) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCommitFilesActionHeader.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCommitFilesActionHeader proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType {
|
||
|
if m != nil {
|
||
|
return m.Action
|
||
|
}
|
||
|
return UserCommitFilesActionHeader_CREATE
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) GetFilePath() []byte {
|
||
|
if m != nil {
|
||
|
return m.FilePath
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) GetPreviousPath() []byte {
|
||
|
if m != nil {
|
||
|
return m.PreviousPath
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) GetBase64Content() bool {
|
||
|
if m != nil {
|
||
|
return m.Base64Content
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) GetExecuteFilemode() bool {
|
||
|
if m != nil {
|
||
|
return m.ExecuteFilemode
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesActionHeader) GetInferContent() bool {
|
||
|
if m != nil {
|
||
|
return m.InferContent
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesAction struct {
|
||
|
// Types that are valid to be assigned to UserCommitFilesActionPayload:
|
||
|
// *UserCommitFilesAction_Header
|
||
|
// *UserCommitFilesAction_Content
|
||
|
UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesAction) Reset() { *m = UserCommitFilesAction{} }
|
||
|
func (m *UserCommitFilesAction) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCommitFilesAction) ProtoMessage() {}
|
||
|
func (*UserCommitFilesAction) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{22}
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesAction) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCommitFilesAction.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCommitFilesAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCommitFilesAction.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCommitFilesAction) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCommitFilesAction.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCommitFilesAction) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCommitFilesAction.Size(m)
|
||
|
}
|
||
|
func (m *UserCommitFilesAction) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCommitFilesAction.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCommitFilesAction proto.InternalMessageInfo
|
||
|
|
||
|
type isUserCommitFilesAction_UserCommitFilesActionPayload interface {
|
||
|
isUserCommitFilesAction_UserCommitFilesActionPayload()
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesAction_Header struct {
|
||
|
Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesAction_Content struct {
|
||
|
Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {}
|
||
|
|
||
|
func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {}
|
||
|
|
||
|
func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload {
|
||
|
if m != nil {
|
||
|
return m.UserCommitFilesActionPayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader {
|
||
|
if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok {
|
||
|
return x.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesAction) GetContent() []byte {
|
||
|
if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok {
|
||
|
return x.Content
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||
|
func (*UserCommitFilesAction) XXX_OneofWrappers() []interface{} {
|
||
|
return []interface{}{
|
||
|
(*UserCommitFilesAction_Header)(nil),
|
||
|
(*UserCommitFilesAction_Content)(nil),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesRequestHeader struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
BranchName []byte `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
||
|
CommitMessage []byte `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
|
||
|
CommitAuthorName []byte `protobuf:"bytes,5,opt,name=commit_author_name,json=commitAuthorName,proto3" json:"commit_author_name,omitempty"`
|
||
|
CommitAuthorEmail []byte `protobuf:"bytes,6,opt,name=commit_author_email,json=commitAuthorEmail,proto3" json:"commit_author_email,omitempty"`
|
||
|
StartBranchName []byte `protobuf:"bytes,7,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"`
|
||
|
StartRepository *Repository `protobuf:"bytes,8,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"`
|
||
|
Force bool `protobuf:"varint,9,opt,name=force,proto3" json:"force,omitempty"`
|
||
|
StartSha string `protobuf:"bytes,10,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) Reset() { *m = UserCommitFilesRequestHeader{} }
|
||
|
func (m *UserCommitFilesRequestHeader) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCommitFilesRequestHeader) ProtoMessage() {}
|
||
|
func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{23}
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCommitFilesRequestHeader.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCommitFilesRequestHeader.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequestHeader) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCommitFilesRequestHeader.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequestHeader) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCommitFilesRequestHeader.Size(m)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequestHeader) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCommitFilesRequestHeader.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCommitFilesRequestHeader proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.BranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetCommitMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.CommitMessage
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte {
|
||
|
if m != nil {
|
||
|
return m.CommitAuthorName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte {
|
||
|
if m != nil {
|
||
|
return m.CommitAuthorEmail
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetStartBranchName() []byte {
|
||
|
if m != nil {
|
||
|
return m.StartBranchName
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetStartRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.StartRepository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetForce() bool {
|
||
|
if m != nil {
|
||
|
return m.Force
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequestHeader) GetStartSha() string {
|
||
|
if m != nil {
|
||
|
return m.StartSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesRequest struct {
|
||
|
// Types that are valid to be assigned to UserCommitFilesRequestPayload:
|
||
|
// *UserCommitFilesRequest_Header
|
||
|
// *UserCommitFilesRequest_Action
|
||
|
UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequest) Reset() { *m = UserCommitFilesRequest{} }
|
||
|
func (m *UserCommitFilesRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCommitFilesRequest) ProtoMessage() {}
|
||
|
func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{24}
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCommitFilesRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCommitFilesRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCommitFilesRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCommitFilesRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserCommitFilesRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCommitFilesRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCommitFilesRequest proto.InternalMessageInfo
|
||
|
|
||
|
type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface {
|
||
|
isUserCommitFilesRequest_UserCommitFilesRequestPayload()
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesRequest_Header struct {
|
||
|
Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesRequest_Action struct {
|
||
|
Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {}
|
||
|
|
||
|
func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {}
|
||
|
|
||
|
func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload {
|
||
|
if m != nil {
|
||
|
return m.UserCommitFilesRequestPayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader {
|
||
|
if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok {
|
||
|
return x.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesRequest) GetAction() *UserCommitFilesAction {
|
||
|
if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok {
|
||
|
return x.Action
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||
|
func (*UserCommitFilesRequest) XXX_OneofWrappers() []interface{} {
|
||
|
return []interface{}{
|
||
|
(*UserCommitFilesRequest_Header)(nil),
|
||
|
(*UserCommitFilesRequest_Action)(nil),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type UserCommitFilesResponse struct {
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesResponse) Reset() { *m = UserCommitFilesResponse{} }
|
||
|
func (m *UserCommitFilesResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserCommitFilesResponse) ProtoMessage() {}
|
||
|
func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{25}
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserCommitFilesResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserCommitFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserCommitFilesResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserCommitFilesResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserCommitFilesResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserCommitFilesResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserCommitFilesResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserCommitFilesResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserCommitFilesResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserCommitFilesResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesResponse) GetIndexError() string {
|
||
|
if m != nil {
|
||
|
return m.IndexError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserCommitFilesResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628
|
||
|
//
|
||
|
// Deprecated: Do not use.
|
||
|
type UserRebaseRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"`
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"`
|
||
|
RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"`
|
||
|
RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) Reset() { *m = UserRebaseRequest{} }
|
||
|
func (m *UserRebaseRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRebaseRequest) ProtoMessage() {}
|
||
|
func (*UserRebaseRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{26}
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRebaseRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRebaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRebaseRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRebaseRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRebaseRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRebaseRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRebaseRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserRebaseRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRebaseRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRebaseRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserRebaseRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) GetRebaseId() string {
|
||
|
if m != nil {
|
||
|
return m.RebaseId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) GetBranchSha() string {
|
||
|
if m != nil {
|
||
|
return m.BranchSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) GetRemoteRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.RemoteRepository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseRequest) GetRemoteBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.RemoteBranch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628
|
||
|
//
|
||
|
// Deprecated: Do not use.
|
||
|
type UserRebaseResponse struct {
|
||
|
RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3" json:"rebase_sha,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseResponse) Reset() { *m = UserRebaseResponse{} }
|
||
|
func (m *UserRebaseResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRebaseResponse) ProtoMessage() {}
|
||
|
func (*UserRebaseResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{27}
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRebaseResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRebaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRebaseResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRebaseResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRebaseResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRebaseResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRebaseResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserRebaseResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRebaseResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRebaseResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserRebaseResponse) GetRebaseSha() string {
|
||
|
if m != nil {
|
||
|
return m.RebaseSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseResponse) GetGitError() string {
|
||
|
if m != nil {
|
||
|
return m.GitError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableRequest struct {
|
||
|
// Types that are valid to be assigned to UserRebaseConfirmableRequestPayload:
|
||
|
// *UserRebaseConfirmableRequest_Header_
|
||
|
// *UserRebaseConfirmableRequest_Apply
|
||
|
UserRebaseConfirmableRequestPayload isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload `protobuf_oneof:"user_rebase_confirmable_request_payload"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest) Reset() { *m = UserRebaseConfirmableRequest{} }
|
||
|
func (m *UserRebaseConfirmableRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRebaseConfirmableRequest) ProtoMessage() {}
|
||
|
func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{28}
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRebaseConfirmableRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRebaseConfirmableRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRebaseConfirmableRequest proto.InternalMessageInfo
|
||
|
|
||
|
type isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload interface {
|
||
|
isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload()
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableRequest_Header_ struct {
|
||
|
Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableRequest_Apply struct {
|
||
|
Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*UserRebaseConfirmableRequest_Header_) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() {
|
||
|
}
|
||
|
|
||
|
func (*UserRebaseConfirmableRequest_Apply) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() {
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload {
|
||
|
if m != nil {
|
||
|
return m.UserRebaseConfirmableRequestPayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header {
|
||
|
if x, ok := m.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Header_); ok {
|
||
|
return x.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest) GetApply() bool {
|
||
|
if x, ok := m.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Apply); ok {
|
||
|
return x.Apply
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||
|
func (*UserRebaseConfirmableRequest) XXX_OneofWrappers() []interface{} {
|
||
|
return []interface{}{
|
||
|
(*UserRebaseConfirmableRequest_Header_)(nil),
|
||
|
(*UserRebaseConfirmableRequest_Apply)(nil),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableRequest_Header struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"`
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"`
|
||
|
RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"`
|
||
|
RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) Reset() { *m = UserRebaseConfirmableRequest_Header{} }
|
||
|
func (m *UserRebaseConfirmableRequest_Header) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {}
|
||
|
func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{28, 0}
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest_Header) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRebaseConfirmableRequest_Header.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest_Header) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Size(m)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableRequest_Header) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRebaseConfirmableRequest_Header.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRebaseConfirmableRequest_Header proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetRebaseId() string {
|
||
|
if m != nil {
|
||
|
return m.RebaseId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetBranchSha() string {
|
||
|
if m != nil {
|
||
|
return m.BranchSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.RemoteRepository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.RemoteBranch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableResponse struct {
|
||
|
// Types that are valid to be assigned to UserRebaseConfirmableResponsePayload:
|
||
|
// *UserRebaseConfirmableResponse_RebaseSha
|
||
|
// *UserRebaseConfirmableResponse_RebaseApplied
|
||
|
UserRebaseConfirmableResponsePayload isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload `protobuf_oneof:"user_rebase_confirmable_response_payload"`
|
||
|
PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) Reset() { *m = UserRebaseConfirmableResponse{} }
|
||
|
func (m *UserRebaseConfirmableResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserRebaseConfirmableResponse) ProtoMessage() {}
|
||
|
func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{29}
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserRebaseConfirmableResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserRebaseConfirmableResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserRebaseConfirmableResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserRebaseConfirmableResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserRebaseConfirmableResponse proto.InternalMessageInfo
|
||
|
|
||
|
type isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload interface {
|
||
|
isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload()
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableResponse_RebaseSha struct {
|
||
|
RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type UserRebaseConfirmableResponse_RebaseApplied struct {
|
||
|
RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*UserRebaseConfirmableResponse_RebaseSha) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() {
|
||
|
}
|
||
|
|
||
|
func (*UserRebaseConfirmableResponse_RebaseApplied) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() {
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload {
|
||
|
if m != nil {
|
||
|
return m.UserRebaseConfirmableResponsePayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) GetRebaseSha() string {
|
||
|
if x, ok := m.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseSha); ok {
|
||
|
return x.RebaseSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) GetRebaseApplied() bool {
|
||
|
if x, ok := m.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseApplied); ok {
|
||
|
return x.RebaseApplied
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserRebaseConfirmableResponse) GetGitError() string {
|
||
|
if m != nil {
|
||
|
return m.GitError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||
|
func (*UserRebaseConfirmableResponse) XXX_OneofWrappers() []interface{} {
|
||
|
return []interface{}{
|
||
|
(*UserRebaseConfirmableResponse_RebaseSha)(nil),
|
||
|
(*UserRebaseConfirmableResponse_RebaseApplied)(nil),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type UserSquashRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
SquashId string `protobuf:"bytes,3,opt,name=squash_id,json=squashId,proto3" json:"squash_id,omitempty"`
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
StartSha string `protobuf:"bytes,5,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"`
|
||
|
EndSha string `protobuf:"bytes,6,opt,name=end_sha,json=endSha,proto3" json:"end_sha,omitempty"`
|
||
|
Author *User `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"`
|
||
|
CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) Reset() { *m = UserSquashRequest{} }
|
||
|
func (m *UserSquashRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserSquashRequest) ProtoMessage() {}
|
||
|
func (*UserSquashRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{30}
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserSquashRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserSquashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserSquashRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserSquashRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserSquashRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserSquashRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserSquashRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserSquashRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserSquashRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserSquashRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserSquashRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetSquashId() string {
|
||
|
if m != nil {
|
||
|
return m.SquashId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetStartSha() string {
|
||
|
if m != nil {
|
||
|
return m.StartSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetEndSha() string {
|
||
|
if m != nil {
|
||
|
return m.EndSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetAuthor() *User {
|
||
|
if m != nil {
|
||
|
return m.Author
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashRequest) GetCommitMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.CommitMessage
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserSquashResponse struct {
|
||
|
SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"`
|
||
|
GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashResponse) Reset() { *m = UserSquashResponse{} }
|
||
|
func (m *UserSquashResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserSquashResponse) ProtoMessage() {}
|
||
|
func (*UserSquashResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{31}
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserSquashResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserSquashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserSquashResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserSquashResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserSquashResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserSquashResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserSquashResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserSquashResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserSquashResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserSquashResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserSquashResponse) GetSquashSha() string {
|
||
|
if m != nil {
|
||
|
return m.SquashSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserSquashResponse) GetGitError() string {
|
||
|
if m != nil {
|
||
|
return m.GitError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type UserApplyPatchRequest struct {
|
||
|
// Types that are valid to be assigned to UserApplyPatchRequestPayload:
|
||
|
// *UserApplyPatchRequest_Header_
|
||
|
// *UserApplyPatchRequest_Patches
|
||
|
UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest) Reset() { *m = UserApplyPatchRequest{} }
|
||
|
func (m *UserApplyPatchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserApplyPatchRequest) ProtoMessage() {}
|
||
|
func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{32}
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserApplyPatchRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserApplyPatchRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserApplyPatchRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserApplyPatchRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserApplyPatchRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserApplyPatchRequest proto.InternalMessageInfo
|
||
|
|
||
|
type isUserApplyPatchRequest_UserApplyPatchRequestPayload interface {
|
||
|
isUserApplyPatchRequest_UserApplyPatchRequestPayload()
|
||
|
}
|
||
|
|
||
|
type UserApplyPatchRequest_Header_ struct {
|
||
|
Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type UserApplyPatchRequest_Patches struct {
|
||
|
Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*UserApplyPatchRequest_Header_) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {}
|
||
|
|
||
|
func (*UserApplyPatchRequest_Patches) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {}
|
||
|
|
||
|
func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload {
|
||
|
if m != nil {
|
||
|
return m.UserApplyPatchRequestPayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header {
|
||
|
if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok {
|
||
|
return x.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest) GetPatches() []byte {
|
||
|
if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok {
|
||
|
return x.Patches
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||
|
func (*UserApplyPatchRequest) XXX_OneofWrappers() []interface{} {
|
||
|
return []interface{}{
|
||
|
(*UserApplyPatchRequest_Header_)(nil),
|
||
|
(*UserApplyPatchRequest_Patches)(nil),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type UserApplyPatchRequest_Header struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest_Header) Reset() { *m = UserApplyPatchRequest_Header{} }
|
||
|
func (m *UserApplyPatchRequest_Header) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserApplyPatchRequest_Header) ProtoMessage() {}
|
||
|
func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{32, 0}
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest_Header) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserApplyPatchRequest_Header.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserApplyPatchRequest_Header.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest_Header) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserApplyPatchRequest_Header.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest_Header) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserApplyPatchRequest_Header.Size(m)
|
||
|
}
|
||
|
func (m *UserApplyPatchRequest_Header) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserApplyPatchRequest_Header.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserApplyPatchRequest_Header proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserApplyPatchRequest_Header) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest_Header) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchRequest_Header) GetTargetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.TargetBranch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserApplyPatchResponse struct {
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchResponse) Reset() { *m = UserApplyPatchResponse{} }
|
||
|
func (m *UserApplyPatchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserApplyPatchResponse) ProtoMessage() {}
|
||
|
func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{33}
|
||
|
}
|
||
|
|
||
|
func (m *UserApplyPatchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserApplyPatchResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserApplyPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserApplyPatchResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserApplyPatchResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserApplyPatchResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserApplyPatchResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserApplyPatchResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserApplyPatchResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserApplyPatchResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserApplyPatchResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserUpdateSubmoduleRequest struct {
|
||
|
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
|
||
|
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
|
||
|
Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"`
|
||
|
CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) Reset() { *m = UserUpdateSubmoduleRequest{} }
|
||
|
func (m *UserUpdateSubmoduleRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserUpdateSubmoduleRequest) ProtoMessage() {}
|
||
|
func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{34}
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserUpdateSubmoduleRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserUpdateSubmoduleRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserUpdateSubmoduleRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserUpdateSubmoduleRequest.Size(m)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserUpdateSubmoduleRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserUpdateSubmoduleRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) GetRepository() *Repository {
|
||
|
if m != nil {
|
||
|
return m.Repository
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) GetUser() *User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) GetCommitSha() string {
|
||
|
if m != nil {
|
||
|
return m.CommitSha
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) GetBranch() []byte {
|
||
|
if m != nil {
|
||
|
return m.Branch
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) GetSubmodule() []byte {
|
||
|
if m != nil {
|
||
|
return m.Submodule
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleRequest) GetCommitMessage() []byte {
|
||
|
if m != nil {
|
||
|
return m.CommitMessage
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UserUpdateSubmoduleResponse struct {
|
||
|
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
|
||
|
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
|
||
|
CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleResponse) Reset() { *m = UserUpdateSubmoduleResponse{} }
|
||
|
func (m *UserUpdateSubmoduleResponse) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UserUpdateSubmoduleResponse) ProtoMessage() {}
|
||
|
func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_1b4a5877375e491e, []int{35}
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleResponse) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UserUpdateSubmoduleResponse.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UserUpdateSubmoduleResponse.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleResponse) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UserUpdateSubmoduleResponse.Merge(m, src)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleResponse) XXX_Size() int {
|
||
|
return xxx_messageInfo_UserUpdateSubmoduleResponse.Size(m)
|
||
|
}
|
||
|
func (m *UserUpdateSubmoduleResponse) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UserUpdateSubmoduleResponse.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UserUpdateSubmoduleResponse proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate {
|
||
|
if m != nil {
|
||
|
return m.BranchUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleResponse) GetPreReceiveError() string {
|
||
|
if m != nil {
|
||
|
return m.PreReceiveError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UserUpdateSubmoduleResponse) GetCommitError() string {
|
||
|
if m != nil {
|
||
|
return m.CommitError
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterEnum("gitaly.UserCherryPickResponse_CreateTreeError", UserCherryPickResponse_CreateTreeError_name, UserCherryPickResponse_CreateTreeError_value)
|
||
|
proto.RegisterEnum("gitaly.UserRevertResponse_CreateTreeError", UserRevertResponse_CreateTreeError_name, UserRevertResponse_CreateTreeError_value)
|
||
|
proto.RegisterEnum("gitaly.UserCommitFilesActionHeader_ActionType", UserCommitFilesActionHeader_ActionType_name, UserCommitFilesActionHeader_ActionType_value)
|
||
|
proto.RegisterType((*UserCreateBranchRequest)(nil), "gitaly.UserCreateBranchRequest")
|
||
|
proto.RegisterType((*UserCreateBranchResponse)(nil), "gitaly.UserCreateBranchResponse")
|
||
|
proto.RegisterType((*UserUpdateBranchRequest)(nil), "gitaly.UserUpdateBranchRequest")
|
||
|
proto.RegisterType((*UserUpdateBranchResponse)(nil), "gitaly.UserUpdateBranchResponse")
|
||
|
proto.RegisterType((*UserDeleteBranchRequest)(nil), "gitaly.UserDeleteBranchRequest")
|
||
|
proto.RegisterType((*UserDeleteBranchResponse)(nil), "gitaly.UserDeleteBranchResponse")
|
||
|
proto.RegisterType((*UserDeleteTagRequest)(nil), "gitaly.UserDeleteTagRequest")
|
||
|
proto.RegisterType((*UserDeleteTagResponse)(nil), "gitaly.UserDeleteTagResponse")
|
||
|
proto.RegisterType((*UserCreateTagRequest)(nil), "gitaly.UserCreateTagRequest")
|
||
|
proto.RegisterType((*UserCreateTagResponse)(nil), "gitaly.UserCreateTagResponse")
|
||
|
proto.RegisterType((*UserMergeBranchRequest)(nil), "gitaly.UserMergeBranchRequest")
|
||
|
proto.RegisterType((*UserMergeBranchResponse)(nil), "gitaly.UserMergeBranchResponse")
|
||
|
proto.RegisterType((*UserMergeToRefRequest)(nil), "gitaly.UserMergeToRefRequest")
|
||
|
proto.RegisterType((*UserMergeToRefResponse)(nil), "gitaly.UserMergeToRefResponse")
|
||
|
proto.RegisterType((*OperationBranchUpdate)(nil), "gitaly.OperationBranchUpdate")
|
||
|
proto.RegisterType((*UserFFBranchRequest)(nil), "gitaly.UserFFBranchRequest")
|
||
|
proto.RegisterType((*UserFFBranchResponse)(nil), "gitaly.UserFFBranchResponse")
|
||
|
proto.RegisterType((*UserCherryPickRequest)(nil), "gitaly.UserCherryPickRequest")
|
||
|
proto.RegisterType((*UserCherryPickResponse)(nil), "gitaly.UserCherryPickResponse")
|
||
|
proto.RegisterType((*UserRevertRequest)(nil), "gitaly.UserRevertRequest")
|
||
|
proto.RegisterType((*UserRevertResponse)(nil), "gitaly.UserRevertResponse")
|
||
|
proto.RegisterType((*UserCommitFilesActionHeader)(nil), "gitaly.UserCommitFilesActionHeader")
|
||
|
proto.RegisterType((*UserCommitFilesAction)(nil), "gitaly.UserCommitFilesAction")
|
||
|
proto.RegisterType((*UserCommitFilesRequestHeader)(nil), "gitaly.UserCommitFilesRequestHeader")
|
||
|
proto.RegisterType((*UserCommitFilesRequest)(nil), "gitaly.UserCommitFilesRequest")
|
||
|
proto.RegisterType((*UserCommitFilesResponse)(nil), "gitaly.UserCommitFilesResponse")
|
||
|
proto.RegisterType((*UserRebaseRequest)(nil), "gitaly.UserRebaseRequest")
|
||
|
proto.RegisterType((*UserRebaseResponse)(nil), "gitaly.UserRebaseResponse")
|
||
|
proto.RegisterType((*UserRebaseConfirmableRequest)(nil), "gitaly.UserRebaseConfirmableRequest")
|
||
|
proto.RegisterType((*UserRebaseConfirmableRequest_Header)(nil), "gitaly.UserRebaseConfirmableRequest.Header")
|
||
|
proto.RegisterType((*UserRebaseConfirmableResponse)(nil), "gitaly.UserRebaseConfirmableResponse")
|
||
|
proto.RegisterType((*UserSquashRequest)(nil), "gitaly.UserSquashRequest")
|
||
|
proto.RegisterType((*UserSquashResponse)(nil), "gitaly.UserSquashResponse")
|
||
|
proto.RegisterType((*UserApplyPatchRequest)(nil), "gitaly.UserApplyPatchRequest")
|
||
|
proto.RegisterType((*UserApplyPatchRequest_Header)(nil), "gitaly.UserApplyPatchRequest.Header")
|
||
|
proto.RegisterType((*UserApplyPatchResponse)(nil), "gitaly.UserApplyPatchResponse")
|
||
|
proto.RegisterType((*UserUpdateSubmoduleRequest)(nil), "gitaly.UserUpdateSubmoduleRequest")
|
||
|
proto.RegisterType((*UserUpdateSubmoduleResponse)(nil), "gitaly.UserUpdateSubmoduleResponse")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("operations.proto", fileDescriptor_1b4a5877375e491e) }
|
||
|
|
||
|
var fileDescriptor_1b4a5877375e491e = []byte{
|
||
|
// 2139 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x23, 0x49,
|
||
|
0x15, 0x4f, 0xdb, 0x8e, 0xe3, 0xbc, 0x38, 0x89, 0x53, 0xb3, 0x3b, 0xeb, 0xf5, 0x4c, 0x98, 0x6c,
|
||
|
0x67, 0x86, 0xc9, 0x0c, 0xe0, 0xf9, 0x60, 0x05, 0x12, 0xd2, 0x82, 0x26, 0x8e, 0x43, 0x66, 0xb5,
|
||
|
0xf9, 0xa0, 0xe3, 0x01, 0xb1, 0x42, 0x34, 0x1d, 0xbb, 0x6c, 0xb7, 0xb0, 0xdd, 0xde, 0xea, 0x76,
|
||
|
0x98, 0x70, 0x40, 0x48, 0x48, 0x2c, 0x47, 0x4e, 0x2c, 0x17, 0x24, 0x38, 0x21, 0x21, 0x2e, 0x5c,
|
||
|
0x10, 0xe2, 0x80, 0x90, 0x38, 0xc1, 0x95, 0x3b, 0x7f, 0x00, 0x07, 0x0e, 0x20, 0x2e, 0x7b, 0x42,
|
||
|
0x55, 0xef, 0xb5, 0xdd, 0xd5, 0xdd, 0xce, 0x26, 0x4b, 0xac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c8, 0xb0, 0x5d, 0xb9, 0xf3, 0x01, 0x5c, 0xa9,
|
||
|
0x76, 0x3c, 0x34, 0xd8, 0x41, 0x68, 0xc9, 0x29, 0x17, 0x41, 0xdc, 0x92, 0xc8, 0xbd, 0x6c, 0xdc,
|
||
|
0x92, 0xe8, 0xd5, 0x5b, 0x14, 0x7c, 0x92, 0x87, 0x03, 0x88, 0x2e, 0x4f, 0x9b, 0xdb, 0x74, 0x79,
|
||
|
0xfa, 0xbc, 0x12, 0x95, 0xf7, 0x4d, 0x0c, 0x94, 0x49, 0x17, 0xd5, 0x03, 0x25, 0x31, 0x4d, 0xe8,
|
||
|
0x81, 0x92, 0x6c, 0xbe, 0x71, 0x4f, 0xba, 0xf8, 0xca, 0x14, 0xeb, 0x2a, 0xcc, 0x4c, 0x56, 0xbd,
|
||
|
0x78, 0x8f, 0xad, 0x6c, 0x9e, 0xcb, 0x93, 0x30, 0x65, 0xfb, 0xe1, 0xdb, 0xf2, 0x83, 0x9e, 0x73,
|
||
|
0x52, 0x6d, 0x7a, 0xfd, 0x07, 0xf8, 0xe7, 0x67, 0x3c, 0xd1, 0x79, 0x80, 0x62, 0x1e, 0xa8, 0xff,
|
||
|
0xc5, 0x79, 0xd0, 0xf1, 0xe8, 0xf7, 0xf0, 0xe4, 0x24, 0xaf, 0x48, 0x9f, 0xfd, 0x4f, 0x00, 0x00,
|
||
|
0x00, 0xff, 0xff, 0x81, 0xd4, 0x1b, 0xc8, 0xc8, 0x23, 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
|
||
|
|
||
|
// OperationServiceClient is the client API for OperationService service.
|
||
|
//
|
||
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||
|
type OperationServiceClient interface {
|
||
|
UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error)
|
||
|
UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error)
|
||
|
UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error)
|
||
|
UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error)
|
||
|
UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error)
|
||
|
UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error)
|
||
|
UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error)
|
||
|
UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error)
|
||
|
UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error)
|
||
|
UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error)
|
||
|
UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error)
|
||
|
UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error)
|
||
|
UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error)
|
||
|
UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error)
|
||
|
UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error)
|
||
|
UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error)
|
||
|
}
|
||
|
|
||
|
type operationServiceClient struct {
|
||
|
cc *grpc.ClientConn
|
||
|
}
|
||
|
|
||
|
func NewOperationServiceClient(cc *grpc.ClientConn) OperationServiceClient {
|
||
|
return &operationServiceClient{cc}
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) {
|
||
|
out := new(UserCreateBranchResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCreateBranch", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) {
|
||
|
out := new(UserUpdateBranchResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserUpdateBranch", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) {
|
||
|
out := new(UserDeleteBranchResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserDeleteBranch", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) {
|
||
|
out := new(UserCreateTagResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCreateTag", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) {
|
||
|
out := new(UserDeleteTagResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserDeleteTag", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) {
|
||
|
out := new(UserMergeToRefResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserMergeToRef", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) {
|
||
|
stream, err := c.cc.NewStream(ctx, &_OperationService_serviceDesc.Streams[0], "/gitaly.OperationService/UserMergeBranch", opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
x := &operationServiceUserMergeBranchClient{stream}
|
||
|
return x, nil
|
||
|
}
|
||
|
|
||
|
type OperationService_UserMergeBranchClient interface {
|
||
|
Send(*UserMergeBranchRequest) error
|
||
|
Recv() (*UserMergeBranchResponse, error)
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserMergeBranchClient struct {
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserMergeBranchClient) Send(m *UserMergeBranchRequest) error {
|
||
|
return x.ClientStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserMergeBranchClient) Recv() (*UserMergeBranchResponse, error) {
|
||
|
m := new(UserMergeBranchResponse)
|
||
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) {
|
||
|
out := new(UserFFBranchResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserFFBranch", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) {
|
||
|
out := new(UserCherryPickResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCherryPick", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) {
|
||
|
stream, err := c.cc.NewStream(ctx, &_OperationService_serviceDesc.Streams[1], "/gitaly.OperationService/UserCommitFiles", opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
x := &operationServiceUserCommitFilesClient{stream}
|
||
|
return x, nil
|
||
|
}
|
||
|
|
||
|
type OperationService_UserCommitFilesClient interface {
|
||
|
Send(*UserCommitFilesRequest) error
|
||
|
CloseAndRecv() (*UserCommitFilesResponse, error)
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserCommitFilesClient struct {
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserCommitFilesClient) Send(m *UserCommitFilesRequest) error {
|
||
|
return x.ClientStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserCommitFilesClient) CloseAndRecv() (*UserCommitFilesResponse, error) {
|
||
|
if err := x.ClientStream.CloseSend(); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
m := new(UserCommitFilesResponse)
|
||
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
// Deprecated: Do not use.
|
||
|
func (c *operationServiceClient) UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error) {
|
||
|
out := new(UserRebaseResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserRebase", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) {
|
||
|
stream, err := c.cc.NewStream(ctx, &_OperationService_serviceDesc.Streams[2], "/gitaly.OperationService/UserRebaseConfirmable", opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
x := &operationServiceUserRebaseConfirmableClient{stream}
|
||
|
return x, nil
|
||
|
}
|
||
|
|
||
|
type OperationService_UserRebaseConfirmableClient interface {
|
||
|
Send(*UserRebaseConfirmableRequest) error
|
||
|
Recv() (*UserRebaseConfirmableResponse, error)
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserRebaseConfirmableClient struct {
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserRebaseConfirmableClient) Send(m *UserRebaseConfirmableRequest) error {
|
||
|
return x.ClientStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserRebaseConfirmableClient) Recv() (*UserRebaseConfirmableResponse, error) {
|
||
|
m := new(UserRebaseConfirmableResponse)
|
||
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) {
|
||
|
out := new(UserRevertResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserRevert", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) {
|
||
|
out := new(UserSquashResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserSquash", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) {
|
||
|
stream, err := c.cc.NewStream(ctx, &_OperationService_serviceDesc.Streams[3], "/gitaly.OperationService/UserApplyPatch", opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
x := &operationServiceUserApplyPatchClient{stream}
|
||
|
return x, nil
|
||
|
}
|
||
|
|
||
|
type OperationService_UserApplyPatchClient interface {
|
||
|
Send(*UserApplyPatchRequest) error
|
||
|
CloseAndRecv() (*UserApplyPatchResponse, error)
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserApplyPatchClient struct {
|
||
|
grpc.ClientStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserApplyPatchClient) Send(m *UserApplyPatchRequest) error {
|
||
|
return x.ClientStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserApplyPatchClient) CloseAndRecv() (*UserApplyPatchResponse, error) {
|
||
|
if err := x.ClientStream.CloseSend(); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
m := new(UserApplyPatchResponse)
|
||
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func (c *operationServiceClient) UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) {
|
||
|
out := new(UserUpdateSubmoduleResponse)
|
||
|
err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserUpdateSubmodule", in, out, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
// OperationServiceServer is the server API for OperationService service.
|
||
|
type OperationServiceServer interface {
|
||
|
UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error)
|
||
|
UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error)
|
||
|
UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error)
|
||
|
UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error)
|
||
|
UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error)
|
||
|
UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error)
|
||
|
UserMergeBranch(OperationService_UserMergeBranchServer) error
|
||
|
UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error)
|
||
|
UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error)
|
||
|
UserCommitFiles(OperationService_UserCommitFilesServer) error
|
||
|
UserRebase(context.Context, *UserRebaseRequest) (*UserRebaseResponse, error)
|
||
|
UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error
|
||
|
UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error)
|
||
|
UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error)
|
||
|
UserApplyPatch(OperationService_UserApplyPatchServer) error
|
||
|
UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error)
|
||
|
}
|
||
|
|
||
|
// UnimplementedOperationServiceServer can be embedded to have forward compatible implementations.
|
||
|
type UnimplementedOperationServiceServer struct {
|
||
|
}
|
||
|
|
||
|
func (*UnimplementedOperationServiceServer) UserCreateBranch(ctx context.Context, req *UserCreateBranchRequest) (*UserCreateBranchResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserCreateBranch not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserUpdateBranch(ctx context.Context, req *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserUpdateBranch not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserDeleteBranch(ctx context.Context, req *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserDeleteBranch not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserCreateTag(ctx context.Context, req *UserCreateTagRequest) (*UserCreateTagResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserCreateTag not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserDeleteTag(ctx context.Context, req *UserDeleteTagRequest) (*UserDeleteTagResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserDeleteTag not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserMergeToRef(ctx context.Context, req *UserMergeToRefRequest) (*UserMergeToRefResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserMergeToRef not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserMergeBranch(srv OperationService_UserMergeBranchServer) error {
|
||
|
return status.Errorf(codes.Unimplemented, "method UserMergeBranch not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserFFBranch(ctx context.Context, req *UserFFBranchRequest) (*UserFFBranchResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserFFBranch not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserCherryPick(ctx context.Context, req *UserCherryPickRequest) (*UserCherryPickResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserCherryPick not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserCommitFiles(srv OperationService_UserCommitFilesServer) error {
|
||
|
return status.Errorf(codes.Unimplemented, "method UserCommitFiles not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserRebase(ctx context.Context, req *UserRebaseRequest) (*UserRebaseResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserRebase not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserRebaseConfirmable(srv OperationService_UserRebaseConfirmableServer) error {
|
||
|
return status.Errorf(codes.Unimplemented, "method UserRebaseConfirmable not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserRevert(ctx context.Context, req *UserRevertRequest) (*UserRevertResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserRevert not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserSquash(ctx context.Context, req *UserSquashRequest) (*UserSquashResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserSquash not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserApplyPatch(srv OperationService_UserApplyPatchServer) error {
|
||
|
return status.Errorf(codes.Unimplemented, "method UserApplyPatch not implemented")
|
||
|
}
|
||
|
func (*UnimplementedOperationServiceServer) UserUpdateSubmodule(ctx context.Context, req *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) {
|
||
|
return nil, status.Errorf(codes.Unimplemented, "method UserUpdateSubmodule not implemented")
|
||
|
}
|
||
|
|
||
|
func RegisterOperationServiceServer(s *grpc.Server, srv OperationServiceServer) {
|
||
|
s.RegisterService(&_OperationService_serviceDesc, srv)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserCreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserCreateBranchRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserCreateBranch(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserCreateBranch",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserCreateBranch(ctx, req.(*UserCreateBranchRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserUpdateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserUpdateBranchRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserUpdateBranch(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserUpdateBranch",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserUpdateBranch(ctx, req.(*UserUpdateBranchRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserDeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserDeleteBranchRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserDeleteBranch(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserDeleteBranch",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserDeleteBranch(ctx, req.(*UserDeleteBranchRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserCreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserCreateTagRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserCreateTag(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserCreateTag",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserCreateTag(ctx, req.(*UserCreateTagRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserDeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserDeleteTagRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserDeleteTag(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserDeleteTag",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserDeleteTag(ctx, req.(*UserDeleteTagRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserMergeToRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserMergeToRefRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserMergeToRef(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserMergeToRef",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserMergeToRef(ctx, req.(*UserMergeToRefRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserMergeBranch_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||
|
return srv.(OperationServiceServer).UserMergeBranch(&operationServiceUserMergeBranchServer{stream})
|
||
|
}
|
||
|
|
||
|
type OperationService_UserMergeBranchServer interface {
|
||
|
Send(*UserMergeBranchResponse) error
|
||
|
Recv() (*UserMergeBranchRequest, error)
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserMergeBranchServer struct {
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserMergeBranchServer) Send(m *UserMergeBranchResponse) error {
|
||
|
return x.ServerStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserMergeBranchServer) Recv() (*UserMergeBranchRequest, error) {
|
||
|
m := new(UserMergeBranchRequest)
|
||
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserFFBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserFFBranchRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserFFBranch(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserFFBranch",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserFFBranch(ctx, req.(*UserFFBranchRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserCherryPick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserCherryPickRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserCherryPick(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserCherryPick",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserCherryPick(ctx, req.(*UserCherryPickRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserCommitFiles_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||
|
return srv.(OperationServiceServer).UserCommitFiles(&operationServiceUserCommitFilesServer{stream})
|
||
|
}
|
||
|
|
||
|
type OperationService_UserCommitFilesServer interface {
|
||
|
SendAndClose(*UserCommitFilesResponse) error
|
||
|
Recv() (*UserCommitFilesRequest, error)
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserCommitFilesServer struct {
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserCommitFilesServer) SendAndClose(m *UserCommitFilesResponse) error {
|
||
|
return x.ServerStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserCommitFilesServer) Recv() (*UserCommitFilesRequest, error) {
|
||
|
m := new(UserCommitFilesRequest)
|
||
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserRebase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserRebaseRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserRebase(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserRebase",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserRebase(ctx, req.(*UserRebaseRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserRebaseConfirmable_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||
|
return srv.(OperationServiceServer).UserRebaseConfirmable(&operationServiceUserRebaseConfirmableServer{stream})
|
||
|
}
|
||
|
|
||
|
type OperationService_UserRebaseConfirmableServer interface {
|
||
|
Send(*UserRebaseConfirmableResponse) error
|
||
|
Recv() (*UserRebaseConfirmableRequest, error)
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserRebaseConfirmableServer struct {
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserRebaseConfirmableServer) Send(m *UserRebaseConfirmableResponse) error {
|
||
|
return x.ServerStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserRebaseConfirmableServer) Recv() (*UserRebaseConfirmableRequest, error) {
|
||
|
m := new(UserRebaseConfirmableRequest)
|
||
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserRevert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserRevertRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserRevert(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserRevert",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserRevert(ctx, req.(*UserRevertRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserSquash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserSquashRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserSquash(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserSquash",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserSquash(ctx, req.(*UserSquashRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserApplyPatch_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||
|
return srv.(OperationServiceServer).UserApplyPatch(&operationServiceUserApplyPatchServer{stream})
|
||
|
}
|
||
|
|
||
|
type OperationService_UserApplyPatchServer interface {
|
||
|
SendAndClose(*UserApplyPatchResponse) error
|
||
|
Recv() (*UserApplyPatchRequest, error)
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
type operationServiceUserApplyPatchServer struct {
|
||
|
grpc.ServerStream
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserApplyPatchServer) SendAndClose(m *UserApplyPatchResponse) error {
|
||
|
return x.ServerStream.SendMsg(m)
|
||
|
}
|
||
|
|
||
|
func (x *operationServiceUserApplyPatchServer) Recv() (*UserApplyPatchRequest, error) {
|
||
|
m := new(UserApplyPatchRequest)
|
||
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return m, nil
|
||
|
}
|
||
|
|
||
|
func _OperationService_UserUpdateSubmodule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(UserUpdateSubmoduleRequest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/gitaly.OperationService/UserUpdateSubmodule",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, req.(*UserUpdateSubmoduleRequest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
var _OperationService_serviceDesc = grpc.ServiceDesc{
|
||
|
ServiceName: "gitaly.OperationService",
|
||
|
HandlerType: (*OperationServiceServer)(nil),
|
||
|
Methods: []grpc.MethodDesc{
|
||
|
{
|
||
|
MethodName: "UserCreateBranch",
|
||
|
Handler: _OperationService_UserCreateBranch_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserUpdateBranch",
|
||
|
Handler: _OperationService_UserUpdateBranch_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserDeleteBranch",
|
||
|
Handler: _OperationService_UserDeleteBranch_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserCreateTag",
|
||
|
Handler: _OperationService_UserCreateTag_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserDeleteTag",
|
||
|
Handler: _OperationService_UserDeleteTag_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserMergeToRef",
|
||
|
Handler: _OperationService_UserMergeToRef_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserFFBranch",
|
||
|
Handler: _OperationService_UserFFBranch_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserCherryPick",
|
||
|
Handler: _OperationService_UserCherryPick_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserRebase",
|
||
|
Handler: _OperationService_UserRebase_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserRevert",
|
||
|
Handler: _OperationService_UserRevert_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserSquash",
|
||
|
Handler: _OperationService_UserSquash_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "UserUpdateSubmodule",
|
||
|
Handler: _OperationService_UserUpdateSubmodule_Handler,
|
||
|
},
|
||
|
},
|
||
|
Streams: []grpc.StreamDesc{
|
||
|
{
|
||
|
StreamName: "UserMergeBranch",
|
||
|
Handler: _OperationService_UserMergeBranch_Handler,
|
||
|
ServerStreams: true,
|
||
|
ClientStreams: true,
|
||
|
},
|
||
|
{
|
||
|
StreamName: "UserCommitFiles",
|
||
|
Handler: _OperationService_UserCommitFiles_Handler,
|
||
|
ClientStreams: true,
|
||
|
},
|
||
|
{
|
||
|
StreamName: "UserRebaseConfirmable",
|
||
|
Handler: _OperationService_UserRebaseConfirmable_Handler,
|
||
|
ServerStreams: true,
|
||
|
ClientStreams: true,
|
||
|
},
|
||
|
{
|
||
|
StreamName: "UserApplyPatch",
|
||
|
Handler: _OperationService_UserApplyPatch_Handler,
|
||
|
ClientStreams: true,
|
||
|
},
|
||
|
},
|
||
|
Metadata: "operations.proto",
|
||
|
}
|