- call(RequestT, ApiCallContext) - Method in class com.google.api.gax.rpc.OperationCallable
-
Perform a call synchronously.
- call(RequestT) - Method in class com.google.api.gax.rpc.OperationCallable
-
- call(RequestT, ApiCallContext) - Method in class com.google.api.gax.rpc.UnaryCallable
-
Perform a call synchronously.
- call(RequestT) - Method in class com.google.api.gax.rpc.UnaryCallable
-
- callAndTranslateApiException(ApiFuture<ResponseT>) - Static method in class com.google.api.gax.rpc.ApiExceptions
-
Invokes get on the given future, and if it throws an exception, then processes it in the
following way:
- callLabeledIntSquarer - Static variable in class com.google.api.gax.rpc.testing.FakeBatchableApi
-
- cancel(boolean) - Method in class com.google.api.gax.retrying.NonCancellableFuture
-
- cancel(String, ApiCallContext) - Method in class com.google.api.gax.rpc.EntryPointOperationCallable
-
- cancel(String, ApiCallContext) - Method in class com.google.api.gax.rpc.OperationCallable
-
Sends a cancellation request to the server for the operation with name operationName.
- cancel(String) - Method in class com.google.api.gax.rpc.OperationCallable
-
Sends a cancellation request to the server for the operation with name operationName.
- cancel(String, ApiCallContext) - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.OperationStashCallable
-
- ClientContext - Class in com.google.api.gax.rpc
-
Encapsulates client state, including executor, credentials, and transport context.
- ClientContext() - Constructor for class com.google.api.gax.rpc.ClientContext
-
- ClientContext.Builder - Class in com.google.api.gax.rpc
-
- ClientSettings - Class in com.google.api.gax.rpc
-
A base settings class to configure a service API class.
- ClientSettings(ExecutorProvider, TransportProvider, CredentialsProvider, ApiClock) - Constructor for class com.google.api.gax.rpc.ClientSettings
-
Constructs an instance of ClientSettings.
- ClientSettings.Builder - Class in com.google.api.gax.rpc
-
- clientStreamingCall(ApiStreamObserver<ResponseT>, ApiCallContext) - Method in class com.google.api.gax.rpc.EntryPointStreamingCallable
-
- clientStreamingCall(ApiStreamObserver<ResponseT>, ApiCallContext) - Method in class com.google.api.gax.rpc.StreamingCallable
-
- clientStreamingCall(ApiStreamObserver<ResponseT>) - Method in class com.google.api.gax.rpc.StreamingCallable
-
Conduct a client streaming call
- clientStreamingCall(ApiStreamObserver<ResponseT>, ApiCallContext) - Method in class com.google.api.gax.rpc.testing.FakeStreamingApi.StreamingStashCallable
-
- close() - Method in class com.google.api.gax.core.BackgroundResourceAggregation
-
- close() - Method in class com.google.api.gax.core.BaseBackgroundResource
-
- close() - Method in class com.google.api.gax.core.ExecutorAsBackgroundResource
-
- com.google.api.gax.batching - package com.google.api.gax.batching
-
- com.google.api.gax.core - package com.google.api.gax.core
-
- com.google.api.gax.paging - package com.google.api.gax.paging
-
- com.google.api.gax.retrying - package com.google.api.gax.retrying
-
- com.google.api.gax.rpc - package com.google.api.gax.rpc
-
- com.google.api.gax.rpc.testing - package com.google.api.gax.rpc.testing
-
- copy() - Method in class com.google.api.gax.core.Distribution
-
Make a copy of the distribution.
- copyWithZeroedValue() - Method in interface com.google.api.gax.batching.BatchingThreshold
-
Make a copy of this threshold but with the accumulated value zeroed.
- copyWithZeroedValue() - Method in class com.google.api.gax.batching.NumericThreshold
-
- count(E) - Method in interface com.google.api.gax.batching.ElementCounter
-
Provides the numerical count associated with the given object.
- countBytes(RequestT) - Method in interface com.google.api.gax.rpc.BatchingDescriptor
-
Returns the size in bytes of this request.
- countBytes(FakeBatchableApi.LabeledIntList) - Method in class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- countElements(RequestT) - Method in interface com.google.api.gax.rpc.BatchingDescriptor
-
Returns the number of elements contained in this request.
- countElements(FakeBatchableApi.LabeledIntList) - Method in class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- create(Credentials) - Static method in class com.google.api.gax.core.FixedCredentialsProvider
-
Creates a FixedCredentialsProvider.
- create(ScheduledExecutorService) - Static method in class com.google.api.gax.core.FixedExecutorProvider
-
Creates a FixedExecutorProvider.
- create() - Static method in class com.google.api.gax.rpc.BatchedFuture
-
Get a new instance.
- create(ClientSettings) - Static method in class com.google.api.gax.rpc.ClientContext
-
Instantiates the executor, credentials, and transport context based on the given client
settings.
- create(Transport) - Static method in class com.google.api.gax.rpc.FixedContextTransportProvider
-
- create() - Static method in class com.google.api.gax.rpc.NullTransport
-
- create(UnaryCallable<RequestT, ResponseT>, PagedListDescriptor<RequestT, ResponseT, ResourceT>, RequestT, ApiCallContext) - Static method in class com.google.api.gax.rpc.PageContext
-
- create(PageContext<Integer, List<Integer>, Integer>, List<Integer>) - Static method in class com.google.api.gax.rpc.testing.FakePagedApi.ListIntegersPagedResponse
-
- createAsync(PageContext<Integer, List<Integer>, Integer>, ApiFuture<List<Integer>>) - Static method in class com.google.api.gax.rpc.testing.FakePagedApi.ListIntegersPagedResponse
-
- createCollection(List<PageT>, int) - Method in class com.google.api.gax.paging.AbstractFixedSizeCollection
-
- createFirstAttempt() - Method in class com.google.api.gax.retrying.ExponentialRetryAlgorithm
-
- createFirstAttempt() - Method in class com.google.api.gax.retrying.RetryAlgorithm
-
- createFirstAttempt() - Method in interface com.google.api.gax.retrying.TimedRetryAlgorithm
-
- createFuture(Callable<ResponseT>) - Method in class com.google.api.gax.retrying.DirectRetryingExecutor
-
Creates a
RetryingFuture, which is a facade, returned to the client code to wait for
any retriable operation to complete.
- createFuture(Callable<ResponseT>) - Method in interface com.google.api.gax.retrying.RetryingExecutor
-
Creates the
RetryingFuture, which is a facade, returned to the client code to wait for
any retriable operation to complete.
- createFuture(Callable<ResponseT>) - Method in class com.google.api.gax.retrying.ScheduledRetryingExecutor
-
Creates a
RetryingFuture, which is a facade, returned to the client code to wait for
any retriable operation to complete.
- createNextAttempt(Throwable, ResponseT, TimedAttemptSettings) - Method in class com.google.api.gax.retrying.BasicResultRetryAlgorithm
-
Always returns null, indicating that this algorithm does not provide any specific settings for
the next attempt.
- createNextAttempt(TimedAttemptSettings) - Method in class com.google.api.gax.retrying.ExponentialRetryAlgorithm
-
- createNextAttempt(Throwable, ResponseT, TimedAttemptSettings) - Method in interface com.google.api.gax.retrying.ResultRetryAlgorithm
-
- createNextAttempt(Throwable, ResponseT, TimedAttemptSettings) - Method in class com.google.api.gax.retrying.RetryAlgorithm
-
- createNextAttempt(TimedAttemptSettings) - Method in interface com.google.api.gax.retrying.TimedRetryAlgorithm
-
- createPage(PageContext<RequestT, ResponseT, ResourceT>, ResponseT) - Method in class com.google.api.gax.paging.AbstractPage
-
- createPageAsync(PageContext<RequestT, ResponseT, ResourceT>, ApiFuture<ResponseT>) - Method in class com.google.api.gax.paging.AbstractPage
-
- CredentialsProvider - Interface in com.google.api.gax.core
-
Provides an interface to hold and acquire the credentials that will be used to call the service.
- GaxProperties - Class in com.google.api.gax.core
-
Provides properties of the GAX library.
- GaxProperties() - Constructor for class com.google.api.gax.core.GaxProperties
-
- get() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.FakeOperationFuture
-
- getActualObserver() - Method in class com.google.api.gax.rpc.testing.FakeStreamingApi.StreamingStashCallable
-
- getActualRequest() - Method in class com.google.api.gax.rpc.testing.FakeStreamingApi.StreamingStashCallable
-
- getAttemptCount() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
-
The attempt count.
- getAttemptResult() - Method in interface com.google.api.gax.retrying.RetryingFuture
-
Returns the current (active on the moment of the execution of this method) attempt result
future, allowing to track progress of the retrying future execution.
- getAttemptSettings() - Method in interface com.google.api.gax.retrying.RetryingFuture
-
Returns current (active) attempt settings.
- getBackgroundResources() - Method in class com.google.api.gax.rpc.ClientContext
-
The objects that need to be closed in order to clean up the resources created in the process of
creating this ClientContext.
- getBackgroundResources() - Method in class com.google.api.gax.rpc.NullTransport
-
- getBackgroundResources() - Method in class com.google.api.gax.rpc.Transport
-
The objects that need to be closed in order to clean up the resources created in the process of
creating this Transport.
- getBatches() - Method in class com.google.api.gax.batching.AccumulatingBatchReceiver
-
Returns the accumulated batches.
- getBatchingDescriptor() - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- getBatchingDescriptor() - Method in class com.google.api.gax.rpc.BatchingCallSettings
-
- getBatchingSettings() - Method in class com.google.api.gax.rpc.BatcherFactory
-
Returns the BatchingSettings object that is associated with this factory.
- getBatchingSettings() - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- getBatchingSettings() - Method in class com.google.api.gax.rpc.BatchingCallSettings
-
- getBatchPartitionKey(RequestT) - Method in interface com.google.api.gax.rpc.BatchingDescriptor
-
Returns the value of the partition key for the given request.
- getBatchPartitionKey(FakeBatchableApi.LabeledIntList) - Method in class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- getBucketCounts() - Method in class com.google.api.gax.core.Distribution
-
Gets the accumulated count of every bucket of the distribution.
- getByteCount() - Method in class com.google.api.gax.rpc.Batch
-
- getCallable() - Method in interface com.google.api.gax.retrying.RetryingFuture
-
Returns callable tracked by this future.
- getCallable() - Method in class com.google.api.gax.rpc.Batch
-
- getCallable() - Method in class com.google.api.gax.rpc.PageContext
-
- getCallContext() - Method in class com.google.api.gax.rpc.PageContext
-
- getCancelContext() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.OperationStashCallable
-
- getClock() - Method in class com.google.api.gax.rpc.ClientContext
-
- getClock() - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Gets the ApiClock that was previously set on this Builder.
- getClock() - Method in class com.google.api.gax.rpc.ClientSettings
-
- getCollectionSize() - Method in class com.google.api.gax.paging.AbstractFixedSizeCollection
-
- getCollectionSize() - Method in interface com.google.api.gax.paging.FixedSizeCollection
-
Returns the number of elements in the collection.
- getContext() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.OperationStashCallable
-
- getContext() - Method in class com.google.api.gax.rpc.testing.FakeSimpleApi.StashCallable
-
- getContext() - Method in class com.google.api.gax.rpc.testing.FakeStreamingApi.StreamingStashCallable
-
- getCount() - Method in class com.google.api.gax.core.Distribution
-
Numbers of values recorded.
- getCredentials() - Method in interface com.google.api.gax.core.CredentialsProvider
-
Gets the credentials which will be used to call the service.
- getCredentials() - Method in class com.google.api.gax.core.FixedCredentialsProvider
-
- getCredentials() - Method in class com.google.api.gax.core.GoogleCredentialsProvider
-
- getCredentials() - Method in class com.google.api.gax.core.NoCredentialsProvider
-
- getCredentials() - Method in class com.google.api.gax.rpc.ClientContext
-
- getCredentialsProvider() - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Gets the CredentialsProvider that was previously set on this Builder.
- getCredentialsProvider() - Method in class com.google.api.gax.rpc.ClientSettings
-
- getCurrentMaxBatchBytes() - Method in exception com.google.api.gax.batching.FlowController.MaxOutstandingRequestBytesReachedException
-
- getCurrentMaxBatchElementCount() - Method in exception com.google.api.gax.batching.FlowController.MaxOutstandingElementCountReachedException
-
- getDefaultInstance() - Static method in class com.google.api.gax.batching.FlowControlSettings
-
- getDelayThreshold() - Method in class com.google.api.gax.batching.BatchingSettings
-
Get the delay threshold to use for batching.
- getElementCountThreshold() - Method in class com.google.api.gax.batching.BatchingSettings
-
Get the element count threshold to use for batching.
- getExecutor() - Method in interface com.google.api.gax.core.ExecutorProvider
-
Gets the executor to use.
- getExecutor() - Method in class com.google.api.gax.core.FixedExecutorProvider
-
- getExecutor() - Method in class com.google.api.gax.core.InstantiatingExecutorProvider
-
- getExecutor() - Method in class com.google.api.gax.rpc.ClientContext
-
- getExecutorProvider() - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Gets the ExecutorProvider that was previously set on this Builder.
- getExecutorProvider() - Method in class com.google.api.gax.rpc.ClientSettings
-
- getExecutorThreadCount() - Method in class com.google.api.gax.core.InstantiatingExecutorProvider.Builder
-
- getExecutorThreadCount() - Method in class com.google.api.gax.core.InstantiatingExecutorProvider
-
The number of threads used by the executor created by this ExecutorProvider.
- getFirstAttemptStartTimeNanos() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
-
The start time of the first attempt.
- getFlowController() - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- getFlowController() - Method in class com.google.api.gax.rpc.BatchingCallSettings
-
- getFlowControlSettings() - Method in class com.google.api.gax.batching.BatchingSettings
-
Get the flow control settings to use.
- getFuturePagedResponse(UnaryCallable<RequestT, ResponseT>, RequestT, ApiCallContext, ApiFuture<ResponseT>) - Method in interface com.google.api.gax.rpc.PagedListResponseFactory
-
- getFuturePagedResponse(UnaryCallable<Integer, List<Integer>>, Integer, ApiCallContext, ApiFuture<List<Integer>>) - Method in class com.google.api.gax.rpc.testing.FakePagedApi.ListIntegersPagedResponseFactory
-
- getGaxVersion() - Static method in class com.google.api.gax.core.GaxProperties
-
Returns the current version of GAX.
- getGlobalSettings() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
-
Returns global (attempt-independent) retry settings.
- getInitialCallSettings() - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
Get the call settings which are used on the call to initiate the operation.
- getInitialCallSettings() - Method in class com.google.api.gax.rpc.OperationCallSettings
-
- getInitialFuture() - Method in interface com.google.api.gax.rpc.OperationFuture
-
Returns the OperationT future of the initial request which started this OperationFuture.
- getInitialFuture() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.FakeOperationFuture
-
- getInitialRetryDelay() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The InitialRetryDelay parameter controls the delay before the first retry.
- getInitialRetryDelay() - Method in class com.google.api.gax.retrying.RetrySettings
-
The InitialRetryDelay parameter controls the delay before the first retry.
- getInitialRpcTimeout() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The InitialRpcTimeout parameter controls the timeout for the initial RPC.
- getInitialRpcTimeout() - Method in class com.google.api.gax.retrying.RetrySettings
-
The InitialRpcTimeout parameter controls the timeout for the initial RPC.
- getIsEnabled() - Method in class com.google.api.gax.batching.BatchingSettings
-
Returns the Boolean object to indicate if the batching is enabled.
- getLimitExceededBehavior() - Method in class com.google.api.gax.batching.FlowControlSettings
-
The behavior of
FlowController when the specified limits are exceeded.
- getMaxAttempts() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
MaxAttempts defines the maximum number of attempts to perform.
- getMaxAttempts() - Method in class com.google.api.gax.retrying.RetrySettings
-
MaxAttempts defines the maximum number of attempts to perform.
- getMaxOutstandingElementCount() - Method in class com.google.api.gax.batching.FlowControlSettings
-
Maximum number of outstanding elements to keep in memory before enforcing flow control.
- getMaxOutstandingRequestBytes() - Method in class com.google.api.gax.batching.FlowControlSettings
-
Maximum number of outstanding bytes to keep in memory before enforcing flow control.
- getMaxRetryDelay() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The MaxRetryDelay puts a limit on the value of the retry delay, so that the
RetryDelayMultiplier can't increase the retry delay higher than this amount.
- getMaxRetryDelay() - Method in class com.google.api.gax.retrying.RetrySettings
-
The MaxRetryDelay puts a limit on the value of the retry delay, so that the
RetryDelayMultiplier can't increase the retry delay higher than this amount.
- getMaxRpcTimeout() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The MaxRpcTimeout puts a limit on the value of the RPC timeout, so that the
RpcTimeoutMultiplier can't increase the RPC timeout higher than this amount.
- getMaxRpcTimeout() - Method in class com.google.api.gax.retrying.RetrySettings
-
The MaxRpcTimeout puts a limit on the value of the RPC timeout, so that the
RpcTimeoutMultiplier can't increase the RPC timeout higher than this amount.
- getMean() - Method in class com.google.api.gax.core.Distribution
-
Mean of the recorded values.
- getMessageCount() - Method in class com.google.api.gax.rpc.BatchedRequestIssuer
-
- getMetadata() - Method in interface com.google.api.gax.rpc.OperationFuture
-
- getMetadata() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.FakeOperationFuture
-
- getMetadataClass() - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
- getMetadataClass() - Method in class com.google.api.gax.rpc.OperationCallSettings
-
- getName() - Method in interface com.google.api.gax.rpc.OperationFuture
-
Returns the value of the name of the operation from the initial operation object returned from
the initial call to start the operation.
- getName() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.FakeOperationFuture
-
- getNextCollection() - Method in class com.google.api.gax.paging.AbstractFixedSizeCollection
-
- getNextCollection() - Method in interface com.google.api.gax.paging.FixedSizeCollection
-
Retrieves the next FixedSizeCollection using one or more API calls.
- getNextPage() - Method in class com.google.api.gax.paging.AbstractPage
-
- getNextPage(int) - Method in class com.google.api.gax.paging.AbstractPage
-
- getNextPage() - Method in interface com.google.api.gax.paging.Page
-
Retrieves the next Page object using the next page token, or null if there are no more
pages.
- getNextPageAsync() - Method in class com.google.api.gax.paging.AbstractPage
-
- getNextPageAsync() - Method in interface com.google.api.gax.paging.AsyncPage
-
Returns a future for the Page object, retrieved using the next page token.
- getNextPageToken() - Method in class com.google.api.gax.paging.AbstractFixedSizeCollection
-
- getNextPageToken() - Method in class com.google.api.gax.paging.AbstractPage
-
- getNextPageToken() - Method in class com.google.api.gax.paging.AbstractPagedListResponse
-
- getNextPageToken() - Method in interface com.google.api.gax.paging.FixedSizeCollection
-
Returns a page token that can be passed into the API list method to retrieve additional
elements.
- getNextPageToken() - Method in interface com.google.api.gax.paging.Page
-
Returns the next page token from the response, or an empty string if there are no more pages.
- getNextPageToken() - Method in interface com.google.api.gax.paging.PagedListResponse
-
Returns the token for the next page or an empty string if no more results.
- getNthPercentile(double) - Method in class com.google.api.gax.core.Distribution
-
Get the bucket that records values up to the given percentile.
- getPage() - Method in class com.google.api.gax.paging.AbstractPagedListResponse
-
- getPage() - Method in interface com.google.api.gax.paging.PagedListResponse
-
Returns the current page of results.
- getPageDescriptor() - Method in class com.google.api.gax.rpc.PageContext
-
- getPagedListResponseFactory() - Method in class com.google.api.gax.rpc.PagedCallSettings.Builder
-
- getPagedListResponseFactory() - Method in class com.google.api.gax.rpc.PagedCallSettings
-
- getPageElementCount() - Method in class com.google.api.gax.paging.AbstractPage
-
- getPollingAlgorithm() - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
Get the polling algorithm of the operation.
- getPollingAlgorithm() - Method in class com.google.api.gax.rpc.OperationCallSettings
-
- getPushingBatcher(PartitionKey) - Method in class com.google.api.gax.rpc.BatcherFactory
-
Provides the ThresholdBatcher corresponding to the given partitionKey, or constructs one if it
doesn't exist yet.
- getRandomizedRetryDelay() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
-
Returns randomized attempt delay.
- getRequest() - Method in class com.google.api.gax.paging.AbstractPage
-
- getRequest() - Method in class com.google.api.gax.rpc.Batch
-
- getRequest() - Method in class com.google.api.gax.rpc.PageContext
-
- getRequest() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.OperationStashCallable
-
- getRequest() - Method in class com.google.api.gax.rpc.testing.FakeSimpleApi.StashCallable
-
- getRequestBuilder() - Method in interface com.google.api.gax.rpc.BatchingDescriptor
-
Get the Builder object for the request type RequestT.
- getRequestBuilder() - Method in class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- getRequestByteThreshold() - Method in class com.google.api.gax.batching.BatchingSettings
-
Get the request byte threshold to use for batching.
- getRequestIssuerList() - Method in class com.google.api.gax.rpc.Batch
-
- getResponse() - Method in class com.google.api.gax.paging.AbstractPage
-
- getResponseClass() - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
- getResponseClass() - Method in class com.google.api.gax.rpc.OperationCallSettings
-
- getResumeContext() - Method in class com.google.api.gax.rpc.testing.FakeOperationApi.OperationStashCallable
-
- getRetryableCodes() - Method in class com.google.api.gax.rpc.UnaryCallSettings.Builder
-
See the class documentation of
UnaryCallSettings for a description of what retryable
codes do.
- getRetryableCodes() - Method in class com.google.api.gax.rpc.UnaryCallSettings
-
See the class documentation of
UnaryCallSettings for a description of what retryable
codes do.
- getRetryDelay() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
-
Returns the calculated retry delay.
- getRetryDelayMultiplier() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The RetryDelayMultiplier controls the change in retry delay.
- getRetryDelayMultiplier() - Method in class com.google.api.gax.retrying.RetrySettings
-
The RetryDelayMultiplier controls the change in retry delay.
- getRetrySettings() - Method in class com.google.api.gax.rpc.UnaryCallSettings.Builder
-
- getRetrySettings() - Method in class com.google.api.gax.rpc.UnaryCallSettings
-
See the class documentation of
UnaryCallSettings for a description of what retry
settings do.
- getRpcTimeout() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
-
Returns rpc timeout used for this attempt.
- getRpcTimeoutMultiplier() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
See the class documentation of
RetrySettings for a description of what this value
does.
- getRpcTimeoutMultiplier() - Method in class com.google.api.gax.retrying.RetrySettings
-
The RpcTimeoutMultiplier controls the change in RPC timeout.
- getScopesToApply() - Method in class com.google.api.gax.core.GoogleCredentialsProvider.Builder
-
The scopes previously provided.
- getScopesToApply() - Method in class com.google.api.gax.core.GoogleCredentialsProvider
-
- getStatusCode() - Method in exception com.google.api.gax.rpc.ApiException
-
Returns the status code of the underlying exception.
- getSumOfSquareDeviations() - Method in class com.google.api.gax.core.Distribution
-
Square deviations of the recorded values.
- getTotalTimeout() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The TotalTimeout parameter has ultimate control over how long the logic should keep trying
the remote call until it gives up completely.
- getTotalTimeout() - Method in class com.google.api.gax.retrying.RetrySettings
-
The TotalTimeout parameter has ultimate control over how long the logic should keep trying the
remote call until it gives up completely.
- getTransport() - Method in class com.google.api.gax.rpc.FixedContextTransportProvider
-
- getTransport(ScheduledExecutorService) - Method in class com.google.api.gax.rpc.FixedContextTransportProvider
-
- getTransport() - Method in interface com.google.api.gax.rpc.TransportProvider
-
Provides a Transport, which could either be a new instance for every call, or the same
instance, depending on the implementation.
- getTransport(ScheduledExecutorService) - Method in interface com.google.api.gax.rpc.TransportProvider
-
Provides a Transport, which could either be a new instance for every call, or the same
instance, depending on the implementation.
- getTransportContext() - Method in class com.google.api.gax.rpc.ClientContext
-
- getTransportName() - Method in class com.google.api.gax.rpc.FixedContextTransportProvider
-
- getTransportName() - Method in class com.google.api.gax.rpc.NullTransport
-
- getTransportName() - Method in class com.google.api.gax.rpc.Transport
-
The name of the transport.
- getTransportName() - Method in interface com.google.api.gax.rpc.TransportProvider
-
The name of the transport.
- getTransportProvider() - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Gets the TransportProvider that was previously set on this Builder.
- getTransportProvider() - Method in class com.google.api.gax.rpc.ClientSettings
-
- getValues() - Method in class com.google.api.gax.paging.AbstractFixedSizeCollection
-
- getValues() - Method in class com.google.api.gax.paging.AbstractPage
-
- getValues() - Method in interface com.google.api.gax.paging.FixedSizeCollection
-
Returns an iterable over the elements in this FixedSizeCollection.
- getValues() - Method in interface com.google.api.gax.paging.Page
-
Returns an iterable over the elements in this page.
- GoogleCredentialsProvider - Class in com.google.api.gax.core
-
GoogleCredentialsProvider acquires credentials using Application Default Credentials.
- GoogleCredentialsProvider() - Constructor for class com.google.api.gax.core.GoogleCredentialsProvider
-
- GoogleCredentialsProvider.Builder - Class in com.google.api.gax.core
-
- ScheduledRetryingExecutor<ResponseT> - Class in com.google.api.gax.retrying
-
- ScheduledRetryingExecutor(RetryAlgorithm<ResponseT>, ScheduledExecutorService) - Constructor for class com.google.api.gax.retrying.ScheduledRetryingExecutor
-
Creates a new scheduled retry executor, which will be using scheduler for actual
attempts scheduling and retryAlgorithm for retrying strategy.
- sendResult() - Method in class com.google.api.gax.rpc.BatchedRequestIssuer
-
Sends back the result that was stored by either setResponse or setException
- serverStreamingCall(RequestT, ApiStreamObserver<ResponseT>, ApiCallContext) - Method in class com.google.api.gax.rpc.EntryPointStreamingCallable
-
- serverStreamingCall(RequestT, ApiStreamObserver<ResponseT>, ApiCallContext) - Method in class com.google.api.gax.rpc.StreamingCallable
-
- serverStreamingCall(RequestT, ApiStreamObserver<ResponseT>) - Method in class com.google.api.gax.rpc.StreamingCallable
-
Conduct a server streaming call
- serverStreamingCall(RequestT, ApiStreamObserver<ResponseT>, ApiCallContext) - Method in class com.google.api.gax.rpc.testing.FakeStreamingApi.StreamingStashCallable
-
- setAttemptFuture(ApiFuture<ResponseT>) - Method in interface com.google.api.gax.retrying.RetryingFuture
-
Sets the attempt in a form of a future.
- setBackgroundResources(List<BackgroundResource>) - Method in class com.google.api.gax.rpc.ClientContext.Builder
-
- setBatchingSettings(BatchingSettings) - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- setBatchMerger(BatchMerger<E>) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
-
Set the batch merger for the ThresholdBatcher.
- setClock(ApiClock) - Method in class com.google.api.gax.rpc.ClientContext.Builder
-
- setClock(ApiClock) - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Sets the clock to use for retry logic.
- setCredentials(Credentials) - Method in class com.google.api.gax.rpc.ClientContext.Builder
-
- setCredentialsProvider(CredentialsProvider) - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Sets the CredentialsProvider to use for getting the credentials to make calls with.
- setDelayThreshold(Duration) - Method in class com.google.api.gax.batching.BatchingSettings.Builder
-
Set the delay threshold to use for batching.
- setElementCountThreshold(Long) - Method in class com.google.api.gax.batching.BatchingSettings.Builder
-
Set the element count threshold to use for batching.
- setException(Throwable) - Method in class com.google.api.gax.rpc.BatchedRequestIssuer
-
Set the exception to set on the batched future.
- setExecutor(ScheduledExecutorService) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
-
Set the executor for the ThresholdBatcher.
- setExecutor(ScheduledExecutorService) - Method in class com.google.api.gax.rpc.ClientContext.Builder
-
- setExecutorProvider(ExecutorProvider) - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Sets the ExecutorProvider to use for getting the executor to use for running asynchronous API
call logic (such as retries and long-running operations), and also to pass to the transport
settings if an executor is needed for the transport and it doesn't have its own executor
provider.
- setExecutorThreadCount(int) - Method in class com.google.api.gax.core.InstantiatingExecutorProvider.Builder
-
- setFlowController(BatchingFlowController<E>) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
-
Set the flow controller for the ThresholdBatcher.
- setFlowController(FlowController) - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- setFlowControlSettings(FlowControlSettings) - Method in class com.google.api.gax.batching.BatchingSettings.Builder
-
Set the flow control settings to be used.
- setInitialCallSettings(SimpleCallSettings<RequestT, OperationT>) - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
Set the call settings which are used on the call to initiate the operation.
- setInitialRetryDelay(Duration) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The InitialRetryDelay parameter controls the delay before the first retry.
- setInitialRpcTimeout(Duration) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The InitialRpcTimeout parameter controls the timeout for the initial RPC.
- setIsEnabled(Boolean) - Method in class com.google.api.gax.batching.BatchingSettings.Builder
-
Set if the batch should be enabled.
- setLimitExceededBehavior(FlowController.LimitExceededBehavior) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
-
- setMaxAttempts(int) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
MaxAttempts defines the maximum number of attempts to perform.
- setMaxDelay(Duration) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
-
Set the max delay for a batch.
- setMaxOutstandingElementCount(Long) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
-
- setMaxOutstandingElementCount(Integer) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
-
Deprecated.
- setMaxOutstandingRequestBytes(Long) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
-
- setMaxOutstandingRequestBytes(Integer) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
-
Deprecated.
- setMaxRetryDelay(Duration) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The MaxRetryDelay puts a limit on the value of the retry delay, so that the
RetryDelayMultiplier can't increase the retry delay higher than this amount.
- setMaxRpcTimeout(Duration) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The MaxRpcTimeout puts a limit on the value of the RPC timeout, so that the
RpcTimeoutMultiplier can't increase the RPC timeout higher than this amount.
- setMetadataClass(Class<MetadataT>) - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
- setPollingAlgorithm(TimedRetryAlgorithm) - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
Set the polling algorithm of the operation.
- setReceiver(ThresholdBatchReceiver<E>) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
-
Set the threshold batch receiver for the ThresholdBatcher.
- setRequestByteThreshold(Long) - Method in class com.google.api.gax.batching.BatchingSettings.Builder
-
Set the request byte threshold to use for batching.
- setResponse(ResponseT) - Method in class com.google.api.gax.rpc.BatchedRequestIssuer
-
Set the response to set on the batched future.
- setResponseClass(Class<ResponseT>) - Method in class com.google.api.gax.rpc.OperationCallSettings.Builder
-
- setRetryableCodes(Set<StatusCode>) - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- setRetryableCodes(StatusCode...) - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- setRetryableCodes(Set<StatusCode>) - Method in class com.google.api.gax.rpc.PagedCallSettings.Builder
-
- setRetryableCodes(StatusCode...) - Method in class com.google.api.gax.rpc.PagedCallSettings.Builder
-
- setRetryableCodes(Set<StatusCode>) - Method in class com.google.api.gax.rpc.SimpleCallSettings.Builder
-
- setRetryableCodes(StatusCode...) - Method in class com.google.api.gax.rpc.SimpleCallSettings.Builder
-
- setRetryableCodes(Set<StatusCode>) - Method in class com.google.api.gax.rpc.UnaryCallSettings.Builder
-
See the class documentation of
UnaryCallSettings for a description of what retryable
codes do.
- setRetryableCodes(StatusCode...) - Method in class com.google.api.gax.rpc.UnaryCallSettings.Builder
-
See the class documentation of
UnaryCallSettings for a description of what retryable
codes do.
- setRetryDelayMultiplier(double) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The RetryDelayMultiplier controls the change in retry delay.
- setRetrySettings(RetrySettings) - Method in class com.google.api.gax.rpc.BatchingCallSettings.Builder
-
- setRetrySettings(RetrySettings) - Method in class com.google.api.gax.rpc.PagedCallSettings.Builder
-
- setRetrySettings(RetrySettings) - Method in class com.google.api.gax.rpc.SimpleCallSettings.Builder
-
- setRetrySettings(RetrySettings) - Method in class com.google.api.gax.rpc.UnaryCallSettings.Builder
-
- setRpcTimeoutMultiplier(double) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
See the class documentation of
RetrySettings for a description of what this value
does.
- setScopesToApply(List<String>) - Method in class com.google.api.gax.core.GoogleCredentialsProvider.Builder
-
Sets the scopes to apply to the credentials that are acquired from Application Default
Credentials, before the credentials are sent to the service.
- setSimpleTimeoutNoRetries(Duration) - Method in class com.google.api.gax.rpc.UnaryCallSettings.Builder
-
Disables retries and sets the RPC timeout.
- setThresholds(Collection<BatchingThreshold<E>>) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
-
Set the thresholds for the ThresholdBatcher.
- setTotalTimeout(Duration) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
-
The TotalTimeout parameter has ultimate control over how long the logic should keep trying
the remote call until it gives up completely.
- setTransportContext(Transport) - Method in class com.google.api.gax.rpc.ClientContext.Builder
-
- setTransportProvider(TransportProvider) - Method in class com.google.api.gax.rpc.ClientSettings.Builder
-
Sets the TransportProvider to use for getting the transport-specific context to make calls
with.
- shouldAutoClose() - Method in interface com.google.api.gax.core.ExecutorProvider
-
Indicates whether the executor should be closed by the containing service API class.
- shouldAutoClose() - Method in class com.google.api.gax.core.FixedExecutorProvider
-
- shouldAutoClose() - Method in class com.google.api.gax.core.InstantiatingExecutorProvider
-
- shouldRetry(Throwable, ResponseT) - Method in class com.google.api.gax.retrying.BasicResultRetryAlgorithm
-
Returns true if an exception was thrown (prevThrowable != null), false
otherwise.
- shouldRetry(TimedAttemptSettings) - Method in class com.google.api.gax.retrying.ExponentialRetryAlgorithm
-
Returns true if another attempt should be made, or false otherwise.
- shouldRetry(Throwable, ResponseT) - Method in interface com.google.api.gax.retrying.ResultRetryAlgorithm
-
Returns true if another attempt should be made, or false otherwise.
- shouldRetry(Throwable, ResponseT, TimedAttemptSettings) - Method in class com.google.api.gax.retrying.RetryAlgorithm
-
Returns true if another attempt should be made, or false otherwise.
- shouldRetry(TimedAttemptSettings) - Method in interface com.google.api.gax.retrying.TimedRetryAlgorithm
-
Returns true if another attempt should be made, or false otherwise.
- shutdown() - Method in interface com.google.api.gax.core.BackgroundResource
-
Initiates an orderly shutdown in which previously submitted work is finished, but no new work
will be accepted.
- shutdown() - Method in class com.google.api.gax.core.BackgroundResourceAggregation
-
- shutdown() - Method in class com.google.api.gax.core.BaseBackgroundResource
-
- shutdown() - Method in class com.google.api.gax.core.ExecutorAsBackgroundResource
-
- shutdownNow() - Method in interface com.google.api.gax.core.BackgroundResource
-
Attempts to stop all actively executing work and halts the processing of waiting work.
- shutdownNow() - Method in class com.google.api.gax.core.BackgroundResourceAggregation
-
- shutdownNow() - Method in class com.google.api.gax.core.BaseBackgroundResource
-
- shutdownNow() - Method in class com.google.api.gax.core.ExecutorAsBackgroundResource
-
- SimpleCallSettings<RequestT,ResponseT> - Class in com.google.api.gax.rpc
-
A settings class to configure a
UnaryCallable for calls to a simple API method (i.e.
- SimpleCallSettings.Builder<RequestT,ResponseT> - Class in com.google.api.gax.rpc
-
- splitException(Throwable, Collection<? extends BatchedRequestIssuer<ResponseT>>) - Method in interface com.google.api.gax.rpc.BatchingDescriptor
-
Splits the exception that resulted from a batched call into an individual setException call on
each RequestIssuer.
- splitException(Throwable, Collection<? extends BatchedRequestIssuer<List<Integer>>>) - Method in class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- splitResponse(ResponseT, Collection<? extends BatchedRequestIssuer<ResponseT>>) - Method in interface com.google.api.gax.rpc.BatchingDescriptor
-
Splits the result from a batched call into an individual setResponse call on each
RequestIssuer.
- splitResponse(List<Integer>, Collection<? extends BatchedRequestIssuer<List<Integer>>>) - Method in class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- SQUARER_BATCHING_DESC - Static variable in class com.google.api.gax.rpc.testing.FakeBatchableApi
-
- SquarerBatchingDescriptor() - Constructor for class com.google.api.gax.rpc.testing.FakeBatchableApi.SquarerBatchingDescriptor
-
- StashCallable(ResponseT) - Constructor for class com.google.api.gax.rpc.testing.FakeSimpleApi.StashCallable
-
- StatusCode - Interface in com.google.api.gax.rpc
-
Transport-specific failure code.
- StreamingCallable<RequestT,ResponseT> - Class in com.google.api.gax.rpc
-
A StreamingCallable is an immutable object which is capable of making RPC calls to streaming API
methods.
- StreamingCallable() - Constructor for class com.google.api.gax.rpc.StreamingCallable
-
- StreamingCallSettings<RequestT,ResponseT> - Class in com.google.api.gax.rpc
-
A settings class to configure a StreamingCallable for calls to a streaming API method.
- StreamingCallSettings.Builder<RequestT,ResponseT> - Class in com.google.api.gax.rpc
-
- StreamingStashCallable() - Constructor for class com.google.api.gax.rpc.testing.FakeStreamingApi.StreamingStashCallable
-
- submit(RetryingFuture<ResponseT>) - Method in class com.google.api.gax.retrying.DirectRetryingExecutor
-
- submit(RetryingFuture<ResponseT>) - Method in interface com.google.api.gax.retrying.RetryingExecutor
-
Submits an attempt for execution.
- submit(RetryingFuture<ResponseT>) - Method in class com.google.api.gax.retrying.ScheduledRetryingExecutor
-
Submits an attempt for execution in a different thread.