Documentation
¶
Index ¶
- Variables
- type ImportFileRequest
- func (*ImportFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFileRequest) GetFileData() []byte
- func (x *ImportFileRequest) GetFilePath() string
- func (m *ImportFileRequest) GetImportFile() isImportFileRequest_ImportFile
- func (*ImportFileRequest) ProtoMessage()
- func (x *ImportFileRequest) ProtoReflect() protoreflect.Message
- func (x *ImportFileRequest) Reset()
- func (x *ImportFileRequest) String() string
- type ImportFileRequest_FileData
- type ImportFileRequest_FilePath
- type ImportFileResponse
- func (*ImportFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFileResponse) GetImportedTunes() []*ImportedTune
- func (*ImportFileResponse) ProtoMessage()
- func (x *ImportFileResponse) ProtoReflect() protoreflect.Message
- func (x *ImportFileResponse) Reset()
- func (x *ImportFileResponse) String() string
- type ImportedTune
- func (*ImportedTune) Descriptor() ([]byte, []int)deprecated
- func (x *ImportedTune) GetTune() *tune.Tune
- func (x *ImportedTune) GetTuneFileData() []byte
- func (*ImportedTune) ProtoMessage()
- func (x *ImportedTune) ProtoReflect() protoreflect.Message
- func (x *ImportedTune) Reset()
- func (x *ImportedTune) String() string
- type PluginInfoRequest
- type PluginInfoResponse
- func (*PluginInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInfoResponse) GetDescription() string
- func (x *PluginInfoResponse) GetFileExtensions() []string
- func (x *PluginInfoResponse) GetFileFormat() fileformat.Format
- func (x *PluginInfoResponse) GetName() string
- func (x *PluginInfoResponse) GetType() PluginType
- func (*PluginInfoResponse) ProtoMessage()
- func (x *PluginInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PluginInfoResponse) Reset()
- func (x *PluginInfoResponse) String() string
- type PluginType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginType_name = map[int32]string{ 0: "Unknown", 1: "IN", 2: "OUT", 3: "INOUT", } PluginType_value = map[string]int32{ "Unknown": 0, "IN": 1, "OUT": 2, "INOUT": 3, } )
Enum value maps for PluginType.
View Source
var File_plugin_v1_messages_import_proto protoreflect.FileDescriptor
View Source
var File_plugin_v1_messages_info_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ImportFileRequest ¶
type ImportFileRequest struct {
// Types that are assignable to ImportFile:
//
// *ImportFileRequest_FilePath
// *ImportFileRequest_FileData
ImportFile isImportFileRequest_ImportFile `protobuf_oneof:"import_file"`
// contains filtered or unexported fields
}
func (*ImportFileRequest) Descriptor
deprecated
func (*ImportFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportFileRequest.ProtoReflect.Descriptor instead.
func (*ImportFileRequest) GetFileData ¶
func (x *ImportFileRequest) GetFileData() []byte
func (*ImportFileRequest) GetFilePath ¶
func (x *ImportFileRequest) GetFilePath() string
func (*ImportFileRequest) GetImportFile ¶
func (m *ImportFileRequest) GetImportFile() isImportFileRequest_ImportFile
func (*ImportFileRequest) ProtoMessage ¶
func (*ImportFileRequest) ProtoMessage()
func (*ImportFileRequest) ProtoReflect ¶
func (x *ImportFileRequest) ProtoReflect() protoreflect.Message
func (*ImportFileRequest) Reset ¶
func (x *ImportFileRequest) Reset()
func (*ImportFileRequest) String ¶
func (x *ImportFileRequest) String() string
type ImportFileRequest_FileData ¶
type ImportFileRequest_FileData struct {
FileData []byte `protobuf:"bytes,2,opt,name=file_data,json=fileData,proto3,oneof"` // Import a file from data
}
type ImportFileRequest_FilePath ¶
type ImportFileRequest_FilePath struct {
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"` // Import a local file
}
type ImportFileResponse ¶
type ImportFileResponse struct {
// The tunes that were imported.
// In multi tune file formats like bww, this will contain all the tunes in the file.
// For single tune file formats like MusicXML, this will contain a single tune.
ImportedTunes []*ImportedTune `protobuf:"bytes,1,rep,name=imported_tunes,json=importedTunes,proto3" json:"imported_tunes,omitempty"`
// contains filtered or unexported fields
}
func (*ImportFileResponse) Descriptor
deprecated
func (*ImportFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportFileResponse.ProtoReflect.Descriptor instead.
func (*ImportFileResponse) GetImportedTunes ¶
func (x *ImportFileResponse) GetImportedTunes() []*ImportedTune
func (*ImportFileResponse) ProtoMessage ¶
func (*ImportFileResponse) ProtoMessage()
func (*ImportFileResponse) ProtoReflect ¶
func (x *ImportFileResponse) ProtoReflect() protoreflect.Message
func (*ImportFileResponse) Reset ¶
func (x *ImportFileResponse) Reset()
func (*ImportFileResponse) String ¶
func (x *ImportFileResponse) String() string
type ImportedTune ¶
type ImportedTune struct {
// The tune that was imported.
Tune *tune.Tune `protobuf:"bytes,1,opt,name=tune,proto3" json:"tune,omitempty"`
// The data with which the tune can be restored to a file.
// In multi tune file formats like bww, this data will represent a single tune.
// For single tune file formats like MusicXML, this data will always be empty.
TuneFileData []byte `protobuf:"bytes,2,opt,name=tune_file_data,json=tuneFileData,proto3" json:"tune_file_data,omitempty"`
// contains filtered or unexported fields
}
func (*ImportedTune) Descriptor
deprecated
func (*ImportedTune) Descriptor() ([]byte, []int)
Deprecated: Use ImportedTune.ProtoReflect.Descriptor instead.
func (*ImportedTune) GetTune ¶
func (x *ImportedTune) GetTune() *tune.Tune
func (*ImportedTune) GetTuneFileData ¶
func (x *ImportedTune) GetTuneFileData() []byte
func (*ImportedTune) ProtoMessage ¶
func (*ImportedTune) ProtoMessage()
func (*ImportedTune) ProtoReflect ¶
func (x *ImportedTune) ProtoReflect() protoreflect.Message
func (*ImportedTune) Reset ¶
func (x *ImportedTune) Reset()
func (*ImportedTune) String ¶
func (x *ImportedTune) String() string
type PluginInfoRequest ¶
type PluginInfoRequest struct {
// contains filtered or unexported fields
}
func (*PluginInfoRequest) Descriptor
deprecated
func (*PluginInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PluginInfoRequest.ProtoReflect.Descriptor instead.
func (*PluginInfoRequest) ProtoMessage ¶
func (*PluginInfoRequest) ProtoMessage()
func (*PluginInfoRequest) ProtoReflect ¶
func (x *PluginInfoRequest) ProtoReflect() protoreflect.Message
func (*PluginInfoRequest) Reset ¶
func (x *PluginInfoRequest) Reset()
func (*PluginInfoRequest) String ¶
func (x *PluginInfoRequest) String() string
type PluginInfoResponse ¶
type PluginInfoResponse struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the plugin
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Description of the plugin
// Type of the plugin (IN, OUT, INOUT)
Type PluginType `protobuf:"varint,3,opt,name=type,proto3,enum=plugin.v1.messages.PluginType" json:"type,omitempty"`
// The file format that the plugin can parse and/or write
FileFormat fileformat.Format `protobuf:"varint,4,opt,name=file_format,json=fileFormat,proto3,enum=plugin.v1.fileformat.Format" json:"file_format,omitempty"`
// File extension names that the plugin can parse and/or write (e.g. ".bww", ".ly")
FileExtensions []string `protobuf:"bytes,5,rep,name=file_extensions,json=fileExtensions,proto3" json:"file_extensions,omitempty"`
// contains filtered or unexported fields
}
func (*PluginInfoResponse) Descriptor
deprecated
func (*PluginInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PluginInfoResponse.ProtoReflect.Descriptor instead.
func (*PluginInfoResponse) GetDescription ¶
func (x *PluginInfoResponse) GetDescription() string
func (*PluginInfoResponse) GetFileExtensions ¶
func (x *PluginInfoResponse) GetFileExtensions() []string
func (*PluginInfoResponse) GetFileFormat ¶
func (x *PluginInfoResponse) GetFileFormat() fileformat.Format
func (*PluginInfoResponse) GetName ¶
func (x *PluginInfoResponse) GetName() string
func (*PluginInfoResponse) GetType ¶
func (x *PluginInfoResponse) GetType() PluginType
func (*PluginInfoResponse) ProtoMessage ¶
func (*PluginInfoResponse) ProtoMessage()
func (*PluginInfoResponse) ProtoReflect ¶
func (x *PluginInfoResponse) ProtoReflect() protoreflect.Message
func (*PluginInfoResponse) Reset ¶
func (x *PluginInfoResponse) Reset()
func (*PluginInfoResponse) String ¶
func (x *PluginInfoResponse) String() string
type PluginType ¶
type PluginType int32
const ( PluginType_Unknown PluginType = 0 PluginType_IN PluginType = 1 PluginType_OUT PluginType = 2 PluginType_INOUT PluginType = 3 )
func (PluginType) Descriptor ¶
func (PluginType) Descriptor() protoreflect.EnumDescriptor
func (PluginType) Enum ¶
func (x PluginType) Enum() *PluginType
func (PluginType) EnumDescriptor
deprecated
func (PluginType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PluginType.Descriptor instead.
func (PluginType) Number ¶
func (x PluginType) Number() protoreflect.EnumNumber
func (PluginType) String ¶
func (x PluginType) String() string
func (PluginType) Type ¶
func (PluginType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.