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

GitHub RepositoryRPC DocumentationREST 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.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.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.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.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.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.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.InputConfig Input configuration for BatchTranslateText request.
com.google.cloud.translate.v3.InputConfig.Builder Input configuration for BatchTranslateText request.
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.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.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.CreateGlossaryMetadataOrBuilder
com.google.cloud.translate.v3.CreateGlossaryRequestOrBuilder
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.GcsDestinationOrBuilder
com.google.cloud.translate.v3.GcsSourceOrBuilder
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.InputConfigOrBuilder
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.InputConfig.SourceCase
com.google.cloud.translate.v3.OutputConfig.DestinationCase