Documentation ¶
Index ¶
- Variables
- type Artist
- type Auth
- type AuthorizeRequest
- func (*AuthorizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeRequest) GetClientId() string
- func (x *AuthorizeRequest) GetClientSecret() string
- func (*AuthorizeRequest) ProtoMessage()
- func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeRequest) Reset()
- func (x *AuthorizeRequest) String() string
- type AuthorizeResponse
- type ExportRequest
- func (*ExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRequest) GetBucket() string
- func (x *ExportRequest) GetKey() string
- func (*ExportRequest) ProtoMessage()
- func (x *ExportRequest) ProtoReflect() protoreflect.Message
- func (x *ExportRequest) Reset()
- func (x *ExportRequest) String() string
- type ExportResponse
- type Playback
- func (*Playback) Descriptor() ([]byte, []int)deprecated
- func (x *Playback) GetContextType() string
- func (x *Playback) GetContextUri() string
- func (x *Playback) GetTrackId() string
- func (x *Playback) GetTrackUri() string
- func (*Playback) ProtoMessage()
- func (x *Playback) ProtoReflect() protoreflect.Message
- func (x *Playback) Reset()
- func (x *Playback) String() string
- type ReportPlayedRequest
- func (*ReportPlayedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPlayedRequest) GetSince() *timestamppb.Timestamp
- func (*ReportPlayedRequest) ProtoMessage()
- func (x *ReportPlayedRequest) ProtoReflect() protoreflect.Message
- func (x *ReportPlayedRequest) Reset()
- func (x *ReportPlayedRequest) String() string
- type ReportPlayedResponse
- func (*ReportPlayedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPlayedResponse) GetPlaybacks() []*ReportPlayedResponse_Playback
- func (*ReportPlayedResponse) ProtoMessage()
- func (x *ReportPlayedResponse) ProtoReflect() protoreflect.Message
- func (x *ReportPlayedResponse) Reset()
- func (x *ReportPlayedResponse) String() string
- type ReportPlayedResponse_Artist
- func (*ReportPlayedResponse_Artist) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPlayedResponse_Artist) GetId() string
- func (x *ReportPlayedResponse_Artist) GetName() string
- func (*ReportPlayedResponse_Artist) ProtoMessage()
- func (x *ReportPlayedResponse_Artist) ProtoReflect() protoreflect.Message
- func (x *ReportPlayedResponse_Artist) Reset()
- func (x *ReportPlayedResponse_Artist) String() string
- type ReportPlayedResponse_Playback
- func (*ReportPlayedResponse_Playback) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPlayedResponse_Playback) GetArtists() []*ReportPlayedResponse_Artist
- func (x *ReportPlayedResponse_Playback) GetStartTime() *timestamppb.Timestamp
- func (x *ReportPlayedResponse_Playback) GetTrack() *ReportPlayedResponse_Track
- func (*ReportPlayedResponse_Playback) ProtoMessage()
- func (x *ReportPlayedResponse_Playback) ProtoReflect() protoreflect.Message
- func (x *ReportPlayedResponse_Playback) Reset()
- func (x *ReportPlayedResponse_Playback) String() string
- type ReportPlayedResponse_Track
- func (*ReportPlayedResponse_Track) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPlayedResponse_Track) GetId() string
- func (x *ReportPlayedResponse_Track) GetName() string
- func (*ReportPlayedResponse_Track) ProtoMessage()
- func (x *ReportPlayedResponse_Track) ProtoReflect() protoreflect.Message
- func (x *ReportPlayedResponse_Track) Reset()
- func (x *ReportPlayedResponse_Track) String() string
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetAuth() *Auth
- func (x *Store) GetPlaybacks() map[string]*Playback
- func (x *Store) GetToken() []bytedeprecated
- func (x *Store) GetTracks() map[string]*Track
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) String() string
- type Track
- func (*Track) Descriptor() ([]byte, []int)deprecated
- func (x *Track) GetArtists() []*Artist
- func (x *Track) GetDuration() *durationpb.Duration
- func (x *Track) GetId() string
- func (x *Track) GetName() string
- func (x *Track) GetType() string
- func (x *Track) GetUri() string
- func (*Track) ProtoMessage()
- func (x *Track) ProtoReflect() protoreflect.Message
- func (x *Track) Reset()
- func (x *Track) String() string
- type UpdateRecentlyPlayedRequest
- type UpdateRecentlyPlayedResponse
- func (*UpdateRecentlyPlayedResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateRecentlyPlayedResponse) ProtoMessage()
- func (x *UpdateRecentlyPlayedResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRecentlyPlayedResponse) Reset()
- func (x *UpdateRecentlyPlayedResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_earbug_v4_serve_proto protoreflect.FileDescriptor
var File_earbug_v4_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) ProtoMessage ¶
func (*Artist) ProtoMessage()
func (*Artist) ProtoReflect ¶
func (x *Artist) ProtoReflect() protoreflect.Message
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) GetClientId ¶
func (*Auth) GetClientSecret ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type AuthorizeRequest ¶
type AuthorizeRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeRequest) Descriptor
deprecated
func (*AuthorizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeRequest) GetClientId ¶
func (x *AuthorizeRequest) GetClientId() string
func (*AuthorizeRequest) GetClientSecret ¶
func (x *AuthorizeRequest) GetClientSecret() string
func (*AuthorizeRequest) ProtoMessage ¶
func (*AuthorizeRequest) ProtoMessage()
func (*AuthorizeRequest) ProtoReflect ¶
func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeRequest) Reset ¶
func (x *AuthorizeRequest) Reset()
func (*AuthorizeRequest) String ¶
func (x *AuthorizeRequest) String() string
type AuthorizeResponse ¶
type AuthorizeResponse struct { AuthUrl string `protobuf:"bytes,1,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeResponse) Descriptor
deprecated
func (*AuthorizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeResponse) GetAuthUrl ¶
func (x *AuthorizeResponse) GetAuthUrl() string
func (*AuthorizeResponse) ProtoMessage ¶
func (*AuthorizeResponse) ProtoMessage()
func (*AuthorizeResponse) ProtoReflect ¶
func (x *AuthorizeResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeResponse) Reset ¶
func (x *AuthorizeResponse) Reset()
func (*AuthorizeResponse) String ¶
func (x *AuthorizeResponse) String() string
type ExportRequest ¶
type ExportRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ExportRequest) Descriptor
deprecated
func (*ExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.
func (*ExportRequest) GetBucket ¶
func (x *ExportRequest) GetBucket() string
func (*ExportRequest) GetKey ¶
func (x *ExportRequest) GetKey() string
func (*ExportRequest) ProtoMessage ¶
func (*ExportRequest) ProtoMessage()
func (*ExportRequest) ProtoReflect ¶
func (x *ExportRequest) ProtoReflect() protoreflect.Message
func (*ExportRequest) Reset ¶
func (x *ExportRequest) Reset()
func (*ExportRequest) String ¶
func (x *ExportRequest) String() string
type ExportResponse ¶
type ExportResponse struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ExportResponse) Descriptor
deprecated
func (*ExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.
func (*ExportResponse) GetContent ¶
func (x *ExportResponse) GetContent() []byte
func (*ExportResponse) ProtoMessage ¶
func (*ExportResponse) ProtoMessage()
func (*ExportResponse) ProtoReflect ¶
func (x *ExportResponse) ProtoReflect() protoreflect.Message
func (*ExportResponse) Reset ¶
func (x *ExportResponse) Reset()
func (*ExportResponse) String ¶
func (x *ExportResponse) 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) GetContextType ¶
func (*Playback) GetContextUri ¶
func (*Playback) GetTrackId ¶
func (*Playback) GetTrackUri ¶
func (*Playback) ProtoMessage ¶
func (*Playback) ProtoMessage()
func (*Playback) ProtoReflect ¶
func (x *Playback) ProtoReflect() protoreflect.Message
type ReportPlayedRequest ¶
type ReportPlayedRequest struct { Since *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=since,proto3" json:"since,omitempty"` // contains filtered or unexported fields }
func (*ReportPlayedRequest) Descriptor
deprecated
func (*ReportPlayedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportPlayedRequest.ProtoReflect.Descriptor instead.
func (*ReportPlayedRequest) GetSince ¶
func (x *ReportPlayedRequest) GetSince() *timestamppb.Timestamp
func (*ReportPlayedRequest) ProtoMessage ¶
func (*ReportPlayedRequest) ProtoMessage()
func (*ReportPlayedRequest) ProtoReflect ¶
func (x *ReportPlayedRequest) ProtoReflect() protoreflect.Message
func (*ReportPlayedRequest) Reset ¶
func (x *ReportPlayedRequest) Reset()
func (*ReportPlayedRequest) String ¶
func (x *ReportPlayedRequest) String() string
type ReportPlayedResponse ¶
type ReportPlayedResponse struct { Playbacks []*ReportPlayedResponse_Playback `protobuf:"bytes,1,rep,name=playbacks,proto3" json:"playbacks,omitempty"` // contains filtered or unexported fields }
func (*ReportPlayedResponse) Descriptor
deprecated
func (*ReportPlayedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportPlayedResponse.ProtoReflect.Descriptor instead.
func (*ReportPlayedResponse) GetPlaybacks ¶
func (x *ReportPlayedResponse) GetPlaybacks() []*ReportPlayedResponse_Playback
func (*ReportPlayedResponse) ProtoMessage ¶
func (*ReportPlayedResponse) ProtoMessage()
func (*ReportPlayedResponse) ProtoReflect ¶
func (x *ReportPlayedResponse) ProtoReflect() protoreflect.Message
func (*ReportPlayedResponse) Reset ¶
func (x *ReportPlayedResponse) Reset()
func (*ReportPlayedResponse) String ¶
func (x *ReportPlayedResponse) String() string
type ReportPlayedResponse_Artist ¶
type ReportPlayedResponse_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"` // contains filtered or unexported fields }
func (*ReportPlayedResponse_Artist) Descriptor
deprecated
func (*ReportPlayedResponse_Artist) Descriptor() ([]byte, []int)
Deprecated: Use ReportPlayedResponse_Artist.ProtoReflect.Descriptor instead.
func (*ReportPlayedResponse_Artist) GetId ¶
func (x *ReportPlayedResponse_Artist) GetId() string
func (*ReportPlayedResponse_Artist) GetName ¶
func (x *ReportPlayedResponse_Artist) GetName() string
func (*ReportPlayedResponse_Artist) ProtoMessage ¶
func (*ReportPlayedResponse_Artist) ProtoMessage()
func (*ReportPlayedResponse_Artist) ProtoReflect ¶
func (x *ReportPlayedResponse_Artist) ProtoReflect() protoreflect.Message
func (*ReportPlayedResponse_Artist) Reset ¶
func (x *ReportPlayedResponse_Artist) Reset()
func (*ReportPlayedResponse_Artist) String ¶
func (x *ReportPlayedResponse_Artist) String() string
type ReportPlayedResponse_Playback ¶
type ReportPlayedResponse_Playback struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Track *ReportPlayedResponse_Track `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` Artists []*ReportPlayedResponse_Artist `protobuf:"bytes,3,rep,name=artists,proto3" json:"artists,omitempty"` // contains filtered or unexported fields }
func (*ReportPlayedResponse_Playback) Descriptor
deprecated
func (*ReportPlayedResponse_Playback) Descriptor() ([]byte, []int)
Deprecated: Use ReportPlayedResponse_Playback.ProtoReflect.Descriptor instead.
func (*ReportPlayedResponse_Playback) GetArtists ¶
func (x *ReportPlayedResponse_Playback) GetArtists() []*ReportPlayedResponse_Artist
func (*ReportPlayedResponse_Playback) GetStartTime ¶
func (x *ReportPlayedResponse_Playback) GetStartTime() *timestamppb.Timestamp
func (*ReportPlayedResponse_Playback) GetTrack ¶
func (x *ReportPlayedResponse_Playback) GetTrack() *ReportPlayedResponse_Track
func (*ReportPlayedResponse_Playback) ProtoMessage ¶
func (*ReportPlayedResponse_Playback) ProtoMessage()
func (*ReportPlayedResponse_Playback) ProtoReflect ¶
func (x *ReportPlayedResponse_Playback) ProtoReflect() protoreflect.Message
func (*ReportPlayedResponse_Playback) Reset ¶
func (x *ReportPlayedResponse_Playback) Reset()
func (*ReportPlayedResponse_Playback) String ¶
func (x *ReportPlayedResponse_Playback) String() string
type ReportPlayedResponse_Track ¶
type ReportPlayedResponse_Track 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"` // contains filtered or unexported fields }
func (*ReportPlayedResponse_Track) Descriptor
deprecated
func (*ReportPlayedResponse_Track) Descriptor() ([]byte, []int)
Deprecated: Use ReportPlayedResponse_Track.ProtoReflect.Descriptor instead.
func (*ReportPlayedResponse_Track) GetId ¶
func (x *ReportPlayedResponse_Track) GetId() string
func (*ReportPlayedResponse_Track) GetName ¶
func (x *ReportPlayedResponse_Track) GetName() string
func (*ReportPlayedResponse_Track) ProtoMessage ¶
func (*ReportPlayedResponse_Track) ProtoMessage()
func (*ReportPlayedResponse_Track) ProtoReflect ¶
func (x *ReportPlayedResponse_Track) ProtoReflect() protoreflect.Message
func (*ReportPlayedResponse_Track) Reset ¶
func (x *ReportPlayedResponse_Track) Reset()
func (*ReportPlayedResponse_Track) String ¶
func (x *ReportPlayedResponse_Track) String() string
type Store ¶
type Store struct { // Deprecated: Marked as deprecated in earbug/v4/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) GetPlaybacks ¶
func (*Store) ProtoMessage ¶
func (*Store) ProtoMessage()
func (*Store) ProtoReflect ¶
func (x *Store) ProtoReflect() protoreflect.Message
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) GetArtists ¶
func (*Track) GetDuration ¶
func (x *Track) GetDuration() *durationpb.Duration
func (*Track) ProtoMessage ¶
func (*Track) ProtoMessage()
func (*Track) ProtoReflect ¶
func (x *Track) ProtoReflect() protoreflect.Message
type UpdateRecentlyPlayedRequest ¶
type UpdateRecentlyPlayedRequest struct {
// contains filtered or unexported fields
}
func (*UpdateRecentlyPlayedRequest) Descriptor
deprecated
func (*UpdateRecentlyPlayedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecentlyPlayedRequest.ProtoReflect.Descriptor instead.
func (*UpdateRecentlyPlayedRequest) ProtoMessage ¶
func (*UpdateRecentlyPlayedRequest) ProtoMessage()
func (*UpdateRecentlyPlayedRequest) ProtoReflect ¶
func (x *UpdateRecentlyPlayedRequest) ProtoReflect() protoreflect.Message
func (*UpdateRecentlyPlayedRequest) Reset ¶
func (x *UpdateRecentlyPlayedRequest) Reset()
func (*UpdateRecentlyPlayedRequest) String ¶
func (x *UpdateRecentlyPlayedRequest) String() string
type UpdateRecentlyPlayedResponse ¶
type UpdateRecentlyPlayedResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRecentlyPlayedResponse) Descriptor
deprecated
func (*UpdateRecentlyPlayedResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecentlyPlayedResponse.ProtoReflect.Descriptor instead.
func (*UpdateRecentlyPlayedResponse) ProtoMessage ¶
func (*UpdateRecentlyPlayedResponse) ProtoMessage()
func (*UpdateRecentlyPlayedResponse) ProtoReflect ¶
func (x *UpdateRecentlyPlayedResponse) ProtoReflect() protoreflect.Message
func (*UpdateRecentlyPlayedResponse) Reset ¶
func (x *UpdateRecentlyPlayedResponse) Reset()
func (*UpdateRecentlyPlayedResponse) String ¶
func (x *UpdateRecentlyPlayedResponse) String() string