Skip to main content
S3NS
Documentation
  • Get Started
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Featured Products
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine
  • Looker
  • Cross-product Tools
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Technology Areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
/
  • Google Cloud SDK
  • Java
  • Client libraries
Overview Guides Reference
S3NS
  • Documentation
    • More
    • Overview
    • Guides
    • Reference
  • Overview
  • Library reference docs
  • admin
  • gax
    • Overview
    • Version history
    • com.google.api.gax.batching
      • Package summary
      • Interfaces
      • BatchMerger
      • BatchResource
      • Batcher
      • BatchingDescriptor
      • BatchingRequestBuilder
      • BatchingThreshold
      • ElementCounter
      • RequestBuilder
      • ThresholdBatchReceiver
      • Classes
      • AccumulatingBatchReceiver
      • BatchEntry
      • BatcherImpl
      • BatchingCallSettings
      • BatchingCallSettings.Builder
      • BatchingFlowController
      • BatchingSettings
      • BatchingSettings.Builder
      • BatchingThresholds
      • DynamicFlowControlSettings
      • DynamicFlowControlSettings.Builder
      • FlowControlEventStats
      • FlowControlEventStats.FlowControlEvent
      • FlowControlSettings
      • FlowControlSettings.Builder
      • FlowController
      • NumericThreshold
      • PartitionKey
      • ThresholdBatcher
      • ThresholdBatcher.Builder
      • Enums
      • FlowController.LimitExceededBehavior
      • Exceptions
      • BatchingException
      • FlowController.FlowControlException
      • FlowController.FlowControlRuntimeException
      • FlowController.MaxOutstandingElementCountReachedException
      • FlowController.MaxOutstandingRequestBytesReachedException
    • com.google.api.gax.core
      • Package summary
      • Interfaces
      • BackgroundResource
      • CredentialsProvider
      • ExecutorProvider
      • Classes
      • BackgroundResourceAggregation
      • BaseBackgroundResource
      • Distribution
      • ExecutorAsBackgroundResource
      • FixedCredentialsProvider
      • FixedExecutorProvider
      • GaxProperties
      • GoogleCredentialsProvider
      • GoogleCredentialsProvider.Builder
      • InstantiatingExecutorProvider
      • InstantiatingExecutorProvider.Builder
      • NoCredentialsProvider
      • Exceptions
      • ResourceCloseException
    • com.google.api.gax.grpc
      • Package summary
      • Interfaces
      • ChannelFactory
      • ChannelPrimer
      • GrpcInterceptorProvider
      • GrpcStubCallableFactory
      • ResponseMetadataHandler
      • Classes
      • ChannelPoolSettings
      • ChannelPoolSettings.Builder
      • GaxGrpcProperties
      • GrpcCallContext
      • GrpcCallSettings
      • GrpcCallSettings.Builder
      • GrpcCallableFactory
      • GrpcHeaderInterceptor
      • GrpcRawCallableFactory
      • GrpcResponseMetadata
      • GrpcStatusCode
      • GrpcTransportChannel
      • GrpcTransportChannel.Builder
      • InstantiatingGrpcChannelProvider
      • InstantiatingGrpcChannelProvider.Builder
      • ProtoOperationTransformers
      • ProtoOperationTransformers.MetadataTransformer
      • ProtoOperationTransformers.ResponseTransformer
    • com.google.api.gax.grpc.nativeimage
      • Package summary
    • com.google.api.gax.httpjson
      • Package summary
      • Interfaces
      • FieldsExtractor
      • HttpJsonChannel
      • HttpJsonClientInterceptor
      • HttpJsonHeaderEnhancer
      • HttpJsonInterceptorProvider
      • HttpJsonStubCallableFactory
      • HttpRequestFormatter
      • HttpResponseParser
      • OperationSnapshotFactory
      • PollingRequestFactory
      • Classes
      • ApiMethodDescriptor
      • ApiMethodDescriptor.Builder
      • ForwardingHttpJsonClientCall
      • ForwardingHttpJsonClientCall.SimpleForwardingHttpJsonClientCall
      • ForwardingHttpJsonClientCallListener
      • ForwardingHttpJsonClientCallListener.SimpleForwardingHttpJsonClientCallListener
      • GaxHttpJsonProperties
      • HttpHeadersUtils
      • HttpJsonCallContext
      • HttpJsonCallOptions
      • HttpJsonCallOptions.Builder
      • HttpJsonCallSettings
      • HttpJsonCallSettings.Builder
      • HttpJsonCallableFactory
      • HttpJsonClientCall
      • HttpJsonClientCall.Listener
      • HttpJsonHeaderEnhancers
      • HttpJsonLongRunningClient
      • HttpJsonMetadata
      • HttpJsonOperationSnapshot
      • HttpJsonOperationSnapshot.Builder
      • HttpJsonOperationSnapshotCallable
      • HttpJsonServerStreamingRequestParamCallable
      • HttpJsonStatusCode
      • HttpJsonTransportChannel
      • HttpJsonTransportChannel.Builder
      • InstantiatingHttpJsonChannelProvider
      • InstantiatingHttpJsonChannelProvider.Builder
      • ManagedHttpJsonChannel
      • ManagedHttpJsonChannel.Builder
      • ProtoMessageRequestFormatter
      • ProtoMessageRequestFormatter.Builder
      • ProtoMessageResponseParser
      • ProtoMessageResponseParser.Builder
      • ProtoOperationTransformers
      • ProtoOperationTransformers.MetadataTransformer
      • ProtoOperationTransformers.ResponseTransformer
      • ProtoRestSerializer
      • Enums
      • ApiMethodDescriptor.MethodType
      • Exceptions
      • HttpJsonStatusRuntimeException
      • RestSerializationException
    • com.google.api.gax.httpjson.longrunning
      • Package summary
      • Classes
      • OperationsClient
      • OperationsClient.ListOperationsFixedSizeCollection
      • OperationsClient.ListOperationsPage
      • OperationsClient.ListOperationsPagedResponse
      • OperationsSettings
      • OperationsSettings.Builder
      • Stub packages
        • com.google.api.gax.httpjson.longrunning.stub
          • Package summary
          • Classes
          • HttpJsonOperationsCallableFactory
          • HttpJsonOperationsStub
          • OperationsStub
          • OperationsStubSettings
          • OperationsStubSettings.Builder
    • com.google.api.gax.httpjson.longrunning.stub
      • Package summary
      • Classes
      • HttpJsonOperationsCallableFactory
      • HttpJsonOperationsStub
      • OperationsStub
      • OperationsStubSettings
      • OperationsStubSettings.Builder
    • com.google.api.gax.longrunning
      • Package summary
      • Interfaces
      • OperationFuture
      • OperationSnapshot
      • Classes
      • OperationFutureImpl
      • OperationFutures
      • OperationResponsePollAlgorithm
      • OperationTimedPollAlgorithm
    • com.google.api.gax.nativeimage
      • Package summary
      • Classes
      • NativeImageUtils
    • com.google.api.gax.paging
      • Package summary
      • Interfaces
      • AsyncPage
      • FixedSizeCollection
      • Page
      • PagedListResponse
      • Classes
      • AbstractFixedSizeCollection
      • AbstractPage
      • AbstractPagedListResponse
      • Pages
    • com.google.api.gax.retrying
      • Package summary
      • Interfaces
      • ResultRetryAlgorithm
      • ResultRetryAlgorithmWithContext
      • RetryingContext
      • RetryingExecutor
      • RetryingExecutorWithContext
      • RetryingFuture
      • StreamResumptionStrategy
      • TimedRetryAlgorithm
      • TimedRetryAlgorithmWithContext
      • Classes
      • BasicResultRetryAlgorithm
      • DirectRetryingExecutor
      • ExponentialPollAlgorithm
      • ExponentialRetryAlgorithm
      • NonCancellableFuture
      • RetryAlgorithm
      • RetrySettings
      • RetrySettings.Builder
      • ScheduledRetryingExecutor
      • SimpleStreamResumptionStrategy
      • StreamingRetryAlgorithm
      • TimedAttemptSettings
      • TimedAttemptSettings.Builder
      • Exceptions
      • PollException
      • ServerStreamingAttemptException
    • com.google.api.gax.rpc
      • Package summary
      • Interfaces
      • ApiCallContext
      • ApiStreamObserver
      • BatchingDescriptor
      • BidiStreamObserver
      • ClientStream
      • ClientStreamReadyObserver
      • HeaderProvider
      • LongRunningClient
      • PagedListDescriptor
      • PagedListResponseFactory
      • RequestMutator
      • RequestParamsEncoder
      • RequestParamsExtractor
      • ResponseObserver
      • StatusCode
      • StreamController
      • TransportChannel
      • TransportChannelProvider
      • WatchdogProvider
      • Classes
      • ApiCallContext.Key
      • ApiClientHeaderProvider
      • ApiClientHeaderProvider.Builder
      • Batch
      • BatchedFuture
      • BatchedRequestIssuer
      • BatcherFactory
      • BatchingCallSettings
      • BatchingCallSettings.Builder
      • BatchingCallable
      • BidiStream
      • BidiStreamingCallable
      • Callables
      • ClientContext
      • ClientContext.Builder
      • ClientSettings
      • ClientSettings.Builder
      • ClientStreamingCallable
      • EndpointContext
      • EndpointContext.Builder
      • ErrorDetails
      • ErrorDetails.Builder
      • FixedHeaderProvider
      • FixedTransportChannelProvider
      • FixedWatchdogProvider
      • InstantiatingWatchdogProvider
      • NoHeaderProvider
      • OperationCallSettings
      • OperationCallSettings.Builder
      • OperationCallable
      • PageContext
      • PagedCallSettings
      • PagedCallSettings.Builder
      • PagedCallable
      • RequestParamsBuilder
      • RequestUrlParamsEncoder
      • ServerStream
      • ServerStreamingCallSettings
      • ServerStreamingCallSettings.Builder
      • ServerStreamingCallable
      • StateCheckingResponseObserver
      • StreamingCallSettings
      • StreamingCallSettings.Builder
      • StubSettings
      • StubSettings.Builder
      • TranslatingUnaryCallable
      • UnaryCallSettings
      • UnaryCallSettings.Builder
      • UnaryCallable
      • Watchdog
      • Enums
      • StatusCode.Code
      • Exceptions
      • AbortedException
      • AlreadyExistsException
      • ApiException
      • ApiExceptionFactory
      • ApiExceptions
      • AsyncTaskException
      • CancelledException
      • DataLossException
      • DeadlineExceededException
      • FailedPreconditionException
      • InternalException
      • InvalidArgumentException
      • NotFoundException
      • OutOfRangeException
      • PermissionDeniedException
      • ProtocolBufferParsingException
      • ResourceExhaustedException
      • UnauthenticatedException
      • UnavailableException
      • UnimplementedException
      • UnknownException
      • WatchdogTimeoutException
    • com.google.api.gax.rpc.internal
      • Package summary
      • Interfaces
      • EnvironmentProvider
      • Classes
      • ApiCallContextOptions
      • Headers
      • QuotaProjectIdHidingCredentials
    • com.google.api.gax.rpc.mtls
      • Package summary
      • Classes
      • ContextAwareMetadataJson
      • MtlsProvider
      • Enums
      • MtlsProvider.MtlsEndpointUsagePolicy
    • com.google.api.gax.tracing
      • Package summary
      • Interfaces
      • ApiTracer
      • ApiTracer.Scope
      • ApiTracerFactory
      • MetricsRecorder
      • Classes
      • BaseApiTracer
      • BaseApiTracerFactory
      • MethodName
      • MetricsTracer
      • MetricsTracerFactory
      • OpenTelemetryMetricsRecorder
      • OpencensusTracer
      • OpencensusTracerFactory
      • SpanName
      • TracedBatchingCallable
      • TracedBidiCallable
      • TracedClientStreamingCallable
      • TracedOperationCallable
      • TracedOperationInitialCallable
      • TracedServerStreamingCallable
      • TracedUnaryCallable
      • Enums
      • ApiTracerFactory.OperationType
    • com.google.api.gax.util
      • Package summary
      • Classes
      • TimeConversionUtils
    • com.google.longrunning
      • Package summary
      • Interfaces
      • CancelOperationRequestOrBuilder
      • DeleteOperationRequestOrBuilder
      • GetOperationRequestOrBuilder
      • ListOperationsRequestOrBuilder
      • ListOperationsResponseOrBuilder
      • OperationInfoOrBuilder
      • OperationOrBuilder
      • WaitOperationRequestOrBuilder
      • Classes
      • CancelOperationRequest
      • CancelOperationRequest.Builder
      • DeleteOperationRequest
      • DeleteOperationRequest.Builder
      • GetOperationRequest
      • GetOperationRequest.Builder
      • ListOperationsRequest
      • ListOperationsRequest.Builder
      • ListOperationsResponse
      • ListOperationsResponse.Builder
      • Operation
      • Operation.Builder
      • OperationInfo
      • OperationInfo.Builder
      • OperationsClient
      • OperationsClient.ListOperationsFixedSizeCollection
      • OperationsClient.ListOperationsPage
      • OperationsClient.ListOperationsPagedResponse
      • OperationsProto
      • OperationsSettings
      • OperationsSettings.Builder
      • WaitOperationRequest
      • WaitOperationRequest.Builder
      • Enums
      • Operation.ResultCase
      • Stub packages
        • com.google.longrunning.stub
          • Package summary
          • Classes
          • GrpcOperationsCallableFactory
          • GrpcOperationsStub
          • OperationsStub
          • OperationsStubSettings
          • OperationsStubSettings.Builder
    • com.google.longrunning.stub
      • Package summary
      • Classes
      • GrpcOperationsCallableFactory
      • GrpcOperationsStub
      • OperationsStub
      • OperationsStubSettings
      • OperationsStubSettings.Builder
  • google-analytics-admin
  • google-analytics-data
  • google-api-client
  • google-area120-tables
  • google-auth-library
  • google-cloud-accessapproval
  • google-cloud-advisorynotifications
  • google-cloud-aiplatform
  • google-cloud-alloydb
  • google-cloud-alloydb-connectors
  • google-cloud-analyticshub
  • google-cloud-api-gateway
  • google-cloud-apigee-connect
  • google-cloud-apigee-registry
  • google-cloud-apihub
  • google-cloud-apikeys
  • google-cloud-appengine-admin
  • google-cloud-apphub
  • google-cloud-artifact-registry
  • google-cloud-asset
  • google-cloud-assured-workloads
  • google-cloud-automl
  • google-cloud-backupdr
  • google-cloud-bare-metal-solution
  • google-cloud-batch
  • google-cloud-beyondcorp-appconnections
  • google-cloud-beyondcorp-appconnectors
  • google-cloud-beyondcorp-appgateways
  • google-cloud-beyondcorp-clientconnectorservices
  • google-cloud-beyondcorp-clientgateways
  • google-cloud-biglake
  • google-cloud-bigquery
  • google-cloud-bigquery-data-exchange
  • google-cloud-bigqueryconnection
  • google-cloud-bigquerydatapolicy
  • google-cloud-bigquerydatatransfer
  • google-cloud-bigquerymigration
  • google-cloud-bigqueryreservation
  • google-cloud-bigquerystorage
  • google-cloud-bigtable
  • google-cloud-billing
  • google-cloud-billingbudgets
  • google-cloud-binary-authorization
  • google-cloud-build
  • google-cloud-certificate-manager
  • google-cloud-channel
  • google-cloud-chat
  • google-cloud-chronicle
  • google-cloud-cloudcommerceconsumerprocurement
  • google-cloud-cloudcontrolspartner
  • google-cloud-cloudquotas
  • google-cloud-cloudsupport
  • google-cloud-compute
  • google-cloud-confidentialcomputing
  • google-cloud-connectgateway
  • google-cloud-contact-center-insights
  • google-cloud-container
  • google-cloud-containeranalysis
  • google-cloud-contentwarehouse
  • google-cloud-core
  • google-cloud-data-fusion
  • google-cloud-datacatalog
  • google-cloud-dataflow
  • google-cloud-dataform
  • google-cloud-datalabeling
  • google-cloud-datalineage
  • google-cloud-dataplex
  • google-cloud-dataproc
  • google-cloud-dataproc-metastore
  • google-cloud-datastore
  • google-cloud-datastream
  • google-cloud-deploy
  • google-cloud-developerconnect
  • google-cloud-devicestreaming
  • google-cloud-dialogflow
  • google-cloud-dialogflow-cx
  • google-cloud-discoveryengine
  • google-cloud-distributedcloudedge
  • google-cloud-dlp
  • google-cloud-dms
  • google-cloud-dns
  • google-cloud-document-ai
  • google-cloud-domains
  • google-cloud-edgenetwork
  • google-cloud-enterpriseknowledgegraph
  • google-cloud-errorreporting
  • google-cloud-essential-contacts
  • google-cloud-eventarc
  • google-cloud-eventarc-publishing
  • google-cloud-filestore
  • google-cloud-financialservices
  • google-cloud-firestore
  • google-cloud-functions
  • google-cloud-gdchardwaremanagement
  • google-cloud-gke-backup
  • google-cloud-gke-connect-gateway
  • google-cloud-gke-multi-cloud
  • google-cloud-gkehub
  • google-cloud-gsuite-addons
  • google-cloud-iamcredentials
  • google-cloud-iap
  • google-cloud-ids
  • google-cloud-infra-manager
  • google-cloud-iot
  • google-cloud-kms
  • google-cloud-kmsinventory
  • google-cloud-language
  • google-cloud-life-sciences
  • google-cloud-live-stream
  • google-cloud-logging
  • google-cloud-logging-logback
  • google-cloud-lustre
  • google-cloud-managed-identities
  • google-cloud-managedkafka
  • google-cloud-mediatranslation
  • google-cloud-meet
  • google-cloud-memcache
  • google-cloud-migrationcenter
  • google-cloud-modelarmor
  • google-cloud-monitoring
  • google-cloud-monitoring-dashboard
  • google-cloud-monitoring-metricsscope
  • google-cloud-netapp
  • google-cloud-network-management
  • google-cloud-network-security
  • google-cloud-networkconnectivity
  • google-cloud-networkservices
  • google-cloud-nio
  • google-cloud-notebooks
  • google-cloud-notification
  • google-cloud-optimization
  • google-cloud-oracledatabase
  • google-cloud-orchestration-airflow
  • google-cloud-orgpolicy
  • google-cloud-os-config
  • google-cloud-os-login
  • google-cloud-parallelstore
  • google-cloud-parametermanager
  • google-cloud-phishingprotection
  • google-cloud-policy-troubleshooter
  • google-cloud-policysimulator
  • google-cloud-private-catalog
  • google-cloud-privilegedaccessmanager
  • google-cloud-profiler
  • google-cloud-publicca
  • google-cloud-pubsub
  • google-cloud-pubsublite
  • google-cloud-rapidmigrationassessment
  • google-cloud-recaptchaenterprise
  • google-cloud-recommendations-ai
  • google-cloud-recommender
  • google-cloud-redis
  • google-cloud-redis-cluster
  • google-cloud-resourcemanager
  • google-cloud-retail
  • google-cloud-run
  • google-cloud-scheduler
  • google-cloud-secretmanager
  • google-cloud-securesourcemanager
  • google-cloud-security-private-ca
  • google-cloud-securitycenter
  • google-cloud-securitycenter-settings
  • google-cloud-securitycentermanagement
  • google-cloud-securityposture
  • google-cloud-service-control
  • google-cloud-service-management
  • google-cloud-service-usage
  • google-cloud-servicedirectory
  • google-cloud-servicehealth
  • google-cloud-shell
  • google-cloud-spanner
  • google-cloud-spanner-jdbc
  • google-cloud-speech
  • google-cloud-storage
  • google-cloud-storage-transfer
  • google-cloud-storagebatchoperations
  • google-cloud-storageinsights
  • google-cloud-talent
  • google-cloud-tasks
  • google-cloud-telcoautomation
  • google-cloud-texttospeech
  • google-cloud-tpu
  • google-cloud-trace
  • google-cloud-translate
  • 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-common-protos
  • google-http-client
  • google-iam
  • google-iam-admin
  • google-iam-policy
  • google-identity-accesscontextmanager
  • google-shopping-css
  • google-shopping-merchant-accounts
  • google-shopping-merchant-conversions
  • google-shopping-merchant-datasources
  • google-shopping-merchant-inventories
  • google-shopping-merchant-issue-resolution
  • google-shopping-merchant-lfp
  • google-shopping-merchant-notifications
  • google-shopping-merchant-order-tracking
  • google-shopping-merchant-products
  • google-shopping-merchant-productstudio
  • google-shopping-merchant-promotions
  • google-shopping-merchant-quota
  • google-shopping-merchant-reports
  • google-shopping-merchant-reviews
  • grafeas
  • Get Started
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Featured Products
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine
  • Looker
  • Cross-product Tools
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Technology Areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Some or all of the information on this page might not apply to Cloud de Confiance by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Documentation
  • Developer tools
  • Google Cloud SDK
  • Java
  • Client libraries

gax overview (2.55.0)

Key Reference Links

gax Description: Google API Extensions for Java (GAX Java) is a library which aids in the development of client libraries for server APIs, based on GRPC and Google API conventions.

gax Product Reference GitHub Repository (includes samples) Maven artifact

Getting Started

In order to use this library, you first need to go through the following steps:

  • Install a JDK (Java Development Kit)

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 2026-08-04 UTC.

  • Terms
  • Privacy
  • Manage cookies