Package com.google.cloud.translate.v3 (2.45.0)

GitHub Repository RPC Documentation REST 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.translate.v3.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.v3.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.v3.AdaptiveMtDataset An Adaptive MT Dataset.
com.google.cloud.translate.v3.AdaptiveMtDataset.Builder An Adaptive MT Dataset.
com.google.cloud.translate.v3.AdaptiveMtDatasetName
com.google.cloud.translate.v3.AdaptiveMtDatasetName.Builder Builder for projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}.
com.google.cloud.translate.v3.AdaptiveMtFile An AdaptiveMtFile.
com.google.cloud.translate.v3.AdaptiveMtFile.Builder An AdaptiveMtFile.
com.google.cloud.translate.v3.AdaptiveMtFileName
com.google.cloud.translate.v3.AdaptiveMtFileName.Builder Builder for projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}.
com.google.cloud.translate.v3.AdaptiveMtProto
com.google.cloud.translate.v3.AdaptiveMtSentence An AdaptiveMt sentence entry.
com.google.cloud.translate.v3.AdaptiveMtSentence.Builder An AdaptiveMt sentence entry.
com.google.cloud.translate.v3.AdaptiveMtTranslateRequest The request for sending an AdaptiveMt translation query.
com.google.cloud.translate.v3.AdaptiveMtTranslateRequest.Builder The request for sending an AdaptiveMt translation query.
com.google.cloud.translate.v3.AdaptiveMtTranslateResponse An AdaptiveMtTranslate response.
com.google.cloud.translate.v3.AdaptiveMtTranslateResponse.Builder An AdaptiveMtTranslate response.
com.google.cloud.translate.v3.AdaptiveMtTranslation An AdaptiveMt translation.
com.google.cloud.translate.v3.AdaptiveMtTranslation.Builder An AdaptiveMt translation.
com.google.cloud.translate.v3.BatchDocumentInputConfig Input configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3.BatchDocumentInputConfig.Builder Input configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3.BatchDocumentOutputConfig Output configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3.BatchDocumentOutputConfig.Builder Output configuration for BatchTranslateDocument request.
com.google.cloud.translate.v3.BatchTranslateDocumentMetadata State metadata for the batch translation operation.
com.google.cloud.translate.v3.BatchTranslateDocumentMetadata.Builder State metadata for the batch translation operation.
com.google.cloud.translate.v3.BatchTranslateDocumentRequest The BatchTranslateDocument request.
com.google.cloud.translate.v3.BatchTranslateDocumentRequest.Builder The BatchTranslateDocument request.
com.google.cloud.translate.v3.BatchTranslateDocumentResponse Stored in the google.longrunning.Operation.response field returned by BatchTranslateDocument if at least one document is
com.google.cloud.translate.v3.BatchTranslateDocumentResponse.Builder Stored in the google.longrunning.Operation.response field returned by BatchTranslateDocument if at least one document is
com.google.cloud.translate.v3.BatchTranslateMetadata State metadata for the batch translation operation.
com.google.cloud.translate.v3.BatchTranslateMetadata.Builder State metadata for the batch translation operation.
com.google.cloud.translate.v3.BatchTranslateResponse Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence is translated
com.google.cloud.translate.v3.BatchTranslateResponse.Builder Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence is translated
com.google.cloud.translate.v3.BatchTranslateTextRequest The batch translation request.
com.google.cloud.translate.v3.BatchTranslateTextRequest.Builder The batch translation request.
com.google.cloud.translate.v3.CommonProto
com.google.cloud.translate.v3.CreateAdaptiveMtDatasetRequest Request message for creating an AdaptiveMtDataset.
com.google.cloud.translate.v3.CreateAdaptiveMtDatasetRequest.Builder Request message for creating an AdaptiveMtDataset.
com.google.cloud.translate.v3.CreateGlossaryMetadata Stored in the google.longrunning.Operation.metadata field returned by CreateGlossary.
com.google.cloud.translate.v3.CreateGlossaryMetadata.Builder Stored in the google.longrunning.Operation.metadata field returned by CreateGlossary.
com.google.cloud.translate.v3.CreateGlossaryRequest Request message for CreateGlossary.
com.google.cloud.translate.v3.CreateGlossaryRequest.Builder Request message for CreateGlossary.
com.google.cloud.translate.v3.DeleteAdaptiveMtDatasetRequest Request message for deleting an AdaptiveMtDataset.
com.google.cloud.translate.v3.DeleteAdaptiveMtDatasetRequest.Builder Request message for deleting an AdaptiveMtDataset.
com.google.cloud.translate.v3.DeleteAdaptiveMtFileRequest The request for deleting an AdaptiveMt file.
com.google.cloud.translate.v3.DeleteAdaptiveMtFileRequest.Builder The request for deleting an AdaptiveMt file.
com.google.cloud.translate.v3.DeleteGlossaryMetadata Stored in the google.longrunning.Operation.metadata field returned by DeleteGlossary.
com.google.cloud.translate.v3.DeleteGlossaryMetadata.Builder Stored in the google.longrunning.Operation.metadata field returned by DeleteGlossary.
com.google.cloud.translate.v3.DeleteGlossaryRequest Request message for DeleteGlossary.
com.google.cloud.translate.v3.DeleteGlossaryRequest.Builder Request message for DeleteGlossary.
com.google.cloud.translate.v3.DeleteGlossaryResponse Stored in the google.longrunning.Operation.response field returned by DeleteGlossary.
com.google.cloud.translate.v3.DeleteGlossaryResponse.Builder Stored in the google.longrunning.Operation.response field returned by DeleteGlossary.
com.google.cloud.translate.v3.DetectLanguageRequest The request message for language detection.
com.google.cloud.translate.v3.DetectLanguageRequest.Builder The request message for language detection.
com.google.cloud.translate.v3.DetectLanguageResponse The response message for language detection.
com.google.cloud.translate.v3.DetectLanguageResponse.Builder The response message for language detection.
com.google.cloud.translate.v3.DetectedLanguage The response message for language detection.
com.google.cloud.translate.v3.DetectedLanguage.Builder The response message for language detection.
com.google.cloud.translate.v3.DocumentInputConfig A document translation request input config.
com.google.cloud.translate.v3.DocumentInputConfig.Builder A document translation request input config.
com.google.cloud.translate.v3.DocumentOutputConfig A document translation request output config.
com.google.cloud.translate.v3.DocumentOutputConfig.Builder A document translation request output config.
com.google.cloud.translate.v3.DocumentTranslation A translated document message.
com.google.cloud.translate.v3.DocumentTranslation.Builder A translated document message.
com.google.cloud.translate.v3.FileInputSource An inlined file.
com.google.cloud.translate.v3.FileInputSource.Builder An inlined file.
com.google.cloud.translate.v3.GcsDestination The Google Cloud Storage location for the output content.
com.google.cloud.translate.v3.GcsDestination.Builder The Google Cloud Storage location for the output content.
com.google.cloud.translate.v3.GcsInputSource The Google Cloud Storage location for the input content.
com.google.cloud.translate.v3.GcsInputSource.Builder The Google Cloud Storage location for the input content.
com.google.cloud.translate.v3.GcsOutputDestination The Google Cloud Storage location for the output content.
com.google.cloud.translate.v3.GcsOutputDestination.Builder The Google Cloud Storage location for the output content.
com.google.cloud.translate.v3.GcsSource The Google Cloud Storage location for the input content.
com.google.cloud.translate.v3.GcsSource.Builder The Google Cloud Storage location for the input content.
com.google.cloud.translate.v3.GetAdaptiveMtDatasetRequest Request message for getting an Adaptive MT dataset.
com.google.cloud.translate.v3.GetAdaptiveMtDatasetRequest.Builder Request message for getting an Adaptive MT dataset.
com.google.cloud.translate.v3.GetAdaptiveMtFileRequest The request for getting an AdaptiveMtFile.
com.google.cloud.translate.v3.GetAdaptiveMtFileRequest.Builder The request for getting an AdaptiveMtFile.
com.google.cloud.translate.v3.GetGlossaryRequest Request message for GetGlossary.
com.google.cloud.translate.v3.GetGlossaryRequest.Builder Request message for GetGlossary.
com.google.cloud.translate.v3.GetSupportedLanguagesRequest The request message for discovering supported languages.
com.google.cloud.translate.v3.GetSupportedLanguagesRequest.Builder The request message for discovering supported languages.
com.google.cloud.translate.v3.Glossary Represents a glossary built from user-provided data.
com.google.cloud.translate.v3.Glossary.Builder Represents a glossary built from user-provided data.
com.google.cloud.translate.v3.Glossary.LanguageCodePair Used with unidirectional glossaries.
com.google.cloud.translate.v3.Glossary.LanguageCodePair.Builder Used with unidirectional glossaries.
com.google.cloud.translate.v3.Glossary.LanguageCodesSet Used with equivalent term set glossaries.
com.google.cloud.translate.v3.Glossary.LanguageCodesSet.Builder Used with equivalent term set glossaries.
com.google.cloud.translate.v3.GlossaryInputConfig Input configuration for glossaries.
com.google.cloud.translate.v3.GlossaryInputConfig.Builder Input configuration for glossaries.
com.google.cloud.translate.v3.GlossaryName
com.google.cloud.translate.v3.GlossaryName.Builder Builder for projects/{project}/locations/{location}/glossaries/{glossary}.
com.google.cloud.translate.v3.ImportAdaptiveMtFileRequest The request for importing an AdaptiveMt file along with its sentences.
com.google.cloud.translate.v3.ImportAdaptiveMtFileRequest.Builder The request for importing an AdaptiveMt file along with its sentences.
com.google.cloud.translate.v3.ImportAdaptiveMtFileResponse The response for importing an AdaptiveMtFile
com.google.cloud.translate.v3.ImportAdaptiveMtFileResponse.Builder The response for importing an AdaptiveMtFile
com.google.cloud.translate.v3.InputConfig Input configuration for BatchTranslateText request.
com.google.cloud.translate.v3.InputConfig.Builder Input configuration for BatchTranslateText request.
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsRequest Request message for listing all Adaptive MT datasets that the requestor has access to.
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsRequest.Builder Request message for listing all Adaptive MT datasets that the requestor has access to.
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsResponse A list of AdaptiveMtDatasets.
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsResponse.Builder A list of AdaptiveMtDatasets.
com.google.cloud.translate.v3.ListAdaptiveMtFilesRequest The request to list all AdaptiveMt files under a given dataset.
com.google.cloud.translate.v3.ListAdaptiveMtFilesRequest.Builder The request to list all AdaptiveMt files under a given dataset.
com.google.cloud.translate.v3.ListAdaptiveMtFilesResponse The response for listing all AdaptiveMt files under a given dataset.
com.google.cloud.translate.v3.ListAdaptiveMtFilesResponse.Builder The response for listing all AdaptiveMt files under a given dataset.
com.google.cloud.translate.v3.ListAdaptiveMtSentencesRequest The request for listing Adaptive MT sentences from a Dataset/File.
com.google.cloud.translate.v3.ListAdaptiveMtSentencesRequest.Builder The request for listing Adaptive MT sentences from a Dataset/File.
com.google.cloud.translate.v3.ListAdaptiveMtSentencesResponse List AdaptiveMt sentences response.
com.google.cloud.translate.v3.ListAdaptiveMtSentencesResponse.Builder List AdaptiveMt sentences response.
com.google.cloud.translate.v3.ListGlossariesRequest Request message for ListGlossaries.
com.google.cloud.translate.v3.ListGlossariesRequest.Builder Request message for ListGlossaries.
com.google.cloud.translate.v3.ListGlossariesResponse Response message for ListGlossaries.
com.google.cloud.translate.v3.ListGlossariesResponse.Builder Response message for ListGlossaries.
com.google.cloud.translate.v3.LocationName
com.google.cloud.translate.v3.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.translate.v3.OutputConfig Output configuration for BatchTranslateText request.
com.google.cloud.translate.v3.OutputConfig.Builder Output configuration for BatchTranslateText request.
com.google.cloud.translate.v3.SupportedLanguage A single supported language response corresponds to information related to one supported language.
com.google.cloud.translate.v3.SupportedLanguage.Builder A single supported language response corresponds to information related to one supported language.
com.google.cloud.translate.v3.SupportedLanguages The response message for discovering supported languages.
com.google.cloud.translate.v3.SupportedLanguages.Builder The response message for discovering supported languages.
com.google.cloud.translate.v3.TranslateDocumentRequest A document translation request.
com.google.cloud.translate.v3.TranslateDocumentRequest.Builder A document translation request.
com.google.cloud.translate.v3.TranslateDocumentResponse A translated document response message.
com.google.cloud.translate.v3.TranslateDocumentResponse.Builder A translated document response message.
com.google.cloud.translate.v3.TranslateTextGlossaryConfig Configures which glossary is used for a specific target language and defines options for applying that glossary.
com.google.cloud.translate.v3.TranslateTextGlossaryConfig.Builder Configures which glossary is used for a specific target language and defines options for applying that glossary.
com.google.cloud.translate.v3.TranslateTextRequest The request message for synchronous translation.
com.google.cloud.translate.v3.TranslateTextRequest.Builder The request message for synchronous translation.
com.google.cloud.translate.v3.TranslateTextResponse Protobuf type google.cloud.translation.v3.TranslateTextResponse
com.google.cloud.translate.v3.TranslateTextResponse.Builder Protobuf type google.cloud.translation.v3.TranslateTextResponse
com.google.cloud.translate.v3.Translation A single translation response.
com.google.cloud.translate.v3.Translation.Builder A single translation response.
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtDatasetsFixedSizeCollection
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtDatasetsPage
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtDatasetsPagedResponse
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtFilesFixedSizeCollection
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtFilesPage
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtFilesPagedResponse
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtSentencesFixedSizeCollection
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtSentencesPage
com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtSentencesPagedResponse
com.google.cloud.translate.v3.TranslationServiceClient.ListGlossariesFixedSizeCollection
com.google.cloud.translate.v3.TranslationServiceClient.ListGlossariesPage
com.google.cloud.translate.v3.TranslationServiceClient.ListGlossariesPagedResponse
com.google.cloud.translate.v3.TranslationServiceGrpc Provides natural language translation operations.
com.google.cloud.translate.v3.TranslationServiceGrpc.TranslationServiceImplBase Base class for the server implementation of the service TranslationService. Provides natural language translation operations.
com.google.cloud.translate.v3.TranslationServiceProto
com.google.cloud.translate.v3.TranslationServiceSettings.Builder Builder for TranslationServiceSettings.

