folderv1

package
v1.36.11-2024090223254... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_listenup_folder_v1_folder_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Folder

type Folder struct {

	// The name of the folder
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The path to the folder
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// The depth of the folder on the filesystem
	Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
	// The list of subfolders inside the directory
	SubFolders []*Folder `protobuf:"bytes,50,rep,name=sub_folders,json=subFolders,proto3" json:"sub_folders,omitempty"`
	// contains filtered or unexported fields
}

Represents a folder on the Host Machine. This type differs from listenup.v1.Directory by providing folders as a navigatable tree for the UI. This allows the user to navigate and select the folders to include in a library which we then convert to a directory

func (*Folder) GetLevel

func (x *Folder) GetLevel() int32

func (*Folder) GetName

func (x *Folder) GetName() string

func (*Folder) GetPath

func (x *Folder) GetPath() string

func (*Folder) GetSubFolders

func (x *Folder) GetSubFolders() []*Folder

func (*Folder) ProtoMessage

func (*Folder) ProtoMessage()

func (*Folder) ProtoReflect

func (x *Folder) ProtoReflect() protoreflect.Message

func (*Folder) Reset

func (x *Folder) Reset()

func (*Folder) SetLevel

func (x *Folder) SetLevel(v int32)

func (*Folder) SetName

func (x *Folder) SetName(v string)

func (*Folder) SetPath

func (x *Folder) SetPath(v string)

func (*Folder) SetSubFolders

func (x *Folder) SetSubFolders(v []*Folder)

func (*Folder) String

func (x *Folder) String() string

type Folder_builder

type Folder_builder struct {

	// The name of the folder
	Name string
	// The path to the folder
	Path string
	// The depth of the folder on the filesystem
	Level int32
	// The list of subfolders inside the directory
	SubFolders []*Folder
	// contains filtered or unexported fields
}

func (Folder_builder) Build

func (b0 Folder_builder) Build() *Folder

type GetFolderRequest

type GetFolderRequest struct {

	// The path to the directory
	Path *string `protobuf:"bytes,1,opt,name=path,proto3,oneof" json:"path,omitempty"`
	// The depth of the folder on the filesystem
	Level *int32 `protobuf:"varint,2,opt,name=level,proto3,oneof" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFolderRequest) ClearLevel

func (x *GetFolderRequest) ClearLevel()

func (*GetFolderRequest) ClearPath

func (x *GetFolderRequest) ClearPath()

func (*GetFolderRequest) GetLevel

func (x *GetFolderRequest) GetLevel() int32

func (*GetFolderRequest) GetPath

func (x *GetFolderRequest) GetPath() string

func (*GetFolderRequest) HasLevel

func (x *GetFolderRequest) HasLevel() bool

func (*GetFolderRequest) HasPath

func (x *GetFolderRequest) HasPath() bool

func (*GetFolderRequest) ProtoMessage

func (*GetFolderRequest) ProtoMessage()

func (*GetFolderRequest) ProtoReflect

func (x *GetFolderRequest) ProtoReflect() protoreflect.Message

func (*GetFolderRequest) Reset

func (x *GetFolderRequest) Reset()

func (*GetFolderRequest) SetLevel

func (x *GetFolderRequest) SetLevel(v int32)

func (*GetFolderRequest) SetPath

func (x *GetFolderRequest) SetPath(v string)

func (*GetFolderRequest) String

func (x *GetFolderRequest) String() string

type GetFolderRequest_builder

type GetFolderRequest_builder struct {

	// The path to the directory
	Path *string
	// The depth of the folder on the filesystem
	Level *int32
	// contains filtered or unexported fields
}

func (GetFolderRequest_builder) Build

type GetFolderResponse

type GetFolderResponse struct {

	// The list of folders in a directory
	Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFolderResponse) GetFolders

func (x *GetFolderResponse) GetFolders() []*Folder

func (*GetFolderResponse) ProtoMessage

func (*GetFolderResponse) ProtoMessage()

func (*GetFolderResponse) ProtoReflect

func (x *GetFolderResponse) ProtoReflect() protoreflect.Message

func (*GetFolderResponse) Reset

func (x *GetFolderResponse) Reset()

func (*GetFolderResponse) SetFolders

func (x *GetFolderResponse) SetFolders(v []*Folder)

func (*GetFolderResponse) String

func (x *GetFolderResponse) String() string

type GetFolderResponse_builder

type GetFolderResponse_builder struct {

	// The list of folders in a directory
	Folders []*Folder
	// contains filtered or unexported fields
}

func (GetFolderResponse_builder) Build

Source Files

  • folder.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL