1138 lines
32 KiB
Go
1138 lines
32 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc v3.21.12
|
|
// source: conf/conf.proto
|
|
|
|
package conf
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 Bootstrap struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
|
|
Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
Ai *AI `protobuf:"bytes,3,opt,name=ai,proto3" json:"ai,omitempty"`
|
|
Vector *Vector `protobuf:"bytes,4,opt,name=vector,proto3" json:"vector,omitempty"`
|
|
Monitoring *Monitoring `protobuf:"bytes,5,opt,name=monitoring,proto3" json:"monitoring,omitempty"`
|
|
Log *Log `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"`
|
|
App *App `protobuf:"bytes,7,opt,name=app,proto3" json:"app,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Bootstrap) Reset() {
|
|
*x = Bootstrap{}
|
|
mi := &file_conf_conf_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Bootstrap) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Bootstrap) ProtoMessage() {}
|
|
|
|
func (x *Bootstrap) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.
|
|
func (*Bootstrap) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Bootstrap) GetServer() *Server {
|
|
if x != nil {
|
|
return x.Server
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Bootstrap) GetData() *Data {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Bootstrap) GetAi() *AI {
|
|
if x != nil {
|
|
return x.Ai
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Bootstrap) GetVector() *Vector {
|
|
if x != nil {
|
|
return x.Vector
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Bootstrap) GetMonitoring() *Monitoring {
|
|
if x != nil {
|
|
return x.Monitoring
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Bootstrap) GetLog() *Log {
|
|
if x != nil {
|
|
return x.Log
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Bootstrap) GetApp() *App {
|
|
if x != nil {
|
|
return x.App
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Server struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
|
|
Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Server) Reset() {
|
|
*x = Server{}
|
|
mi := &file_conf_conf_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Server) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Server) ProtoMessage() {}
|
|
|
|
func (x *Server) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Server.ProtoReflect.Descriptor instead.
|
|
func (*Server) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Server) GetHttp() *Server_HTTP {
|
|
if x != nil {
|
|
return x.Http
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Server) GetGrpc() *Server_GRPC {
|
|
if x != nil {
|
|
return x.Grpc
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Data struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
|
Redis *Data_Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Data) Reset() {
|
|
*x = Data{}
|
|
mi := &file_conf_conf_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Data) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Data) ProtoMessage() {}
|
|
|
|
func (x *Data) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Data.ProtoReflect.Descriptor instead.
|
|
func (*Data) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Data) GetDatabase() *Data_Database {
|
|
if x != nil {
|
|
return x.Database
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Data) GetRedis() *Data_Redis {
|
|
if x != nil {
|
|
return x.Redis
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AI struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ollama *AI_Ollama `protobuf:"bytes,1,opt,name=ollama,proto3" json:"ollama,omitempty"`
|
|
Eino *AI_Eino `protobuf:"bytes,2,opt,name=eino,proto3" json:"eino,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AI) Reset() {
|
|
*x = AI{}
|
|
mi := &file_conf_conf_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AI) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AI) ProtoMessage() {}
|
|
|
|
func (x *AI) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AI.ProtoReflect.Descriptor instead.
|
|
func (*AI) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AI) GetOllama() *AI_Ollama {
|
|
if x != nil {
|
|
return x.Ollama
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AI) GetEino() *AI_Eino {
|
|
if x != nil {
|
|
return x.Eino
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Vector struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Chromadb *Vector_ChromaDB `protobuf:"bytes,1,opt,name=chromadb,proto3" json:"chromadb,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Vector) Reset() {
|
|
*x = Vector{}
|
|
mi := &file_conf_conf_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Vector) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Vector) ProtoMessage() {}
|
|
|
|
func (x *Vector) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Vector.ProtoReflect.Descriptor instead.
|
|
func (*Vector) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Vector) GetChromadb() *Vector_ChromaDB {
|
|
if x != nil {
|
|
return x.Chromadb
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Monitoring struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CozeLoop *Monitoring_CozeLoop `protobuf:"bytes,1,opt,name=coze_loop,json=cozeLoop,proto3" json:"coze_loop,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Monitoring) Reset() {
|
|
*x = Monitoring{}
|
|
mi := &file_conf_conf_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Monitoring) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Monitoring) ProtoMessage() {}
|
|
|
|
func (x *Monitoring) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Monitoring.ProtoReflect.Descriptor instead.
|
|
func (*Monitoring) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *Monitoring) GetCozeLoop() *Monitoring_CozeLoop {
|
|
if x != nil {
|
|
return x.CozeLoop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Log struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
|
|
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
|
|
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Log) Reset() {
|
|
*x = Log{}
|
|
mi := &file_conf_conf_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Log) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Log) ProtoMessage() {}
|
|
|
|
func (x *Log) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Log.ProtoReflect.Descriptor instead.
|
|
func (*Log) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Log) GetLevel() string {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Log) GetFormat() string {
|
|
if x != nil {
|
|
return x.Format
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Log) GetOutput() string {
|
|
if x != nil {
|
|
return x.Output
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type App struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
Environment string `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *App) Reset() {
|
|
*x = App{}
|
|
mi := &file_conf_conf_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *App) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*App) ProtoMessage() {}
|
|
|
|
func (x *App) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use App.ProtoReflect.Descriptor instead.
|
|
func (*App) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *App) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *App) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *App) GetEnvironment() string {
|
|
if x != nil {
|
|
return x.Environment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Server_HTTP struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
|
|
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
|
|
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Server_HTTP) Reset() {
|
|
*x = Server_HTTP{}
|
|
mi := &file_conf_conf_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Server_HTTP) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Server_HTTP) ProtoMessage() {}
|
|
|
|
func (x *Server_HTTP) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
|
|
func (*Server_HTTP) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *Server_HTTP) GetNetwork() string {
|
|
if x != nil {
|
|
return x.Network
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Server_HTTP) GetAddr() string {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Server_HTTP) GetTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Server_GRPC struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
|
|
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
|
|
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Server_GRPC) Reset() {
|
|
*x = Server_GRPC{}
|
|
mi := &file_conf_conf_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Server_GRPC) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Server_GRPC) ProtoMessage() {}
|
|
|
|
func (x *Server_GRPC) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
|
|
func (*Server_GRPC) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{1, 1}
|
|
}
|
|
|
|
func (x *Server_GRPC) GetNetwork() string {
|
|
if x != nil {
|
|
return x.Network
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Server_GRPC) GetAddr() string {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Server_GRPC) GetTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Data_Database struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
|
|
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Data_Database) Reset() {
|
|
*x = Data_Database{}
|
|
mi := &file_conf_conf_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Data_Database) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Data_Database) ProtoMessage() {}
|
|
|
|
func (x *Data_Database) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
|
|
func (*Data_Database) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{2, 0}
|
|
}
|
|
|
|
func (x *Data_Database) GetDriver() string {
|
|
if x != nil {
|
|
return x.Driver
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Data_Database) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Data_Redis struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`
|
|
ReadTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"`
|
|
WriteTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"`
|
|
DialTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=dial_timeout,json=dialTimeout,proto3" json:"dial_timeout,omitempty"`
|
|
PoolSize int32 `protobuf:"varint,7,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Data_Redis) Reset() {
|
|
*x = Data_Redis{}
|
|
mi := &file_conf_conf_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Data_Redis) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Data_Redis) ProtoMessage() {}
|
|
|
|
func (x *Data_Redis) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.
|
|
func (*Data_Redis) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{2, 1}
|
|
}
|
|
|
|
func (x *Data_Redis) GetAddr() string {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Data_Redis) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Data_Redis) GetDb() int32 {
|
|
if x != nil {
|
|
return x.Db
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Data_Redis) GetReadTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.ReadTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.WriteTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Data_Redis) GetDialTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.DialTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Data_Redis) GetPoolSize() int32 {
|
|
if x != nil {
|
|
return x.PoolSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AI_Ollama struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
|
Models []string `protobuf:"bytes,2,rep,name=models,proto3" json:"models,omitempty"`
|
|
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AI_Ollama) Reset() {
|
|
*x = AI_Ollama{}
|
|
mi := &file_conf_conf_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AI_Ollama) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AI_Ollama) ProtoMessage() {}
|
|
|
|
func (x *AI_Ollama) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AI_Ollama.ProtoReflect.Descriptor instead.
|
|
func (*AI_Ollama) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
func (x *AI_Ollama) GetEndpoint() string {
|
|
if x != nil {
|
|
return x.Endpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AI_Ollama) GetModels() []string {
|
|
if x != nil {
|
|
return x.Models
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AI_Ollama) GetTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AI_Eino struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
LogLevel string `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
|
|
EnableTrace bool `protobuf:"varint,2,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AI_Eino) Reset() {
|
|
*x = AI_Eino{}
|
|
mi := &file_conf_conf_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AI_Eino) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AI_Eino) ProtoMessage() {}
|
|
|
|
func (x *AI_Eino) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AI_Eino.ProtoReflect.Descriptor instead.
|
|
func (*AI_Eino) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{3, 1}
|
|
}
|
|
|
|
func (x *AI_Eino) GetLogLevel() string {
|
|
if x != nil {
|
|
return x.LogLevel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AI_Eino) GetEnableTrace() bool {
|
|
if x != nil {
|
|
return x.EnableTrace
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Vector_ChromaDB struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Vector_ChromaDB) Reset() {
|
|
*x = Vector_ChromaDB{}
|
|
mi := &file_conf_conf_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Vector_ChromaDB) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Vector_ChromaDB) ProtoMessage() {}
|
|
|
|
func (x *Vector_ChromaDB) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Vector_ChromaDB.ProtoReflect.Descriptor instead.
|
|
func (*Vector_ChromaDB) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{4, 0}
|
|
}
|
|
|
|
func (x *Vector_ChromaDB) GetEndpoint() string {
|
|
if x != nil {
|
|
return x.Endpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Vector_ChromaDB) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Vector_ChromaDB) GetTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Monitoring_CozeLoop struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
|
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
|
|
MetricsInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=metrics_interval,json=metricsInterval,proto3" json:"metrics_interval,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Monitoring_CozeLoop) Reset() {
|
|
*x = Monitoring_CozeLoop{}
|
|
mi := &file_conf_conf_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Monitoring_CozeLoop) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Monitoring_CozeLoop) ProtoMessage() {}
|
|
|
|
func (x *Monitoring_CozeLoop) ProtoReflect() protoreflect.Message {
|
|
mi := &file_conf_conf_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Monitoring_CozeLoop.ProtoReflect.Descriptor instead.
|
|
func (*Monitoring_CozeLoop) Descriptor() ([]byte, []int) {
|
|
return file_conf_conf_proto_rawDescGZIP(), []int{5, 0}
|
|
}
|
|
|
|
func (x *Monitoring_CozeLoop) GetEndpoint() string {
|
|
if x != nil {
|
|
return x.Endpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Monitoring_CozeLoop) GetEnable() bool {
|
|
if x != nil {
|
|
return x.Enable
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Monitoring_CozeLoop) GetMetricsInterval() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.MetricsInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_conf_conf_proto protoreflect.FileDescriptor
|
|
|
|
const file_conf_conf_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fconf/conf.proto\x12\n" +
|
|
"kratos.api\x1a\x1egoogle/protobuf/duration.proto\"\xa7\x02\n" +
|
|
"\tBootstrap\x12*\n" +
|
|
"\x06server\x18\x01 \x01(\v2\x12.kratos.api.ServerR\x06server\x12$\n" +
|
|
"\x04data\x18\x02 \x01(\v2\x10.kratos.api.DataR\x04data\x12\x1e\n" +
|
|
"\x02ai\x18\x03 \x01(\v2\x0e.kratos.api.AIR\x02ai\x12*\n" +
|
|
"\x06vector\x18\x04 \x01(\v2\x12.kratos.api.VectorR\x06vector\x126\n" +
|
|
"\n" +
|
|
"monitoring\x18\x05 \x01(\v2\x16.kratos.api.MonitoringR\n" +
|
|
"monitoring\x12!\n" +
|
|
"\x03log\x18\x06 \x01(\v2\x0f.kratos.api.LogR\x03log\x12!\n" +
|
|
"\x03app\x18\a \x01(\v2\x0f.kratos.api.AppR\x03app\"\xb8\x02\n" +
|
|
"\x06Server\x12+\n" +
|
|
"\x04http\x18\x01 \x01(\v2\x17.kratos.api.Server.HTTPR\x04http\x12+\n" +
|
|
"\x04grpc\x18\x02 \x01(\v2\x17.kratos.api.Server.GRPCR\x04grpc\x1ai\n" +
|
|
"\x04HTTP\x12\x18\n" +
|
|
"\anetwork\x18\x01 \x01(\tR\anetwork\x12\x12\n" +
|
|
"\x04addr\x18\x02 \x01(\tR\x04addr\x123\n" +
|
|
"\atimeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\atimeout\x1ai\n" +
|
|
"\x04GRPC\x12\x18\n" +
|
|
"\anetwork\x18\x01 \x01(\tR\anetwork\x12\x12\n" +
|
|
"\x04addr\x18\x02 \x01(\tR\x04addr\x123\n" +
|
|
"\atimeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"\xca\x03\n" +
|
|
"\x04Data\x125\n" +
|
|
"\bdatabase\x18\x01 \x01(\v2\x19.kratos.api.Data.DatabaseR\bdatabase\x12,\n" +
|
|
"\x05redis\x18\x02 \x01(\v2\x16.kratos.api.Data.RedisR\x05redis\x1a:\n" +
|
|
"\bDatabase\x12\x16\n" +
|
|
"\x06driver\x18\x01 \x01(\tR\x06driver\x12\x16\n" +
|
|
"\x06source\x18\x02 \x01(\tR\x06source\x1a\xa0\x02\n" +
|
|
"\x05Redis\x12\x12\n" +
|
|
"\x04addr\x18\x01 \x01(\tR\x04addr\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x0e\n" +
|
|
"\x02db\x18\x03 \x01(\x05R\x02db\x12<\n" +
|
|
"\fread_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\vreadTimeout\x12>\n" +
|
|
"\rwrite_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\fwriteTimeout\x12<\n" +
|
|
"\fdial_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\vdialTimeout\x12\x1b\n" +
|
|
"\tpool_size\x18\a \x01(\x05R\bpoolSize\"\x97\x02\n" +
|
|
"\x02AI\x12-\n" +
|
|
"\x06ollama\x18\x01 \x01(\v2\x15.kratos.api.AI.OllamaR\x06ollama\x12'\n" +
|
|
"\x04eino\x18\x02 \x01(\v2\x13.kratos.api.AI.EinoR\x04eino\x1aq\n" +
|
|
"\x06Ollama\x12\x1a\n" +
|
|
"\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x16\n" +
|
|
"\x06models\x18\x02 \x03(\tR\x06models\x123\n" +
|
|
"\atimeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\atimeout\x1aF\n" +
|
|
"\x04Eino\x12\x1b\n" +
|
|
"\tlog_level\x18\x01 \x01(\tR\blogLevel\x12!\n" +
|
|
"\fenable_trace\x18\x02 \x01(\bR\venableTrace\"\xbe\x01\n" +
|
|
"\x06Vector\x127\n" +
|
|
"\bchromadb\x18\x01 \x01(\v2\x1b.kratos.api.Vector.ChromaDBR\bchromadb\x1a{\n" +
|
|
"\bChromaDB\x12\x1a\n" +
|
|
"\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x123\n" +
|
|
"\atimeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"\xd1\x01\n" +
|
|
"\n" +
|
|
"Monitoring\x12<\n" +
|
|
"\tcoze_loop\x18\x01 \x01(\v2\x1f.kratos.api.Monitoring.CozeLoopR\bcozeLoop\x1a\x84\x01\n" +
|
|
"\bCozeLoop\x12\x1a\n" +
|
|
"\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x16\n" +
|
|
"\x06enable\x18\x02 \x01(\bR\x06enable\x12D\n" +
|
|
"\x10metrics_interval\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x0fmetricsInterval\"K\n" +
|
|
"\x03Log\x12\x14\n" +
|
|
"\x05level\x18\x01 \x01(\tR\x05level\x12\x16\n" +
|
|
"\x06format\x18\x02 \x01(\tR\x06format\x12\x16\n" +
|
|
"\x06output\x18\x03 \x01(\tR\x06output\"U\n" +
|
|
"\x03App\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\tR\aversion\x12 \n" +
|
|
"\venvironment\x18\x03 \x01(\tR\venvironmentB!Z\x1feino-project/internal/conf;confb\x06proto3"
|
|
|
|
var (
|
|
file_conf_conf_proto_rawDescOnce sync.Once
|
|
file_conf_conf_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_conf_conf_proto_rawDescGZIP() []byte {
|
|
file_conf_conf_proto_rawDescOnce.Do(func() {
|
|
file_conf_conf_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_conf_conf_proto_rawDesc), len(file_conf_conf_proto_rawDesc)))
|
|
})
|
|
return file_conf_conf_proto_rawDescData
|
|
}
|
|
|
|
var file_conf_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
var file_conf_conf_proto_goTypes = []any{
|
|
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
|
|
(*Server)(nil), // 1: kratos.api.Server
|
|
(*Data)(nil), // 2: kratos.api.Data
|
|
(*AI)(nil), // 3: kratos.api.AI
|
|
(*Vector)(nil), // 4: kratos.api.Vector
|
|
(*Monitoring)(nil), // 5: kratos.api.Monitoring
|
|
(*Log)(nil), // 6: kratos.api.Log
|
|
(*App)(nil), // 7: kratos.api.App
|
|
(*Server_HTTP)(nil), // 8: kratos.api.Server.HTTP
|
|
(*Server_GRPC)(nil), // 9: kratos.api.Server.GRPC
|
|
(*Data_Database)(nil), // 10: kratos.api.Data.Database
|
|
(*Data_Redis)(nil), // 11: kratos.api.Data.Redis
|
|
(*AI_Ollama)(nil), // 12: kratos.api.AI.Ollama
|
|
(*AI_Eino)(nil), // 13: kratos.api.AI.Eino
|
|
(*Vector_ChromaDB)(nil), // 14: kratos.api.Vector.ChromaDB
|
|
(*Monitoring_CozeLoop)(nil), // 15: kratos.api.Monitoring.CozeLoop
|
|
(*durationpb.Duration)(nil), // 16: google.protobuf.Duration
|
|
}
|
|
var file_conf_conf_proto_depIdxs = []int32{
|
|
1, // 0: kratos.api.Bootstrap.server:type_name -> kratos.api.Server
|
|
2, // 1: kratos.api.Bootstrap.data:type_name -> kratos.api.Data
|
|
3, // 2: kratos.api.Bootstrap.ai:type_name -> kratos.api.AI
|
|
4, // 3: kratos.api.Bootstrap.vector:type_name -> kratos.api.Vector
|
|
5, // 4: kratos.api.Bootstrap.monitoring:type_name -> kratos.api.Monitoring
|
|
6, // 5: kratos.api.Bootstrap.log:type_name -> kratos.api.Log
|
|
7, // 6: kratos.api.Bootstrap.app:type_name -> kratos.api.App
|
|
8, // 7: kratos.api.Server.http:type_name -> kratos.api.Server.HTTP
|
|
9, // 8: kratos.api.Server.grpc:type_name -> kratos.api.Server.GRPC
|
|
10, // 9: kratos.api.Data.database:type_name -> kratos.api.Data.Database
|
|
11, // 10: kratos.api.Data.redis:type_name -> kratos.api.Data.Redis
|
|
12, // 11: kratos.api.AI.ollama:type_name -> kratos.api.AI.Ollama
|
|
13, // 12: kratos.api.AI.eino:type_name -> kratos.api.AI.Eino
|
|
14, // 13: kratos.api.Vector.chromadb:type_name -> kratos.api.Vector.ChromaDB
|
|
15, // 14: kratos.api.Monitoring.coze_loop:type_name -> kratos.api.Monitoring.CozeLoop
|
|
16, // 15: kratos.api.Server.HTTP.timeout:type_name -> google.protobuf.Duration
|
|
16, // 16: kratos.api.Server.GRPC.timeout:type_name -> google.protobuf.Duration
|
|
16, // 17: kratos.api.Data.Redis.read_timeout:type_name -> google.protobuf.Duration
|
|
16, // 18: kratos.api.Data.Redis.write_timeout:type_name -> google.protobuf.Duration
|
|
16, // 19: kratos.api.Data.Redis.dial_timeout:type_name -> google.protobuf.Duration
|
|
16, // 20: kratos.api.AI.Ollama.timeout:type_name -> google.protobuf.Duration
|
|
16, // 21: kratos.api.Vector.ChromaDB.timeout:type_name -> google.protobuf.Duration
|
|
16, // 22: kratos.api.Monitoring.CozeLoop.metrics_interval:type_name -> google.protobuf.Duration
|
|
23, // [23:23] is the sub-list for method output_type
|
|
23, // [23:23] is the sub-list for method input_type
|
|
23, // [23:23] is the sub-list for extension type_name
|
|
23, // [23:23] is the sub-list for extension extendee
|
|
0, // [0:23] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_conf_conf_proto_init() }
|
|
func file_conf_conf_proto_init() {
|
|
if File_conf_conf_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_conf_conf_proto_rawDesc), len(file_conf_conf_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 16,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_conf_conf_proto_goTypes,
|
|
DependencyIndexes: file_conf_conf_proto_depIdxs,
|
|
MessageInfos: file_conf_conf_proto_msgTypes,
|
|
}.Build()
|
|
File_conf_conf_proto = out.File
|
|
file_conf_conf_proto_goTypes = nil
|
|
file_conf_conf_proto_depIdxs = nil
|
|
}
|