Package com.google.cloud.speech.v2 (4.31.0)

GitHub RepositoryRPC DocumentationREST Documentation

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.speech.v2.SpeechClient Service Description: Enables speech transcription and resource management.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.speech.v2.SpeechSettings Settings class to configure an instance of SpeechClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.speech.v2.AutoDetectDecodingConfig Automatically detected decoding parameters. Supported for the following encodings:
com.google.cloud.speech.v2.AutoDetectDecodingConfig.Builder Automatically detected decoding parameters. Supported for the following encodings:
com.google.cloud.speech.v2.BatchRecognizeFileMetadata Metadata about a single file in a batch for BatchRecognize.
com.google.cloud.speech.v2.BatchRecognizeFileMetadata.Builder Metadata about a single file in a batch for BatchRecognize.
com.google.cloud.speech.v2.BatchRecognizeFileResult Final results for a single file.
com.google.cloud.speech.v2.BatchRecognizeFileResult.Builder Final results for a single file.
com.google.cloud.speech.v2.BatchRecognizeMetadata Operation metadata for BatchRecognize.
com.google.cloud.speech.v2.BatchRecognizeMetadata.Builder Operation metadata for BatchRecognize.
com.google.cloud.speech.v2.BatchRecognizeRequest Request message for the BatchRecognize method.
com.google.cloud.speech.v2.BatchRecognizeRequest.Builder Request message for the BatchRecognize method.
com.google.cloud.speech.v2.BatchRecognizeResponse Response message for BatchRecognize that is packaged into a longrunning Operation.
com.google.cloud.speech.v2.BatchRecognizeResponse.Builder Response message for BatchRecognize that is packaged into a longrunning Operation.
com.google.cloud.speech.v2.BatchRecognizeResults Output type for Cloud Storage of BatchRecognize transcripts. Though this proto isn't returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.
com.google.cloud.speech.v2.BatchRecognizeResults.Builder Output type for Cloud Storage of BatchRecognize transcripts. Though this proto isn't returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.
com.google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata Metadata about transcription for a single file (for example, progress percent).
com.google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata.Builder Metadata about transcription for a single file (for example, progress percent).
com.google.cloud.speech.v2.CloudSpeechProto
com.google.cloud.speech.v2.CloudStorageResult Final results written to Cloud Storage.
com.google.cloud.speech.v2.CloudStorageResult.Builder Final results written to Cloud Storage.
com.google.cloud.speech.v2.Config Message representing the config for the Speech-to-Text API. This includes an optional KMS key with which incoming data will be encrypted.
com.google.cloud.speech.v2.Config.Builder Message representing the config for the Speech-to-Text API. This includes an optional KMS key with which incoming data will be encrypted.
com.google.cloud.speech.v2.ConfigName
com.google.cloud.speech.v2.ConfigName.Builder Builder for projects/{project}/locations/{location}/config.
com.google.cloud.speech.v2.CreateCustomClassRequest Request message for the CreateCustomClass method.
com.google.cloud.speech.v2.CreateCustomClassRequest.Builder Request message for the CreateCustomClass method.
com.google.cloud.speech.v2.CreatePhraseSetRequest Request message for the CreatePhraseSet method.
com.google.cloud.speech.v2.CreatePhraseSetRequest.Builder Request message for the CreatePhraseSet method.
com.google.cloud.speech.v2.CreateRecognizerRequest Request message for the CreateRecognizer method.
com.google.cloud.speech.v2.CreateRecognizerRequest.Builder Request message for the CreateRecognizer method.
com.google.cloud.speech.v2.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.
com.google.cloud.speech.v2.CustomClass.Builder 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.
com.google.cloud.speech.v2.CustomClass.ClassItem An item of the class.
com.google.cloud.speech.v2.CustomClass.ClassItem.Builder An item of the class.
com.google.cloud.speech.v2.CustomClassName
com.google.cloud.speech.v2.CustomClassName.Builder Builder for projects/{project}/locations/{location}/customClasses/{custom_class}.
com.google.cloud.speech.v2.DeleteCustomClassRequest Request message for the DeleteCustomClass method.
com.google.cloud.speech.v2.DeleteCustomClassRequest.Builder Request message for the DeleteCustomClass method.
com.google.cloud.speech.v2.DeletePhraseSetRequest Request message for the DeletePhraseSet method.
com.google.cloud.speech.v2.DeletePhraseSetRequest.Builder Request message for the DeletePhraseSet method.
com.google.cloud.speech.v2.DeleteRecognizerRequest Request message for the DeleteRecognizer method.
com.google.cloud.speech.v2.DeleteRecognizerRequest.Builder Request message for the DeleteRecognizer method.
com.google.cloud.speech.v2.ExplicitDecodingConfig Explicitly specified decoding parameters.
com.google.cloud.speech.v2.ExplicitDecodingConfig.Builder Explicitly specified decoding parameters.
com.google.cloud.speech.v2.GcsOutputConfig Output configurations for Cloud Storage.
com.google.cloud.speech.v2.GcsOutputConfig.Builder Output configurations for Cloud Storage.
com.google.cloud.speech.v2.GetConfigRequest Request message for the GetConfig method.
com.google.cloud.speech.v2.GetConfigRequest.Builder Request message for the GetConfig method.
com.google.cloud.speech.v2.GetCustomClassRequest Request message for the GetCustomClass method.
com.google.cloud.speech.v2.GetCustomClassRequest.Builder Request message for the GetCustomClass method.
com.google.cloud.speech.v2.GetPhraseSetRequest Request message for the GetPhraseSet method.
com.google.cloud.speech.v2.GetPhraseSetRequest.Builder Request message for the GetPhraseSet method.
com.google.cloud.speech.v2.GetRecognizerRequest Request message for the GetRecognizer method.
com.google.cloud.speech.v2.GetRecognizerRequest.Builder Request message for the GetRecognizer method.
com.google.cloud.speech.v2.InlineOutputConfig Output configurations for inline response.
com.google.cloud.speech.v2.InlineOutputConfig.Builder Output configurations for inline response.
com.google.cloud.speech.v2.InlineResult Final results returned inline in the recognition response.
com.google.cloud.speech.v2.InlineResult.Builder Final results returned inline in the recognition response.
com.google.cloud.speech.v2.ListCustomClassesRequest Request message for the ListCustomClasses method.
com.google.cloud.speech.v2.ListCustomClassesRequest.Builder Request message for the ListCustomClasses method.
com.google.cloud.speech.v2.ListCustomClassesResponse Response message for the ListCustomClasses method.
com.google.cloud.speech.v2.ListCustomClassesResponse.Builder Response message for the ListCustomClasses method.
com.google.cloud.speech.v2.ListPhraseSetsRequest Request message for the ListPhraseSets method.
com.google.cloud.speech.v2.ListPhraseSetsRequest.Builder Request message for the ListPhraseSets method.
com.google.cloud.speech.v2.ListPhraseSetsResponse Response message for the ListPhraseSets method.
com.google.cloud.speech.v2.ListPhraseSetsResponse.Builder Response message for the ListPhraseSets method.
com.google.cloud.speech.v2.ListRecognizersRequest Request message for the ListRecognizers method.
com.google.cloud.speech.v2.ListRecognizersRequest.Builder Request message for the ListRecognizers method.
com.google.cloud.speech.v2.ListRecognizersResponse Response message for the ListRecognizers method.
com.google.cloud.speech.v2.ListRecognizersResponse.Builder Response message for the ListRecognizers method.
com.google.cloud.speech.v2.LocationName
com.google.cloud.speech.v2.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.speech.v2.OperationMetadata Represents the metadata of a long-running operation.
com.google.cloud.speech.v2.OperationMetadata.Builder Represents the metadata of a long-running operation.
com.google.cloud.speech.v2.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.
com.google.cloud.speech.v2.PhraseSet.Builder 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.
com.google.cloud.speech.v2.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
com.google.cloud.speech.v2.PhraseSet.Phrase.Builder 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
com.google.cloud.speech.v2.PhraseSetName
com.google.cloud.speech.v2.PhraseSetName.Builder Builder for projects/{project}/locations/{location}/phraseSets/{phrase_set}.
com.google.cloud.speech.v2.RecognitionConfig Provides information to the Recognizer that specifies how to process the recognition request.
com.google.cloud.speech.v2.RecognitionConfig.Builder Provides information to the Recognizer that specifies how to process the recognition request.
com.google.cloud.speech.v2.RecognitionFeatures Available recognition features.
com.google.cloud.speech.v2.RecognitionFeatures.Builder Available recognition features.
com.google.cloud.speech.v2.RecognitionOutputConfig Configuration options for the output(s) of recognition.
com.google.cloud.speech.v2.RecognitionOutputConfig.Builder Configuration options for the output(s) of recognition.
com.google.cloud.speech.v2.RecognitionResponseMetadata Metadata about the recognition request and response.
com.google.cloud.speech.v2.RecognitionResponseMetadata.Builder Metadata about the recognition request and response.
com.google.cloud.speech.v2.RecognizeRequest Request message for the Recognize method. Either content or uri must be supplied. Supplying both or neither returns
com.google.cloud.speech.v2.RecognizeRequest.Builder Request message for the Recognize method. Either content or uri must be supplied. Supplying both or neither returns
com.google.cloud.speech.v2.RecognizeResponse Response message for the Recognize method.
com.google.cloud.speech.v2.RecognizeResponse.Builder Response message for the Recognize method.
com.google.cloud.speech.v2.Recognizer A Recognizer message. Stores recognition configuration and metadata.
com.google.cloud.speech.v2.Recognizer.Builder A Recognizer message. Stores recognition configuration and metadata.
com.google.cloud.speech.v2.RecognizerName
com.google.cloud.speech.v2.RecognizerName.Builder Builder for projects/{project}/locations/{location}/recognizers/{recognizer}.
com.google.cloud.speech.v2.SpeakerDiarizationConfig Configuration to enable speaker diarization.
com.google.cloud.speech.v2.SpeakerDiarizationConfig.Builder Configuration to enable speaker diarization.
com.google.cloud.speech.v2.SpeechAdaptation Provides "hints" to the speech recognizer to favor specific words and phrases in the results. PhraseSets can be specified as an inline resource, or a reference to an existing PhraseSet resource.
com.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet A biasing PhraseSet, which can be either a string referencing the name of an existing PhraseSets resource, or an inline definition of a PhraseSet.
com.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet.Builder A biasing PhraseSet, which can be either a string referencing the name of an existing PhraseSets resource, or an inline definition of a PhraseSet.
com.google.cloud.speech.v2.SpeechAdaptation.Builder Provides "hints" to the speech recognizer to favor specific words and phrases in the results. PhraseSets can be specified as an inline resource, or a reference to an existing PhraseSet resource.
com.google.cloud.speech.v2.SpeechClient.ListCustomClassesFixedSizeCollection
com.google.cloud.speech.v2.SpeechClient.ListCustomClassesPage
com.google.cloud.speech.v2.SpeechClient.ListCustomClassesPagedResponse
com.google.cloud.speech.v2.SpeechClient.ListLocationsFixedSizeCollection
com.google.cloud.speech.v2.SpeechClient.ListLocationsPage
com.google.cloud.speech.v2.SpeechClient.ListLocationsPagedResponse
com.google.cloud.speech.v2.SpeechClient.ListPhraseSetsFixedSizeCollection
com.google.cloud.speech.v2.SpeechClient.ListPhraseSetsPage
com.google.cloud.speech.v2.SpeechClient.ListPhraseSetsPagedResponse
com.google.cloud.speech.v2.SpeechClient.ListRecognizersFixedSizeCollection
com.google.cloud.speech.v2.SpeechClient.ListRecognizersPage
com.google.cloud.speech.v2.SpeechClient.ListRecognizersPagedResponse
com.google.cloud.speech.v2.SpeechGrpc Enables speech transcription and resource management.
com.google.cloud.speech.v2.SpeechGrpc.SpeechImplBase Base class for the server implementation of the service Speech. Enables speech transcription and resource management.
com.google.cloud.speech.v2.SpeechRecognitionAlternative Alternative hypotheses (a.k.a. n-best list).
com.google.cloud.speech.v2.SpeechRecognitionAlternative.Builder Alternative hypotheses (a.k.a. n-best list).
com.google.cloud.speech.v2.SpeechRecognitionResult A speech recognition result corresponding to a portion of the audio.
com.google.cloud.speech.v2.SpeechRecognitionResult.Builder A speech recognition result corresponding to a portion of the audio.
com.google.cloud.speech.v2.SpeechSettings.Builder Builder for SpeechSettings.
com.google.cloud.speech.v2.StreamingRecognitionConfig Provides configuration information for the StreamingRecognize request.
com.google.cloud.speech.v2.StreamingRecognitionConfig.Builder Provides configuration information for the StreamingRecognize request.
com.google.cloud.speech.v2.StreamingRecognitionFeatures Available recognition features specific to streaming recognition requests.
com.google.cloud.speech.v2.StreamingRecognitionFeatures.Builder Available recognition features specific to streaming recognition requests.
com.google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout Events that a timeout can be set on for voice activity.
com.google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout.Builder Events that a timeout can be set on for voice activity.
com.google.cloud.speech.v2.StreamingRecognitionResult A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
com.google.cloud.speech.v2.StreamingRecognitionResult.Builder A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
com.google.cloud.speech.v2.StreamingRecognizeRequest Request message for the StreamingRecognize method. Multiple
com.google.cloud.speech.v2.StreamingRecognizeRequest.Builder Request message for the StreamingRecognize method. Multiple
com.google.cloud.speech.v2.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
com.google.cloud.speech.v2.StreamingRecognizeResponse.Builder 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
com.google.cloud.speech.v2.TranscriptNormalization Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable
com.google.cloud.speech.v2.TranscriptNormalization.Builder Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable
com.google.cloud.speech.v2.TranscriptNormalization.Entry A single replacement configuration.
com.google.cloud.speech.v2.TranscriptNormalization.Entry.Builder A single replacement configuration.
com.google.cloud.speech.v2.UndeleteCustomClassRequest Request message for the UndeleteCustomClass method.
com.google.cloud.speech.v2.UndeleteCustomClassRequest.Builder Request message for the UndeleteCustomClass method.
com.google.cloud.speech.v2.UndeletePhraseSetRequest Request message for the UndeletePhraseSet method.
com.google.cloud.speech.v2.UndeletePhraseSetRequest.Builder Request message for the UndeletePhraseSet method.
com.google.cloud.speech.v2.UndeleteRecognizerRequest Request message for the UndeleteRecognizer method.
com.google.cloud.speech.v2.UndeleteRecognizerRequest.Builder Request message for the UndeleteRecognizer method.
com.google.cloud.speech.v2.UpdateConfigRequest Request message for the UpdateConfig method.
com.google.cloud.speech.v2.UpdateConfigRequest.Builder Request message for the UpdateConfig method.
com.google.cloud.speech.v2.UpdateCustomClassRequest Request message for the UpdateCustomClass method.
com.google.cloud.speech.v2.UpdateCustomClassRequest.Builder Request message for the UpdateCustomClass method.
com.google.cloud.speech.v2.UpdatePhraseSetRequest Request message for the UpdatePhraseSet method.
com.google.cloud.speech.v2.UpdatePhraseSetRequest.Builder Request message for the UpdatePhraseSet method.
com.google.cloud.speech.v2.UpdateRecognizerRequest Request message for the UpdateRecognizer method.
com.google.cloud.speech.v2.UpdateRecognizerRequest.Builder Request message for the UpdateRecognizer method.
com.google.cloud.speech.v2.WordInfo Word-specific information for recognized words.
com.google.cloud.speech.v2.WordInfo.Builder Word-specific information for recognized words.

