Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
  • Java
Overview Guides Reference Samples
S3NS
  • Documentation
    • Overview
    • Guides
    • Reference
    • Samples
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • google-cloud-translate
    • Overview
    • Version history
    • com.google.cloud.translate
      • Package summary
      • Interfaces
      • Translate
      • TranslateFactory
      • Classes
      • Detection
      • Language
      • Translate.LanguageListOption
      • Translate.TranslateOption
      • TranslateOptions
      • TranslateOptions.Builder
      • TranslateOptions.DefaultTranslateFactory
      • TranslateOptions.DefaultTranslateRpcFactory
      • Translation
      • Exceptions
      • TranslateException
    • com.google.cloud.translate.spi
      • Package summary
      • Interfaces
      • TranslateRpcFactory
    • com.google.cloud.translate.spi.v2
      • Package summary
      • Interfaces
      • TranslateRpc
      • Classes
      • HttpTranslateRpc
      • Enums
      • TranslateRpc.Option
    • com.google.cloud.translate.testing
      • Package summary
      • Classes
      • RemoteTranslateHelper
      • Exceptions
      • RemoteTranslateHelper.TranslateHelperException
    • com.google.cloud.translate.v3
      • Package summary
      • Clients
        • TranslationServiceClient
      • Settings
        • TranslationServiceSettings
      • Requests and responses
        • BatchTranslateDocumentRequest
        • BatchTranslateDocumentResponse
        • BatchTranslateResponse
        • BatchTranslateTextRequest
        • CreateGlossaryRequest
        • DeleteGlossaryRequest
        • DeleteGlossaryResponse
        • DetectLanguageRequest
        • DetectLanguageResponse
        • GetGlossaryRequest
        • GetSupportedLanguagesRequest
        • ListGlossariesRequest
        • ListGlossariesResponse
        • TranslateDocumentRequest
        • TranslateDocumentResponse
        • TranslateTextRequest
        • TranslateTextResponse
        • TranslationServiceClient.ListGlossariesPagedResponse
      • All other classes and interfaces
        • Builders
          • BatchDocumentInputConfig.Builder
          • BatchDocumentOutputConfig.Builder
          • BatchTranslateDocumentMetadata.Builder
          • BatchTranslateDocumentRequest.Builder
          • BatchTranslateDocumentResponse.Builder
          • BatchTranslateMetadata.Builder
          • BatchTranslateResponse.Builder
          • BatchTranslateTextRequest.Builder
          • CreateGlossaryMetadata.Builder
          • CreateGlossaryRequest.Builder
          • DeleteGlossaryMetadata.Builder
          • DeleteGlossaryRequest.Builder
          • DeleteGlossaryResponse.Builder
          • DetectLanguageRequest.Builder
          • DetectLanguageResponse.Builder
          • DetectedLanguage.Builder
          • DocumentInputConfig.Builder
          • DocumentOutputConfig.Builder
          • DocumentTranslation.Builder
          • GcsDestination.Builder
          • GcsSource.Builder
          • GetGlossaryRequest.Builder
          • GetSupportedLanguagesRequest.Builder
          • Glossary.Builder
          • Glossary.LanguageCodePair.Builder
          • Glossary.LanguageCodesSet.Builder
          • GlossaryInputConfig.Builder
          • GlossaryName.Builder
          • InputConfig.Builder
          • ListGlossariesRequest.Builder
          • ListGlossariesResponse.Builder
          • LocationName.Builder
          • OutputConfig.Builder
          • SupportedLanguage.Builder
          • SupportedLanguages.Builder
          • TranslateDocumentRequest.Builder
          • TranslateDocumentResponse.Builder
          • TranslateTextGlossaryConfig.Builder
          • TranslateTextRequest.Builder
          • TranslateTextResponse.Builder
          • Translation.Builder
          • TranslationServiceSettings.Builder
        • Enums
          • BatchDocumentInputConfig.SourceCase
          • BatchDocumentOutputConfig.DestinationCase
          • BatchTranslateDocumentMetadata.State
          • BatchTranslateMetadata.State
          • CreateGlossaryMetadata.State
          • DeleteGlossaryMetadata.State
          • DetectLanguageRequest.SourceCase
          • DocumentInputConfig.SourceCase
          • DocumentOutputConfig.DestinationCase
          • Glossary.LanguagesCase
          • GlossaryInputConfig.SourceCase
          • InputConfig.SourceCase
          • OutputConfig.DestinationCase
        • Messages
          • BatchDocumentInputConfig
          • BatchDocumentOutputConfig
          • BatchTranslateDocumentMetadata
          • BatchTranslateMetadata
          • CreateGlossaryMetadata
          • DeleteGlossaryMetadata
          • DetectedLanguage
          • DocumentInputConfig
          • DocumentOutputConfig
          • DocumentTranslation
          • GcsDestination
          • GcsSource
          • Glossary
          • Glossary.LanguageCodePair
          • Glossary.LanguageCodesSet
          • GlossaryInputConfig
          • InputConfig
          • OutputConfig
          • SupportedLanguage
          • SupportedLanguages
          • TranslateTextGlossaryConfig
          • Translation
        • Paging
          • TranslationServiceClient.ListGlossariesFixedSizeCollection
          • TranslationServiceClient.ListGlossariesPage
        • Resource names
          • GlossaryName
          • LocationName
        • Interfaces
          • BatchDocumentInputConfigOrBuilder
          • BatchDocumentOutputConfigOrBuilder
          • BatchTranslateDocumentMetadataOrBuilder
          • BatchTranslateDocumentRequestOrBuilder
          • BatchTranslateDocumentResponseOrBuilder
          • BatchTranslateMetadataOrBuilder
          • BatchTranslateResponseOrBuilder
          • BatchTranslateTextRequestOrBuilder
          • CreateGlossaryMetadataOrBuilder
          • CreateGlossaryRequestOrBuilder
          • DeleteGlossaryMetadataOrBuilder
          • DeleteGlossaryRequestOrBuilder
          • DeleteGlossaryResponseOrBuilder
          • DetectLanguageRequestOrBuilder
          • DetectLanguageResponseOrBuilder
          • DetectedLanguageOrBuilder
          • DocumentInputConfigOrBuilder
          • DocumentOutputConfigOrBuilder
          • DocumentTranslationOrBuilder
          • GcsDestinationOrBuilder
          • GcsSourceOrBuilder
          • GetGlossaryRequestOrBuilder
          • GetSupportedLanguagesRequestOrBuilder
          • Glossary.LanguageCodePairOrBuilder
          • Glossary.LanguageCodesSetOrBuilder
          • GlossaryInputConfigOrBuilder
          • GlossaryOrBuilder
          • InputConfigOrBuilder
          • ListGlossariesRequestOrBuilder
          • ListGlossariesResponseOrBuilder
          • OutputConfigOrBuilder
          • SupportedLanguageOrBuilder
          • SupportedLanguagesOrBuilder
          • TranslateDocumentRequestOrBuilder
          • TranslateDocumentResponseOrBuilder
          • TranslateTextGlossaryConfigOrBuilder
          • TranslateTextRequestOrBuilder
          • TranslateTextResponseOrBuilder
          • TranslationOrBuilder
          • TranslationServiceGrpc.AsyncService
        • Other
          • TranslationServiceGrpc
          • TranslationServiceGrpc.TranslationServiceBlockingStub
          • TranslationServiceGrpc.TranslationServiceFutureStub
          • TranslationServiceGrpc.TranslationServiceImplBase
          • TranslationServiceGrpc.TranslationServiceStub
          • TranslationServiceProto
      • Stub packages
        • com.google.cloud.translate.v3.stub
          • Package summary
          • Stubs
            • GrpcTranslationServiceStub
            • HttpJsonTranslationServiceStub
            • TranslationServiceStub
          • Settings
            • TranslationServiceStubSettings
            • TranslationServiceStubSettings.Builder
          • Callable factories
            • GrpcTranslationServiceCallableFactory
            • HttpJsonTranslationServiceCallableFactory
    • Older and prerelease packages
      • com.google.cloud.translate.v3beta1
        • Package summary
        • Clients
          • TranslationServiceClient
        • Settings
          • TranslationServiceSettings
        • Requests and responses
          • BatchTranslateDocumentRequest
          • BatchTranslateDocumentResponse
          • BatchTranslateResponse
          • BatchTranslateTextRequest
          • CreateGlossaryRequest
          • DeleteGlossaryRequest
          • DeleteGlossaryResponse
          • DetectLanguageRequest
          • DetectLanguageResponse
          • GetGlossaryRequest
          • GetSupportedLanguagesRequest
          • ListGlossariesRequest
          • ListGlossariesResponse
          • TranslateDocumentRequest
          • TranslateDocumentResponse
          • TranslateTextRequest
          • TranslateTextResponse
          • TranslationServiceClient.ListGlossariesPagedResponse
        • All other classes and interfaces
          • Builders
            • BatchDocumentInputConfig.Builder
            • BatchDocumentOutputConfig.Builder
            • BatchTranslateDocumentMetadata.Builder
            • BatchTranslateDocumentRequest.Builder
            • BatchTranslateDocumentResponse.Builder
            • BatchTranslateMetadata.Builder
            • BatchTranslateResponse.Builder
            • BatchTranslateTextRequest.Builder
            • CreateGlossaryMetadata.Builder
            • CreateGlossaryRequest.Builder
            • DeleteGlossaryMetadata.Builder
            • DeleteGlossaryRequest.Builder
            • DeleteGlossaryResponse.Builder
            • DetectLanguageRequest.Builder
            • DetectLanguageResponse.Builder
            • DetectedLanguage.Builder
            • DocumentInputConfig.Builder
            • DocumentOutputConfig.Builder
            • DocumentTranslation.Builder
            • GcsDestination.Builder
            • GcsSource.Builder
            • GetGlossaryRequest.Builder
            • GetSupportedLanguagesRequest.Builder
            • Glossary.Builder
            • Glossary.LanguageCodePair.Builder
            • Glossary.LanguageCodesSet.Builder
            • GlossaryInputConfig.Builder
            • GlossaryName.Builder
            • InputConfig.Builder
            • ListGlossariesRequest.Builder
            • ListGlossariesResponse.Builder
            • LocationName.Builder
            • OutputConfig.Builder
            • SupportedLanguage.Builder
            • SupportedLanguages.Builder
            • TranslateDocumentRequest.Builder
            • TranslateDocumentResponse.Builder
            • TranslateTextGlossaryConfig.Builder
            • TranslateTextRequest.Builder
            • TranslateTextResponse.Builder
            • Translation.Builder
            • TranslationServiceSettings.Builder
          • Enums
            • BatchDocumentInputConfig.SourceCase
            • BatchDocumentOutputConfig.DestinationCase
            • BatchTranslateDocumentMetadata.State
            • BatchTranslateMetadata.State
            • CreateGlossaryMetadata.State
            • DeleteGlossaryMetadata.State
            • DetectLanguageRequest.SourceCase
            • DocumentInputConfig.SourceCase
            • DocumentOutputConfig.DestinationCase
            • Glossary.LanguagesCase
            • GlossaryInputConfig.SourceCase
            • InputConfig.SourceCase
            • OutputConfig.DestinationCase
          • Messages
            • BatchDocumentInputConfig
            • BatchDocumentOutputConfig
            • BatchTranslateDocumentMetadata
            • BatchTranslateMetadata
            • CreateGlossaryMetadata
            • DeleteGlossaryMetadata
            • DetectedLanguage
            • DocumentInputConfig
            • DocumentOutputConfig
            • DocumentTranslation
            • GcsDestination
            • GcsSource
            • Glossary
            • Glossary.LanguageCodePair
            • Glossary.LanguageCodesSet
            • GlossaryInputConfig
            • InputConfig
            • OutputConfig
            • SupportedLanguage
            • SupportedLanguages
            • TranslateTextGlossaryConfig
            • Translation
          • Paging
            • TranslationServiceClient.ListGlossariesFixedSizeCollection
            • TranslationServiceClient.ListGlossariesPage
          • Resource names
            • GlossaryName
            • LocationName
          • Interfaces
            • BatchDocumentInputConfigOrBuilder
            • BatchDocumentOutputConfigOrBuilder
            • BatchTranslateDocumentMetadataOrBuilder
            • BatchTranslateDocumentRequestOrBuilder
            • BatchTranslateDocumentResponseOrBuilder
            • BatchTranslateMetadataOrBuilder
            • BatchTranslateResponseOrBuilder
            • BatchTranslateTextRequestOrBuilder
            • CreateGlossaryMetadataOrBuilder
            • CreateGlossaryRequestOrBuilder
            • DeleteGlossaryMetadataOrBuilder
            • DeleteGlossaryRequestOrBuilder
            • DeleteGlossaryResponseOrBuilder
            • DetectLanguageRequestOrBuilder
            • DetectLanguageResponseOrBuilder
            • DetectedLanguageOrBuilder
            • DocumentInputConfigOrBuilder
            • DocumentOutputConfigOrBuilder
            • DocumentTranslationOrBuilder
            • GcsDestinationOrBuilder
            • GcsSourceOrBuilder
            • GetGlossaryRequestOrBuilder
            • GetSupportedLanguagesRequestOrBuilder
            • Glossary.LanguageCodePairOrBuilder
            • Glossary.LanguageCodesSetOrBuilder
            • GlossaryInputConfigOrBuilder
            • GlossaryOrBuilder
            • InputConfigOrBuilder
            • ListGlossariesRequestOrBuilder
            • ListGlossariesResponseOrBuilder
            • OutputConfigOrBuilder
            • SupportedLanguageOrBuilder
            • SupportedLanguagesOrBuilder
            • TranslateDocumentRequestOrBuilder
            • TranslateDocumentResponseOrBuilder
            • TranslateTextGlossaryConfigOrBuilder
            • TranslateTextRequestOrBuilder
            • TranslateTextResponseOrBuilder
            • TranslationOrBuilder
            • TranslationServiceGrpc.AsyncService
          • Other
            • TranslationServiceGrpc
            • TranslationServiceGrpc.TranslationServiceBlockingStub
            • TranslationServiceGrpc.TranslationServiceFutureStub
            • TranslationServiceGrpc.TranslationServiceImplBase
            • TranslationServiceGrpc.TranslationServiceStub
            • TranslationServiceProto
        • Stub packages
          • com.google.cloud.translate.v3beta1.stub
            • Package summary
            • Stubs
              • GrpcTranslationServiceStub
              • HttpJsonTranslationServiceStub
              • TranslationServiceStub
            • Settings
              • TranslationServiceStubSettings
              • TranslationServiceStubSettings.Builder
            • Callable factories
              • GrpcTranslationServiceCallableFactory
              • HttpJsonTranslationServiceCallableFactory
  • google-cloud-valkey
  • google-cloud-video-intelligence
  • google-cloud-video-stitcher
  • google-cloud-video-transcoder
  • google-cloud-vision
  • google-cloud-visionai
  • google-cloud-vmmigration
  • google-cloud-vmwareengine
  • google-cloud-vpcaccess
  • google-cloud-webrisk
  • google-cloud-websecurityscanner
  • google-cloud-workflow-executions
  • google-cloud-workflows
  • google-cloud-workspaceevents
  • google-cloud-workstations
  • google-http-client
  • google-iam-admin
  • google-iam-policy
  • google-shopping-css
  • google-shopping-merchant-accounts
  • google-shopping-merchant-conversions
  • google-shopping-merchant-datasources
  • google-shopping-merchant-inventories
  • google-shopping-merchant-lfp
  • google-shopping-merchant-notifications
  • google-shopping-merchant-products
  • google-shopping-merchant-promotions
  • google-shopping-merchant-quota
  • google-shopping-merchant-reports
  • google-shopping-merchant-reviews
  • grafeas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Java
  • Documentation
  • Reference
