Package com.google.cloud.mediatranslation.v1beta1 (0.43.0)

GitHub Repository

This package is not the latest GA version!

For this library, we recommend using the package associated with API version v1beta1 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.mediatranslation.v1beta1.SpeechTranslationServiceClient Service Description: Provides translation from/to media types.

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.mediatranslation.v1beta1.SpeechTranslationServiceSettings Settings class to configure an instance of SpeechTranslationServiceClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.mediatranslation.v1beta1.MediaTranslationProto
com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceGrpc Provides translation from/to media types.
com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceGrpc.SpeechTranslationServiceImplBase Base class for the server implementation of the service SpeechTranslationService. Provides translation from/to media types.
com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceSettings.Builder Builder for SpeechTranslationServiceSettings.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfig Config used for streaming translation.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfig.Builder Config used for streaming translation.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechRequest The top-level message sent by the client for the StreamingTranslateSpeech method. Multiple StreamingTranslateSpeechRequest messages are sent. The first message must contain a streaming_config message and must not contain
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechRequest.Builder The top-level message sent by the client for the StreamingTranslateSpeech method. Multiple StreamingTranslateSpeechRequest messages are sent. The first message must contain a streaming_config message and must not contain
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse A streaming speech translation response corresponding to a portion of the audio currently processed.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse.Builder A streaming speech translation response corresponding to a portion of the audio currently processed.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult A streaming speech translation result corresponding to a portion of the audio that is currently being processed.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.Builder A streaming speech translation result corresponding to a portion of the audio that is currently being processed.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult Text translation result.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult.Builder Text translation result.
com.google.cloud.mediatranslation.v1beta1.TranslateSpeechConfig Provides information to the speech translation that specifies how to process the request.
com.google.cloud.mediatranslation.v1beta1.TranslateSpeechConfig.Builder Provides information to the speech translation that specifies how to process the request.

Interfaces

Interface Description
com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceGrpc.AsyncService Provides translation from/to media types.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfigOrBuilder
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechRequestOrBuilder
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponseOrBuilder
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResultOrBuilder
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResultOrBuilder
com.google.cloud.mediatranslation.v1beta1.TranslateSpeechConfigOrBuilder

Enums

Enum Description
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechRequest.StreamingRequestCase
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse.SpeechEventType Indicates the type of speech event.
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.ResultCase