Classes
AdaptiveMtDataset
An Adaptive MT Dataset.
AdaptiveMtDatasetName
Resource name for the AdaptiveMtDataset
resource.
AdaptiveMtFile
An AdaptiveMtFile.
AdaptiveMtFileName
Resource name for the AdaptiveMtFile
resource.
AdaptiveMtSentence
An AdaptiveMt sentence entry.
AdaptiveMtSentenceName
Resource name for the AdaptiveMtSentence
resource.
AdaptiveMtTranslateRequest
The request for sending an AdaptiveMt translation query.
AdaptiveMtTranslateRequest.Types
Container for nested types declared in the AdaptiveMtTranslateRequest message type.
AdaptiveMtTranslateRequest.Types.GlossaryConfig
Configures which glossary is used for a specific target language and defines options for applying that glossary.
AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig
Message of caller-provided reference configuration.
AdaptiveMtTranslateRequest.Types.ReferenceSentencePair
A pair of sentences used as reference in source and target languages.
AdaptiveMtTranslateRequest.Types.ReferenceSentencePairList
A list of reference sentence pairs.
AdaptiveMtTranslateResponse
An AdaptiveMtTranslate response.
AdaptiveMtTranslation
An AdaptiveMt translation.
BatchDocumentInputConfig
Input configuration for BatchTranslateDocument request.
BatchDocumentOutputConfig
Output configuration for BatchTranslateDocument request.
BatchTransferResourcesResponse
Response message for BatchTransferResources.
BatchTransferResourcesResponse.Types
Container for nested types declared in the BatchTransferResourcesResponse message type.
BatchTransferResourcesResponse.Types.TransferResourceResponse
Transfer response for a single resource.
BatchTranslateDocumentMetadata
State metadata for the batch translation operation.
BatchTranslateDocumentMetadata.Types
Container for nested types declared in the BatchTranslateDocumentMetadata message type.
BatchTranslateDocumentRequest
The BatchTranslateDocument request.
BatchTranslateDocumentResponse
Stored in the [google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateDocument if at least one document is translated successfully.
BatchTranslateMetadata
State metadata for the batch translation operation.
BatchTranslateMetadata.Types
Container for nested types declared in the BatchTranslateMetadata message type.
BatchTranslateResponse
Stored in the [google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateText if at least one sentence is translated successfully.
BatchTranslateTextRequest
The batch translation request.
CreateAdaptiveMtDatasetRequest
Request message for creating an AdaptiveMtDataset.
CreateDatasetMetadata
Metadata of create dataset operation.
CreateDatasetRequest
Request message for CreateDataset.
CreateGlossaryEntryRequest
Request message for CreateGlossaryEntry
CreateGlossaryMetadata
Stored in the [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by CreateGlossary.
CreateGlossaryMetadata.Types
Container for nested types declared in the CreateGlossaryMetadata message type.
CreateGlossaryRequest
Request message for CreateGlossary.
CreateModelMetadata
Metadata of create model operation.
CreateModelRequest
Request message for CreateModel.
Dataset
A dataset that hosts the examples (sentence pairs) used for translation models.
DatasetInputConfig
Input configuration for datasets.
DatasetInputConfig.Types
Container for nested types declared in the DatasetInputConfig message type.
DatasetInputConfig.Types.InputFile
An input file.
DatasetName
Resource name for the Dataset
resource.
DatasetOutputConfig
Output configuration for datasets.
DeleteAdaptiveMtDatasetRequest
Request message for deleting an AdaptiveMtDataset.
DeleteAdaptiveMtFileRequest
The request for deleting an AdaptiveMt file.
DeleteDatasetMetadata
Metadata of delete dataset operation.
DeleteDatasetRequest
Request message for DeleteDataset.
DeleteGlossaryEntryRequest
Request message for Delete Glossary Entry
DeleteGlossaryMetadata
Stored in the [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by DeleteGlossary.
DeleteGlossaryMetadata.Types
Container for nested types declared in the DeleteGlossaryMetadata message type.
DeleteGlossaryRequest
Request message for DeleteGlossary.
DeleteGlossaryResponse
Stored in the [google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by DeleteGlossary.
DeleteModelMetadata
Metadata of delete model operation.
DeleteModelRequest
Request message for DeleteModel.
DetectLanguageRequest
The request message for language detection.
DetectLanguageResponse
The response message for language detection.
DetectedLanguage
The response message for language detection.
DocumentInputConfig
A document translation request input config.
DocumentOutputConfig
A document translation request output config.
DocumentTranslation
A translated document message.
Example
A sentence pair.
ExampleName
Resource name for the Example
resource.
ExportDataMetadata
Metadata of export data operation.
ExportDataRequest
Request message for ExportData.
FileInputSource
An inlined file.
GcsDestination
The Google Cloud Storage location for the output content.
GcsInputSource
The Google Cloud Storage location for the input content.
GcsOutputDestination
The Google Cloud Storage location for the output content.
GcsSource
The Google Cloud Storage location for the input content.
GetAdaptiveMtDatasetRequest
Request message for getting an Adaptive MT dataset.
GetAdaptiveMtFileRequest
The request for getting an AdaptiveMtFile.
GetDatasetRequest
Request message for GetDataset.
GetGlossaryEntryRequest
Request message for the Get Glossary Entry Api
GetGlossaryRequest
Request message for GetGlossary.
GetModelRequest
Request message for GetModel.
GetSupportedLanguagesRequest
The request message for discovering supported languages.
Glossary
Represents a glossary built from user-provided data.
Glossary.Types
Container for nested types declared in the Glossary message type.
Glossary.Types.LanguageCodePair
Used with unidirectional glossaries.
Glossary.Types.LanguageCodesSet
Used with equivalent term set glossaries.
GlossaryEntry
Represents a single entry in a glossary.
GlossaryEntry.Types
Container for nested types declared in the GlossaryEntry message type.
GlossaryEntry.Types.GlossaryTermsPair
Represents a single entry for an unidirectional glossary.
GlossaryEntry.Types.GlossaryTermsSet
Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.
GlossaryEntryName
Resource name for the GlossaryEntry
resource.
GlossaryInputConfig
Input configuration for glossaries.
GlossaryName
Resource name for the Glossary
resource.
GlossaryTerm
Represents a single glossary term
ImportAdaptiveMtFileRequest
The request for importing an AdaptiveMt file along with its sentences.
ImportAdaptiveMtFileResponse
The response for importing an AdaptiveMtFile
ImportDataMetadata
Metadata of import data operation.
ImportDataRequest
Request message for ImportData.
InputConfig
Input configuration for BatchTranslateText request.
ListAdaptiveMtDatasetsRequest
Request message for listing all Adaptive MT datasets that the requestor has access to.
ListAdaptiveMtDatasetsResponse
A list of AdaptiveMtDatasets.
ListAdaptiveMtFilesRequest
The request to list all AdaptiveMt files under a given dataset.
ListAdaptiveMtFilesResponse
The response for listing all AdaptiveMt files under a given dataset.
ListAdaptiveMtSentencesRequest
The request for listing Adaptive MT sentences from a Dataset/File.
ListAdaptiveMtSentencesResponse
List AdaptiveMt sentences response.
ListDatasetsRequest
Request message for ListDatasets.
ListDatasetsResponse
Response message for ListDatasets.
ListExamplesRequest
Request message for ListExamples.
ListExamplesResponse
Response message for ListExamples.
ListGlossariesRequest
Request message for ListGlossaries.
ListGlossariesResponse
Response message for ListGlossaries.
ListGlossaryEntriesRequest
Request message for ListGlossaryEntries
ListGlossaryEntriesResponse
Response message for ListGlossaryEntries
ListModelsRequest
Request message for ListModels.
ListModelsResponse
Response message for ListModels.
Model
A trained translation model.
ModelName
Resource name for the Model
resource.
OutputConfig
Output configuration for BatchTranslateText request.
Romanization
A single romanization response.
RomanizeTextRequest
The request message for synchronous romanization.
RomanizeTextResponse
The response message for synchronous romanization.
SupportedLanguage
A single supported language response corresponds to information related to one supported language.
SupportedLanguages
The response message for discovering supported languages.
TranslateDocumentRequest
A document translation request.
TranslateDocumentResponse
A translated document response message.
TranslateTextGlossaryConfig
Configures which glossary is used for a specific target language and defines options for applying that glossary.
TranslateTextRequest
The request message for synchronous translation.
TranslateTextResponse
Translation
A single translation response.
TranslationService
Provides natural language translation operations.
TranslationService.TranslationServiceBase
Base class for server-side implementations of TranslationService
TranslationService.TranslationServiceClient
Client for TranslationService
TranslationServiceClient
TranslationService client wrapper, for convenient use.
TranslationServiceClientBuilder
Builder class for TranslationServiceClient to provide simple configuration of credentials, endpoint etc.
TranslationServiceClientImpl
TranslationService client wrapper implementation, for convenient use.
TranslationServiceSettings
Settings for TranslationServiceClient instances.
TransliterationConfig
Configures transliteration feature on top of translation.
UpdateGlossaryEntryRequest
Request message for UpdateGlossaryEntry
UpdateGlossaryMetadata
Stored in the [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by UpdateGlossary.
UpdateGlossaryMetadata.Types
Container for nested types declared in the UpdateGlossaryMetadata message type.
UpdateGlossaryRequest
Request message for the update glossary flow
Enums
AdaptiveMtDatasetName.ResourceNameType
The possible contents of AdaptiveMtDatasetName.
AdaptiveMtFileName.ResourceNameType
The possible contents of AdaptiveMtFileName.
AdaptiveMtSentenceName.ResourceNameType
The possible contents of AdaptiveMtSentenceName.
BatchDocumentInputConfig.SourceOneofCase
Enum of possible cases for the "source" oneof.
BatchDocumentOutputConfig.DestinationOneofCase
Enum of possible cases for the "destination" oneof.
BatchTranslateDocumentMetadata.Types.State
State of the job.
BatchTranslateMetadata.Types.State
State of the job.
CreateGlossaryMetadata.Types.State
Enumerates the possible states that the creation request can be in.
DatasetInputConfig.Types.InputFile.SourceOneofCase
Enum of possible cases for the "source" oneof.
DatasetName.ResourceNameType
The possible contents of DatasetName.
DatasetOutputConfig.DestinationOneofCase
Enum of possible cases for the "destination" oneof.
DeleteGlossaryMetadata.Types.State
Enumerates the possible states that the creation request can be in.
DetectLanguageRequest.SourceOneofCase
Enum of possible cases for the "source" oneof.
DocumentInputConfig.SourceOneofCase
Enum of possible cases for the "source" oneof.
DocumentOutputConfig.DestinationOneofCase
Enum of possible cases for the "destination" oneof.
ExampleName.ResourceNameType
The possible contents of ExampleName.
Glossary.LanguagesOneofCase
Enum of possible cases for the "languages" oneof.
GlossaryEntry.DataOneofCase
Enum of possible cases for the "data" oneof.
GlossaryEntryName.ResourceNameType
The possible contents of GlossaryEntryName.
GlossaryInputConfig.SourceOneofCase
Enum of possible cases for the "source" oneof.
GlossaryName.ResourceNameType
The possible contents of GlossaryName.
ImportAdaptiveMtFileRequest.SourceOneofCase
Enum of possible cases for the "source" oneof.
InputConfig.SourceOneofCase
Enum of possible cases for the "source" oneof.
ModelName.ResourceNameType
The possible contents of ModelName.
OperationState
Possible states of long running operations.
OutputConfig.DestinationOneofCase
Enum of possible cases for the "destination" oneof.
UpdateGlossaryMetadata.Types.State
Enumerates the possible states that the update request can be in.