Interfaces

Interface Description
com.google.cloud.translate.v3.AdaptiveMtDatasetOrBuilder
com.google.cloud.translate.v3.AdaptiveMtFileOrBuilder
com.google.cloud.translate.v3.AdaptiveMtSentenceOrBuilder
com.google.cloud.translate.v3.AdaptiveMtTranslateRequestOrBuilder
com.google.cloud.translate.v3.AdaptiveMtTranslateResponseOrBuilder
com.google.cloud.translate.v3.AdaptiveMtTranslationOrBuilder
com.google.cloud.translate.v3.BatchDocumentInputConfigOrBuilder
com.google.cloud.translate.v3.BatchDocumentOutputConfigOrBuilder
com.google.cloud.translate.v3.BatchTranslateDocumentMetadataOrBuilder
com.google.cloud.translate.v3.BatchTranslateDocumentRequestOrBuilder
com.google.cloud.translate.v3.BatchTranslateDocumentResponseOrBuilder
com.google.cloud.translate.v3.BatchTranslateMetadataOrBuilder
com.google.cloud.translate.v3.BatchTranslateResponseOrBuilder
com.google.cloud.translate.v3.BatchTranslateTextRequestOrBuilder
com.google.cloud.translate.v3.CreateAdaptiveMtDatasetRequestOrBuilder
com.google.cloud.translate.v3.CreateGlossaryMetadataOrBuilder
com.google.cloud.translate.v3.CreateGlossaryRequestOrBuilder
com.google.cloud.translate.v3.DeleteAdaptiveMtDatasetRequestOrBuilder
com.google.cloud.translate.v3.DeleteAdaptiveMtFileRequestOrBuilder
com.google.cloud.translate.v3.DeleteGlossaryMetadataOrBuilder
com.google.cloud.translate.v3.DeleteGlossaryRequestOrBuilder
com.google.cloud.translate.v3.DeleteGlossaryResponseOrBuilder
com.google.cloud.translate.v3.DetectLanguageRequestOrBuilder
com.google.cloud.translate.v3.DetectLanguageResponseOrBuilder
com.google.cloud.translate.v3.DetectedLanguageOrBuilder
com.google.cloud.translate.v3.DocumentInputConfigOrBuilder
com.google.cloud.translate.v3.DocumentOutputConfigOrBuilder
com.google.cloud.translate.v3.DocumentTranslationOrBuilder
com.google.cloud.translate.v3.FileInputSourceOrBuilder
com.google.cloud.translate.v3.GcsDestinationOrBuilder
com.google.cloud.translate.v3.GcsInputSourceOrBuilder
com.google.cloud.translate.v3.GcsOutputDestinationOrBuilder
com.google.cloud.translate.v3.GcsSourceOrBuilder
com.google.cloud.translate.v3.GetAdaptiveMtDatasetRequestOrBuilder
com.google.cloud.translate.v3.GetAdaptiveMtFileRequestOrBuilder
com.google.cloud.translate.v3.GetGlossaryRequestOrBuilder
com.google.cloud.translate.v3.GetSupportedLanguagesRequestOrBuilder
com.google.cloud.translate.v3.Glossary.LanguageCodePairOrBuilder
com.google.cloud.translate.v3.Glossary.LanguageCodesSetOrBuilder
com.google.cloud.translate.v3.GlossaryInputConfigOrBuilder
com.google.cloud.translate.v3.GlossaryOrBuilder
com.google.cloud.translate.v3.ImportAdaptiveMtFileRequestOrBuilder
com.google.cloud.translate.v3.ImportAdaptiveMtFileResponseOrBuilder
com.google.cloud.translate.v3.InputConfigOrBuilder
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsRequestOrBuilder
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsResponseOrBuilder
com.google.cloud.translate.v3.ListAdaptiveMtFilesRequestOrBuilder
com.google.cloud.translate.v3.ListAdaptiveMtFilesResponseOrBuilder
com.google.cloud.translate.v3.ListAdaptiveMtSentencesRequestOrBuilder
com.google.cloud.translate.v3.ListAdaptiveMtSentencesResponseOrBuilder
com.google.cloud.translate.v3.ListGlossariesRequestOrBuilder
com.google.cloud.translate.v3.ListGlossariesResponseOrBuilder
com.google.cloud.translate.v3.OutputConfigOrBuilder
com.google.cloud.translate.v3.SupportedLanguageOrBuilder
com.google.cloud.translate.v3.SupportedLanguagesOrBuilder
com.google.cloud.translate.v3.TranslateDocumentRequestOrBuilder
com.google.cloud.translate.v3.TranslateDocumentResponseOrBuilder
com.google.cloud.translate.v3.TranslateTextGlossaryConfigOrBuilder
com.google.cloud.translate.v3.TranslateTextRequestOrBuilder
com.google.cloud.translate.v3.TranslateTextResponseOrBuilder
com.google.cloud.translate.v3.TranslationOrBuilder
com.google.cloud.translate.v3.TranslationServiceGrpc.AsyncService Provides natural language translation operations.

Enums

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