Interfaces

Interface Description
com.google.cloud.speech.v2.AutoDetectDecodingConfigOrBuilder
com.google.cloud.speech.v2.BatchRecognizeFileMetadataOrBuilder
com.google.cloud.speech.v2.BatchRecognizeFileResultOrBuilder
com.google.cloud.speech.v2.BatchRecognizeMetadataOrBuilder
com.google.cloud.speech.v2.BatchRecognizeRequestOrBuilder
com.google.cloud.speech.v2.BatchRecognizeResponseOrBuilder
com.google.cloud.speech.v2.BatchRecognizeResultsOrBuilder
com.google.cloud.speech.v2.BatchRecognizeTranscriptionMetadataOrBuilder
com.google.cloud.speech.v2.CloudStorageResultOrBuilder
com.google.cloud.speech.v2.ConfigOrBuilder
com.google.cloud.speech.v2.CreateCustomClassRequestOrBuilder
com.google.cloud.speech.v2.CreatePhraseSetRequestOrBuilder
com.google.cloud.speech.v2.CreateRecognizerRequestOrBuilder
com.google.cloud.speech.v2.CustomClass.ClassItemOrBuilder
com.google.cloud.speech.v2.CustomClassOrBuilder
com.google.cloud.speech.v2.DeleteCustomClassRequestOrBuilder
com.google.cloud.speech.v2.DeletePhraseSetRequestOrBuilder
com.google.cloud.speech.v2.DeleteRecognizerRequestOrBuilder
com.google.cloud.speech.v2.ExplicitDecodingConfigOrBuilder
com.google.cloud.speech.v2.GcsOutputConfigOrBuilder
com.google.cloud.speech.v2.GetConfigRequestOrBuilder
com.google.cloud.speech.v2.GetCustomClassRequestOrBuilder
com.google.cloud.speech.v2.GetPhraseSetRequestOrBuilder
com.google.cloud.speech.v2.GetRecognizerRequestOrBuilder
com.google.cloud.speech.v2.InlineOutputConfigOrBuilder
com.google.cloud.speech.v2.InlineResultOrBuilder
com.google.cloud.speech.v2.ListCustomClassesRequestOrBuilder
com.google.cloud.speech.v2.ListCustomClassesResponseOrBuilder
com.google.cloud.speech.v2.ListPhraseSetsRequestOrBuilder
com.google.cloud.speech.v2.ListPhraseSetsResponseOrBuilder
com.google.cloud.speech.v2.ListRecognizersRequestOrBuilder
com.google.cloud.speech.v2.ListRecognizersResponseOrBuilder
com.google.cloud.speech.v2.OperationMetadataOrBuilder
com.google.cloud.speech.v2.PhraseSet.PhraseOrBuilder
com.google.cloud.speech.v2.PhraseSetOrBuilder
com.google.cloud.speech.v2.RecognitionConfigOrBuilder
com.google.cloud.speech.v2.RecognitionFeaturesOrBuilder
com.google.cloud.speech.v2.RecognitionOutputConfigOrBuilder
com.google.cloud.speech.v2.RecognitionResponseMetadataOrBuilder
com.google.cloud.speech.v2.RecognizeRequestOrBuilder
com.google.cloud.speech.v2.RecognizeResponseOrBuilder
com.google.cloud.speech.v2.RecognizerOrBuilder
com.google.cloud.speech.v2.SpeakerDiarizationConfigOrBuilder
com.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSetOrBuilder
com.google.cloud.speech.v2.SpeechAdaptationOrBuilder
com.google.cloud.speech.v2.SpeechGrpc.AsyncService Enables speech transcription and resource management.
com.google.cloud.speech.v2.SpeechRecognitionAlternativeOrBuilder
com.google.cloud.speech.v2.SpeechRecognitionResultOrBuilder
com.google.cloud.speech.v2.StreamingRecognitionConfigOrBuilder
com.google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilder
com.google.cloud.speech.v2.StreamingRecognitionFeaturesOrBuilder
com.google.cloud.speech.v2.StreamingRecognitionResultOrBuilder
com.google.cloud.speech.v2.StreamingRecognizeRequestOrBuilder
com.google.cloud.speech.v2.StreamingRecognizeResponseOrBuilder
com.google.cloud.speech.v2.TranscriptNormalization.EntryOrBuilder
com.google.cloud.speech.v2.TranscriptNormalizationOrBuilder
com.google.cloud.speech.v2.UndeleteCustomClassRequestOrBuilder
com.google.cloud.speech.v2.UndeletePhraseSetRequestOrBuilder
com.google.cloud.speech.v2.UndeleteRecognizerRequestOrBuilder
com.google.cloud.speech.v2.UpdateConfigRequestOrBuilder
com.google.cloud.speech.v2.UpdateCustomClassRequestOrBuilder
com.google.cloud.speech.v2.UpdatePhraseSetRequestOrBuilder
com.google.cloud.speech.v2.UpdateRecognizerRequestOrBuilder
com.google.cloud.speech.v2.WordInfoOrBuilder

