Package com.google.cloud.speech.v1p1beta1 (4.30.0)

GitHub RepositoryRPC DocumentationREST Documentation

This package is not the latest GA version!

For this library, we recommend using the package associated with API version v2 for new applications.

Prerelease Implications

This package is a prerelease version! Use with caution. Prerelease versions are considered unstable as they may be shut down. You can read more about Cloud API versioning strategy here. Each Cloud Java client library may contain multiple packages. Each package containing a version number in its name corresponds to a published version of the service. We recommend using the latest stable version for new production applications, which can be identified by the largest numeric version that does not contain a suffix. For example, if a client library has two packages: v1 and v2alpha, then the latest stable version is v1. If you use an unstable release, breaking changes may be introduced when upgrading.

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.v1p1beta1.AdaptationClient Service Description: Service that implements Google Cloud Speech Adaptation API.

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:

com.google.cloud.speech.v1p1beta1.SpeechClient Service Description: Service that implements Google Cloud Speech API.

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.v1p1beta1.AdaptationSettings Settings class to configure an instance of AdaptationClient.

The default instance has everything set to sensible defaults:

com.google.cloud.speech.v1p1beta1.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.v1p1beta1.AdaptationClient.ListCustomClassesFixedSizeCollection
com.google.cloud.speech.v1p1beta1.AdaptationClient.ListCustomClassesPage
com.google.cloud.speech.v1p1beta1.AdaptationClient.ListCustomClassesPagedResponse
com.google.cloud.speech.v1p1beta1.AdaptationClient.ListPhraseSetFixedSizeCollection
com.google.cloud.speech.v1p1beta1.AdaptationClient.ListPhraseSetPage
com.google.cloud.speech.v1p1beta1.AdaptationClient.ListPhraseSetPagedResponse
com.google.cloud.speech.v1p1beta1.AdaptationGrpc Service that implements Google Cloud Speech Adaptation API.
com.google.cloud.speech.v1p1beta1.AdaptationGrpc.AdaptationImplBase Base class for the server implementation of the service Adaptation. Service that implements Google Cloud Speech Adaptation API.
com.google.cloud.speech.v1p1beta1.AdaptationSettings.Builder Builder for AdaptationSettings.
com.google.cloud.speech.v1p1beta1.CreateCustomClassRequest Message sent by the client for the CreateCustomClass method.
com.google.cloud.speech.v1p1beta1.CreateCustomClassRequest.Builder Message sent by the client for the CreateCustomClass method.
com.google.cloud.speech.v1p1beta1.CreatePhraseSetRequest Message sent by the client for the CreatePhraseSet method.
com.google.cloud.speech.v1p1beta1.CreatePhraseSetRequest.Builder Message sent by the client for the CreatePhraseSet method.
com.google.cloud.speech.v1p1beta1.CustomClass A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
com.google.cloud.speech.v1p1beta1.CustomClass.Builder A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
com.google.cloud.speech.v1p1beta1.CustomClass.ClassItem An item of the class.
com.google.cloud.speech.v1p1beta1.CustomClass.ClassItem.Builder An item of the class.
com.google.cloud.speech.v1p1beta1.CustomClassName
com.google.cloud.speech.v1p1beta1.CustomClassName.Builder Builder for projects/{project}/locations/{location}/customClasses/{custom_class}.
com.google.cloud.speech.v1p1beta1.DeleteCustomClassRequest Message sent by the client for the DeleteCustomClass method.
com.google.cloud.speech.v1p1beta1.DeleteCustomClassRequest.Builder Message sent by the client for the DeleteCustomClass method.
com.google.cloud.speech.v1p1beta1.DeletePhraseSetRequest Message sent by the client for the DeletePhraseSet method.
com.google.cloud.speech.v1p1beta1.DeletePhraseSetRequest.Builder Message sent by the client for the DeletePhraseSet method.
com.google.cloud.speech.v1p1beta1.GetCustomClassRequest Message sent by the client for the GetCustomClass method.
com.google.cloud.speech.v1p1beta1.GetCustomClassRequest.Builder Message sent by the client for the GetCustomClass method.
com.google.cloud.speech.v1p1beta1.GetPhraseSetRequest Message sent by the client for the GetPhraseSet method.
com.google.cloud.speech.v1p1beta1.GetPhraseSetRequest.Builder Message sent by the client for the GetPhraseSet method.
com.google.cloud.speech.v1p1beta1.ListCustomClassesRequest Message sent by the client for the ListCustomClasses method.
com.google.cloud.speech.v1p1beta1.ListCustomClassesRequest.Builder Message sent by the client for the ListCustomClasses method.
com.google.cloud.speech.v1p1beta1.ListCustomClassesResponse Message returned to the client by the ListCustomClasses method.
com.google.cloud.speech.v1p1beta1.ListCustomClassesResponse.Builder Message returned to the client by the ListCustomClasses method.
com.google.cloud.speech.v1p1beta1.ListPhraseSetRequest Message sent by the client for the ListPhraseSet method.
com.google.cloud.speech.v1p1beta1.ListPhraseSetRequest.Builder Message sent by the client for the ListPhraseSet method.
com.google.cloud.speech.v1p1beta1.ListPhraseSetResponse Message returned to the client by the ListPhraseSet method.
com.google.cloud.speech.v1p1beta1.ListPhraseSetResponse.Builder Message returned to the client by the ListPhraseSet method.
com.google.cloud.speech.v1p1beta1.LocationName
com.google.cloud.speech.v1p1beta1.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata Describes the progress of a long-running LongRunningRecognize call. It is included in the metadata field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata.Builder Describes the progress of a long-running LongRunningRecognize call. It is included in the metadata field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest The top-level message sent by the client for the LongRunningRecognize method.
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest.Builder The top-level message sent by the client for the LongRunningRecognize method.
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse The only message returned to the client by the LongRunningRecognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages. It is included in the result.response field of the Operation
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse.Builder The only message returned to the client by the LongRunningRecognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages. It is included in the result.response field of the Operation
com.google.cloud.speech.v1p1beta1.PhraseSet Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
com.google.cloud.speech.v1p1beta1.PhraseSet.Builder Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
com.google.cloud.speech.v1p1beta1.PhraseSet.Phrase A phrases containing 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
com.google.cloud.speech.v1p1beta1.PhraseSet.Phrase.Builder A phrases containing 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
com.google.cloud.speech.v1p1beta1.PhraseSetName
com.google.cloud.speech.v1p1beta1.PhraseSetName.Builder Builder for projects/{project}/locations/{location}/phraseSets/{phrase_set}.
com.google.cloud.speech.v1p1beta1.RecognitionAudio 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.
com.google.cloud.speech.v1p1beta1.RecognitionAudio.Builder 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.
com.google.cloud.speech.v1p1beta1.RecognitionConfig Provides information to the recognizer that specifies how to process the request.
com.google.cloud.speech.v1p1beta1.RecognitionConfig.Builder Provides information to the recognizer that specifies how to process the request.
com.google.cloud.speech.v1p1beta1.RecognitionMetadata Description of audio data to be recognized.
com.google.cloud.speech.v1p1beta1.RecognitionMetadata.Builder Description of audio data to be recognized.
com.google.cloud.speech.v1p1beta1.RecognizeRequest The top-level message sent by the client for the Recognize method.
com.google.cloud.speech.v1p1beta1.RecognizeRequest.Builder The top-level message sent by the client for the Recognize method.
com.google.cloud.speech.v1p1beta1.RecognizeResponse The only message returned to the client by the Recognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages.
com.google.cloud.speech.v1p1beta1.RecognizeResponse.Builder The only message returned to the client by the Recognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages.
com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig Config to enable speaker diarization.
com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig.Builder Config to enable speaker diarization.
com.google.cloud.speech.v1p1beta1.SpeechAdaptation Speech adaptation configuration.
com.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar Protobuf type google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar
com.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar.Builder Protobuf type google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar
com.google.cloud.speech.v1p1beta1.SpeechAdaptation.Builder Speech adaptation configuration.
com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfo Information on speech adaptation use in results
com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfo.Builder Information on speech adaptation use in results
com.google.cloud.speech.v1p1beta1.SpeechAdaptationProto
com.google.cloud.speech.v1p1beta1.SpeechContext Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
com.google.cloud.speech.v1p1beta1.SpeechContext.Builder Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
com.google.cloud.speech.v1p1beta1.SpeechGrpc Service that implements Google Cloud Speech API.
com.google.cloud.speech.v1p1beta1.SpeechGrpc.SpeechImplBase Base class for the server implementation of the service Speech. Service that implements Google Cloud Speech API.
com.google.cloud.speech.v1p1beta1.SpeechProto
com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative Alternative hypotheses (a.k.a. n-best list).
com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative.Builder Alternative hypotheses (a.k.a. n-best list).
com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult A speech recognition result corresponding to a portion of the audio.
com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult.Builder A speech recognition result corresponding to a portion of the audio.
com.google.cloud.speech.v1p1beta1.SpeechResourceProto
com.google.cloud.speech.v1p1beta1.SpeechSettings.Builder Builder for SpeechSettings.
com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig Provides information to the recognizer that specifies how to process the request.
com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.Builder Provides information to the recognizer that specifies how to process the request.
com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeout Events that a timeout can be set on for voice activity.
com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeout.Builder Events that a timeout can be set on for voice activity.
com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult.Builder A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest The top-level message sent by the client for the StreamingRecognize method. Multiple StreamingRecognizeRequest messages are sent. The first message must contain a streaming_config message and must not contain
com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest.Builder The top-level message sent by the client for the StreamingRecognize method. Multiple StreamingRecognizeRequest messages are sent. The first message must contain a streaming_config message and must not contain
com.google.cloud.speech.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.TranscriptNormalization.Entry A single replacement configuration.
com.google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry.Builder A single replacement configuration.
com.google.cloud.speech.v1p1beta1.TranscriptOutputConfig Specifies an optional destination for the recognition results.
com.google.cloud.speech.v1p1beta1.TranscriptOutputConfig.Builder Specifies an optional destination for the recognition results.
com.google.cloud.speech.v1p1beta1.UpdateCustomClassRequest Message sent by the client for the UpdateCustomClass method.
com.google.cloud.speech.v1p1beta1.UpdateCustomClassRequest.Builder Message sent by the client for the UpdateCustomClass method.
com.google.cloud.speech.v1p1beta1.UpdatePhraseSetRequest Message sent by the client for the UpdatePhraseSet method.
com.google.cloud.speech.v1p1beta1.UpdatePhraseSetRequest.Builder Message sent by the client for the UpdatePhraseSet method.
com.google.cloud.speech.v1p1beta1.WordInfo Word-specific information for recognized words.
com.google.cloud.speech.v1p1beta1.WordInfo.Builder Word-specific information for recognized words.

