Documentation ¶
Index ¶
- Variables
- func RegisterOpenVAServiceServer(s *grpc.Server, srv OpenVAServiceServer)
- type ClientConfigMessage
- func (*ClientConfigMessage) Descriptor() ([]byte, []int)
- func (m *ClientConfigMessage) GetLocale() *LocaleMessage
- func (*ClientConfigMessage) ProtoMessage()
- func (m *ClientConfigMessage) Reset()
- func (m *ClientConfigMessage) String() string
- func (m *ClientConfigMessage) XXX_DiscardUnknown()
- func (m *ClientConfigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClientConfigMessage) XXX_Merge(src proto.Message)
- func (m *ClientConfigMessage) XXX_Size() int
- func (m *ClientConfigMessage) XXX_Unmarshal(b []byte) error
- type ClientMessage
- func (*ClientMessage) Descriptor() ([]byte, []int)
- func (m *ClientMessage) GetSystemUUID() string
- func (*ClientMessage) ProtoMessage()
- func (m *ClientMessage) Reset()
- func (m *ClientMessage) String() string
- func (m *ClientMessage) XXX_DiscardUnknown()
- func (m *ClientMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClientMessage) XXX_Merge(src proto.Message)
- func (m *ClientMessage) XXX_Size() int
- func (m *ClientMessage) XXX_Unmarshal(b []byte) error
- type HeartBeatMessage
- func (*HeartBeatMessage) Descriptor() ([]byte, []int)
- func (m *HeartBeatMessage) GetPlayerState() *PlayerStateMessage
- func (m *HeartBeatMessage) GetSystemInformation() *SystemInformationMessage
- func (*HeartBeatMessage) ProtoMessage()
- func (m *HeartBeatMessage) Reset()
- func (m *HeartBeatMessage) String() string
- func (m *HeartBeatMessage) XXX_DiscardUnknown()
- func (m *HeartBeatMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HeartBeatMessage) XXX_Merge(src proto.Message)
- func (m *HeartBeatMessage) XXX_Size() int
- func (m *HeartBeatMessage) XXX_Unmarshal(b []byte) error
- type LibraryItem
- func (*LibraryItem) Descriptor() ([]byte, []int)
- func (m *LibraryItem) GetAlbum() string
- func (m *LibraryItem) GetArtist() string
- func (m *LibraryItem) GetLength() int32
- func (m *LibraryItem) GetTrack() string
- func (m *LibraryItem) GetURL() string
- func (*LibraryItem) ProtoMessage()
- func (m *LibraryItem) Reset()
- func (m *LibraryItem) String() string
- func (m *LibraryItem) XXX_DiscardUnknown()
- func (m *LibraryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LibraryItem) XXX_Merge(src proto.Message)
- func (m *LibraryItem) XXX_Size() int
- func (m *LibraryItem) XXX_Unmarshal(b []byte) error
- type LocaleMessage
- func (*LocaleMessage) Descriptor() ([]byte, []int)
- func (m *LocaleMessage) GetCouldNotUnderstandMessage() string
- func (m *LocaleMessage) GetLocaleLanguage() string
- func (m *LocaleMessage) GetLocaleName() string
- func (m *LocaleMessage) GetNextMessage() string
- func (m *LocaleMessage) GetPauseMessage() string
- func (m *LocaleMessage) GetPreviousMessage() string
- func (m *LocaleMessage) GetRebootMessage() string
- func (m *LocaleMessage) GetResumeMessage() string
- func (m *LocaleMessage) GetStopMessage() string
- func (m *LocaleMessage) GetVolumeMessage() string
- func (*LocaleMessage) ProtoMessage()
- func (m *LocaleMessage) Reset()
- func (m *LocaleMessage) String() string
- func (m *LocaleMessage) XXX_DiscardUnknown()
- func (m *LocaleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LocaleMessage) XXX_Merge(src proto.Message)
- func (m *LocaleMessage) XXX_Size() int
- func (m *LocaleMessage) XXX_Unmarshal(b []byte) error
- type NetworkConfigurationMessage
- func (*NetworkConfigurationMessage) Descriptor() ([]byte, []int)
- func (m *NetworkConfigurationMessage) GetDNSServers() string
- func (m *NetworkConfigurationMessage) GetGateway() string
- func (m *NetworkConfigurationMessage) GetIPAddress() string
- func (m *NetworkConfigurationMessage) GetNetMask() string
- func (*NetworkConfigurationMessage) ProtoMessage()
- func (m *NetworkConfigurationMessage) Reset()
- func (m *NetworkConfigurationMessage) String() string
- func (m *NetworkConfigurationMessage) XXX_DiscardUnknown()
- func (m *NetworkConfigurationMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NetworkConfigurationMessage) XXX_Merge(src proto.Message)
- func (m *NetworkConfigurationMessage) XXX_Size() int
- func (m *NetworkConfigurationMessage) XXX_Unmarshal(b []byte) error
- type OpenVAServerResponse
- func (*OpenVAServerResponse) Descriptor() ([]byte, []int)
- func (m *OpenVAServerResponse) GetIsError() bool
- func (m *OpenVAServerResponse) GetItems() []*LibraryItem
- func (m *OpenVAServerResponse) GetTextResponse() string
- func (*OpenVAServerResponse) ProtoMessage()
- func (m *OpenVAServerResponse) Reset()
- func (m *OpenVAServerResponse) String() string
- func (m *OpenVAServerResponse) XXX_DiscardUnknown()
- func (m *OpenVAServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OpenVAServerResponse) XXX_Merge(src proto.Message)
- func (m *OpenVAServerResponse) XXX_Size() int
- func (m *OpenVAServerResponse) XXX_Unmarshal(b []byte) error
- type OpenVAServiceClient
- type OpenVAServiceServer
- type OpenVAService_HeartBeatClient
- type OpenVAService_HeartBeatServer
- type OpenVAService_STTClient
- type OpenVAService_STTServer
- type PlayerStateMessage
- func (*PlayerStateMessage) Descriptor() ([]byte, []int)
- func (m *PlayerStateMessage) GetNowPlaying() string
- func (*PlayerStateMessage) ProtoMessage()
- func (m *PlayerStateMessage) Reset()
- func (m *PlayerStateMessage) String() string
- func (m *PlayerStateMessage) XXX_DiscardUnknown()
- func (m *PlayerStateMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlayerStateMessage) XXX_Merge(src proto.Message)
- func (m *PlayerStateMessage) XXX_Size() int
- func (m *PlayerStateMessage) XXX_Unmarshal(b []byte) error
- type STTRequest
- func (*STTRequest) Descriptor() ([]byte, []int)
- func (m *STTRequest) GetSTTBuffer() []byte
- func (*STTRequest) ProtoMessage()
- func (m *STTRequest) Reset()
- func (m *STTRequest) String() string
- func (m *STTRequest) XXX_DiscardUnknown()
- func (m *STTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *STTRequest) XXX_Merge(src proto.Message)
- func (m *STTRequest) XXX_Size() int
- func (m *STTRequest) XXX_Unmarshal(b []byte) error
- type SpeechRecognitionAlternative
- func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int)
- func (m *SpeechRecognitionAlternative) GetConfidence() float32
- func (m *SpeechRecognitionAlternative) GetTranscript() string
- func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo
- func (*SpeechRecognitionAlternative) ProtoMessage()
- func (m *SpeechRecognitionAlternative) Reset()
- func (m *SpeechRecognitionAlternative) String() string
- func (m *SpeechRecognitionAlternative) XXX_DiscardUnknown()
- func (m *SpeechRecognitionAlternative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SpeechRecognitionAlternative) XXX_Merge(src proto.Message)
- func (m *SpeechRecognitionAlternative) XXX_Size() int
- func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error
- type StreamingRecognitionResult
- func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)
- func (m *StreamingRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative
- func (m *StreamingRecognitionResult) GetIsFinal() bool
- func (m *StreamingRecognitionResult) GetStability() float32
- func (*StreamingRecognitionResult) ProtoMessage()
- func (m *StreamingRecognitionResult) Reset()
- func (m *StreamingRecognitionResult) String() string
- func (m *StreamingRecognitionResult) XXX_DiscardUnknown()
- func (m *StreamingRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StreamingRecognitionResult) XXX_Merge(src proto.Message)
- func (m *StreamingRecognitionResult) XXX_Size() int
- func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error
- type StreamingRecognizeResponse
- func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int)
- func (m *StreamingRecognizeResponse) GetResults() []*StreamingRecognitionResult
- func (m *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResponse_SpeechEventType
- func (*StreamingRecognizeResponse) ProtoMessage()
- func (m *StreamingRecognizeResponse) Reset()
- func (m *StreamingRecognizeResponse) String() string
- func (m *StreamingRecognizeResponse) XXX_DiscardUnknown()
- func (m *StreamingRecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StreamingRecognizeResponse) XXX_Merge(src proto.Message)
- func (m *StreamingRecognizeResponse) XXX_Size() int
- func (m *StreamingRecognizeResponse) XXX_Unmarshal(b []byte) error
- type StreamingRecognizeResponse_SpeechEventType
- type SystemInformationMessage
- func (*SystemInformationMessage) Descriptor() ([]byte, []int)
- func (m *SystemInformationMessage) GetNetworkConfiguration() *NetworkConfigurationMessage
- func (m *SystemInformationMessage) GetSystemUUID() string
- func (m *SystemInformationMessage) GetUptimeSinceEpoch() int64
- func (*SystemInformationMessage) ProtoMessage()
- func (m *SystemInformationMessage) Reset()
- func (m *SystemInformationMessage) String() string
- func (m *SystemInformationMessage) XXX_DiscardUnknown()
- func (m *SystemInformationMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SystemInformationMessage) XXX_Merge(src proto.Message)
- func (m *SystemInformationMessage) XXX_Size() int
- func (m *SystemInformationMessage) XXX_Unmarshal(b []byte) error
- type TTSReply
- func (*TTSReply) Descriptor() ([]byte, []int)
- func (m *TTSReply) GetMP3Response() []byte
- func (*TTSReply) ProtoMessage()
- func (m *TTSReply) Reset()
- func (m *TTSReply) String() string
- func (m *TTSReply) XXX_DiscardUnknown()
- func (m *TTSReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TTSReply) XXX_Merge(src proto.Message)
- func (m *TTSReply) XXX_Size() int
- func (m *TTSReply) XXX_Unmarshal(b []byte) error
- type TTSRequest
- func (*TTSRequest) Descriptor() ([]byte, []int)
- func (m *TTSRequest) GetText() string
- func (*TTSRequest) ProtoMessage()
- func (m *TTSRequest) Reset()
- func (m *TTSRequest) String() string
- func (m *TTSRequest) XXX_DiscardUnknown()
- func (m *TTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TTSRequest) XXX_Merge(src proto.Message)
- func (m *TTSRequest) XXX_Size() int
- func (m *TTSRequest) XXX_Unmarshal(b []byte) error
- type WordInfo
- func (*WordInfo) Descriptor() ([]byte, []int)
- func (m *WordInfo) GetEndTime() *duration.Duration
- func (m *WordInfo) GetStartTime() *duration.Duration
- func (m *WordInfo) GetWord() string
- func (*WordInfo) ProtoMessage()
- func (m *WordInfo) Reset()
- func (m *WordInfo) String() string
- func (m *WordInfo) XXX_DiscardUnknown()
- func (m *WordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WordInfo) XXX_Merge(src proto.Message)
- func (m *WordInfo) XXX_Size() int
- func (m *WordInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var StreamingRecognizeResponse_SpeechEventType_name = map[int32]string{
0: "SPEECH_EVENT_UNSPECIFIED",
1: "END_OF_SINGLE_UTTERANCE",
}
View Source
var StreamingRecognizeResponse_SpeechEventType_value = map[string]int32{
"SPEECH_EVENT_UNSPECIFIED": 0,
"END_OF_SINGLE_UTTERANCE": 1,
}
Functions ¶
func RegisterOpenVAServiceServer ¶
func RegisterOpenVAServiceServer(s *grpc.Server, srv OpenVAServiceServer)
Types ¶
type ClientConfigMessage ¶
type ClientConfigMessage struct { Locale *LocaleMessage `protobuf:"bytes,1,opt,name=Locale,proto3" json:"Locale,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientConfigMessage) Descriptor ¶
func (*ClientConfigMessage) Descriptor() ([]byte, []int)
func (*ClientConfigMessage) GetLocale ¶
func (m *ClientConfigMessage) GetLocale() *LocaleMessage
func (*ClientConfigMessage) ProtoMessage ¶
func (*ClientConfigMessage) ProtoMessage()
func (*ClientConfigMessage) Reset ¶
func (m *ClientConfigMessage) Reset()
func (*ClientConfigMessage) String ¶
func (m *ClientConfigMessage) String() string
func (*ClientConfigMessage) XXX_DiscardUnknown ¶
func (m *ClientConfigMessage) XXX_DiscardUnknown()
func (*ClientConfigMessage) XXX_Marshal ¶
func (m *ClientConfigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientConfigMessage) XXX_Merge ¶
func (dst *ClientConfigMessage) XXX_Merge(src proto.Message)
func (*ClientConfigMessage) XXX_Size ¶
func (m *ClientConfigMessage) XXX_Size() int
func (*ClientConfigMessage) XXX_Unmarshal ¶
func (m *ClientConfigMessage) XXX_Unmarshal(b []byte) error
type ClientMessage ¶
type ClientMessage struct { SystemUUID string `protobuf:"bytes,1,opt,name=SystemUUID,proto3" json:"SystemUUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientMessage) Descriptor ¶
func (*ClientMessage) Descriptor() ([]byte, []int)
func (*ClientMessage) GetSystemUUID ¶
func (m *ClientMessage) GetSystemUUID() string
func (*ClientMessage) ProtoMessage ¶
func (*ClientMessage) ProtoMessage()
func (*ClientMessage) Reset ¶
func (m *ClientMessage) Reset()
func (*ClientMessage) String ¶
func (m *ClientMessage) String() string
func (*ClientMessage) XXX_DiscardUnknown ¶
func (m *ClientMessage) XXX_DiscardUnknown()
func (*ClientMessage) XXX_Marshal ¶
func (m *ClientMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientMessage) XXX_Merge ¶
func (dst *ClientMessage) XXX_Merge(src proto.Message)
func (*ClientMessage) XXX_Size ¶
func (m *ClientMessage) XXX_Size() int
func (*ClientMessage) XXX_Unmarshal ¶
func (m *ClientMessage) XXX_Unmarshal(b []byte) error
type HeartBeatMessage ¶
type HeartBeatMessage struct { SystemInformation *SystemInformationMessage `protobuf:"bytes,1,opt,name=SystemInformation,proto3" json:"SystemInformation,omitempty"` PlayerState *PlayerStateMessage `protobuf:"bytes,2,opt,name=PlayerState,proto3" json:"PlayerState,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HeartBeatMessage) Descriptor ¶
func (*HeartBeatMessage) Descriptor() ([]byte, []int)
func (*HeartBeatMessage) GetPlayerState ¶
func (m *HeartBeatMessage) GetPlayerState() *PlayerStateMessage
func (*HeartBeatMessage) GetSystemInformation ¶
func (m *HeartBeatMessage) GetSystemInformation() *SystemInformationMessage
func (*HeartBeatMessage) ProtoMessage ¶
func (*HeartBeatMessage) ProtoMessage()
func (*HeartBeatMessage) Reset ¶
func (m *HeartBeatMessage) Reset()
func (*HeartBeatMessage) String ¶
func (m *HeartBeatMessage) String() string
func (*HeartBeatMessage) XXX_DiscardUnknown ¶
func (m *HeartBeatMessage) XXX_DiscardUnknown()
func (*HeartBeatMessage) XXX_Marshal ¶
func (m *HeartBeatMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeartBeatMessage) XXX_Merge ¶
func (dst *HeartBeatMessage) XXX_Merge(src proto.Message)
func (*HeartBeatMessage) XXX_Size ¶
func (m *HeartBeatMessage) XXX_Size() int
func (*HeartBeatMessage) XXX_Unmarshal ¶
func (m *HeartBeatMessage) XXX_Unmarshal(b []byte) error
type LibraryItem ¶
type LibraryItem struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` Artist string `protobuf:"bytes,2,opt,name=Artist,proto3" json:"Artist,omitempty"` Album string `protobuf:"bytes,3,opt,name=Album,proto3" json:"Album,omitempty"` Track string `protobuf:"bytes,4,opt,name=Track,proto3" json:"Track,omitempty"` Length int32 `protobuf:"varint,5,opt,name=Length,proto3" json:"Length,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LibraryItem) Descriptor ¶
func (*LibraryItem) Descriptor() ([]byte, []int)
func (*LibraryItem) GetAlbum ¶
func (m *LibraryItem) GetAlbum() string
func (*LibraryItem) GetArtist ¶
func (m *LibraryItem) GetArtist() string
func (*LibraryItem) GetLength ¶
func (m *LibraryItem) GetLength() int32
func (*LibraryItem) GetTrack ¶
func (m *LibraryItem) GetTrack() string
func (*LibraryItem) GetURL ¶
func (m *LibraryItem) GetURL() string
func (*LibraryItem) ProtoMessage ¶
func (*LibraryItem) ProtoMessage()
func (*LibraryItem) Reset ¶
func (m *LibraryItem) Reset()
func (*LibraryItem) String ¶
func (m *LibraryItem) String() string
func (*LibraryItem) XXX_DiscardUnknown ¶
func (m *LibraryItem) XXX_DiscardUnknown()
func (*LibraryItem) XXX_Marshal ¶
func (m *LibraryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LibraryItem) XXX_Merge ¶
func (dst *LibraryItem) XXX_Merge(src proto.Message)
func (*LibraryItem) XXX_Size ¶
func (m *LibraryItem) XXX_Size() int
func (*LibraryItem) XXX_Unmarshal ¶
func (m *LibraryItem) XXX_Unmarshal(b []byte) error
type LocaleMessage ¶
type LocaleMessage struct { LocaleName string `protobuf:"bytes,1,opt,name=LocaleName,proto3" json:"LocaleName,omitempty"` LocaleLanguage string `protobuf:"bytes,2,opt,name=LocaleLanguage,proto3" json:"LocaleLanguage,omitempty"` VolumeMessage string `protobuf:"bytes,3,opt,name=VolumeMessage,proto3" json:"VolumeMessage,omitempty"` PauseMessage string `protobuf:"bytes,4,opt,name=PauseMessage,proto3" json:"PauseMessage,omitempty"` ResumeMessage string `protobuf:"bytes,5,opt,name=ResumeMessage,proto3" json:"ResumeMessage,omitempty"` StopMessage string `protobuf:"bytes,6,opt,name=StopMessage,proto3" json:"StopMessage,omitempty"` NextMessage string `protobuf:"bytes,7,opt,name=NextMessage,proto3" json:"NextMessage,omitempty"` PreviousMessage string `protobuf:"bytes,8,opt,name=PreviousMessage,proto3" json:"PreviousMessage,omitempty"` RebootMessage string `protobuf:"bytes,9,opt,name=RebootMessage,proto3" json:"RebootMessage,omitempty"` CouldNotUnderstandMessage string `protobuf:"bytes,10,opt,name=CouldNotUnderstandMessage,proto3" json:"CouldNotUnderstandMessage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocaleMessage) Descriptor ¶
func (*LocaleMessage) Descriptor() ([]byte, []int)
func (*LocaleMessage) GetCouldNotUnderstandMessage ¶
func (m *LocaleMessage) GetCouldNotUnderstandMessage() string
func (*LocaleMessage) GetLocaleLanguage ¶
func (m *LocaleMessage) GetLocaleLanguage() string
func (*LocaleMessage) GetLocaleName ¶
func (m *LocaleMessage) GetLocaleName() string
func (*LocaleMessage) GetNextMessage ¶
func (m *LocaleMessage) GetNextMessage() string
func (*LocaleMessage) GetPauseMessage ¶
func (m *LocaleMessage) GetPauseMessage() string
func (*LocaleMessage) GetPreviousMessage ¶
func (m *LocaleMessage) GetPreviousMessage() string
func (*LocaleMessage) GetRebootMessage ¶
func (m *LocaleMessage) GetRebootMessage() string
func (*LocaleMessage) GetResumeMessage ¶
func (m *LocaleMessage) GetResumeMessage() string
func (*LocaleMessage) GetStopMessage ¶
func (m *LocaleMessage) GetStopMessage() string
func (*LocaleMessage) GetVolumeMessage ¶
func (m *LocaleMessage) GetVolumeMessage() string
func (*LocaleMessage) ProtoMessage ¶
func (*LocaleMessage) ProtoMessage()
func (*LocaleMessage) Reset ¶
func (m *LocaleMessage) Reset()
func (*LocaleMessage) String ¶
func (m *LocaleMessage) String() string
func (*LocaleMessage) XXX_DiscardUnknown ¶
func (m *LocaleMessage) XXX_DiscardUnknown()
func (*LocaleMessage) XXX_Marshal ¶
func (m *LocaleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocaleMessage) XXX_Merge ¶
func (dst *LocaleMessage) XXX_Merge(src proto.Message)
func (*LocaleMessage) XXX_Size ¶
func (m *LocaleMessage) XXX_Size() int
func (*LocaleMessage) XXX_Unmarshal ¶
func (m *LocaleMessage) XXX_Unmarshal(b []byte) error
type NetworkConfigurationMessage ¶
type NetworkConfigurationMessage struct { IPAddress string `protobuf:"bytes,1,opt,name=IPAddress,proto3" json:"IPAddress,omitempty"` NetMask string `protobuf:"bytes,2,opt,name=NetMask,proto3" json:"NetMask,omitempty"` Gateway string `protobuf:"bytes,3,opt,name=Gateway,proto3" json:"Gateway,omitempty"` DNSServers string `protobuf:"bytes,4,opt,name=DNSServers,proto3" json:"DNSServers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkConfigurationMessage) Descriptor ¶
func (*NetworkConfigurationMessage) Descriptor() ([]byte, []int)
func (*NetworkConfigurationMessage) GetDNSServers ¶
func (m *NetworkConfigurationMessage) GetDNSServers() string
func (*NetworkConfigurationMessage) GetGateway ¶
func (m *NetworkConfigurationMessage) GetGateway() string
func (*NetworkConfigurationMessage) GetIPAddress ¶
func (m *NetworkConfigurationMessage) GetIPAddress() string
func (*NetworkConfigurationMessage) GetNetMask ¶
func (m *NetworkConfigurationMessage) GetNetMask() string
func (*NetworkConfigurationMessage) ProtoMessage ¶
func (*NetworkConfigurationMessage) ProtoMessage()
func (*NetworkConfigurationMessage) Reset ¶
func (m *NetworkConfigurationMessage) Reset()
func (*NetworkConfigurationMessage) String ¶
func (m *NetworkConfigurationMessage) String() string
func (*NetworkConfigurationMessage) XXX_DiscardUnknown ¶
func (m *NetworkConfigurationMessage) XXX_DiscardUnknown()
func (*NetworkConfigurationMessage) XXX_Marshal ¶
func (m *NetworkConfigurationMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkConfigurationMessage) XXX_Merge ¶
func (dst *NetworkConfigurationMessage) XXX_Merge(src proto.Message)
func (*NetworkConfigurationMessage) XXX_Size ¶
func (m *NetworkConfigurationMessage) XXX_Size() int
func (*NetworkConfigurationMessage) XXX_Unmarshal ¶
func (m *NetworkConfigurationMessage) XXX_Unmarshal(b []byte) error
type OpenVAServerResponse ¶
type OpenVAServerResponse struct { TextResponse string `protobuf:"bytes,1,opt,name=TextResponse,proto3" json:"TextResponse,omitempty"` IsError bool `protobuf:"varint,2,opt,name=IsError,proto3" json:"IsError,omitempty"` Items []*LibraryItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenVAServerResponse) Descriptor ¶
func (*OpenVAServerResponse) Descriptor() ([]byte, []int)
func (*OpenVAServerResponse) GetIsError ¶
func (m *OpenVAServerResponse) GetIsError() bool
func (*OpenVAServerResponse) GetItems ¶
func (m *OpenVAServerResponse) GetItems() []*LibraryItem
func (*OpenVAServerResponse) GetTextResponse ¶
func (m *OpenVAServerResponse) GetTextResponse() string
func (*OpenVAServerResponse) ProtoMessage ¶
func (*OpenVAServerResponse) ProtoMessage()
func (*OpenVAServerResponse) Reset ¶
func (m *OpenVAServerResponse) Reset()
func (*OpenVAServerResponse) String ¶
func (m *OpenVAServerResponse) String() string
func (*OpenVAServerResponse) XXX_DiscardUnknown ¶
func (m *OpenVAServerResponse) XXX_DiscardUnknown()
func (*OpenVAServerResponse) XXX_Marshal ¶
func (m *OpenVAServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenVAServerResponse) XXX_Merge ¶
func (dst *OpenVAServerResponse) XXX_Merge(src proto.Message)
func (*OpenVAServerResponse) XXX_Size ¶
func (m *OpenVAServerResponse) XXX_Size() int
func (*OpenVAServerResponse) XXX_Unmarshal ¶
func (m *OpenVAServerResponse) XXX_Unmarshal(b []byte) error
type OpenVAServiceClient ¶
type OpenVAServiceClient interface { TTSStringToMP3(ctx context.Context, in *TTSRequest, opts ...grpc.CallOption) (*TTSReply, error) STT(ctx context.Context, opts ...grpc.CallOption) (OpenVAService_STTClient, error) HeartBeat(ctx context.Context, opts ...grpc.CallOption) (OpenVAService_HeartBeatClient, error) ClientConfig(ctx context.Context, in *ClientMessage, opts ...grpc.CallOption) (*ClientConfigMessage, error) HandleServerSideCommand(ctx context.Context, in *TTSRequest, opts ...grpc.CallOption) (*OpenVAServerResponse, error) }
OpenVAServiceClient is the client API for OpenVAService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOpenVAServiceClient ¶
func NewOpenVAServiceClient(cc *grpc.ClientConn) OpenVAServiceClient
type OpenVAServiceServer ¶
type OpenVAServiceServer interface { TTSStringToMP3(context.Context, *TTSRequest) (*TTSReply, error) STT(OpenVAService_STTServer) error HeartBeat(OpenVAService_HeartBeatServer) error ClientConfig(context.Context, *ClientMessage) (*ClientConfigMessage, error) HandleServerSideCommand(context.Context, *TTSRequest) (*OpenVAServerResponse, error) }
OpenVAServiceServer is the server API for OpenVAService service.
type OpenVAService_HeartBeatClient ¶
type OpenVAService_HeartBeatClient interface { Send(*HeartBeatMessage) error Recv() (*HeartBeatMessage, error) grpc.ClientStream }
type OpenVAService_HeartBeatServer ¶
type OpenVAService_HeartBeatServer interface { Send(*HeartBeatMessage) error Recv() (*HeartBeatMessage, error) grpc.ServerStream }
type OpenVAService_STTClient ¶
type OpenVAService_STTClient interface { Send(*STTRequest) error Recv() (*StreamingRecognizeResponse, error) grpc.ClientStream }
type OpenVAService_STTServer ¶
type OpenVAService_STTServer interface { Send(*StreamingRecognizeResponse) error Recv() (*STTRequest, error) grpc.ServerStream }
type PlayerStateMessage ¶
type PlayerStateMessage struct { NowPlaying string `protobuf:"bytes,1,opt,name=NowPlaying,proto3" json:"NowPlaying,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerStateMessage) Descriptor ¶
func (*PlayerStateMessage) Descriptor() ([]byte, []int)
func (*PlayerStateMessage) GetNowPlaying ¶
func (m *PlayerStateMessage) GetNowPlaying() string
func (*PlayerStateMessage) ProtoMessage ¶
func (*PlayerStateMessage) ProtoMessage()
func (*PlayerStateMessage) Reset ¶
func (m *PlayerStateMessage) Reset()
func (*PlayerStateMessage) String ¶
func (m *PlayerStateMessage) String() string
func (*PlayerStateMessage) XXX_DiscardUnknown ¶
func (m *PlayerStateMessage) XXX_DiscardUnknown()
func (*PlayerStateMessage) XXX_Marshal ¶
func (m *PlayerStateMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerStateMessage) XXX_Merge ¶
func (dst *PlayerStateMessage) XXX_Merge(src proto.Message)
func (*PlayerStateMessage) XXX_Size ¶
func (m *PlayerStateMessage) XXX_Size() int
func (*PlayerStateMessage) XXX_Unmarshal ¶
func (m *PlayerStateMessage) XXX_Unmarshal(b []byte) error
type STTRequest ¶
type STTRequest struct { STTBuffer []byte `protobuf:"bytes,1,opt,name=STTBuffer,proto3" json:"STTBuffer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*STTRequest) Descriptor ¶
func (*STTRequest) Descriptor() ([]byte, []int)
func (*STTRequest) GetSTTBuffer ¶
func (m *STTRequest) GetSTTBuffer() []byte
func (*STTRequest) ProtoMessage ¶
func (*STTRequest) ProtoMessage()
func (*STTRequest) Reset ¶
func (m *STTRequest) Reset()
func (*STTRequest) String ¶
func (m *STTRequest) String() string
func (*STTRequest) XXX_DiscardUnknown ¶
func (m *STTRequest) XXX_DiscardUnknown()
func (*STTRequest) XXX_Marshal ¶
func (m *STTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*STTRequest) XXX_Merge ¶
func (dst *STTRequest) XXX_Merge(src proto.Message)
func (*STTRequest) XXX_Size ¶
func (m *STTRequest) XXX_Size() int
func (*STTRequest) XXX_Unmarshal ¶
func (m *STTRequest) XXX_Unmarshal(b []byte) error
type SpeechRecognitionAlternative ¶
type SpeechRecognitionAlternative struct { Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"` Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` Words []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpeechRecognitionAlternative) Descriptor ¶
func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int)
func (*SpeechRecognitionAlternative) GetConfidence ¶
func (m *SpeechRecognitionAlternative) GetConfidence() float32
func (*SpeechRecognitionAlternative) GetTranscript ¶
func (m *SpeechRecognitionAlternative) GetTranscript() string
func (*SpeechRecognitionAlternative) GetWords ¶
func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo
func (*SpeechRecognitionAlternative) ProtoMessage ¶
func (*SpeechRecognitionAlternative) ProtoMessage()
func (*SpeechRecognitionAlternative) Reset ¶
func (m *SpeechRecognitionAlternative) Reset()
func (*SpeechRecognitionAlternative) String ¶
func (m *SpeechRecognitionAlternative) String() string
func (*SpeechRecognitionAlternative) XXX_DiscardUnknown ¶
func (m *SpeechRecognitionAlternative) XXX_DiscardUnknown()
func (*SpeechRecognitionAlternative) XXX_Marshal ¶
func (m *SpeechRecognitionAlternative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpeechRecognitionAlternative) XXX_Merge ¶
func (dst *SpeechRecognitionAlternative) XXX_Merge(src proto.Message)
func (*SpeechRecognitionAlternative) XXX_Size ¶
func (m *SpeechRecognitionAlternative) XXX_Size() int
func (*SpeechRecognitionAlternative) XXX_Unmarshal ¶
func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error
type StreamingRecognitionResult ¶
type StreamingRecognitionResult struct { Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"` IsFinal bool `protobuf:"varint,2,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` Stability float32 `protobuf:"fixed32,3,opt,name=stability,proto3" json:"stability,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamingRecognitionResult) Descriptor ¶
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)
func (*StreamingRecognitionResult) GetAlternatives ¶
func (m *StreamingRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative
func (*StreamingRecognitionResult) GetIsFinal ¶
func (m *StreamingRecognitionResult) GetIsFinal() bool
func (*StreamingRecognitionResult) GetStability ¶
func (m *StreamingRecognitionResult) GetStability() float32
func (*StreamingRecognitionResult) ProtoMessage ¶
func (*StreamingRecognitionResult) ProtoMessage()
func (*StreamingRecognitionResult) Reset ¶
func (m *StreamingRecognitionResult) Reset()
func (*StreamingRecognitionResult) String ¶
func (m *StreamingRecognitionResult) String() string
func (*StreamingRecognitionResult) XXX_DiscardUnknown ¶
func (m *StreamingRecognitionResult) XXX_DiscardUnknown()
func (*StreamingRecognitionResult) XXX_Marshal ¶
func (m *StreamingRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamingRecognitionResult) XXX_Merge ¶
func (dst *StreamingRecognitionResult) XXX_Merge(src proto.Message)
func (*StreamingRecognitionResult) XXX_Size ¶
func (m *StreamingRecognitionResult) XXX_Size() int
func (*StreamingRecognitionResult) XXX_Unmarshal ¶
func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error
type StreamingRecognizeResponse ¶
type StreamingRecognizeResponse struct { // Output only. This repeated list contains zero or more results that // correspond to consecutive portions of the audio currently being processed. // It contains zero or one `is_final=true` result (the newly settled portion), // followed by zero or more `is_final=false` results (the interim results). Results []*StreamingRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // Output only. Indicates the type of speech event. SpeechEventType StreamingRecognizeResponse_SpeechEventType `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamingRecognizeResponse) Descriptor ¶
func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int)
func (*StreamingRecognizeResponse) GetResults ¶
func (m *StreamingRecognizeResponse) GetResults() []*StreamingRecognitionResult
func (*StreamingRecognizeResponse) GetSpeechEventType ¶
func (m *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResponse_SpeechEventType
func (*StreamingRecognizeResponse) ProtoMessage ¶
func (*StreamingRecognizeResponse) ProtoMessage()
func (*StreamingRecognizeResponse) Reset ¶
func (m *StreamingRecognizeResponse) Reset()
func (*StreamingRecognizeResponse) String ¶
func (m *StreamingRecognizeResponse) String() string
func (*StreamingRecognizeResponse) XXX_DiscardUnknown ¶
func (m *StreamingRecognizeResponse) XXX_DiscardUnknown()
func (*StreamingRecognizeResponse) XXX_Marshal ¶
func (m *StreamingRecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamingRecognizeResponse) XXX_Merge ¶
func (dst *StreamingRecognizeResponse) XXX_Merge(src proto.Message)
func (*StreamingRecognizeResponse) XXX_Size ¶
func (m *StreamingRecognizeResponse) XXX_Size() int
func (*StreamingRecognizeResponse) XXX_Unmarshal ¶
func (m *StreamingRecognizeResponse) XXX_Unmarshal(b []byte) error
type StreamingRecognizeResponse_SpeechEventType ¶
type StreamingRecognizeResponse_SpeechEventType int32
Indicates the type of speech event.
const ( // No speech event specified. StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED StreamingRecognizeResponse_SpeechEventType = 0 // This event indicates that the server has detected the end of the user's // speech utterance and expects no additional speech. Therefore, the server // will not process additional audio (although it may subsequently return // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This event is only sent if // `single_utterance` was set to `true`, and is not used otherwise. StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE StreamingRecognizeResponse_SpeechEventType = 1 )
func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor ¶
func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int)
func (StreamingRecognizeResponse_SpeechEventType) String ¶
func (x StreamingRecognizeResponse_SpeechEventType) String() string
type SystemInformationMessage ¶
type SystemInformationMessage struct { SystemUUID string `protobuf:"bytes,1,opt,name=SystemUUID,proto3" json:"SystemUUID,omitempty"` UptimeSinceEpoch int64 `protobuf:"varint,2,opt,name=UptimeSinceEpoch,proto3" json:"UptimeSinceEpoch,omitempty"` NetworkConfiguration *NetworkConfigurationMessage `protobuf:"bytes,3,opt,name=NetworkConfiguration,proto3" json:"NetworkConfiguration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemInformationMessage) Descriptor ¶
func (*SystemInformationMessage) Descriptor() ([]byte, []int)
func (*SystemInformationMessage) GetNetworkConfiguration ¶
func (m *SystemInformationMessage) GetNetworkConfiguration() *NetworkConfigurationMessage
func (*SystemInformationMessage) GetSystemUUID ¶
func (m *SystemInformationMessage) GetSystemUUID() string
func (*SystemInformationMessage) GetUptimeSinceEpoch ¶
func (m *SystemInformationMessage) GetUptimeSinceEpoch() int64
func (*SystemInformationMessage) ProtoMessage ¶
func (*SystemInformationMessage) ProtoMessage()
func (*SystemInformationMessage) Reset ¶
func (m *SystemInformationMessage) Reset()
func (*SystemInformationMessage) String ¶
func (m *SystemInformationMessage) String() string
func (*SystemInformationMessage) XXX_DiscardUnknown ¶
func (m *SystemInformationMessage) XXX_DiscardUnknown()
func (*SystemInformationMessage) XXX_Marshal ¶
func (m *SystemInformationMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemInformationMessage) XXX_Merge ¶
func (dst *SystemInformationMessage) XXX_Merge(src proto.Message)
func (*SystemInformationMessage) XXX_Size ¶
func (m *SystemInformationMessage) XXX_Size() int
func (*SystemInformationMessage) XXX_Unmarshal ¶
func (m *SystemInformationMessage) XXX_Unmarshal(b []byte) error
type TTSReply ¶
type TTSReply struct { MP3Response []byte `protobuf:"bytes,1,opt,name=MP3Response,proto3" json:"MP3Response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TTSReply) Descriptor ¶
func (*TTSReply) GetMP3Response ¶
func (*TTSReply) ProtoMessage ¶
func (*TTSReply) ProtoMessage()
func (*TTSReply) XXX_DiscardUnknown ¶
func (m *TTSReply) XXX_DiscardUnknown()
func (*TTSReply) XXX_Marshal ¶
func (*TTSReply) XXX_Unmarshal ¶
type TTSRequest ¶
type TTSRequest struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TTSRequest) Descriptor ¶
func (*TTSRequest) Descriptor() ([]byte, []int)
func (*TTSRequest) GetText ¶
func (m *TTSRequest) GetText() string
func (*TTSRequest) ProtoMessage ¶
func (*TTSRequest) ProtoMessage()
func (*TTSRequest) Reset ¶
func (m *TTSRequest) Reset()
func (*TTSRequest) String ¶
func (m *TTSRequest) String() string
func (*TTSRequest) XXX_DiscardUnknown ¶
func (m *TTSRequest) XXX_DiscardUnknown()
func (*TTSRequest) XXX_Marshal ¶
func (m *TTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TTSRequest) XXX_Merge ¶
func (dst *TTSRequest) XXX_Merge(src proto.Message)
func (*TTSRequest) XXX_Size ¶
func (m *TTSRequest) XXX_Size() int
func (*TTSRequest) XXX_Unmarshal ¶
func (m *TTSRequest) XXX_Unmarshal(b []byte) error
type WordInfo ¶
type WordInfo struct { StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WordInfo) Descriptor ¶
func (*WordInfo) GetEndTime ¶
func (*WordInfo) GetStartTime ¶
func (*WordInfo) ProtoMessage ¶
func (*WordInfo) ProtoMessage()
func (*WordInfo) XXX_DiscardUnknown ¶
func (m *WordInfo) XXX_DiscardUnknown()
func (*WordInfo) XXX_Marshal ¶
func (*WordInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.