Package com.google.cloud.translate.v3beta1 (2.31.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 v3 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.translate.v3beta1.TranslationServiceClient Service Description: Provides natural language translation operations.

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.translate.v3beta1.TranslationServiceSettings Settings class to configure an instance of TranslationServiceClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.translate.v3beta1.BatchDocumentInputConfig Input configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3beta1.BatchDocumentInputConfig.Builder Input configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3beta1.BatchDocumentOutputConfig Output configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3beta1.BatchDocumentOutputConfig.Builder Output configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3beta1.BatchTranslateDocumentMetadata State metadata for the batch translation operation.
com.google.cloud.translate.v3beta1.BatchTranslateDocumentMetadata.Builder State metadata for the batch translation operation.
com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest The BatchTranslateDocument request.
com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest.Builder The BatchTranslateDocument request.
com.google.cloud.translate.v3beta1.BatchTranslateDocumentResponse Stored in the google.longrunning.Operation.response field returned by BatchTranslateDocument if at least one document is
com.google.cloud.translate.v3beta1.BatchTranslateDocumentResponse.Builder Stored in the google.longrunning.Operation.response field returned by BatchTranslateDocument if at least one document is
com.google.cloud.translate.v3beta1.BatchTranslateMetadata State metadata for the batch translation operation.
com.google.cloud.translate.v3beta1.BatchTranslateMetadata.Builder State metadata for the batch translation operation.
com.google.cloud.translate.v3beta1.BatchTranslateResponse Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence is translated
com.google.cloud.translate.v3beta1.BatchTranslateResponse.Builder Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence is translated
com.google.cloud.translate.v3beta1.BatchTranslateTextRequest The batch translation request.
com.google.cloud.translate.v3beta1.BatchTranslateTextRequest.Builder The batch translation request.
com.google.cloud.translate.v3beta1.CreateGlossaryMetadata Stored in the google.longrunning.Operation.metadata field returned by CreateGlossary.
com.google.cloud.translate.v3beta1.CreateGlossaryMetadata.Builder Stored in the google.longrunning.Operation.metadata field returned by CreateGlossary.
com.google.cloud.translate.v3beta1.CreateGlossaryRequest Request message for CreateGlossary.
com.google.cloud.translate.v3beta1.CreateGlossaryRequest.Builder Request message for CreateGlossary.
com.google.cloud.translate.v3beta1.DeleteGlossaryMetadata Stored in the google.longrunning.Operation.metadata field returned by DeleteGlossary.
com.google.cloud.translate.v3beta1.DeleteGlossaryMetadata.Builder Stored in the google.longrunning.Operation.metadata field returned by DeleteGlossary.
com.google.cloud.translate.v3beta1.DeleteGlossaryRequest Request message for DeleteGlossary.
com.google.cloud.translate.v3beta1.DeleteGlossaryRequest.Builder Request message for DeleteGlossary.
com.google.cloud.translate.v3beta1.DeleteGlossaryResponse Stored in the google.longrunning.Operation.response field returned by DeleteGlossary.
com.google.cloud.translate.v3beta1.DeleteGlossaryResponse.Builder Stored in the google.longrunning.Operation.response field returned by DeleteGlossary.
com.google.cloud.translate.v3beta1.DetectLanguageRequest The request message for language detection.
com.google.cloud.translate.v3beta1.DetectLanguageRequest.Builder The request message for language detection.
com.google.cloud.translate.v3beta1.DetectLanguageResponse The response message for language detection.
com.google.cloud.translate.v3beta1.DetectLanguageResponse.Builder The response message for language detection.
com.google.cloud.translate.v3beta1.DetectedLanguage The response message for language detection.
com.google.cloud.translate.v3beta1.DetectedLanguage.Builder The response message for language detection.
com.google.cloud.translate.v3beta1.DocumentInputConfig A document translation request input config.
com.google.cloud.translate.v3beta1.DocumentInputConfig.Builder A document translation request input config.
com.google.cloud.translate.v3beta1.DocumentOutputConfig A document translation request output config.
com.google.cloud.translate.v3beta1.DocumentOutputConfig.Builder A document translation request output config.
com.google.cloud.translate.v3beta1.DocumentTranslation A translated document message.
com.google.cloud.translate.v3beta1.DocumentTranslation.Builder A translated document message.
com.google.cloud.translate.v3beta1.GcsDestination The Google Cloud Storage location for the output content.
com.google.cloud.translate.v3beta1.GcsDestination.Builder The Google Cloud Storage location for the output content.
com.google.cloud.translate.v3beta1.GcsSource The Google Cloud Storage location for the input content.
com.google.cloud.translate.v3beta1.GcsSource.Builder The Google Cloud Storage location for the input content.
com.google.cloud.translate.v3beta1.GetGlossaryRequest Request message for GetGlossary.
com.google.cloud.translate.v3beta1.GetGlossaryRequest.Builder Request message for GetGlossary.
com.google.cloud.translate.v3beta1.GetSupportedLanguagesRequest The request message for discovering supported languages.
com.google.cloud.translate.v3beta1.GetSupportedLanguagesRequest.Builder The request message for discovering supported languages.
com.google.cloud.translate.v3beta1.Glossary Represents a glossary built from user provided data.
com.google.cloud.translate.v3beta1.Glossary.Builder Represents a glossary built from user provided data.
com.google.cloud.translate.v3beta1.Glossary.LanguageCodePair Used with unidirectional glossaries.
com.google.cloud.translate.v3beta1.Glossary.LanguageCodePair.Builder Used with unidirectional glossaries.
com.google.cloud.translate.v3beta1.Glossary.LanguageCodesSet Used with equivalent term set glossaries.
com.google.cloud.translate.v3beta1.Glossary.LanguageCodesSet.Builder Used with equivalent term set glossaries.
com.google.cloud.translate.v3beta1.GlossaryInputConfig Input configuration for glossaries.
com.google.cloud.translate.v3beta1.GlossaryInputConfig.Builder Input configuration for glossaries.
com.google.cloud.translate.v3beta1.GlossaryName
com.google.cloud.translate.v3beta1.GlossaryName.Builder Builder for projects/{project}/locations/{location}/glossaries/{glossary}.
com.google.cloud.translate.v3beta1.InputConfig Input configuration for BatchTranslateText request.
com.google.cloud.translate.v3beta1.InputConfig.Builder Input configuration for BatchTranslateText request.
com.google.cloud.translate.v3beta1.ListGlossariesRequest Request message for ListGlossaries.
com.google.cloud.translate.v3beta1.ListGlossariesRequest.Builder Request message for ListGlossaries.
com.google.cloud.translate.v3beta1.ListGlossariesResponse Response message for ListGlossaries.
com.google.cloud.translate.v3beta1.ListGlossariesResponse.Builder Response message for ListGlossaries.
com.google.cloud.translate.v3beta1.LocationName
com.google.cloud.translate.v3beta1.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.translate.v3beta1.OutputConfig Output configuration for BatchTranslateText request.
com.google.cloud.translate.v3beta1.OutputConfig.Builder Output configuration for BatchTranslateText request.
com.google.cloud.translate.v3beta1.SupportedLanguage A single supported language response corresponds to information related to one supported language.
com.google.cloud.translate.v3beta1.SupportedLanguage.Builder A single supported language response corresponds to information related to one supported language.
com.google.cloud.translate.v3beta1.SupportedLanguages The response message for discovering supported languages.
com.google.cloud.translate.v3beta1.SupportedLanguages.Builder The response message for discovering supported languages.
com.google.cloud.translate.v3beta1.TranslateDocumentRequest A document translation request.
com.google.cloud.translate.v3beta1.TranslateDocumentRequest.Builder A document translation request.
com.google.cloud.translate.v3beta1.TranslateDocumentResponse A translated document response message.
com.google.cloud.translate.v3beta1.TranslateDocumentResponse.Builder A translated document response message.
com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig Configures which glossary should be used for a specific target language, and defines options for applying that glossary.
com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig.Builder Configures which glossary should be used for a specific target language, and defines options for applying that glossary.
com.google.cloud.translate.v3beta1.TranslateTextRequest The request message for synchronous translation.
com.google.cloud.translate.v3beta1.TranslateTextRequest.Builder The request message for synchronous translation.
com.google.cloud.translate.v3beta1.TranslateTextResponse Protobuf type google.cloud.translation.v3beta1.TranslateTextResponse
com.google.cloud.translate.v3beta1.TranslateTextResponse.Builder Protobuf type google.cloud.translation.v3beta1.TranslateTextResponse
com.google.cloud.translate.v3beta1.Translation A single translation response.
com.google.cloud.translate.v3beta1.Translation.Builder A single translation response.
com.google.cloud.translate.v3beta1.TranslationServiceClient.ListGlossariesFixedSizeCollection
com.google.cloud.translate.v3beta1.TranslationServiceClient.ListGlossariesPage
com.google.cloud.translate.v3beta1.TranslationServiceClient.ListGlossariesPagedResponse
com.google.cloud.translate.v3beta1.TranslationServiceGrpc Provides natural language translation operations.
com.google.cloud.translate.v3beta1.TranslationServiceGrpc.TranslationServiceImplBase Base class for the server implementation of the service TranslationService. Provides natural language translation operations.
com.google.cloud.translate.v3beta1.TranslationServiceProto
com.google.cloud.translate.v3beta1.TranslationServiceSettings.Builder Builder for TranslationServiceSettings.

Interfaces

Interface Description
com.google.cloud.translate.v3beta1.BatchDocumentInputConfigOrBuilder
com.google.cloud.translate.v3beta1.BatchDocumentOutputConfigOrBuilder
com.google.cloud.translate.v3beta1.BatchTranslateDocumentMetadataOrBuilder
com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequestOrBuilder
com.google.cloud.translate.v3beta1.BatchTranslateDocumentResponseOrBuilder
com.google.cloud.translate.v3beta1.BatchTranslateMetadataOrBuilder
com.google.cloud.translate.v3beta1.BatchTranslateResponseOrBuilder
com.google.cloud.translate.v3beta1.BatchTranslateTextRequestOrBuilder
com.google.cloud.translate.v3beta1.CreateGlossaryMetadataOrBuilder
com.google.cloud.translate.v3beta1.CreateGlossaryRequestOrBuilder
com.google.cloud.translate.v3beta1.DeleteGlossaryMetadataOrBuilder
com.google.cloud.translate.v3beta1.DeleteGlossaryRequestOrBuilder
com.google.cloud.translate.v3beta1.DeleteGlossaryResponseOrBuilder
com.google.cloud.translate.v3beta1.DetectLanguageRequestOrBuilder
com.google.cloud.translate.v3beta1.DetectLanguageResponseOrBuilder
com.google.cloud.translate.v3beta1.DetectedLanguageOrBuilder
com.google.cloud.translate.v3beta1.DocumentInputConfigOrBuilder
com.google.cloud.translate.v3beta1.DocumentOutputConfigOrBuilder
com.google.cloud.translate.v3beta1.DocumentTranslationOrBuilder
com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder
com.google.cloud.translate.v3beta1.GcsSourceOrBuilder
com.google.cloud.translate.v3beta1.GetGlossaryRequestOrBuilder
com.google.cloud.translate.v3beta1.GetSupportedLanguagesRequestOrBuilder
com.google.cloud.translate.v3beta1.Glossary.LanguageCodePairOrBuilder
com.google.cloud.translate.v3beta1.Glossary.LanguageCodesSetOrBuilder
com.google.cloud.translate.v3beta1.GlossaryInputConfigOrBuilder
com.google.cloud.translate.v3beta1.GlossaryOrBuilder
com.google.cloud.translate.v3beta1.InputConfigOrBuilder
com.google.cloud.translate.v3beta1.ListGlossariesRequestOrBuilder
com.google.cloud.translate.v3beta1.ListGlossariesResponseOrBuilder
com.google.cloud.translate.v3beta1.OutputConfigOrBuilder
com.google.cloud.translate.v3beta1.SupportedLanguageOrBuilder
com.google.cloud.translate.v3beta1.SupportedLanguagesOrBuilder
com.google.cloud.translate.v3beta1.TranslateDocumentRequestOrBuilder
com.google.cloud.translate.v3beta1.TranslateDocumentResponseOrBuilder
com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfigOrBuilder
com.google.cloud.translate.v3beta1.TranslateTextRequestOrBuilder
com.google.cloud.translate.v3beta1.TranslateTextResponseOrBuilder
com.google.cloud.translate.v3beta1.TranslationOrBuilder
com.google.cloud.translate.v3beta1.TranslationServiceGrpc.AsyncService Provides natural language translation operations.

Enums

Enum Description
com.google.cloud.translate.v3beta1.BatchDocumentInputConfig.SourceCase
com.google.cloud.translate.v3beta1.BatchDocumentOutputConfig.DestinationCase
com.google.cloud.translate.v3beta1.BatchTranslateDocumentMetadata.State State of the job.
com.google.cloud.translate.v3beta1.BatchTranslateMetadata.State State of the job.
com.google.cloud.translate.v3beta1.CreateGlossaryMetadata.State Enumerates the possible states that the creation request can be in.
com.google.cloud.translate.v3beta1.DeleteGlossaryMetadata.State Enumerates the possible states that the creation request can be in.
com.google.cloud.translate.v3beta1.DetectLanguageRequest.SourceCase
com.google.cloud.translate.v3beta1.DocumentInputConfig.SourceCase
com.google.cloud.translate.v3beta1.DocumentOutputConfig.DestinationCase
com.google.cloud.translate.v3beta1.Glossary.LanguagesCase
com.google.cloud.translate.v3beta1.GlossaryInputConfig.SourceCase
com.google.cloud.translate.v3beta1.InputConfig.SourceCase
com.google.cloud.translate.v3beta1.OutputConfig.DestinationCase