...

Package speech

import "google.golang.org/genproto/googleapis/cloud/speech/v2"
Overview
Index

Overview ▾

Package speech aliases all exported identifiers in package "cloud.google.com/go/speech/apiv2/speechpb".

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Index ▾

Constants
Variables
func RegisterSpeechServer(s *grpc.Server, srv SpeechServer)
type AutoDetectDecodingConfig
type BatchRecognizeFileMetadata
type BatchRecognizeFileMetadata_Uri
type BatchRecognizeFileResult
type BatchRecognizeMetadata
type BatchRecognizeRequest
type BatchRecognizeResponse
type BatchRecognizeTranscriptionMetadata
type Config
type CreateCustomClassRequest
type CreatePhraseSetRequest
type CreateRecognizerRequest
type CustomClass
type CustomClass_ClassItem
type CustomClass_State
type DeleteCustomClassRequest
type DeletePhraseSetRequest
type DeleteRecognizerRequest
type ExplicitDecodingConfig
type ExplicitDecodingConfig_AudioEncoding
type GetConfigRequest
type GetCustomClassRequest
type GetPhraseSetRequest
type GetRecognizerRequest
type ListCustomClassesRequest
type ListCustomClassesResponse
type ListPhraseSetsRequest
type ListPhraseSetsResponse
type ListRecognizersRequest
type ListRecognizersResponse
type OperationMetadata
type OperationMetadata_BatchRecognizeMetadata
type OperationMetadata_BatchRecognizeRequest
type OperationMetadata_CreateCustomClassRequest
type OperationMetadata_CreatePhraseSetRequest
type OperationMetadata_CreateRecognizerRequest
type OperationMetadata_DeleteCustomClassRequest
type OperationMetadata_DeletePhraseSetRequest
type OperationMetadata_DeleteRecognizerRequest
type OperationMetadata_UndeleteCustomClassRequest
type OperationMetadata_UndeletePhraseSetRequest
type OperationMetadata_UndeleteRecognizerRequest
type OperationMetadata_UpdateConfigRequest
type OperationMetadata_UpdateCustomClassRequest
type OperationMetadata_UpdatePhraseSetRequest
type OperationMetadata_UpdateRecognizerRequest
type PhraseSet
type PhraseSet_Phrase
type PhraseSet_State
type RecognitionConfig
type RecognitionConfig_AutoDecodingConfig
type RecognitionConfig_ExplicitDecodingConfig
type RecognitionFeatures
type RecognitionFeatures_MultiChannelMode
type RecognitionResponseMetadata
type RecognizeRequest
type RecognizeRequest_Content
type RecognizeRequest_Uri
type RecognizeResponse
type Recognizer
type Recognizer_State
type SpeakerDiarizationConfig
type SpeechAdaptation
type SpeechAdaptation_AdaptationPhraseSet
type SpeechAdaptation_AdaptationPhraseSet_InlinePhraseSet
type SpeechAdaptation_AdaptationPhraseSet_PhraseSet
type SpeechClient
    func NewSpeechClient(cc grpc.ClientConnInterface) SpeechClient
type SpeechRecognitionAlternative
type SpeechRecognitionResult
type SpeechServer
type Speech_StreamingRecognizeClient
type Speech_StreamingRecognizeServer
type StreamingRecognitionConfig
type StreamingRecognitionFeatures
type StreamingRecognitionFeatures_VoiceActivityTimeout
type StreamingRecognitionResult
type StreamingRecognizeRequest
type StreamingRecognizeRequest_Audio
type StreamingRecognizeRequest_StreamingConfig
type StreamingRecognizeResponse
type StreamingRecognizeResponse_SpeechEventType
type UndeleteCustomClassRequest
type UndeletePhraseSetRequest
type UndeleteRecognizerRequest
type UnimplementedSpeechServer
type UpdateConfigRequest
type UpdateCustomClassRequest
type UpdatePhraseSetRequest
type UpdateRecognizerRequest
type WordInfo

Package files

alias.go

Constants

Deprecated: Please use consts in: cloud.google.com/go/speech/apiv2/speechpb

