package google.cloud.speech.v1

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

service Speech

cloud-speech.proto:28

Service that implements Google Cloud Speech API.

message AudioRequest

cloud-speech.proto:167

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

Used in: RecognizeRequest

message InitialRecognizeRequest

cloud-speech.proto:65

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

Used in: RecognizeRequest

enum InitialRecognizeRequest.AudioEncoding

cloud-speech.proto:67

Audio encoding of the data sent in the audio message.

Used in: InitialRecognizeRequest

message RecognizeRequest

cloud-speech.proto:47

`RecognizeRequest` is the only message type sent by the client. `NonStreamingRecognize` sends only one `RecognizeRequest` message and it must contain both an `initial_request` and an 'audio_request`. Streaming `Recognize` sends one or more `RecognizeRequest` messages. The first message must contain an `initial_request` and may contain an 'audio_request`. Any subsequent messages must not contain an `initial_request` and must contain an 'audio_request`.

Used as request type in: Speech.NonStreamingRecognize, Speech.Recognize

message RecognizeResponse

cloud-speech.proto:194

`RecognizeResponse` is the only message type returned to the client.

Used as response type in: Speech.Recognize

Used as field type in: NonStreamingRecognizeResponse

enum RecognizeResponse.EndpointerEvent

cloud-speech.proto:196

Indicates the type of endpointer event.

Used in: RecognizeResponse

message SpeechRecognitionAlternative

cloud-speech.proto:259

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

Used in: SpeechRecognitionResult

message SpeechRecognitionResult

cloud-speech.proto:238

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

Used in: RecognizeResponse