794 lines
27 KiB
Go
794 lines
27 KiB
Go
// Code modified by go.wit.com/apps/autogenpb DO NOT EDIT.
|
|
//
|
|
// user defined Mutex locks were auto added
|
|
//
|
|
// autogenpb version & build time: v0.5.5-2-g6c9a3dd 2025.09.22_0851
|
|
// autogenpb auto generates Sort(), Unique() and Marshal() functions
|
|
// go install go.wit.com/apps/autogenpb@latest
|
|
|
|
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v3.21.12
|
|
// source: patchset.proto
|
|
|
|
package forgepb // autogenpb changed the package name
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Patch struct {
|
|
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the base repo git namespace
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // the raw data of the whole patch
|
|
GH string `protobuf:"bytes,3,opt,name=gH,proto3" json:"gH,omitempty"` // Commit Hash (%H)
|
|
GT string `protobuf:"bytes,4,opt,name=gT,proto3" json:"gT,omitempty"` // Tree Hash (%T)
|
|
GP string `protobuf:"bytes,5,opt,name=gP,proto3" json:"gP,omitempty"` // Parent Hashes (%P)
|
|
Gs string `protobuf:"bytes,6,opt,name=gs,proto3" json:"gs,omitempty"` // Subject (%s)
|
|
GaI string `protobuf:"bytes,7,opt,name=gaI,proto3" json:"gaI,omitempty"` // Author Date, ISO 8601 format (%aI)
|
|
Gan string `protobuf:"bytes,8,opt,name=gan,proto3" json:"gan,omitempty"` // Author Name (%an)
|
|
Gae string `protobuf:"bytes,9,opt,name=gae,proto3" json:"gae,omitempty"` // Author Email (%ae)
|
|
GcI string `protobuf:"bytes,10,opt,name=gcI,proto3" json:"gcI,omitempty"` // Committer Date, ISO 8601 format (%cI)
|
|
Gcn string `protobuf:"bytes,11,opt,name=gcn,proto3" json:"gcn,omitempty"` // Committer Name (%cn)
|
|
Gce string `protobuf:"bytes,12,opt,name=gce,proto3" json:"gce,omitempty"` // Committer Email (%ce)
|
|
GN string `protobuf:"bytes,13,opt,name=gN,proto3" json:"gN,omitempty"` // Commit Notes (%N)
|
|
GGG string `protobuf:"bytes,14,opt,name=gGG,proto3" json:"gGG,omitempty"` // GPG Signature, raw (%GG)
|
|
GGS string `protobuf:"bytes,15,opt,name=gGS,proto3" json:"gGS,omitempty"` // GPG Signer Name (%GS)
|
|
GGK string `protobuf:"bytes,16,opt,name=gGK,proto3" json:"gGK,omitempty"` // GPG Key ID (%GK)
|
|
NewHash string `protobuf:"bytes,17,opt,name=newHash,proto3" json:"newHash,omitempty"` // new hash
|
|
State string `protobuf:"bytes,18,opt,name=state,proto3" json:"state,omitempty"` // the 'state' of the patch
|
|
Filename string `protobuf:"bytes,19,opt,name=filename,proto3" json:"filename,omitempty"` // `autogenpb:unique` `autogenpb:sort`
|
|
StartHash string `protobuf:"bytes,20,opt,name=startHash,proto3" json:"startHash,omitempty"` // the start commit hash
|
|
CommitHash string `protobuf:"bytes,21,opt,name=commitHash,proto3" json:"commitHash,omitempty"` // the git commit hash of this patch `autogenpb:sort` `autogenpb:unique`
|
|
Comment string `protobuf:"bytes,22,opt,name=comment,proto3" json:"comment,omitempty"` // the git commit message (in patch form)
|
|
Files []string `protobuf:"bytes,23,rep,name=Files,proto3" json:"Files,omitempty"` // the filenames this patch changes
|
|
Ctime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=ctime,proto3" json:"ctime,omitempty"` // create time of the patch
|
|
Applied bool `protobuf:"varint,25,opt,name=applied,proto3" json:"applied,omitempty"` // have you applied this patch?
|
|
Upstream bool `protobuf:"varint,26,opt,name=upstream,proto3" json:"upstream,omitempty"` // has this patch been applied upstream?
|
|
PatchId string `protobuf:"bytes,27,opt,name=patchId,proto3" json:"patchId,omitempty"` // patchId
|
|
TreeHash string `protobuf:"bytes,28,opt,name=treeHash,proto3" json:"treeHash,omitempty"` // final tree Hash
|
|
}
|
|
|
|
func (x *Patch) Reset() {
|
|
*x = Patch{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_patchset_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Patch) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Patch) ProtoMessage() {}
|
|
|
|
func (x *Patch) ProtoReflect() protoreflect.Message {
|
|
mi := &file_patchset_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Patch.ProtoReflect.Descriptor instead.
|
|
func (*Patch) Descriptor() ([]byte, []int) {
|
|
return file_patchset_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Patch) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Patch) GetGH() string {
|
|
if x != nil {
|
|
return x.GH
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGT() string {
|
|
if x != nil {
|
|
return x.GT
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGP() string {
|
|
if x != nil {
|
|
return x.GP
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGs() string {
|
|
if x != nil {
|
|
return x.Gs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGaI() string {
|
|
if x != nil {
|
|
return x.GaI
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGan() string {
|
|
if x != nil {
|
|
return x.Gan
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGae() string {
|
|
if x != nil {
|
|
return x.Gae
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGcI() string {
|
|
if x != nil {
|
|
return x.GcI
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGcn() string {
|
|
if x != nil {
|
|
return x.Gcn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGce() string {
|
|
if x != nil {
|
|
return x.Gce
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGN() string {
|
|
if x != nil {
|
|
return x.GN
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGGG() string {
|
|
if x != nil {
|
|
return x.GGG
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGGS() string {
|
|
if x != nil {
|
|
return x.GGS
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetGGK() string {
|
|
if x != nil {
|
|
return x.GGK
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetNewHash() string {
|
|
if x != nil {
|
|
return x.NewHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetStartHash() string {
|
|
if x != nil {
|
|
return x.StartHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetCommitHash() string {
|
|
if x != nil {
|
|
return x.CommitHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetComment() string {
|
|
if x != nil {
|
|
return x.Comment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetFiles() []string {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Patch) GetCtime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Ctime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Patch) GetApplied() bool {
|
|
if x != nil {
|
|
return x.Applied
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Patch) GetUpstream() bool {
|
|
if x != nil {
|
|
return x.Upstream
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Patch) GetPatchId() string {
|
|
if x != nil {
|
|
return x.PatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patch) GetTreeHash() string {
|
|
if x != nil {
|
|
return x.TreeHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// this is a "PATCH: [1/x]" series
|
|
type Patches struct {
|
|
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:2679065e-c81d-4a00-aca4-03c158a834fb`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v2.0.0`
|
|
Patches []*Patch `protobuf:"bytes,3,rep,name=Patches,proto3" json:"Patches,omitempty"`
|
|
Error string `protobuf:"bytes,5,opt,name=Error,proto3" json:"Error,omitempty"` // when passing these around, if there is an error, store it here
|
|
}
|
|
|
|
func (x *Patches) Reset() {
|
|
*x = Patches{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_patchset_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Patches) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Patches) ProtoMessage() {}
|
|
|
|
func (x *Patches) ProtoReflect() protoreflect.Message {
|
|
mi := &file_patchset_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Patches.ProtoReflect.Descriptor instead.
|
|
func (*Patches) Descriptor() ([]byte, []int) {
|
|
return file_patchset_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Patches) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patches) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patches) GetPatches() []*Patch {
|
|
if x != nil {
|
|
return x.Patches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Patches) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Patchset struct {
|
|
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Patches *Patches `protobuf:"bytes,1,opt,name=patches,proto3" json:"patches,omitempty"` //
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // `autogenpb:sort`
|
|
Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` //
|
|
GitAuthorName string `protobuf:"bytes,4,opt,name=gitAuthorName,proto3" json:"gitAuthorName,omitempty"` // `autogenpb:sort`
|
|
GitAuthorEmail string `protobuf:"bytes,5,opt,name=gitAuthorEmail,proto3" json:"gitAuthorEmail,omitempty"` //
|
|
Ctime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime,omitempty"` // create time of the patchset
|
|
TmpDir string `protobuf:"bytes,7,opt,name=tmpDir,proto3" json:"tmpDir,omitempty"` // temp dir
|
|
StartBranchName string `protobuf:"bytes,8,opt,name=startBranchName,proto3" json:"startBranchName,omitempty"` //
|
|
EndBranchName string `protobuf:"bytes,9,opt,name=endBranchName,proto3" json:"endBranchName,omitempty"` //
|
|
StartBranchHash string `protobuf:"bytes,10,opt,name=startBranchHash,proto3" json:"startBranchHash,omitempty"` //
|
|
EndBranchHash string `protobuf:"bytes,11,opt,name=endBranchHash,proto3" json:"endBranchHash,omitempty"` //
|
|
State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // the state of the patch
|
|
Uuid string `protobuf:"bytes,13,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:sort` `autogenpb:unique`
|
|
Hostname string `protobuf:"bytes,14,opt,name=hostname,proto3" json:"hostname,omitempty"` //
|
|
}
|
|
|
|
func (x *Patchset) Reset() {
|
|
*x = Patchset{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_patchset_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Patchset) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Patchset) ProtoMessage() {}
|
|
|
|
func (x *Patchset) ProtoReflect() protoreflect.Message {
|
|
mi := &file_patchset_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Patchset.ProtoReflect.Descriptor instead.
|
|
func (*Patchset) Descriptor() ([]byte, []int) {
|
|
return file_patchset_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Patchset) GetPatches() *Patches {
|
|
if x != nil {
|
|
return x.Patches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Patchset) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetComment() string {
|
|
if x != nil {
|
|
return x.Comment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetGitAuthorName() string {
|
|
if x != nil {
|
|
return x.GitAuthorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetGitAuthorEmail() string {
|
|
if x != nil {
|
|
return x.GitAuthorEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetCtime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Ctime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Patchset) GetTmpDir() string {
|
|
if x != nil {
|
|
return x.TmpDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetStartBranchName() string {
|
|
if x != nil {
|
|
return x.StartBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetEndBranchName() string {
|
|
if x != nil {
|
|
return x.EndBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetStartBranchHash() string {
|
|
if x != nil {
|
|
return x.StartBranchHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetEndBranchHash() string {
|
|
if x != nil {
|
|
return x.EndBranchHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchset) GetHostname() string {
|
|
if x != nil {
|
|
return x.Hostname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Patchsets struct {
|
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.45`
|
|
Patchsets []*Patchset `protobuf:"bytes,3,rep,name=Patchsets,proto3" json:"Patchsets,omitempty"`
|
|
}
|
|
|
|
func (x *Patchsets) Reset() {
|
|
*x = Patchsets{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_patchset_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Patchsets) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Patchsets) ProtoMessage() {}
|
|
|
|
func (x *Patchsets) ProtoReflect() protoreflect.Message {
|
|
mi := &file_patchset_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Patchsets.ProtoReflect.Descriptor instead.
|
|
func (*Patchsets) Descriptor() ([]byte, []int) {
|
|
return file_patchset_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Patchsets) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchsets) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Patchsets) GetPatchsets() []*Patchset {
|
|
if x != nil {
|
|
return x.Patchsets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_patchset_proto protoreflect.FileDescriptor
|
|
|
|
var file_patchset_proto_rawDesc = []byte{
|
|
0x0a, 0x0e, 0x70, 0x61, 0x74, 0x63, 0x68, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x12, 0x07, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x70, 0x62, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x05, 0x0a, 0x05, 0x50,
|
|
0x61, 0x74, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x48, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x02, 0x67, 0x48, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x54, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x02, 0x67, 0x54, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x50, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x02, 0x67, 0x50, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x02, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x49, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x61, 0x49, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x6e, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x61, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61,
|
|
0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x61, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
|
0x67, 0x63, 0x49, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x63, 0x49, 0x12, 0x10,
|
|
0x0a, 0x03, 0x67, 0x63, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x63, 0x6e,
|
|
0x12, 0x10, 0x0a, 0x03, 0x67, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67,
|
|
0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x4e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
0x67, 0x4e, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x47, 0x47, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x67, 0x47, 0x47, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x47, 0x53, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x03, 0x67, 0x47, 0x53, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x47, 0x4b, 0x18, 0x10, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x47, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x48,
|
|
0x61, 0x73, 0x68, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x48, 0x61, 0x73,
|
|
0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68,
|
|
0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x16, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
|
0x46, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x46, 0x69, 0x6c,
|
|
0x65, 0x73, 0x12, 0x30, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63,
|
|
0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x18,
|
|
0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61,
|
|
0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74,
|
|
0x63, 0x68, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x72, 0x65, 0x65, 0x48, 0x61, 0x73, 0x68,
|
|
0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x72, 0x65, 0x65, 0x48, 0x61, 0x73, 0x68,
|
|
0x22, 0x77, 0x0a, 0x07, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75,
|
|
0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x07, 0x50, 0x61, 0x74,
|
|
0x63, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x6f, 0x72,
|
|
0x67, 0x65, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x07, 0x50, 0x61, 0x74, 0x63,
|
|
0x68, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xe2, 0x03, 0x0a, 0x08, 0x50, 0x61,
|
|
0x74, 0x63, 0x68, 0x73, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65,
|
|
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x70,
|
|
0x62, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68,
|
|
0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x12, 0x24, 0x0a, 0x0d, 0x67, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68,
|
|
0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x67, 0x69, 0x74, 0x41, 0x75, 0x74,
|
|
0x68, 0x6f, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
|
|
0x67, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x30,
|
|
0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
|
|
0x12, 0x16, 0x0a, 0x06, 0x74, 0x6d, 0x70, 0x44, 0x69, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x74, 0x6d, 0x70, 0x44, 0x69, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72,
|
|
0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e,
|
|
0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x72,
|
|
0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72,
|
|
0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x48,
|
|
0x61, 0x73, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x72,
|
|
0x61, 0x6e, 0x63, 0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
|
|
0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12,
|
|
0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75,
|
|
0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6a,
|
|
0x0a, 0x09, 0x50, 0x61, 0x74, 0x63, 0x68, 0x73, 0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75,
|
|
0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x09, 0x50, 0x61, 0x74,
|
|
0x63, 0x68, 0x73, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66,
|
|
0x6f, 0x72, 0x67, 0x65, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x73, 0x65, 0x74, 0x52,
|
|
0x09, 0x50, 0x61, 0x74, 0x63, 0x68, 0x73, 0x65, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_patchset_proto_rawDescOnce sync.Once
|
|
file_patchset_proto_rawDescData = file_patchset_proto_rawDesc
|
|
)
|
|
|
|
func file_patchset_proto_rawDescGZIP() []byte {
|
|
file_patchset_proto_rawDescOnce.Do(func() {
|
|
file_patchset_proto_rawDescData = protoimpl.X.CompressGZIP(file_patchset_proto_rawDescData)
|
|
})
|
|
return file_patchset_proto_rawDescData
|
|
}
|
|
|
|
var file_patchset_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_patchset_proto_goTypes = []interface{}{
|
|
(*Patch)(nil), // 0: forgepb.Patch
|
|
(*Patches)(nil), // 1: forgepb.Patches
|
|
(*Patchset)(nil), // 2: forgepb.Patchset
|
|
(*Patchsets)(nil), // 3: forgepb.Patchsets
|
|
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
|
|
}
|
|
var file_patchset_proto_depIdxs = []int32{
|
|
4, // 0: forgepb.Patch.ctime:type_name -> google.protobuf.Timestamp
|
|
0, // 1: forgepb.Patches.Patches:type_name -> forgepb.Patch
|
|
1, // 2: forgepb.Patchset.patches:type_name -> forgepb.Patches
|
|
4, // 3: forgepb.Patchset.ctime:type_name -> google.protobuf.Timestamp
|
|
2, // 4: forgepb.Patchsets.Patchsets:type_name -> forgepb.Patchset
|
|
5, // [5:5] is the sub-list for method output_type
|
|
5, // [5:5] is the sub-list for method input_type
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
0, // [0:5] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_patchset_proto_init() }
|
|
func file_patchset_proto_init() {
|
|
if File_patchset_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_patchset_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Patch); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_patchset_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Patches); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_patchset_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Patchset); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_patchset_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Patchsets); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_patchset_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_patchset_proto_goTypes,
|
|
DependencyIndexes: file_patchset_proto_depIdxs,
|
|
MessageInfos: file_patchset_proto_msgTypes,
|
|
}.Build()
|
|
File_patchset_proto = out.File
|
|
file_patchset_proto_rawDesc = nil
|
|
file_patchset_proto_goTypes = nil
|
|
file_patchset_proto_depIdxs = nil
|
|
}
|