const (
    CustomClass_ACTIVE                                       = src.CustomClass_ACTIVE
    CustomClass_DELETED                                      = src.CustomClass_DELETED
    CustomClass_STATE_UNSPECIFIED                            = src.CustomClass_STATE_UNSPECIFIED
    ExplicitDecodingConfig_ALAW                              = src.ExplicitDecodingConfig_ALAW
    ExplicitDecodingConfig_AUDIO_ENCODING_UNSPECIFIED        = src.ExplicitDecodingConfig_AUDIO_ENCODING_UNSPECIFIED
    ExplicitDecodingConfig_LINEAR16                          = src.ExplicitDecodingConfig_LINEAR16
    ExplicitDecodingConfig_MULAW                             = src.ExplicitDecodingConfig_MULAW
    PhraseSet_ACTIVE                                         = src.PhraseSet_ACTIVE
    PhraseSet_DELETED                                        = src.PhraseSet_DELETED
    PhraseSet_STATE_UNSPECIFIED                              = src.PhraseSet_STATE_UNSPECIFIED
    RecognitionFeatures_MULTI_CHANNEL_MODE_UNSPECIFIED       = src.RecognitionFeatures_MULTI_CHANNEL_MODE_UNSPECIFIED
    RecognitionFeatures_SEPARATE_RECOGNITION_PER_CHANNEL     = src.RecognitionFeatures_SEPARATE_RECOGNITION_PER_CHANNEL
    Recognizer_ACTIVE                                        = src.Recognizer_ACTIVE
    Recognizer_DELETED                                       = src.Recognizer_DELETED
    Recognizer_STATE_UNSPECIFIED                             = src.Recognizer_STATE_UNSPECIFIED
    StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE       = src.StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE
    StreamingRecognizeResponse_SPEECH_ACTIVITY_BEGIN         = src.StreamingRecognizeResponse_SPEECH_ACTIVITY_BEGIN
    StreamingRecognizeResponse_SPEECH_ACTIVITY_END           = src.StreamingRecognizeResponse_SPEECH_ACTIVITY_END
    StreamingRecognizeResponse_SPEECH_EVENT_TYPE_UNSPECIFIED = src.StreamingRecognizeResponse_SPEECH_EVENT_TYPE_UNSPECIFIED
)

Variables

Deprecated: Please use vars in: cloud.google.com/go/speech/apiv2/speechpb

var (
    CustomClass_State_name                           = src.CustomClass_State_name
    CustomClass_State_value                          = src.CustomClass_State_value
    ExplicitDecodingConfig_AudioEncoding_name        = src.ExplicitDecodingConfig_AudioEncoding_name
    ExplicitDecodingConfig_AudioEncoding_value       = src.ExplicitDecodingConfig_AudioEncoding_value
    File_google_cloud_speech_v2_cloud_speech_proto   = src.File_google_cloud_speech_v2_cloud_speech_proto
    PhraseSet_State_name                             = src.PhraseSet_State_name
    PhraseSet_State_value                            = src.PhraseSet_State_value
    RecognitionFeatures_MultiChannelMode_name        = src.RecognitionFeatures_MultiChannelMode_name
    RecognitionFeatures_MultiChannelMode_value       = src.RecognitionFeatures_MultiChannelMode_value
    Recognizer_State_name                            = src.Recognizer_State_name
    Recognizer_State_value                           = src.Recognizer_State_value
    StreamingRecognizeResponse_SpeechEventType_name  = src.StreamingRecognizeResponse_SpeechEventType_name
    StreamingRecognizeResponse_SpeechEventType_value = src.StreamingRecognizeResponse_SpeechEventType_value
)

func RegisterSpeechServer

func RegisterSpeechServer(s *grpc.Server, srv SpeechServer)

Deprecated: Please use funcs in: cloud.google.com/go/speech/apiv2/speechpb

type AutoDetectDecodingConfig

Automatically detected decoding parameters. Supported for the following encodings: * WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container. * WAV_MULAW: 8-bit companded mulaw samples in a WAV container. * WAV_ALAW: 8-bit companded alaw samples in a WAV container. * RFC4867_5_AMR: AMR frames with an rfc4867.5 header. * RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header. * FLAC: FLAC frames in the "native FLAC" container format. * MP3: MPEG audio frames with optional (ignored) ID3 metadata. * OGG_OPUS: Opus audio frames in an Ogg container. * WEBM_OPUS: Opus audio frames in a WebM container.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type AutoDetectDecodingConfig = src.AutoDetectDecodingConfig

type BatchRecognizeFileMetadata

