Documentation
¶
Index ¶
- Variables
- type Artist
- func (*Artist) Descriptor() ([]byte, []int)deprecated
- func (x *Artist) GetId() string
- func (x *Artist) GetImage() string
- func (x *Artist) GetMetadata() *Metadata
- func (x *Artist) GetName() string
- func (*Artist) ProtoMessage()
- func (x *Artist) ProtoReflect() protoreflect.Message
- func (x *Artist) Reset()
- func (x *Artist) String() string
- type Key
- type Metadata
- type Song
- func (*Song) Descriptor() ([]byte, []int)deprecated
- func (x *Song) GetArtist() *Artist
- func (x *Song) GetId() string
- func (x *Song) GetKey() Key
- func (x *Song) GetMetadata() *Metadata
- func (x *Song) GetTitle() string
- func (x *Song) GetTonality() Tonality
- func (*Song) ProtoMessage()
- func (x *Song) ProtoReflect() protoreflect.Message
- func (x *Song) Reset()
- func (x *Song) String() string
- type Tonality
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Key_name = map[int32]string{ 0: "KEY_UNKNOWN", 1: "KEY_A", 2: "KEY_B_FLAT", 3: "KEY_B", 4: "KEY_C", 5: "KEY_C_SHARP", 6: "KEY_D", 7: "KEY_D_SHARP", 8: "KEY_E", 9: "KEY_F", 10: "KEY_F_SHARP", 11: "KEY_G", 12: "KEY_G_SHARP", 13: "KEY_MIXED", } Key_value = map[string]int32{ "KEY_UNKNOWN": 0, "KEY_A": 1, "KEY_B_FLAT": 2, "KEY_B": 3, "KEY_C": 4, "KEY_C_SHARP": 5, "KEY_D": 6, "KEY_D_SHARP": 7, "KEY_E": 8, "KEY_F": 9, "KEY_F_SHARP": 10, "KEY_G": 11, "KEY_G_SHARP": 12, "KEY_MIXED": 13, } )
Enum value maps for Key.
View Source
var ( Tonality_name = map[int32]string{ 0: "TONALITY_UNKNOWN", 1: "TONALITY_MAJOR", 2: "TONALITY_MINOR", 3: "TONALITY_MIXED", } Tonality_value = map[string]int32{ "TONALITY_UNKNOWN": 0, "TONALITY_MAJOR": 1, "TONALITY_MINOR": 2, "TONALITY_MIXED": 3, } )
Enum value maps for Tonality.
View Source
var File_api_src_domain_domain_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Artist) Descriptor
deprecated
func (*Artist) GetMetadata ¶
func (*Artist) ProtoMessage ¶
func (*Artist) ProtoMessage()
func (*Artist) ProtoReflect ¶
func (x *Artist) ProtoReflect() protoreflect.Message
type Key ¶
type Key int32
const ( Key_KEY_UNKNOWN Key = 0 Key_KEY_A Key = 1 Key_KEY_B_FLAT Key = 2 Key_KEY_B Key = 3 Key_KEY_C Key = 4 Key_KEY_C_SHARP Key = 5 Key_KEY_D Key = 6 Key_KEY_D_SHARP Key = 7 Key_KEY_E Key = 8 Key_KEY_F Key = 9 Key_KEY_F_SHARP Key = 10 Key_KEY_G Key = 11 Key_KEY_G_SHARP Key = 12 Key_KEY_MIXED Key = 13 )
func (Key) Descriptor ¶
func (Key) Descriptor() protoreflect.EnumDescriptor
func (Key) EnumDescriptor
deprecated
func (Key) Number ¶
func (x Key) Number() protoreflect.EnumNumber
func (Key) Type ¶
func (Key) Type() protoreflect.EnumType
type Metadata ¶
type Metadata struct { CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt string `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetCreatedAt ¶
func (*Metadata) GetUpdatedAt ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Song ¶
type Song struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Artist *Artist `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` Key Key `protobuf:"varint,4,opt,name=key,proto3,enum=domain.Key" json:"key,omitempty"` Tonality Tonality `protobuf:"varint,5,opt,name=tonality,proto3,enum=domain.Tonality" json:"tonality,omitempty"` Metadata *Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Song) Descriptor
deprecated
func (*Song) GetMetadata ¶
func (*Song) GetTonality ¶
func (*Song) ProtoMessage ¶
func (*Song) ProtoMessage()
func (*Song) ProtoReflect ¶
func (x *Song) ProtoReflect() protoreflect.Message
type Tonality ¶
type Tonality int32
func (Tonality) Descriptor ¶
func (Tonality) Descriptor() protoreflect.EnumDescriptor
func (Tonality) EnumDescriptor
deprecated
func (Tonality) Number ¶
func (x Tonality) Number() protoreflect.EnumNumber
func (Tonality) Type ¶
func (Tonality) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.