653 lines
24 KiB
Go
653 lines
24 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.6-2-gfabf425 2025-09-23_15:21:15_UTC
|
|
// 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: forgeConfig.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 ForgeMode int32
|
|
|
|
const (
|
|
ForgeMode_MASTER ForgeMode = 0 // "release mode"
|
|
ForgeMode_DEVEL ForgeMode = 1 // "patch mode"
|
|
ForgeMode_USER ForgeMode = 2 // "work mode"
|
|
ForgeMode_NORMAL ForgeMode = 3 // "normal mode" // use this when you are developing code
|
|
ForgeMode_CLEAN ForgeMode = 4 // indicates "clean" was run
|
|
)
|
|
|
|
// Enum value maps for ForgeMode.
|
|
var (
|
|
ForgeMode_name = map[int32]string{
|
|
0: "MASTER",
|
|
1: "DEVEL",
|
|
2: "USER",
|
|
3: "NORMAL",
|
|
4: "CLEAN",
|
|
}
|
|
ForgeMode_value = map[string]int32{
|
|
"MASTER": 0,
|
|
"DEVEL": 1,
|
|
"USER": 2,
|
|
"NORMAL": 3,
|
|
"CLEAN": 4,
|
|
}
|
|
)
|
|
|
|
func (x ForgeMode) Enum() *ForgeMode {
|
|
p := new(ForgeMode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ForgeMode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ForgeMode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_forgeConfig_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ForgeMode) Type() protoreflect.EnumType {
|
|
return &file_forgeConfig_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ForgeMode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ForgeMode.Descriptor instead.
|
|
func (ForgeMode) EnumDescriptor() ([]byte, []int) {
|
|
return file_forgeConfig_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ForgeConfig struct {
|
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GoPath string `protobuf:"bytes,1,opt,name=goPath,proto3" json:"goPath,omitempty"` // `autogenpb:unique` `autogenpb:sort` // Examples: 'go.wit.com/apps/go-clone' or "~/mythings" or "/home/src/foo"
|
|
Writable bool `protobuf:"varint,2,opt,name=writable,proto3" json:"writable,omitempty"` // if you have write access to the repo
|
|
ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` // the opposite, but needed for now because I don't know what I'm doing
|
|
Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` // if the repo can be published
|
|
Directory bool `protobuf:"varint,5,opt,name=directory,proto3" json:"directory,omitempty"` // everything in this directory should use these writable & private values
|
|
Favorite bool `protobuf:"varint,6,opt,name=favorite,proto3" json:"favorite,omitempty"` // you like this. always git clone/go clone this repo
|
|
Interesting bool `protobuf:"varint,7,opt,name=interesting,proto3" json:"interesting,omitempty"` // this is something interesting you found and want to remember it
|
|
MasterBranchName string `protobuf:"bytes,8,opt,name=masterBranchName,proto3" json:"masterBranchName,omitempty"` // git 'main' or 'master' branch name
|
|
DevelBranchName string `protobuf:"bytes,9,opt,name=develBranchName,proto3" json:"develBranchName,omitempty"` // whatever the git 'devel' branch name is
|
|
UserBranchName string `protobuf:"bytes,10,opt,name=userBranchName,proto3" json:"userBranchName,omitempty"` // whatever your username branch is
|
|
DebName string `protobuf:"bytes,11,opt,name=debName,proto3" json:"debName,omitempty"` // the actual name used with 'apt install' (or distro apt equivalent.
|
|
Verstamp *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=verstamp,proto3" json:"verstamp,omitempty"` // the git commit timestamp of the version
|
|
GoSrc string `protobuf:"bytes,13,opt,name=goSrc,proto3" json:"goSrc,omitempty"` // is ~/go/src unless a go.work file is found
|
|
Namespace string `protobuf:"bytes,14,opt,name=namespace,proto3" json:"namespace,omitempty"` // `autogenpb:unique` `autogenpb:sort`
|
|
}
|
|
|
|
func (x *ForgeConfig) Reset() {
|
|
*x = ForgeConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forgeConfig_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForgeConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForgeConfig) ProtoMessage() {}
|
|
|
|
func (x *ForgeConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forgeConfig_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 ForgeConfig.ProtoReflect.Descriptor instead.
|
|
func (*ForgeConfig) Descriptor() ([]byte, []int) {
|
|
return file_forgeConfig_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ForgeConfig) GetGoPath() string {
|
|
if x != nil {
|
|
return x.GoPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfig) GetWritable() bool {
|
|
if x != nil {
|
|
return x.Writable
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfig) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfig) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfig) GetDirectory() bool {
|
|
if x != nil {
|
|
return x.Directory
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfig) GetFavorite() bool {
|
|
if x != nil {
|
|
return x.Favorite
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfig) GetInteresting() bool {
|
|
if x != nil {
|
|
return x.Interesting
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfig) GetMasterBranchName() string {
|
|
if x != nil {
|
|
return x.MasterBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfig) GetDevelBranchName() string {
|
|
if x != nil {
|
|
return x.DevelBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfig) GetUserBranchName() string {
|
|
if x != nil {
|
|
return x.UserBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfig) GetDebName() string {
|
|
if x != nil {
|
|
return x.DebName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfig) GetVerstamp() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Verstamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForgeConfig) GetGoSrc() string {
|
|
if x != nil {
|
|
return x.GoSrc
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfig) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ForgeConfigs 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:1941cd4f-1cfd-4bf6-aa75-c2c391907e81`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.47`
|
|
ForgeConfigs []*ForgeConfig `protobuf:"bytes,3,rep,name=ForgeConfigs,proto3" json:"ForgeConfigs,omitempty"`
|
|
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // what to use for the user branch (default ENV{USER})
|
|
Xterm string `protobuf:"bytes,5,opt,name=xterm,proto3" json:"xterm,omitempty"` // what xterm the user wants as the default
|
|
XtermArgv []string `protobuf:"bytes,6,rep,name=xtermArgv,proto3" json:"xtermArgv,omitempty"` // the argv line for xterm
|
|
DefaultGui string `protobuf:"bytes,7,opt,name=defaultGui,proto3" json:"defaultGui,omitempty"` // default GUI plugin to use
|
|
Mode ForgeMode `protobuf:"varint,8,opt,name=mode,proto3,enum=forgepb.ForgeMode" json:"mode,omitempty"` // what "mode" forge is in
|
|
GoWork bool `protobuf:"varint,9,opt,name=goWork,proto3" json:"goWork,omitempty"` // true if there is a go.work file
|
|
PathLock bool `protobuf:"varint,10,opt,name=pathLock,proto3" json:"pathLock,omitempty"` // the path is locked
|
|
ReposPB string `protobuf:"bytes,11,opt,name=ReposPB,proto3" json:"ReposPB,omitempty"` // where the repos.pb is
|
|
ReposDir string `protobuf:"bytes,12,opt,name=ReposDir,proto3" json:"ReposDir,omitempty"` // where the repos are
|
|
PatchDir string `protobuf:"bytes,13,opt,name=PatchDir,proto3" json:"PatchDir,omitempty"` // patch dir
|
|
ForgeURL string `protobuf:"bytes,14,opt,name=ForgeURL,proto3" json:"ForgeURL,omitempty"` // forge URL
|
|
Filename string `protobuf:"bytes,15,opt,name=Filename,proto3" json:"Filename,omitempty"` // filename of the config file
|
|
RillX int32 `protobuf:"varint,16,opt,name=rillX,proto3" json:"rillX,omitempty"` // used by rill
|
|
RillY int32 `protobuf:"varint,17,opt,name=rillY,proto3" json:"rillY,omitempty"` // used by rill
|
|
}
|
|
|
|
func (x *ForgeConfigs) Reset() {
|
|
*x = ForgeConfigs{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forgeConfig_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForgeConfigs) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForgeConfigs) ProtoMessage() {}
|
|
|
|
func (x *ForgeConfigs) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forgeConfig_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 ForgeConfigs.ProtoReflect.Descriptor instead.
|
|
func (*ForgeConfigs) Descriptor() ([]byte, []int) {
|
|
return file_forgeConfig_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetForgeConfigs() []*ForgeConfig {
|
|
if x != nil {
|
|
return x.ForgeConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetXterm() string {
|
|
if x != nil {
|
|
return x.Xterm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetXtermArgv() []string {
|
|
if x != nil {
|
|
return x.XtermArgv
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetDefaultGui() string {
|
|
if x != nil {
|
|
return x.DefaultGui
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetMode() ForgeMode {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ForgeMode_MASTER
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetGoWork() bool {
|
|
if x != nil {
|
|
return x.GoWork
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetPathLock() bool {
|
|
if x != nil {
|
|
return x.PathLock
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetReposPB() string {
|
|
if x != nil {
|
|
return x.ReposPB
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetReposDir() string {
|
|
if x != nil {
|
|
return x.ReposDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetPatchDir() string {
|
|
if x != nil {
|
|
return x.PatchDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetForgeURL() string {
|
|
if x != nil {
|
|
return x.ForgeURL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetRillX() int32 {
|
|
if x != nil {
|
|
return x.RillX
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForgeConfigs) GetRillY() int32 {
|
|
if x != nil {
|
|
return x.RillY
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// this generic message is used by autogen to identify and
|
|
// then dump the uuid and version from any arbitrary .pb file
|
|
type Identify 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"` //
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` //
|
|
}
|
|
|
|
func (x *Identify) Reset() {
|
|
*x = Identify{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forgeConfig_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Identify) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Identify) ProtoMessage() {}
|
|
|
|
func (x *Identify) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forgeConfig_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 Identify.ProtoReflect.Descriptor instead.
|
|
func (*Identify) Descriptor() ([]byte, []int) {
|
|
return file_forgeConfig_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Identify) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Identify) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_forgeConfig_proto protoreflect.FileDescriptor
|
|
|
|
var file_forgeConfig_proto_rawDesc = []byte{
|
|
0x0a, 0x11, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0xd7, 0x03,
|
|
0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a,
|
|
0x06, 0x67, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67,
|
|
0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c,
|
|
0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a,
|
|
0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
|
0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
|
|
0x74, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65,
|
|
0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x69, 0x74,
|
|
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x69, 0x74,
|
|
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74,
|
|
0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x42, 0x72, 0x61,
|
|
0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x28, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x42,
|
|
0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65,
|
|
0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x76,
|
|
0x65, 0x72, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0c, 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, 0x08, 0x76, 0x65, 0x72, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x6f, 0x53, 0x72, 0x63, 0x18, 0x0d, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x05, 0x67, 0x6f, 0x53, 0x72, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xf8, 0x03, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x67,
|
|
0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x38, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66,
|
|
0x6f, 0x72, 0x67, 0x65, 0x70, 0x62, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66,
|
|
0x69, 0x67, 0x52, 0x0c, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
0x78, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x78, 0x74, 0x65,
|
|
0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x78, 0x74, 0x65, 0x72, 0x6d, 0x41, 0x72, 0x67, 0x76, 0x18,
|
|
0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x78, 0x74, 0x65, 0x72, 0x6d, 0x41, 0x72, 0x67, 0x76,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x47, 0x75, 0x69, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x47, 0x75, 0x69,
|
|
0x12, 0x26, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12,
|
|
0x2e, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x70, 0x62, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x4d, 0x6f,
|
|
0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x67, 0x6f, 0x57, 0x6f, 0x72, 0x6b,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x08, 0x70, 0x61, 0x74, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07,
|
|
0x52, 0x65, 0x70, 0x6f, 0x73, 0x50, 0x42, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52,
|
|
0x65, 0x70, 0x6f, 0x73, 0x50, 0x42, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x44,
|
|
0x69, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x44,
|
|
0x69, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x74, 0x63, 0x68, 0x44, 0x69, 0x72, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x61, 0x74, 0x63, 0x68, 0x44, 0x69, 0x72, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x55, 0x52, 0x4c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x55, 0x52, 0x4c, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x69,
|
|
0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x69,
|
|
0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x69, 0x6c, 0x6c, 0x58, 0x18,
|
|
0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x69, 0x6c, 0x6c, 0x58, 0x12, 0x14, 0x0a, 0x05,
|
|
0x72, 0x69, 0x6c, 0x6c, 0x59, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x69, 0x6c,
|
|
0x6c, 0x59, 0x22, 0x38, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 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, 0x2a, 0x43, 0x0a, 0x09,
|
|
0x46, 0x6f, 0x72, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x53,
|
|
0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x01,
|
|
0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f,
|
|
0x52, 0x4d, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x10,
|
|
0x04, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_forgeConfig_proto_rawDescOnce sync.Once
|
|
file_forgeConfig_proto_rawDescData = file_forgeConfig_proto_rawDesc
|
|
)
|
|
|
|
func file_forgeConfig_proto_rawDescGZIP() []byte {
|
|
file_forgeConfig_proto_rawDescOnce.Do(func() {
|
|
file_forgeConfig_proto_rawDescData = protoimpl.X.CompressGZIP(file_forgeConfig_proto_rawDescData)
|
|
})
|
|
return file_forgeConfig_proto_rawDescData
|
|
}
|
|
|
|
var file_forgeConfig_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_forgeConfig_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
var file_forgeConfig_proto_goTypes = []interface{}{
|
|
(ForgeMode)(0), // 0: forgepb.ForgeMode
|
|
(*ForgeConfig)(nil), // 1: forgepb.ForgeConfig
|
|
(*ForgeConfigs)(nil), // 2: forgepb.ForgeConfigs
|
|
(*Identify)(nil), // 3: forgepb.Identify
|
|
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
|
|
}
|
|
var file_forgeConfig_proto_depIdxs = []int32{
|
|
4, // 0: forgepb.ForgeConfig.verstamp:type_name -> google.protobuf.Timestamp
|
|
1, // 1: forgepb.ForgeConfigs.ForgeConfigs:type_name -> forgepb.ForgeConfig
|
|
0, // 2: forgepb.ForgeConfigs.mode:type_name -> forgepb.ForgeMode
|
|
3, // [3:3] is the sub-list for method output_type
|
|
3, // [3:3] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_forgeConfig_proto_init() }
|
|
func file_forgeConfig_proto_init() {
|
|
if File_forgeConfig_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_forgeConfig_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForgeConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forgeConfig_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForgeConfigs); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forgeConfig_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Identify); 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_forgeConfig_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 3,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_forgeConfig_proto_goTypes,
|
|
DependencyIndexes: file_forgeConfig_proto_depIdxs,
|
|
EnumInfos: file_forgeConfig_proto_enumTypes,
|
|
MessageInfos: file_forgeConfig_proto_msgTypes,
|
|
}.Build()
|
|
File_forgeConfig_proto = out.File
|
|
file_forgeConfig_proto_rawDesc = nil
|
|
file_forgeConfig_proto_goTypes = nil
|
|
file_forgeConfig_proto_depIdxs = nil
|
|
}
|