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

GitHub Repository

Prerelease Implications

This package is a prerelease version! Use with caution.

Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.

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