Interfaces

Interface Description
com.google.cloud.speech.v1p1beta1.AdaptationGrpc.AsyncService Service that implements Google Cloud Speech Adaptation API.
com.google.cloud.speech.v1p1beta1.CreateCustomClassRequestOrBuilder
com.google.cloud.speech.v1p1beta1.CreatePhraseSetRequestOrBuilder
com.google.cloud.speech.v1p1beta1.CustomClass.ClassItemOrBuilder
com.google.cloud.speech.v1p1beta1.CustomClassOrBuilder
com.google.cloud.speech.v1p1beta1.DeleteCustomClassRequestOrBuilder
com.google.cloud.speech.v1p1beta1.DeletePhraseSetRequestOrBuilder
com.google.cloud.speech.v1p1beta1.GetCustomClassRequestOrBuilder
com.google.cloud.speech.v1p1beta1.GetPhraseSetRequestOrBuilder
com.google.cloud.speech.v1p1beta1.ListCustomClassesRequestOrBuilder
com.google.cloud.speech.v1p1beta1.ListCustomClassesResponseOrBuilder
com.google.cloud.speech.v1p1beta1.ListPhraseSetRequestOrBuilder
com.google.cloud.speech.v1p1beta1.ListPhraseSetResponseOrBuilder
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadataOrBuilder
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequestOrBuilder
com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponseOrBuilder
com.google.cloud.speech.v1p1beta1.PhraseSet.PhraseOrBuilder
com.google.cloud.speech.v1p1beta1.PhraseSetOrBuilder
com.google.cloud.speech.v1p1beta1.RecognitionAudioOrBuilder
com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder
com.google.cloud.speech.v1p1beta1.RecognitionMetadataOrBuilder
com.google.cloud.speech.v1p1beta1.RecognizeRequestOrBuilder
com.google.cloud.speech.v1p1beta1.RecognizeResponseOrBuilder
com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfigOrBuilder
com.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammarOrBuilder
com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder
com.google.cloud.speech.v1p1beta1.SpeechAdaptationOrBuilder
com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder
com.google.cloud.speech.v1p1beta1.SpeechGrpc.AsyncService Service that implements Google Cloud Speech API.
com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder
com.google.cloud.speech.v1p1beta1.SpeechRecognitionResultOrBuilder
com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder
com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfigOrBuilder
com.google.cloud.speech.v1p1beta1.StreamingRecognitionResultOrBuilder
com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequestOrBuilder
com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponseOrBuilder
com.google.cloud.speech.v1p1beta1.TranscriptNormalization.EntryOrBuilder
com.google.cloud.speech.v1p1beta1.TranscriptNormalizationOrBuilder
com.google.cloud.speech.v1p1beta1.TranscriptOutputConfigOrBuilder
com.google.cloud.speech.v1p1beta1.UpdateCustomClassRequestOrBuilder
com.google.cloud.speech.v1p1beta1.UpdatePhraseSetRequestOrBuilder
com.google.cloud.speech.v1p1beta1.WordInfoOrBuilder

Enums

Enum Description
com.google.cloud.speech.v1p1beta1.RecognitionAudio.AudioSourceCase
com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding The encoding of the audio data sent in the request. All encodings support only 1 channel (mono) audio, unless the
com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType Use case categories that the audio recognition request can be described by.
com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance Enumerates the types of capture settings describing an audio file.
com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType The original media the speech was recorded on.
com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType The type of device the speech was recorded with.
com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest.StreamingRequestCase
com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType Indicates the type of speech event.
com.google.cloud.speech.v1p1beta1.TranscriptOutputConfig.OutputTypeCase