Metadata about a single file in a batch for BatchRecognize.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type BatchRecognizeFileMetadata = src.BatchRecognizeFileMetadata

type BatchRecognizeFileMetadata_Uri

type BatchRecognizeFileMetadata_Uri = src.BatchRecognizeFileMetadata_Uri

type BatchRecognizeFileResult

Final results for a single file.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type BatchRecognizeFileResult = src.BatchRecognizeFileResult

type BatchRecognizeMetadata

Operation metadata for [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize].

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type BatchRecognizeMetadata = src.BatchRecognizeMetadata

type BatchRecognizeRequest

Request message for the [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type BatchRecognizeRequest = src.BatchRecognizeRequest

type BatchRecognizeResponse

Response message for [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] that is packaged into a longrunning [Operation][google.longrunning.Operation].

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type BatchRecognizeResponse = src.BatchRecognizeResponse

type BatchRecognizeTranscriptionMetadata

Metadata about transcription for a single file (for example, progress percent).

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type BatchRecognizeTranscriptionMetadata = src.BatchRecognizeTranscriptionMetadata

type Config

Message representing the config for the Speech-to-Text API. This includes an optional [KMS key](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which incoming data will be encrypted.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type Config = src.Config

type CreateCustomClassRequest

Request message for the [CreateCustomClass][google.cloud.speech.v2.Speech.CreateCustomClass] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type CreateCustomClassRequest = src.CreateCustomClassRequest

type CreatePhraseSetRequest

Request message for the [CreatePhraseSet][google.cloud.speech.v2.Speech.CreatePhraseSet] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type CreatePhraseSetRequest = src.CreatePhraseSetRequest

type CreateRecognizerRequest

Request message for the [CreateRecognizer][google.cloud.speech.v2.Speech.CreateRecognizer] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type CreateRecognizerRequest = src.CreateRecognizerRequest

type CustomClass

CustomClass for biasing in speech recognition. Used to define a set of words or phrases that represents a common concept or theme likely to appear in your audio, for example a list of passenger ship names.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type CustomClass = src.CustomClass

type CustomClass_ClassItem

An item of the class.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type CustomClass_ClassItem = src.CustomClass_ClassItem

type CustomClass_State

Set of states that define the lifecycle of a CustomClass.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type CustomClass_State = src.CustomClass_State

type DeleteCustomClassRequest

Request message for the [DeleteCustomClass][google.cloud.speech.v2.Speech.DeleteCustomClass] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type DeleteCustomClassRequest = src.DeleteCustomClassRequest

type DeletePhraseSetRequest

Request message for the [DeletePhraseSet][google.cloud.speech.v2.Speech.DeletePhraseSet] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type DeletePhraseSetRequest = src.DeletePhraseSetRequest

type DeleteRecognizerRequest

Request message for the [DeleteRecognizer][google.cloud.speech.v2.Speech.DeleteRecognizer] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type DeleteRecognizerRequest = src.DeleteRecognizerRequest

type ExplicitDecodingConfig

Explicitly specified decoding parameters.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ExplicitDecodingConfig = src.ExplicitDecodingConfig

type ExplicitDecodingConfig_AudioEncoding

Supported audio data encodings.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ExplicitDecodingConfig_AudioEncoding = src.ExplicitDecodingConfig_AudioEncoding

type GetConfigRequest

Request message for the [GetConfig][google.cloud.speech.v2.Speech.GetConfig] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type GetConfigRequest = src.GetConfigRequest

type GetCustomClassRequest

Request message for the [GetCustomClass][google.cloud.speech.v2.Speech.GetCustomClass] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type GetCustomClassRequest = src.GetCustomClassRequest

type GetPhraseSetRequest

Request message for the [GetPhraseSet][google.cloud.speech.v2.Speech.GetPhraseSet] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type GetPhraseSetRequest = src.GetPhraseSetRequest

type GetRecognizerRequest

Request message for the [GetRecognizer][google.cloud.speech.v2.Speech.GetRecognizer] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type GetRecognizerRequest = src.GetRecognizerRequest

type ListCustomClassesRequest

Request message for the [ListCustomClasses][google.cloud.speech.v2.Speech.ListCustomClasses] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ListCustomClassesRequest = src.ListCustomClassesRequest

type ListCustomClassesResponse

Response message for the [ListCustomClasses][google.cloud.speech.v2.Speech.ListCustomClasses] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ListCustomClassesResponse = src.ListCustomClassesResponse

type ListPhraseSetsRequest

Request message for the [ListPhraseSets][google.cloud.speech.v2.Speech.ListPhraseSets] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ListPhraseSetsRequest = src.ListPhraseSetsRequest

type ListPhraseSetsResponse

Response message for the [ListPhraseSets][google.cloud.speech.v2.Speech.ListPhraseSets] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ListPhraseSetsResponse = src.ListPhraseSetsResponse

type ListRecognizersRequest

Request message for the [ListRecognizers][google.cloud.speech.v2.Speech.ListRecognizers] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ListRecognizersRequest = src.ListRecognizersRequest

type ListRecognizersResponse

Response message for the [ListRecognizers][google.cloud.speech.v2.Speech.ListRecognizers] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type ListRecognizersResponse = src.ListRecognizersResponse

type OperationMetadata

Represents the metadata of a long-running operation.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type OperationMetadata = src.OperationMetadata

type OperationMetadata_BatchRecognizeMetadata

type OperationMetadata_BatchRecognizeMetadata = src.OperationMetadata_BatchRecognizeMetadata

type OperationMetadata_BatchRecognizeRequest

type OperationMetadata_BatchRecognizeRequest = src.OperationMetadata_BatchRecognizeRequest

type OperationMetadata_CreateCustomClassRequest

type OperationMetadata_CreateCustomClassRequest = src.OperationMetadata_CreateCustomClassRequest

type OperationMetadata_CreatePhraseSetRequest

type OperationMetadata_CreatePhraseSetRequest = src.OperationMetadata_CreatePhraseSetRequest

type OperationMetadata_CreateRecognizerRequest

type OperationMetadata_CreateRecognizerRequest = src.OperationMetadata_CreateRecognizerRequest

type OperationMetadata_DeleteCustomClassRequest

type OperationMetadata_DeleteCustomClassRequest = src.OperationMetadata_DeleteCustomClassRequest

type OperationMetadata_DeletePhraseSetRequest

type OperationMetadata_DeletePhraseSetRequest = src.OperationMetadata_DeletePhraseSetRequest

type OperationMetadata_DeleteRecognizerRequest

type OperationMetadata_DeleteRecognizerRequest = src.OperationMetadata_DeleteRecognizerRequest

type OperationMetadata_UndeleteCustomClassRequest

type OperationMetadata_UndeleteCustomClassRequest = src.OperationMetadata_UndeleteCustomClassRequest

type OperationMetadata_UndeletePhraseSetRequest

type OperationMetadata_UndeletePhraseSetRequest = src.OperationMetadata_UndeletePhraseSetRequest

type OperationMetadata_UndeleteRecognizerRequest

type OperationMetadata_UndeleteRecognizerRequest = src.OperationMetadata_UndeleteRecognizerRequest

type OperationMetadata_UpdateConfigRequest

type OperationMetadata_UpdateConfigRequest = src.OperationMetadata_UpdateConfigRequest

type OperationMetadata_UpdateCustomClassRequest

type OperationMetadata_UpdateCustomClassRequest = src.OperationMetadata_UpdateCustomClassRequest

type OperationMetadata_UpdatePhraseSetRequest

type OperationMetadata_UpdatePhraseSetRequest = src.OperationMetadata_UpdatePhraseSetRequest

type OperationMetadata_UpdateRecognizerRequest

type OperationMetadata_UpdateRecognizerRequest = src.OperationMetadata_UpdateRecognizerRequest

type PhraseSet

PhraseSet for biasing in speech recognition. A PhraseSet is used to provide "hints" to the speech recognizer to favor specific words and phrases in the results.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type PhraseSet = src.PhraseSet

type PhraseSet_Phrase

A Phrase contains words and phrase "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. List items can also include CustomClass references containing groups of words that represent common concepts that occur in natural language.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type PhraseSet_Phrase = src.PhraseSet_Phrase

type PhraseSet_State

Set of states that define the lifecycle of a PhraseSet.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type PhraseSet_State = src.PhraseSet_State

type RecognitionConfig

Provides information to the Recognizer that specifies how to process the recognition request.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type RecognitionConfig = src.RecognitionConfig

type RecognitionConfig_AutoDecodingConfig

type RecognitionConfig_AutoDecodingConfig = src.RecognitionConfig_AutoDecodingConfig

type RecognitionConfig_ExplicitDecodingConfig

type RecognitionConfig_ExplicitDecodingConfig = src.RecognitionConfig_ExplicitDecodingConfig

type RecognitionFeatures

Available recognition features.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type RecognitionFeatures = src.RecognitionFeatures

type RecognitionFeatures_MultiChannelMode

Options for how to recognize multi-channel audio.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type RecognitionFeatures_MultiChannelMode = src.RecognitionFeatures_MultiChannelMode

type RecognitionResponseMetadata

Metadata about the recognition request and response.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type RecognitionResponseMetadata = src.RecognitionResponseMetadata

type RecognizeRequest

Request message for the [Recognize][google.cloud.speech.v2.Speech.Recognize] method. Either `content` or `uri` must be supplied. Supplying both or neither returns [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See [content limits](https://cloud.google.com/speech-to-text/quotas#content).

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type RecognizeRequest = src.RecognizeRequest

type RecognizeRequest_Content

type RecognizeRequest_Content = src.RecognizeRequest_Content

type RecognizeRequest_Uri

type RecognizeRequest_Uri = src.RecognizeRequest_Uri

type RecognizeResponse

Response message for the [Recognize][google.cloud.speech.v2.Speech.Recognize] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type RecognizeResponse = src.RecognizeResponse

type Recognizer

A Recognizer message. Stores recognition configuration and metadata.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type Recognizer = src.Recognizer

type Recognizer_State

Set of states that define the lifecycle of a Recognizer.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type Recognizer_State = src.Recognizer_State

type SpeakerDiarizationConfig

Configuration to enable speaker diarization.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeakerDiarizationConfig = src.SpeakerDiarizationConfig

type SpeechAdaptation

Provides "hints" to the speech recognizer to favor specific words and phrases in the results. Phrase sets can be specified as an inline resource, or a reference to an existing phrase set resource.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechAdaptation = src.SpeechAdaptation

type SpeechAdaptation_AdaptationPhraseSet

A biasing phrase set, which can be either a string referencing the name of an existing phrase set resource, or an inline definition of a phrase set.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechAdaptation_AdaptationPhraseSet = src.SpeechAdaptation_AdaptationPhraseSet

type SpeechAdaptation_AdaptationPhraseSet_InlinePhraseSet

type SpeechAdaptation_AdaptationPhraseSet_InlinePhraseSet = src.SpeechAdaptation_AdaptationPhraseSet_InlinePhraseSet

type SpeechAdaptation_AdaptationPhraseSet_PhraseSet

type SpeechAdaptation_AdaptationPhraseSet_PhraseSet = src.SpeechAdaptation_AdaptationPhraseSet_PhraseSet

type SpeechClient

SpeechClient is the client API for Speech service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechClient = src.SpeechClient

func NewSpeechClient

func NewSpeechClient(cc grpc.ClientConnInterface) SpeechClient

Deprecated: Please use funcs in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechRecognitionAlternative

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

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechRecognitionAlternative = src.SpeechRecognitionAlternative

type SpeechRecognitionResult

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

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechRecognitionResult = src.SpeechRecognitionResult

type SpeechServer

SpeechServer is the server API for Speech service.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type SpeechServer = src.SpeechServer

type Speech_StreamingRecognizeClient

type Speech_StreamingRecognizeClient = src.Speech_StreamingRecognizeClient

type Speech_StreamingRecognizeServer

type Speech_StreamingRecognizeServer = src.Speech_StreamingRecognizeServer

type StreamingRecognitionConfig

Provides configuration information for the StreamingRecognize request.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognitionConfig = src.StreamingRecognitionConfig

type StreamingRecognitionFeatures

Available recognition features specific to streaming recognition requests.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognitionFeatures = src.StreamingRecognitionFeatures

type StreamingRecognitionFeatures_VoiceActivityTimeout

Events that a timeout can be set on for voice activity.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognitionFeatures_VoiceActivityTimeout = src.StreamingRecognitionFeatures_VoiceActivityTimeout

type StreamingRecognitionResult

A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognitionResult = src.StreamingRecognitionResult

type StreamingRecognizeRequest

Request message for the [StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize] method. Multiple StreamingRecognizeRequest[google.cloud.speech.v2.StreamingRecognizeRequest] messages are sent. The first message must contain a [recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer] and optionally a [streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config] message and must not contain [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]. All subsequent messages must contain [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] and must not contain a [streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config] message.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognizeRequest = src.StreamingRecognizeRequest

type StreamingRecognizeRequest_Audio

type StreamingRecognizeRequest_Audio = src.StreamingRecognizeRequest_Audio

type StreamingRecognizeRequest_StreamingConfig

type StreamingRecognizeRequest_StreamingConfig = src.StreamingRecognizeRequest_StreamingConfig

type StreamingRecognizeResponse

`StreamingRecognizeResponse` is the only message returned to the client by `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse` messages are streamed back to the client. If there is no recognizable audio then no messages are streamed back to the client. Here are some examples of `StreamingRecognizeResponse`s that might be returned while processing audio: 1. results { alternatives { transcript: "tube" } stability: 0.01 } 2. results { alternatives { transcript: "to be a" } stability: 0.01 } 3. results { alternatives { transcript: "to be" } stability: 0.9 } results { alternatives { transcript: " or not to be" } stability: 0.01 } 4. results { alternatives { transcript: "to be or not to be" confidence: 0.92 } alternatives { transcript: "to bee or not to bee" } is_final: true } 5. results { alternatives { transcript: " that's" } stability: 0.01 } 6. results { alternatives { transcript: " that is" } stability: 0.9 } results { alternatives { transcript: " the question" } stability: 0.01 } 7. results { alternatives { transcript: " that is the question" confidence: 0.98 } alternatives { transcript: " that was the question" } is_final: true } Notes: - Only two of the above responses #4 and #7 contain final results; they are indicated by `is_final: true`. Concatenating these together generates the full transcript: "to be or not to be that is the question". - The others contain interim `results`. #3 and #6 contain two interim `results`: the first portion has a high stability and is less likely to change; the second portion has a low stability and is very likely to change. A UI designer might choose to show only high stability `results`. - The specific `stability` and `confidence` values shown above are only for illustrative purposes. Actual values may vary. - In each response, only one of these fields will be set: `error`, `speech_event_type`, or one or more (repeated) `results`.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognizeResponse = src.StreamingRecognizeResponse

type StreamingRecognizeResponse_SpeechEventType

Indicates the type of speech event.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type StreamingRecognizeResponse_SpeechEventType = src.StreamingRecognizeResponse_SpeechEventType

type UndeleteCustomClassRequest

Request message for the [UndeleteCustomClass][google.cloud.speech.v2.Speech.UndeleteCustomClass] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UndeleteCustomClassRequest = src.UndeleteCustomClassRequest

type UndeletePhraseSetRequest

Request message for the [UndeletePhraseSet][google.cloud.speech.v2.Speech.UndeletePhraseSet] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UndeletePhraseSetRequest = src.UndeletePhraseSetRequest

type UndeleteRecognizerRequest

Request message for the [UndeleteRecognizer][google.cloud.speech.v2.Speech.UndeleteRecognizer] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UndeleteRecognizerRequest = src.UndeleteRecognizerRequest

type UnimplementedSpeechServer

UnimplementedSpeechServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UnimplementedSpeechServer = src.UnimplementedSpeechServer

type UpdateConfigRequest

Request message for the [UpdateConfig][google.cloud.speech.v2.Speech.UpdateConfig] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UpdateConfigRequest = src.UpdateConfigRequest

type UpdateCustomClassRequest

Request message for the [UpdateCustomClass][google.cloud.speech.v2.Speech.UpdateCustomClass] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UpdateCustomClassRequest = src.UpdateCustomClassRequest

type UpdatePhraseSetRequest

Request message for the [UpdatePhraseSet][google.cloud.speech.v2.Speech.UpdatePhraseSet] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UpdatePhraseSetRequest = src.UpdatePhraseSetRequest

type UpdateRecognizerRequest

Request message for the [UpdateRecognizer][google.cloud.speech.v2.Speech.UpdateRecognizer] method.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type UpdateRecognizerRequest = src.UpdateRecognizerRequest

type WordInfo

Word-specific information for recognized words.

Deprecated: Please use types in: cloud.google.com/go/speech/apiv2/speechpb

type WordInfo = src.WordInfo