public static class TranslationServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<TranslationServiceSettings,TranslationServiceSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(TranslationServiceSettings settings) |
protected |
Builder(TranslationServiceStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse> |
adaptiveMtTranslateSettings()
Returns the builder for the settings used for calls to adaptiveMtTranslate.
|
TranslationServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<BatchTranslateDocumentRequest,BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata> |
batchTranslateDocumentOperationSettings()
Returns the builder for the settings used for calls to batchTranslateDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchTranslateDocumentRequest,com.google.longrunning.Operation> |
batchTranslateDocumentSettings()
Returns the builder for the settings used for calls to batchTranslateDocument.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<BatchTranslateTextRequest,BatchTranslateResponse,BatchTranslateMetadata> |
batchTranslateTextOperationSettings()
Returns the builder for the settings used for calls to batchTranslateText.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchTranslateTextRequest,com.google.longrunning.Operation> |
batchTranslateTextSettings()
Returns the builder for the settings used for calls to batchTranslateText.
|
TranslationServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> |
createAdaptiveMtDatasetSettings()
Returns the builder for the settings used for calls to createAdaptiveMtDataset.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetMetadata> |
createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,com.google.longrunning.Operation> |
createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGlossaryEntryRequest,GlossaryEntry> |
createGlossaryEntrySettings()
Returns the builder for the settings used for calls to createGlossaryEntry.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateGlossaryRequest,Glossary,CreateGlossaryMetadata> |
createGlossaryOperationSettings()
Returns the builder for the settings used for calls to createGlossary.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGlossaryRequest,com.google.longrunning.Operation> |
createGlossarySettings()
Returns the builder for the settings used for calls to createGlossary.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateModelRequest,Model,CreateModelMetadata> |
createModelOperationSettings()
Returns the builder for the settings used for calls to createModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateModelRequest,com.google.longrunning.Operation> |
createModelSettings()
Returns the builder for the settings used for calls to createModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAdaptiveMtDatasetRequest,com.google.protobuf.Empty> |
deleteAdaptiveMtDatasetSettings()
Returns the builder for the settings used for calls to deleteAdaptiveMtDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAdaptiveMtFileRequest,com.google.protobuf.Empty> |
deleteAdaptiveMtFileSettings()
Returns the builder for the settings used for calls to deleteAdaptiveMtFile.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteDatasetMetadata> |
deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.longrunning.Operation> |
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGlossaryEntryRequest,com.google.protobuf.Empty> |
deleteGlossaryEntrySettings()
Returns the builder for the settings used for calls to deleteGlossaryEntry.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata> |
deleteGlossaryOperationSettings()
Returns the builder for the settings used for calls to deleteGlossary.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGlossaryRequest,com.google.longrunning.Operation> |
deleteGlossarySettings()
Returns the builder for the settings used for calls to deleteGlossary.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty,DeleteModelMetadata> |
deleteModelOperationSettings()
Returns the builder for the settings used for calls to deleteModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation> |
deleteModelSettings()
Returns the builder for the settings used for calls to deleteModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DetectLanguageRequest,DetectLanguageResponse> |
detectLanguageSettings()
Returns the builder for the settings used for calls to detectLanguage.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,com.google.protobuf.Empty,ExportDataMetadata> |
exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation> |
exportDataSettings()
Returns the builder for the settings used for calls to exportData.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> |
getAdaptiveMtDatasetSettings()
Returns the builder for the settings used for calls to getAdaptiveMtDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAdaptiveMtFileRequest,AdaptiveMtFile> |
getAdaptiveMtFileSettings()
Returns the builder for the settings used for calls to getAdaptiveMtFile.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset> |
getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGlossaryEntryRequest,GlossaryEntry> |
getGlossaryEntrySettings()
Returns the builder for the settings used for calls to getGlossaryEntry.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGlossaryRequest,Glossary> |
getGlossarySettings()
Returns the builder for the settings used for calls to getGlossary.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,Model> |
getModelSettings()
Returns the builder for the settings used for calls to getModel.
|
TranslationServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSupportedLanguagesRequest,SupportedLanguages> |
getSupportedLanguagesSettings()
Returns the builder for the settings used for calls to getSupportedLanguages.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> |
importAdaptiveMtFileSettings()
Returns the builder for the settings used for calls to importAdaptiveMtFile.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,com.google.protobuf.Empty,ImportDataMetadata> |
importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation> |
importDataSettings()
Returns the builder for the settings used for calls to importData.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse,TranslationServiceClient.ListAdaptiveMtDatasetsPagedResponse> |
listAdaptiveMtDatasetsSettings()
Returns the builder for the settings used for calls to listAdaptiveMtDatasets.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse,TranslationServiceClient.ListAdaptiveMtFilesPagedResponse> |
listAdaptiveMtFilesSettings()
Returns the builder for the settings used for calls to listAdaptiveMtFiles.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,TranslationServiceClient.ListAdaptiveMtSentencesPagedResponse> |
listAdaptiveMtSentencesSettings()
Returns the builder for the settings used for calls to listAdaptiveMtSentences.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,TranslationServiceClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,TranslationServiceClient.ListExamplesPagedResponse> |
listExamplesSettings()
Returns the builder for the settings used for calls to listExamples.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListGlossariesRequest,ListGlossariesResponse,TranslationServiceClient.ListGlossariesPagedResponse> |
listGlossariesSettings()
Returns the builder for the settings used for calls to listGlossaries.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse,TranslationServiceClient.ListGlossaryEntriesPagedResponse> |
listGlossaryEntriesSettings()
Returns the builder for the settings used for calls to listGlossaryEntries.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,TranslationServiceClient.ListModelsPagedResponse> |
listModelsSettings()
Returns the builder for the settings used for calls to listModels.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RomanizeTextRequest,RomanizeTextResponse> |
romanizeTextSettings()
Returns the builder for the settings used for calls to romanizeText.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TranslateDocumentRequest,TranslateDocumentResponse> |
translateDocumentSettings()
Returns the builder for the settings used for calls to translateDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TranslateTextRequest,TranslateTextResponse> |
translateTextSettings()
Returns the builder for the settings used for calls to translateText.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGlossaryEntryRequest,GlossaryEntry> |
updateGlossaryEntrySettings()
Returns the builder for the settings used for calls to updateGlossaryEntry.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateGlossaryRequest,Glossary,UpdateGlossaryMetadata> |
updateGlossaryOperationSettings()
Returns the builder for the settings used for calls to updateGlossary.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGlossaryRequest,com.google.longrunning.Operation> |
updateGlossarySettings()
Returns the builder for the settings used for calls to updateGlossary.
|
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(TranslationServiceSettings settings)
protected Builder(TranslationServiceStubSettings.Builder stubSettings)
public TranslationServiceStubSettings.Builder getStubSettingsBuilder()
public TranslationServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TranslateTextRequest,TranslateTextResponse> translateTextSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RomanizeTextRequest,RomanizeTextResponse> romanizeTextSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DetectLanguageRequest,DetectLanguageResponse> detectLanguageSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSupportedLanguagesRequest,SupportedLanguages> getSupportedLanguagesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TranslateDocumentRequest,TranslateDocumentResponse> translateDocumentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchTranslateTextRequest,com.google.longrunning.Operation> batchTranslateTextSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchTranslateTextRequest,BatchTranslateResponse,BatchTranslateMetadata> batchTranslateTextOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchTranslateDocumentRequest,com.google.longrunning.Operation> batchTranslateDocumentSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchTranslateDocumentRequest,BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata> batchTranslateDocumentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGlossaryRequest,com.google.longrunning.Operation> createGlossarySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateGlossaryRequest,Glossary,CreateGlossaryMetadata> createGlossaryOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGlossaryRequest,com.google.longrunning.Operation> updateGlossarySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateGlossaryRequest,Glossary,UpdateGlossaryMetadata> updateGlossaryOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListGlossariesRequest,ListGlossariesResponse,TranslationServiceClient.ListGlossariesPagedResponse> listGlossariesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGlossaryRequest,Glossary> getGlossarySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGlossaryRequest,com.google.longrunning.Operation> deleteGlossarySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata> deleteGlossaryOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGlossaryEntryRequest,GlossaryEntry> getGlossaryEntrySettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse,TranslationServiceClient.ListGlossaryEntriesPagedResponse> listGlossaryEntriesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGlossaryEntryRequest,GlossaryEntry> createGlossaryEntrySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGlossaryEntryRequest,GlossaryEntry> updateGlossaryEntrySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGlossaryEntryRequest,com.google.protobuf.Empty> deleteGlossaryEntrySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,com.google.longrunning.Operation> createDatasetSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetMetadata> createDatasetOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,TranslationServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.longrunning.Operation> deleteDatasetSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteDatasetMetadata> deleteDatasetOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> createAdaptiveMtDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAdaptiveMtDatasetRequest,com.google.protobuf.Empty> deleteAdaptiveMtDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> getAdaptiveMtDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse,TranslationServiceClient.ListAdaptiveMtDatasetsPagedResponse> listAdaptiveMtDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse> adaptiveMtTranslateSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAdaptiveMtFileRequest,AdaptiveMtFile> getAdaptiveMtFileSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAdaptiveMtFileRequest,com.google.protobuf.Empty> deleteAdaptiveMtFileSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> importAdaptiveMtFileSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse,TranslationServiceClient.ListAdaptiveMtFilesPagedResponse> listAdaptiveMtFilesSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,TranslationServiceClient.ListAdaptiveMtSentencesPagedResponse> listAdaptiveMtSentencesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,com.google.protobuf.Empty,ImportDataMetadata> importDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,com.google.protobuf.Empty,ExportDataMetadata> exportDataOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,TranslationServiceClient.ListExamplesPagedResponse> listExamplesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateModelRequest,com.google.longrunning.Operation> createModelSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateModelRequest,Model,CreateModelMetadata> createModelOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,TranslationServiceClient.ListModelsPagedResponse> listModelsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,Model> getModelSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation> deleteModelSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty,DeleteModelMetadata> deleteModelOperationSettings()
public TranslationServiceSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<TranslationServiceSettings,TranslationServiceSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.