package google.cloud.speech.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Speech

cloud_speech.proto:29

Service that implements Google Cloud Speech API.

message AsyncRecognizeResponse

cloud_speech.proto:241

`AsyncRecognizeResponse` is the only message returned to the client by `AsyncRecognize`. It contains the result as zero or more sequential `RecognizeResponse` messages.

message RecognitionAudio

cloud_speech.proto:212

Contains audio data in the encoding specified in the `RecognitionConfig`. Either `content` or `uri` must be supplied. Supplying both or neither returns [google.rpc.Code.INVALID_ARGUMENT][].

Used in: AsyncRecognizeRequest, SyncRecognizeRequest

message RecognitionConfig

cloud_speech.proto:127

The `RecognitionConfig` message provides information to the recognizer that specifies how to process the request.

Used in: AsyncRecognizeRequest, StreamingRecognitionConfig, SyncRecognizeRequest

enum RecognitionConfig.AudioEncoding

cloud_speech.proto:137

Audio encoding of the data sent in the audio message. All encodings support only 1 channel (mono) audio. Only `FLAC` includes a header that describes the bytes of audio that follow the header. The other encodings are raw audio bytes with no header. For best results, the audio source should be captured and transmitted using a lossless encoding (`FLAC` or `LINEAR16`). Recognition accuracy may be reduced if lossy codecs (such as AMR, AMR_WB and MULAW) are used to capture or transmit the audio, particularly if background noise is present.

Used in: RecognitionConfig

message SpeechContext

cloud_speech.proto:202

Provides "hints" to the speech recognizer to favor specific words and phrases in the results.

Used in: RecognitionConfig

message SpeechRecognitionAlternative

cloud_speech.proto:325

Alternative hypotheses (a.k.a. n-best list).

Used in: SpeechRecognitionResult, StreamingRecognitionResult

message SpeechRecognitionResult

cloud_speech.proto:318

A speech recognition result corresponding to a portion of the audio.

Used in: AsyncRecognizeResponse, SyncRecognizeResponse

message StreamingRecognitionConfig

cloud_speech.proto:101

The `StreamingRecognitionConfig` message provides information to the recognizer that specifies how to process the request.

Used in: StreamingRecognizeRequest

message StreamingRecognitionResult

cloud_speech.proto:295

A speech recognition result corresponding to a portion of the audio that is currently being processed. TODO(gshires): add a comment describing the various repeated interim and alternative results fields.

Used in: StreamingRecognizeResponse

enum StreamingRecognizeResponse.EndpointerType

cloud_speech.proto:252

Indicates the type of endpointer event.

Used in: StreamingRecognizeResponse