Enums

Enum Description
com.google.cloud.speech.v2.BatchRecognizeFileMetadata.AudioSourceCase
com.google.cloud.speech.v2.BatchRecognizeFileResult.ResultCase
com.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy Possible processing strategies for batch requests.
com.google.cloud.speech.v2.CustomClass.State Set of states that define the lifecycle of a CustomClass.
com.google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncoding Supported audio data encodings.
com.google.cloud.speech.v2.OperationMetadata.MetadataCase
com.google.cloud.speech.v2.OperationMetadata.RequestCase
com.google.cloud.speech.v2.PhraseSet.State Set of states that define the lifecycle of a PhraseSet.
com.google.cloud.speech.v2.RecognitionConfig.DecodingConfigCase
com.google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode Options for how to recognize multi-channel audio.
com.google.cloud.speech.v2.RecognitionOutputConfig.OutputCase
com.google.cloud.speech.v2.RecognizeRequest.AudioSourceCase
com.google.cloud.speech.v2.Recognizer.State Set of states that define the lifecycle of a Recognizer.
com.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet.ValueCase
com.google.cloud.speech.v2.StreamingRecognizeRequest.StreamingRequestCase
com.google.cloud.speech.v2.StreamingRecognizeResponse.SpeechEventType Indicates the type of speech event.