2022-08-19 22:03:00 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-06-27 13:57:14 +00:00
|
|
|
// protoc-gen-go v1.30.0
|
|
|
|
// protoc v3.21.12
|
2022-08-19 22:03:00 +00:00
|
|
|
// source: tree.proto
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
2022-08-22 19:53:27 +00:00
|
|
|
type TreeSecret struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeSecret) Reset() {
|
|
|
|
*x = TreeSecret{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_tree_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeSecret) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TreeSecret) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TreeSecret) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_tree_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 TreeSecret.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TreeSecret) Descriptor() ([]byte, []int) {
|
|
|
|
return file_tree_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeSecret) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type RebuildResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RebuildResponse) Reset() {
|
|
|
|
*x = RebuildResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_tree_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RebuildResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RebuildResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RebuildResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_tree_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 RebuildResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RebuildResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_tree_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RebuildResponse) GetSuccess() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Success
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-08-19 22:03:00 +00:00
|
|
|
type FileRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileRequest) Reset() {
|
|
|
|
*x = FileRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[2]
|
2022-08-19 22:03:00 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*FileRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *FileRequest) ProtoReflect() protoreflect.Message {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[2]
|
2022-08-19 22:03:00 +00:00
|
|
|
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 FileRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*FileRequest) Descriptor() ([]byte, []int) {
|
2022-08-22 19:53:27 +00:00
|
|
|
return file_tree_proto_rawDescGZIP(), []int{2}
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type TreeRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Path *string `protobuf:"bytes,1,opt,name=path,proto3,oneof" json:"path,omitempty"`
|
|
|
|
Filter []*TreeRequest_Filter `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest) Reset() {
|
|
|
|
*x = TreeRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[3]
|
2022-08-19 22:03:00 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TreeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TreeRequest) ProtoReflect() protoreflect.Message {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[3]
|
2022-08-19 22:03:00 +00:00
|
|
|
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 TreeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TreeRequest) Descriptor() ([]byte, []int) {
|
2022-08-22 19:53:27 +00:00
|
|
|
return file_tree_proto_rawDescGZIP(), []int{3}
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest) GetPath() string {
|
|
|
|
if x != nil && x.Path != nil {
|
|
|
|
return *x.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest) GetFilter() []*TreeRequest_Filter {
|
|
|
|
if x != nil {
|
|
|
|
return x.Filter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type TreeFile struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Category []string `protobuf:"bytes,2,rep,name=category,proto3" json:"category,omitempty"`
|
|
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Lang string `protobuf:"bytes,5,opt,name=lang,proto3" json:"lang,omitempty"`
|
|
|
|
Copyright string `protobuf:"bytes,6,opt,name=copyright,proto3" json:"copyright,omitempty"`
|
|
|
|
Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
|
|
Created string `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) Reset() {
|
|
|
|
*x = TreeFile{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[4]
|
2022-08-19 22:03:00 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TreeFile) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TreeFile) ProtoReflect() protoreflect.Message {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[4]
|
2022-08-19 22:03:00 +00:00
|
|
|
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 TreeFile.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TreeFile) Descriptor() ([]byte, []int) {
|
2022-08-22 19:53:27 +00:00
|
|
|
return file_tree_proto_rawDescGZIP(), []int{4}
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetCategory() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Category
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetDescription() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Description
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetLang() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Lang
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetCopyright() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Copyright
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetTags() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Tags
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeFile) GetCreated() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Created
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type Tree struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Files []*TreeFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
|
2022-08-20 20:44:07 +00:00
|
|
|
RootFiles []*TreeFile `protobuf:"bytes,4,rep,name=rootFiles,proto3" json:"rootFiles,omitempty"`
|
2022-08-19 22:03:00 +00:00
|
|
|
Tags map[string]int32 `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
Categories map[string]int32 `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
2022-08-20 22:34:53 +00:00
|
|
|
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
RootPath string `protobuf:"bytes,6,opt,name=rootPath,proto3" json:"rootPath,omitempty"`
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tree) Reset() {
|
|
|
|
*x = Tree{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[5]
|
2022-08-19 22:03:00 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tree) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Tree) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Tree) ProtoReflect() protoreflect.Message {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[5]
|
2022-08-19 22:03:00 +00:00
|
|
|
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 Tree.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Tree) Descriptor() ([]byte, []int) {
|
2022-08-22 19:53:27 +00:00
|
|
|
return file_tree_proto_rawDescGZIP(), []int{5}
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tree) GetFiles() []*TreeFile {
|
|
|
|
if x != nil {
|
|
|
|
return x.Files
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-08-20 20:44:07 +00:00
|
|
|
func (x *Tree) GetRootFiles() []*TreeFile {
|
|
|
|
if x != nil {
|
|
|
|
return x.RootFiles
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-08-19 22:03:00 +00:00
|
|
|
func (x *Tree) GetTags() map[string]int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Tags
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tree) GetCategories() map[string]int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Categories
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-08-20 22:34:53 +00:00
|
|
|
func (x *Tree) GetPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tree) GetRootPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RootPath
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-08-19 22:03:00 +00:00
|
|
|
type FileContent struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
File *TreeFile `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
|
|
|
|
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileContent) Reset() {
|
|
|
|
*x = FileContent{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[6]
|
2022-08-19 22:03:00 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileContent) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*FileContent) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *FileContent) ProtoReflect() protoreflect.Message {
|
2022-08-22 19:53:27 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[6]
|
2022-08-19 22:03:00 +00:00
|
|
|
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 FileContent.ProtoReflect.Descriptor instead.
|
|
|
|
func (*FileContent) Descriptor() ([]byte, []int) {
|
2022-08-22 19:53:27 +00:00
|
|
|
return file_tree_proto_rawDescGZIP(), []int{6}
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileContent) GetFile() *TreeFile {
|
|
|
|
if x != nil {
|
|
|
|
return x.File
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FileContent) GetContent() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Content
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-06-27 13:57:14 +00:00
|
|
|
type AttachmentRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AttachmentRequest) Reset() {
|
|
|
|
*x = AttachmentRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_tree_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AttachmentRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AttachmentRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AttachmentRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_tree_proto_msgTypes[7]
|
|
|
|
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 AttachmentRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AttachmentRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_tree_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AttachmentRequest) GetPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttachmentResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AttachmentResponse) Reset() {
|
|
|
|
*x = AttachmentResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_tree_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AttachmentResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AttachmentResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AttachmentResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_tree_proto_msgTypes[8]
|
|
|
|
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 AttachmentResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AttachmentResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_tree_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AttachmentResponse) GetChunk() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Chunk
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-08-19 22:03:00 +00:00
|
|
|
type TreeRequest_Filter struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest_Filter) Reset() {
|
|
|
|
*x = TreeRequest_Filter{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-06-27 13:57:14 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[9]
|
2022-08-19 22:03:00 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest_Filter) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TreeRequest_Filter) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TreeRequest_Filter) ProtoReflect() protoreflect.Message {
|
2023-06-27 13:57:14 +00:00
|
|
|
mi := &file_tree_proto_msgTypes[9]
|
2022-08-19 22:03:00 +00:00
|
|
|
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 TreeRequest_Filter.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TreeRequest_Filter) Descriptor() ([]byte, []int) {
|
2022-08-22 19:53:27 +00:00
|
|
|
return file_tree_proto_rawDescGZIP(), []int{3, 0}
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest_Filter) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TreeRequest_Filter) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
var File_tree_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_tree_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0a, 0x74, 0x72, 0x65, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x6d, 0x61,
|
2022-08-22 19:53:27 +00:00
|
|
|
0x69, 0x6e, 0x22, 0x1e, 0x0a, 0x0a, 0x54, 0x72, 0x65, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
|
|
|
0x65, 0x79, 0x22, 0x2b, 0x0a, 0x0f, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73,
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22,
|
|
|
|
0x1d, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
|
|
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x93,
|
|
|
|
0x01, 0x0a, 0x0b, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17,
|
|
|
|
0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04,
|
|
|
|
0x70, 0x61, 0x74, 0x68, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
|
|
|
|
0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54,
|
|
|
|
0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65,
|
|
|
|
0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x1a, 0x30, 0x0a, 0x06, 0x46, 0x69, 0x6c,
|
|
|
|
0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f,
|
|
|
|
0x70, 0x61, 0x74, 0x68, 0x22, 0xcc, 0x01, 0x0a, 0x08, 0x54, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c,
|
|
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
|
|
|
|
0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
|
|
|
|
0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
|
|
0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x70, 0x79, 0x72,
|
|
|
|
0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x70, 0x79,
|
|
|
|
0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20,
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65,
|
|
|
|
0x61, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61,
|
|
|
|
0x74, 0x65, 0x64, 0x22, 0xe8, 0x02, 0x0a, 0x04, 0x54, 0x72, 0x65, 0x65, 0x12, 0x24, 0x0a, 0x05,
|
|
|
|
0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x61,
|
|
|
|
0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c,
|
|
|
|
0x65, 0x73, 0x12, 0x2c, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x18,
|
|
|
|
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65,
|
|
|
|
0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73,
|
|
|
|
0x12, 0x28, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
|
|
|
|
0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x61,
|
|
|
|
0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
|
|
|
|
0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67,
|
|
|
|
0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65,
|
|
|
|
0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f,
|
|
|
|
0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f,
|
|
|
|
0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e,
|
|
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
|
|
|
|
0x3d, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74,
|
|
|
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b,
|
|
|
|
0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a,
|
|
|
|
0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x61,
|
|
|
|
0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, 0x6c,
|
|
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
2023-06-27 13:57:14 +00:00
|
|
|
0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x11, 0x41,
|
|
|
|
0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
0x70, 0x61, 0x74, 0x68, 0x22, 0x2a, 0x0a, 0x12, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65,
|
|
|
|
0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68,
|
|
|
|
0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b,
|
|
|
|
0x32, 0xf6, 0x01, 0x0a, 0x0b, 0x54, 0x72, 0x65, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
|
|
|
|
0x12, 0x2d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x79, 0x12, 0x11,
|
|
|
|
0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x1a, 0x0a, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x22, 0x00, 0x12,
|
|
|
|
0x31, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x11, 0x2e, 0x6d, 0x61, 0x69,
|
|
|
|
0x6e, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e,
|
|
|
|
0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
|
|
0x22, 0x00, 0x12, 0x38, 0x0a, 0x0b, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x72, 0x65,
|
|
|
|
0x65, 0x12, 0x10, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x53, 0x65, 0x63,
|
|
|
|
0x72, 0x65, 0x74, 0x1a, 0x15, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x62, 0x75, 0x69,
|
|
|
|
0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x12,
|
|
|
|
0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65,
|
|
|
|
0x6e, 0x74, 0x12, 0x17, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
|
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, 0x61,
|
|
|
|
0x69, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_tree_proto_rawDescOnce sync.Once
|
|
|
|
file_tree_proto_rawDescData = file_tree_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_tree_proto_rawDescGZIP() []byte {
|
|
|
|
file_tree_proto_rawDescOnce.Do(func() {
|
|
|
|
file_tree_proto_rawDescData = protoimpl.X.CompressGZIP(file_tree_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_tree_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2023-06-27 13:57:14 +00:00
|
|
|
var file_tree_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
2022-08-19 22:03:00 +00:00
|
|
|
var file_tree_proto_goTypes = []interface{}{
|
2022-08-22 19:53:27 +00:00
|
|
|
(*TreeSecret)(nil), // 0: main.TreeSecret
|
|
|
|
(*RebuildResponse)(nil), // 1: main.RebuildResponse
|
|
|
|
(*FileRequest)(nil), // 2: main.FileRequest
|
|
|
|
(*TreeRequest)(nil), // 3: main.TreeRequest
|
|
|
|
(*TreeFile)(nil), // 4: main.TreeFile
|
|
|
|
(*Tree)(nil), // 5: main.Tree
|
|
|
|
(*FileContent)(nil), // 6: main.FileContent
|
2023-06-27 13:57:14 +00:00
|
|
|
(*AttachmentRequest)(nil), // 7: main.AttachmentRequest
|
|
|
|
(*AttachmentResponse)(nil), // 8: main.AttachmentResponse
|
|
|
|
(*TreeRequest_Filter)(nil), // 9: main.TreeRequest.Filter
|
|
|
|
nil, // 10: main.Tree.TagsEntry
|
|
|
|
nil, // 11: main.Tree.CategoriesEntry
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
var file_tree_proto_depIdxs = []int32{
|
2023-06-27 13:57:14 +00:00
|
|
|
9, // 0: main.TreeRequest.filter:type_name -> main.TreeRequest.Filter
|
|
|
|
4, // 1: main.Tree.files:type_name -> main.TreeFile
|
|
|
|
4, // 2: main.Tree.rootFiles:type_name -> main.TreeFile
|
|
|
|
10, // 3: main.Tree.tags:type_name -> main.Tree.TagsEntry
|
|
|
|
11, // 4: main.Tree.categories:type_name -> main.Tree.CategoriesEntry
|
|
|
|
4, // 5: main.FileContent.file:type_name -> main.TreeFile
|
|
|
|
3, // 6: main.TreeManager.GetSummery:input_type -> main.TreeRequest
|
|
|
|
2, // 7: main.TreeManager.GetFile:input_type -> main.FileRequest
|
|
|
|
0, // 8: main.TreeManager.RebuildTree:input_type -> main.TreeSecret
|
|
|
|
7, // 9: main.TreeManager.DownloadAttachment:input_type -> main.AttachmentRequest
|
|
|
|
5, // 10: main.TreeManager.GetSummery:output_type -> main.Tree
|
|
|
|
6, // 11: main.TreeManager.GetFile:output_type -> main.FileContent
|
|
|
|
1, // 12: main.TreeManager.RebuildTree:output_type -> main.RebuildResponse
|
|
|
|
8, // 13: main.TreeManager.DownloadAttachment:output_type -> main.AttachmentResponse
|
|
|
|
10, // [10:14] is the sub-list for method output_type
|
|
|
|
6, // [6:10] is the sub-list for method input_type
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
2022-08-19 22:03:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_tree_proto_init() }
|
|
|
|
func file_tree_proto_init() {
|
|
|
|
if File_tree_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_tree_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-22 19:53:27 +00:00
|
|
|
switch v := v.(*TreeSecret); i {
|
2022-08-19 22:03:00 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-22 19:53:27 +00:00
|
|
|
switch v := v.(*RebuildResponse); i {
|
2022-08-19 22:03:00 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-22 19:53:27 +00:00
|
|
|
switch v := v.(*FileRequest); i {
|
2022-08-19 22:03:00 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-22 19:53:27 +00:00
|
|
|
switch v := v.(*TreeRequest); i {
|
2022-08-19 22:03:00 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-22 19:53:27 +00:00
|
|
|
switch v := v.(*TreeFile); i {
|
2022-08-19 22:03:00 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-22 19:53:27 +00:00
|
|
|
switch v := v.(*Tree); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*FileContent); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2023-06-27 13:57:14 +00:00
|
|
|
switch v := v.(*AttachmentRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AttachmentResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_tree_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-19 22:03:00 +00:00
|
|
|
switch v := v.(*TreeRequest_Filter); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-22 19:53:27 +00:00
|
|
|
file_tree_proto_msgTypes[3].OneofWrappers = []interface{}{}
|
2022-08-19 22:03:00 +00:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_tree_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2023-06-27 13:57:14 +00:00
|
|
|
NumMessages: 12,
|
2022-08-19 22:03:00 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_tree_proto_goTypes,
|
|
|
|
DependencyIndexes: file_tree_proto_depIdxs,
|
|
|
|
MessageInfos: file_tree_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_tree_proto = out.File
|
|
|
|
file_tree_proto_rawDesc = nil
|
|
|
|
file_tree_proto_goTypes = nil
|
|
|
|
file_tree_proto_depIdxs = nil
|
|
|
|
}
|