earbugv4

package
v0.0.0-...-ff1ddd2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cmd_earbug_earbugv4_store_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"`
	Uri  string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Artist) Descriptor deprecated

func (*Artist) Descriptor() ([]byte, []int)

Deprecated: Use Artist.ProtoReflect.Descriptor instead.

func (*Artist) GetId

func (x *Artist) GetId() string

func (*Artist) GetName

func (x *Artist) GetName() string

func (*Artist) GetUri

func (x *Artist) GetUri() string

func (*Artist) ProtoMessage

func (*Artist) ProtoMessage()

func (*Artist) ProtoReflect

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

func (*Artist) Reset

func (x *Artist) Reset()

func (*Artist) String

func (x *Artist) String() string

type Auth

type Auth struct {
	Token        []byte `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ClientId     string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*Auth) Descriptor deprecated

func (*Auth) Descriptor() ([]byte, []int)

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetClientId

func (x *Auth) GetClientId() string

func (*Auth) GetClientSecret

func (x *Auth) GetClientSecret() string

func (*Auth) GetToken

func (x *Auth) GetToken() []byte

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

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

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

type Playback

type Playback struct {
	TrackId     string `protobuf:"bytes,1,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
	TrackUri    string `protobuf:"bytes,2,opt,name=track_uri,json=trackUri,proto3" json:"track_uri,omitempty"`
	ContextType string `protobuf:"bytes,3,opt,name=context_type,json=contextType,proto3" json:"context_type,omitempty"`
	ContextUri  string `protobuf:"bytes,4,opt,name=context_uri,json=contextUri,proto3" json:"context_uri,omitempty"`
	// contains filtered or unexported fields
}

func (*Playback) Descriptor deprecated

func (*Playback) Descriptor() ([]byte, []int)

Deprecated: Use Playback.ProtoReflect.Descriptor instead.

func (*Playback) GetContextType

func (x *Playback) GetContextType() string

func (*Playback) GetContextUri

func (x *Playback) GetContextUri() string

func (*Playback) GetTrackId

func (x *Playback) GetTrackId() string

func (*Playback) GetTrackUri

func (x *Playback) GetTrackUri() string

func (*Playback) ProtoMessage

func (*Playback) ProtoMessage()

func (*Playback) ProtoReflect

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

func (*Playback) Reset

func (x *Playback) Reset()

func (*Playback) String

func (x *Playback) String() string

type Store

type Store struct {

	// Deprecated: Marked as deprecated in cmd/earbug/earbugv4/store.proto.
	Token []byte `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// rfc3339 timestamp : playback
	Playbacks map[string]*Playback `` /* 159-byte string literal not displayed */
	// track id : track
	Tracks map[string]*Track `` /* 153-byte string literal not displayed */
	// cached auth credentials
	Auth *Auth `protobuf:"bytes,7,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*Store) Descriptor deprecated

func (*Store) Descriptor() ([]byte, []int)

Deprecated: Use Store.ProtoReflect.Descriptor instead.

func (*Store) GetAuth

func (x *Store) GetAuth() *Auth

func (*Store) GetPlaybacks

func (x *Store) GetPlaybacks() map[string]*Playback

func (*Store) GetToken deprecated

func (x *Store) GetToken() []byte

Deprecated: Marked as deprecated in cmd/earbug/earbugv4/store.proto.

func (*Store) GetTracks

func (x *Store) GetTracks() map[string]*Track

func (*Store) ProtoMessage

func (*Store) ProtoMessage()

func (*Store) ProtoReflect

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

func (*Store) Reset

func (x *Store) Reset()

func (*Store) String

func (x *Store) String() string

type Track

type Track struct {
	Id       string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Uri      string               `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Type     string               `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Name     string               `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	Artists  []*Artist            `protobuf:"bytes,6,rep,name=artists,proto3" json:"artists,omitempty"`
	// contains filtered or unexported fields
}

func (*Track) Descriptor deprecated

func (*Track) Descriptor() ([]byte, []int)

Deprecated: Use Track.ProtoReflect.Descriptor instead.

func (*Track) GetArtists

func (x *Track) GetArtists() []*Artist

func (*Track) GetDuration

func (x *Track) GetDuration() *durationpb.Duration

func (*Track) GetId

func (x *Track) GetId() string

func (*Track) GetName

func (x *Track) GetName() string

func (*Track) GetType

func (x *Track) GetType() string

func (*Track) GetUri

func (x *Track) GetUri() string

func (*Track) ProtoMessage

func (*Track) ProtoMessage()

func (*Track) ProtoReflect

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

func (*Track) Reset

func (x *Track) Reset()

func (*Track) String

func (x *Track) String() string

Jump to

Keyboard shortcuts

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