mirror of
https://github.com/langgenius/dify.git
synced 2026-07-26 14:18:35 +08:00
516 lines
17 KiB
Go
516 lines
17 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v5.28.3
|
|
// source: dify/agent/stub/v1/agent_stub.proto
|
|
|
|
package stubv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
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 ConnectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ProtocolVersion int32 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
|
|
Argv []string `protobuf:"bytes,2,rep,name=argv,proto3" json:"argv,omitempty"`
|
|
MetadataJson string `protobuf:"bytes,3,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectRequest) Reset() {
|
|
*x = ConnectRequest{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectRequest) ProtoMessage() {}
|
|
|
|
func (x *ConnectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 ConnectRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConnectRequest) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ConnectRequest) GetProtocolVersion() int32 {
|
|
if x != nil {
|
|
return x.ProtocolVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConnectRequest) GetArgv() []string {
|
|
if x != nil {
|
|
return x.Argv
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConnectRequest) GetMetadataJson() string {
|
|
if x != nil {
|
|
return x.MetadataJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConnectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectResponse) Reset() {
|
|
*x = ConnectResponse{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectResponse) ProtoMessage() {}
|
|
|
|
func (x *ConnectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 ConnectResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConnectResponse) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ConnectResponse) GetConnectionId() string {
|
|
if x != nil {
|
|
return x.ConnectionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FileUploadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileUploadRequest) Reset() {
|
|
*x = FileUploadRequest{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileUploadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileUploadRequest) ProtoMessage() {}
|
|
|
|
func (x *FileUploadRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 FileUploadRequest.ProtoReflect.Descriptor instead.
|
|
func (*FileUploadRequest) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *FileUploadRequest) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileUploadRequest) GetMimetype() string {
|
|
if x != nil {
|
|
return x.Mimetype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FileUploadResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileUploadResponse) Reset() {
|
|
*x = FileUploadResponse{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileUploadResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileUploadResponse) ProtoMessage() {}
|
|
|
|
func (x *FileUploadResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 FileUploadResponse.ProtoReflect.Descriptor instead.
|
|
func (*FileUploadResponse) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *FileUploadResponse) GetUploadUrl() string {
|
|
if x != nil {
|
|
return x.UploadUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FileMapping struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TransferMethod string `protobuf:"bytes,1,opt,name=transfer_method,json=transferMethod,proto3" json:"transfer_method,omitempty"`
|
|
Reference *string `protobuf:"bytes,2,opt,name=reference,proto3,oneof" json:"reference,omitempty"`
|
|
Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileMapping) Reset() {
|
|
*x = FileMapping{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileMapping) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileMapping) ProtoMessage() {}
|
|
|
|
func (x *FileMapping) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 FileMapping.ProtoReflect.Descriptor instead.
|
|
func (*FileMapping) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FileMapping) GetTransferMethod() string {
|
|
if x != nil {
|
|
return x.TransferMethod
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileMapping) GetReference() string {
|
|
if x != nil && x.Reference != nil {
|
|
return *x.Reference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileMapping) GetUrl() string {
|
|
if x != nil && x.Url != nil {
|
|
return *x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FileDownloadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
File *FileMapping `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
|
|
ForExternal *bool `protobuf:"varint,2,opt,name=for_external,json=forExternal,proto3,oneof" json:"for_external,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileDownloadRequest) Reset() {
|
|
*x = FileDownloadRequest{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileDownloadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileDownloadRequest) ProtoMessage() {}
|
|
|
|
func (x *FileDownloadRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 FileDownloadRequest.ProtoReflect.Descriptor instead.
|
|
func (*FileDownloadRequest) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *FileDownloadRequest) GetFile() *FileMapping {
|
|
if x != nil {
|
|
return x.File
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileDownloadRequest) GetForExternal() bool {
|
|
if x != nil && x.ForExternal != nil {
|
|
return *x.ForExternal
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FileDownloadResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
MimeType *string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3,oneof" json:"mime_type,omitempty"`
|
|
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
DownloadUrl string `protobuf:"bytes,4,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileDownloadResponse) Reset() {
|
|
*x = FileDownloadResponse{}
|
|
mi := &file_dify_agent_stub_v1_agent_stub_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileDownloadResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileDownloadResponse) ProtoMessage() {}
|
|
|
|
func (x *FileDownloadResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dify_agent_stub_v1_agent_stub_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 FileDownloadResponse.ProtoReflect.Descriptor instead.
|
|
func (*FileDownloadResponse) Descriptor() ([]byte, []int) {
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *FileDownloadResponse) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileDownloadResponse) GetMimeType() string {
|
|
if x != nil && x.MimeType != nil {
|
|
return *x.MimeType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileDownloadResponse) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileDownloadResponse) GetDownloadUrl() string {
|
|
if x != nil {
|
|
return x.DownloadUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_dify_agent_stub_v1_agent_stub_proto protoreflect.FileDescriptor
|
|
|
|
const file_dify_agent_stub_v1_agent_stub_proto_rawDesc = "" +
|
|
"\n" +
|
|
"#dify/agent/stub/v1/agent_stub.proto\x12\x12dify.agent.stub.v1\"t\n" +
|
|
"\x0eConnectRequest\x12)\n" +
|
|
"\x10protocol_version\x18\x01 \x01(\x05R\x0fprotocolVersion\x12\x12\n" +
|
|
"\x04argv\x18\x02 \x03(\tR\x04argv\x12#\n" +
|
|
"\rmetadata_json\x18\x03 \x01(\tR\fmetadataJson\"N\n" +
|
|
"\x0fConnectResponse\x12#\n" +
|
|
"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\"K\n" +
|
|
"\x11FileUploadRequest\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x1a\n" +
|
|
"\bmimetype\x18\x02 \x01(\tR\bmimetype\"3\n" +
|
|
"\x12FileUploadResponse\x12\x1d\n" +
|
|
"\n" +
|
|
"upload_url\x18\x01 \x01(\tR\tuploadUrl\"\x86\x01\n" +
|
|
"\vFileMapping\x12'\n" +
|
|
"\x0ftransfer_method\x18\x01 \x01(\tR\x0etransferMethod\x12!\n" +
|
|
"\treference\x18\x02 \x01(\tH\x00R\treference\x88\x01\x01\x12\x15\n" +
|
|
"\x03url\x18\x03 \x01(\tH\x01R\x03url\x88\x01\x01B\f\n" +
|
|
"\n" +
|
|
"_referenceB\x06\n" +
|
|
"\x04_url\"\x83\x01\n" +
|
|
"\x13FileDownloadRequest\x123\n" +
|
|
"\x04file\x18\x01 \x01(\v2\x1f.dify.agent.stub.v1.FileMappingR\x04file\x12&\n" +
|
|
"\ffor_external\x18\x02 \x01(\bH\x00R\vforExternal\x88\x01\x01B\x0f\n" +
|
|
"\r_for_external\"\x99\x01\n" +
|
|
"\x14FileDownloadResponse\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12 \n" +
|
|
"\tmime_type\x18\x02 \x01(\tH\x00R\bmimeType\x88\x01\x01\x12\x12\n" +
|
|
"\x04size\x18\x03 \x01(\x03R\x04size\x12!\n" +
|
|
"\fdownload_url\x18\x04 \x01(\tR\vdownloadUrlB\f\n" +
|
|
"\n" +
|
|
"_mime_type2\xc0\x02\n" +
|
|
"\x10AgentStubService\x12R\n" +
|
|
"\aConnect\x12\".dify.agent.stub.v1.ConnectRequest\x1a#.dify.agent.stub.v1.ConnectResponse\x12h\n" +
|
|
"\x17CreateFileUploadRequest\x12%.dify.agent.stub.v1.FileUploadRequest\x1a&.dify.agent.stub.v1.FileUploadResponse\x12n\n" +
|
|
"\x19CreateFileDownloadRequest\x12'.dify.agent.stub.v1.FileDownloadRequest\x1a(.dify.agent.stub.v1.FileDownloadResponseB\x1bZ\x19dify/agent/stub/v1;stubv1b\x06proto3"
|
|
|
|
var (
|
|
file_dify_agent_stub_v1_agent_stub_proto_rawDescOnce sync.Once
|
|
file_dify_agent_stub_v1_agent_stub_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_dify_agent_stub_v1_agent_stub_proto_rawDescGZIP() []byte {
|
|
file_dify_agent_stub_v1_agent_stub_proto_rawDescOnce.Do(func() {
|
|
file_dify_agent_stub_v1_agent_stub_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dify_agent_stub_v1_agent_stub_proto_rawDesc), len(file_dify_agent_stub_v1_agent_stub_proto_rawDesc)))
|
|
})
|
|
return file_dify_agent_stub_v1_agent_stub_proto_rawDescData
|
|
}
|
|
|
|
var file_dify_agent_stub_v1_agent_stub_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_dify_agent_stub_v1_agent_stub_proto_goTypes = []any{
|
|
(*ConnectRequest)(nil), // 0: dify.agent.stub.v1.ConnectRequest
|
|
(*ConnectResponse)(nil), // 1: dify.agent.stub.v1.ConnectResponse
|
|
(*FileUploadRequest)(nil), // 2: dify.agent.stub.v1.FileUploadRequest
|
|
(*FileUploadResponse)(nil), // 3: dify.agent.stub.v1.FileUploadResponse
|
|
(*FileMapping)(nil), // 4: dify.agent.stub.v1.FileMapping
|
|
(*FileDownloadRequest)(nil), // 5: dify.agent.stub.v1.FileDownloadRequest
|
|
(*FileDownloadResponse)(nil), // 6: dify.agent.stub.v1.FileDownloadResponse
|
|
}
|
|
var file_dify_agent_stub_v1_agent_stub_proto_depIdxs = []int32{
|
|
4, // 0: dify.agent.stub.v1.FileDownloadRequest.file:type_name -> dify.agent.stub.v1.FileMapping
|
|
0, // 1: dify.agent.stub.v1.AgentStubService.Connect:input_type -> dify.agent.stub.v1.ConnectRequest
|
|
2, // 2: dify.agent.stub.v1.AgentStubService.CreateFileUploadRequest:input_type -> dify.agent.stub.v1.FileUploadRequest
|
|
5, // 3: dify.agent.stub.v1.AgentStubService.CreateFileDownloadRequest:input_type -> dify.agent.stub.v1.FileDownloadRequest
|
|
1, // 4: dify.agent.stub.v1.AgentStubService.Connect:output_type -> dify.agent.stub.v1.ConnectResponse
|
|
3, // 5: dify.agent.stub.v1.AgentStubService.CreateFileUploadRequest:output_type -> dify.agent.stub.v1.FileUploadResponse
|
|
6, // 6: dify.agent.stub.v1.AgentStubService.CreateFileDownloadRequest:output_type -> dify.agent.stub.v1.FileDownloadResponse
|
|
4, // [4:7] is the sub-list for method output_type
|
|
1, // [1:4] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_dify_agent_stub_v1_agent_stub_proto_init() }
|
|
func file_dify_agent_stub_v1_agent_stub_proto_init() {
|
|
if File_dify_agent_stub_v1_agent_stub_proto != nil {
|
|
return
|
|
}
|
|
file_dify_agent_stub_v1_agent_stub_proto_msgTypes[4].OneofWrappers = []any{}
|
|
file_dify_agent_stub_v1_agent_stub_proto_msgTypes[5].OneofWrappers = []any{}
|
|
file_dify_agent_stub_v1_agent_stub_proto_msgTypes[6].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_dify_agent_stub_v1_agent_stub_proto_rawDesc), len(file_dify_agent_stub_v1_agent_stub_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_dify_agent_stub_v1_agent_stub_proto_goTypes,
|
|
DependencyIndexes: file_dify_agent_stub_v1_agent_stub_proto_depIdxs,
|
|
MessageInfos: file_dify_agent_stub_v1_agent_stub_proto_msgTypes,
|
|
}.Build()
|
|
File_dify_agent_stub_v1_agent_stub_proto = out.File
|
|
file_dify_agent_stub_v1_agent_stub_proto_goTypes = nil
|
|
file_dify_agent_stub_v1_agent_stub_proto_depIdxs = nil
|
|
}
|