Note: Some or all of the information on this page might not apply to Trusted Cloud. For a list of services that are available in Trusted Cloud, see Services available for Trusted Cloud.
  • 2.70.0 (latest)
  • 2.68.0
  • 2.67.0
  • 2.64.0
  • 2.63.0
  • 2.62.0
  • 2.60.0
  • 2.59.0
  • 2.58.0
  • 2.57.0
  • 2.56.0
  • 2.55.0
  • 2.54.0
  • 2.53.0
  • 2.52.0
  • 2.51.0
  • 2.49.0
  • 2.48.0
  • 2.47.0
  • 2.46.0
  • 2.45.0
  • 2.44.0
  • 2.43.0
  • 2.42.0
  • 2.41.0
  • 2.40.0
  • 2.39.0
  • 2.37.0
  • 2.36.0
  • 2.35.0
  • 2.34.0
  • 2.33.0
  • 2.32.0
  • 2.31.0
  • 2.30.0
  • 2.29.0
  • 2.28.0
  • 2.27.0
  • 2.24.0
  • 2.23.0
  • 2.22.0
  • 2.21.0
  • 2.20.0
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.0
  • 2.15.0
  • 2.14.0
  • 2.13.0
  • 2.12.0
  • 2.11.0
  • 2.9.0
  • 2.8.0
  • 2.7.0
  • 2.6.0
  • 2.5.0
  • 2.4.0
  • 2.3.5
  • 2.2.0
  • 2.1.13

Package com.google.cloud.translate.spi.v2 (2.30.0)

GitHub Repository RPC Documentation REST 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.

Classes

Class Description
com.google.cloud.translate.spi.v2.HttpTranslateRpc

Interfaces

Interface Description
com.google.cloud.translate.spi.v2.TranslateRpc

Enums

Enum Description
com.google.cloud.translate.spi.v2.TranslateRpc.Option

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

  • Terms
  • Privacy
  • Manage cookies