Skip navigation links
A B C D E F G H I L M N O P R S T V 

A

accept(Throwable) - Method in interface com.google.api.gax.retrying.ExceptionRetryAlgorithm
Returns true if another attempt should be made, or false otherwise.
accept(TimedAttemptSettings) - Method in class com.google.api.gax.retrying.ExponentialRetryAlgorithm
Returns true if another attempt should be made, or false otherwise.
accept(TimedAttemptSettings) - Method in interface com.google.api.gax.retrying.TimedRetryAlgorithm
Returns true if another attempt should be made, or false otherwise.
accumulate(E) - Method in interface com.google.api.gax.batching.BatchingThreshold
Presents the element to the threshold for the attribute of interest to be accumulated.
accumulate(E) - Method in class com.google.api.gax.batching.NumericThreshold
 
AccumulatingBatchReceiver<T> - Class in com.google.api.gax.batching
A simple ThresholdBatchReceiver that just accumulates batches.
AccumulatingBatchReceiver() - Constructor for class com.google.api.gax.batching.AccumulatingBatchReceiver
 
add(E) - Method in class com.google.api.gax.batching.ThresholdBatcher
Adds an element to the batcher.
appendRequest(RequestT) - Method in interface com.google.api.gax.batching.RequestBuilder
 
AsyncPage<ResourceT> - Interface in com.google.api.gax.paging
An AsyncPage extends a Page object with a getNextPageAsync method.

B

BatchingFlowController<T> - Class in com.google.api.gax.batching
Wraps a FlowController for use by batching.
BatchingFlowController(FlowController, ElementCounter<T>, ElementCounter<T>) - Constructor for class com.google.api.gax.batching.BatchingFlowController
 
BatchingSettings - Class in com.google.api.gax.batching
Represents the batching settings to use for an API method that is capable of batching.
BatchingSettings() - Constructor for class com.google.api.gax.batching.BatchingSettings
 
BatchingSettings.Builder - Class in com.google.api.gax.batching
See the class documentation of BatchingSettings for a description of the different values that can be set.
BatchingThreshold<E> - Interface in com.google.api.gax.batching
The interface representing a threshold to be used in ThresholdBatcher.
BatchingThresholds - Class in com.google.api.gax.batching
Factory methods for general-purpose batching thresholds.
BatchingThresholds() - Constructor for class com.google.api.gax.batching.BatchingThresholds
 
BatchMerger<B> - Interface in com.google.api.gax.batching
 
build() - Method in class com.google.api.gax.batching.BatchingSettings.Builder
Build the BatchingSettings object.
build() - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
 
build() - Method in interface com.google.api.gax.batching.RequestBuilder
 
build() - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
Build the ThresholdBatcher.
build() - Method in class com.google.api.gax.core.GoogleCredentialsProvider.Builder
 
build() - Method in class com.google.api.gax.retrying.RetrySettings.Builder
 
Builder() - Constructor for class com.google.api.gax.batching.BatchingSettings.Builder
 
Builder() - Constructor for class com.google.api.gax.batching.FlowControlSettings.Builder
 
Builder() - Constructor for class com.google.api.gax.core.GoogleCredentialsProvider.Builder
 
Builder() - Constructor for class com.google.api.gax.retrying.RetrySettings.Builder
 

C

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
 
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.
create(Credentials) - Static method in class com.google.api.gax.core.FixedCredentialsProvider
Creates a FixedCredentialsProvider.
createFirstAttempt() - Method in class com.google.api.gax.retrying.ExponentialRetryAlgorithm
Creates a first attempt TimedAttemptSettings.
createFirstAttempt() - Method in class com.google.api.gax.retrying.RetryAlgorithm
Creates a first attempt TimedAttemptSettings.
createFirstAttempt() - Method in interface com.google.api.gax.retrying.TimedRetryAlgorithm
Creates a first attempt TimedAttemptSettings.
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, TimedAttemptSettings) - Method in interface com.google.api.gax.retrying.ExceptionRetryAlgorithm
Creates a next attempt TimedAttemptSettings.
createNextAttempt(TimedAttemptSettings) - Method in class com.google.api.gax.retrying.ExponentialRetryAlgorithm
Creates a next attempt TimedAttemptSettings.
createNextAttempt(Throwable, TimedAttemptSettings) - Method in class com.google.api.gax.retrying.RetryAlgorithm
Creates a next attempt TimedAttemptSettings.
createNextAttempt(TimedAttemptSettings) - Method in interface com.google.api.gax.retrying.TimedRetryAlgorithm
Creates a next attempt TimedAttemptSettings, which defines properties of the next attempt.
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.

D

DirectRetryingExecutor<ResponseT> - Class in com.google.api.gax.retrying
The retry executor which executes attempts in the current thread, potentially causing the current thread to sleep for the specified amount of time before execution.
DirectRetryingExecutor(RetryAlgorithm) - Constructor for class com.google.api.gax.retrying.DirectRetryingExecutor
Creates a new direct retrying executor instance, which will be using retryAlgorithm to determine retrying strategy.
Distribution - Class in com.google.api.gax.core
Takes measurements and stores them in linear buckets from 0 to totalBuckets - 1, along with utilities to calculate percentiles for analysis of results.
Distribution(int) - Constructor for class com.google.api.gax.core.Distribution
 

E

ElementCounter<E> - Interface in com.google.api.gax.batching
Interface representing an object that provides a numerical count given an object of the parameterized type.
equals(Object) - Method in class com.google.api.gax.batching.PartitionKey
 
ExceptionRetryAlgorithm - Interface in com.google.api.gax.retrying
An exception retry algorithm is responsible for the following operations: Accepting or rejecting a task for retry depending on the exception thrown by the previous attempt.
expandToFixedSizeCollection(int) - Method in interface com.google.api.gax.paging.PagedListResponse
Returns a collection of elements with a fixed size set by the collectionSize parameter.
ExponentialRetryAlgorithm - Class in com.google.api.gax.retrying
The timed retry algorithm which uses randomized exponential backoff factor for calculating the next attempt execution time.
ExponentialRetryAlgorithm(RetrySettings, ApiClock) - Constructor for class com.google.api.gax.retrying.ExponentialRetryAlgorithm
Creates a new exponential retry algorithm instance.

F

FixedCredentialsProvider - Class in com.google.api.gax.core
FixedCredentialsProvider is a CredentialsProvider which always provides the same credentials.
FixedCredentialsProvider() - Constructor for class com.google.api.gax.core.FixedCredentialsProvider
 
FixedSizeCollection<ResourceT> - Interface in com.google.api.gax.paging
A FixedSizeCollection object wraps multiple API list method responses into a single collection with a fixed number of elements.
FlowController - Class in com.google.api.gax.batching
Provides flow control capability.
FlowController(FlowControlSettings) - Constructor for class com.google.api.gax.batching.FlowController
 
FlowController.FlowControlException - Exception in com.google.api.gax.batching
Base exception that signals a flow control state.
FlowController.FlowControlRuntimeException - Exception in com.google.api.gax.batching
Runtime exception that can be used in place of FlowControlException when an unchecked exception is required.
FlowController.LimitExceededBehavior - Enum in com.google.api.gax.batching
Enumeration of behaviors that FlowController can use in case the flow control limits are exceeded.
FlowController.MaxOutstandingElementCountReachedException - Exception in com.google.api.gax.batching
Exception thrown when client-side flow control is enforced based on the maximum number of outstanding in-memory elements.
FlowController.MaxOutstandingRequestBytesReachedException - Exception in com.google.api.gax.batching
Exception thrown when client-side flow control is enforced based on the maximum number of unacknowledged in-memory bytes.
FlowControlSettings - Class in com.google.api.gax.batching
Settings for FlowController.
FlowControlSettings() - Constructor for class com.google.api.gax.batching.FlowControlSettings
 
FlowControlSettings.Builder - Class in com.google.api.gax.batching
 
fromFlowControlException(FlowController.FlowControlException) - Static method in exception com.google.api.gax.batching.FlowController.FlowControlRuntimeException
 

G

GaxProperties - Class in com.google.api.gax.core
Provides properties of the GAX library.
GaxProperties() - Constructor for class com.google.api.gax.core.GaxProperties
 
getAttemptCount() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
The attempt count.
getAttemptSettings() - Method in interface com.google.api.gax.retrying.RetryingFuture
Returns current (active) attempt settings.
getBatches() - Method in class com.google.api.gax.batching.AccumulatingBatchReceiver
Returns the accumulated batches.
getBucketCounts() - Method in class com.google.api.gax.core.Distribution
Gets the accumulated count of every bucket of the distribution.
getCallable() - Method in interface com.google.api.gax.retrying.RetryingFuture
Returns callable tracked by this future.
getCollectionSize() - Method in interface com.google.api.gax.paging.FixedSizeCollection
Returns the number of elements in the collection.
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
 
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.
getFirstAttemptStartTimeNanos() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
The start time of the first attempt.
getFlowControlSettings() - Method in class com.google.api.gax.batching.BatchingSettings
Get the flow control settings to use.
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.
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.
getNextCollection() - Method in interface com.google.api.gax.paging.FixedSizeCollection
Retrieves the next FixedSizeCollection using one or more API calls.
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 interface com.google.api.gax.paging.AsyncPage
Returns a future for the Page object, retrieved using the next page token.
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 interface com.google.api.gax.paging.PagedListResponse
Returns the current page of results.
getRandomizedRetryDelay() - Method in class com.google.api.gax.retrying.TimedAttemptSettings
Returns randomized attempt delay.
getRequestByteThreshold() - Method in class com.google.api.gax.batching.BatchingSettings
Get the request byte threshold to use for batching.
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.
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
 
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.
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
 

H

hashCode() - Method in class com.google.api.gax.batching.PartitionKey
 
hasNextCollection() - Method in interface com.google.api.gax.paging.FixedSizeCollection
Returns true if there are more elements that can be retrieved from the API.
hasNextPage() - Method in interface com.google.api.gax.paging.Page
Returns true if there are more pages that can be retrieved from the API.

I

isThresholdReached() - Method in interface com.google.api.gax.batching.BatchingThreshold
Any calls into this function from ThresholdBatcher will be under a lock.
isThresholdReached() - Method in class com.google.api.gax.batching.NumericThreshold
 
iterateAll() - Method in interface com.google.api.gax.paging.Page
Returns an iterable over all elements, starting from this page.
iterateAll() - Method in interface com.google.api.gax.paging.PagedListResponse
Returns an iterable over the full list of elements.
iterateFixedSizeCollections(int) - Method in interface com.google.api.gax.paging.PagedListResponse
Returns an iterable over fixed size collections of results.
iteratePages() - Method in interface com.google.api.gax.paging.PagedListResponse
Return an iterable over all Page objects.

L

loadProperty(Class<?>, String, String) - Static method in class com.google.api.gax.core.PropertiesProvider
Utility method for retrieving the value of the given key from a property file in the package.
loadProperty(Properties, String, String) - Static method in class com.google.api.gax.core.PropertiesProvider
Utility method for retrieving the value of the given key from a property file in the package.

M

MaxOutstandingElementCountReachedException(int) - Constructor for exception com.google.api.gax.batching.FlowController.MaxOutstandingElementCountReachedException
 
MaxOutstandingRequestBytesReachedException(int) - Constructor for exception com.google.api.gax.batching.FlowController.MaxOutstandingRequestBytesReachedException
 
merge(B, B) - Method in interface com.google.api.gax.batching.BatchMerger
 
merge(RetrySettings.Builder) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
 

N

newBuilder() - Static method in class com.google.api.gax.batching.BatchingSettings
Get a new builder.
newBuilder() - Static method in class com.google.api.gax.batching.FlowControlSettings
 
newBuilder() - Static method in class com.google.api.gax.batching.ThresholdBatcher
Get a new builder for a ThresholdBatcher.
newBuilder() - Static method in class com.google.api.gax.core.GoogleCredentialsProvider
 
newBuilder() - Static method in class com.google.api.gax.retrying.RetrySettings
 
NumericThreshold<E> - Class in com.google.api.gax.batching
A threshold which accumulates a count based on the provided ElementCounter.
NumericThreshold(long, ElementCounter<E>) - Constructor for class com.google.api.gax.batching.NumericThreshold
Constructs a NumericThreshold.

O

of(long) - Static method in class com.google.api.gax.batching.BatchingThresholds
Creates an ImmutableList containing only a single threshold which counts the number of elements.

P

Page<ResourceT> - Interface in com.google.api.gax.paging
A Page object wraps an API list method response.
PagedListResponse<ResourceT> - Interface in com.google.api.gax.paging
Response for paged results from a list API method
PartitionKey - Class in com.google.api.gax.batching
 
PartitionKey(Object...) - Constructor for class com.google.api.gax.batching.PartitionKey
 
processBatch(T) - Method in class com.google.api.gax.batching.AccumulatingBatchReceiver
 
processBatch(BatchT) - Method in interface com.google.api.gax.batching.ThresholdBatchReceiver
Process the given batch asynchronously.
PropertiesProvider - Class in com.google.api.gax.core
Provides meta-data properties stored in a properties file.
PropertiesProvider() - Constructor for class com.google.api.gax.core.PropertiesProvider
 
pushCurrentBatch() - Method in class com.google.api.gax.batching.ThresholdBatcher
Push the current batch to the batch receiver.

R

record(int) - Method in class com.google.api.gax.core.Distribution
Record a new value.
release(T) - Method in class com.google.api.gax.batching.BatchingFlowController
 
release(int, int) - Method in class com.google.api.gax.batching.FlowController
 
RequestBuilder<RequestT> - Interface in com.google.api.gax.batching
 
reserve(T) - Method in class com.google.api.gax.batching.BatchingFlowController
 
reserve(int, int) - Method in class com.google.api.gax.batching.FlowController
 
reset() - Method in class com.google.api.gax.core.Distribution
Resets (sets to 0) the recorded values.
RetryAlgorithm - Class in com.google.api.gax.retrying
The retry algorithm, which makes decision based on the thrown exception and execution time settings of the previous attempt.
RetryAlgorithm(ExceptionRetryAlgorithm, TimedRetryAlgorithm) - Constructor for class com.google.api.gax.retrying.RetryAlgorithm
Creates a new retry algorithm instance, which uses exceptionAlgorithm and timedAlgorithm to make a decision.
RetryingExecutor<ResponseT> - Interface in com.google.api.gax.retrying
A retrying executor is responsible for the following operations: Creating first attempt RetryingFuture, which acts as a facade, hiding from client code the actual execution of scheduled retry attempts.
RetryingFuture<ResponseT> - Interface in com.google.api.gax.retrying
Represents a retrying future.
RetrySettings - Class in com.google.api.gax.retrying
Holds the parameters for retry and timeout logic with exponential backoff.
RetrySettings() - Constructor for class com.google.api.gax.retrying.RetrySettings
 
RetrySettings.Builder - Class in com.google.api.gax.retrying
A base builder class for RetrySettings.

S

ScheduledRetryingExecutor<ResponseT> - Class in com.google.api.gax.retrying
The retry executor which uses ScheduledExecutorService to schedule an attempt tasks.
ScheduledRetryingExecutor(RetryAlgorithm, 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.
setAttemptFuture(ApiFuture<ResponseT>) - Method in interface com.google.api.gax.retrying.RetryingFuture
Sets the attempt future.
setBatchMerger(BatchMerger<E>) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
Set the batch merger for the ThresholdBatcher.
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.
setExecutor(ScheduledExecutorService) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
Set the executor for the ThresholdBatcher.
setFlowController(BatchingFlowController<E>) - Method in class com.google.api.gax.batching.ThresholdBatcher.Builder
Set the flow controller for the ThresholdBatcher.
setFlowControlSettings(FlowControlSettings) - Method in class com.google.api.gax.batching.BatchingSettings.Builder
Set the flow control settings to be used.
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(Integer) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
 
setMaxOutstandingRequestBytes(Integer) - Method in class com.google.api.gax.batching.FlowControlSettings.Builder
 
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.
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.
setRetryDelayMultiplier(double) - Method in class com.google.api.gax.retrying.RetrySettings.Builder
The RetryDelayMultiplier controls the change in retry delay.
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.
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.
submit(RetryingFuture<ResponseT>) - Method in class com.google.api.gax.retrying.DirectRetryingExecutor
Submits an attempt for execution in the current thread, causing the current thread to sleep for the specified by the RetryingFuture.getAttemptSettings() amount of time.
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.

T

ThresholdBatcher<E> - Class in com.google.api.gax.batching
Queues up elements until either a duration of time has passed or any threshold in a given set of thresholds is breached, and then delivers the elements in a batch to the consumer.
ThresholdBatcher.Builder<E> - Class in com.google.api.gax.batching
Builder for a ThresholdBatcher.
ThresholdBatchReceiver<BatchT> - Interface in com.google.api.gax.batching
Interface representing an object that receives batches from a ThresholdBatcher and takes action on them.
TimedAttemptSettings - Class in com.google.api.gax.retrying
Timed attempt execution settings.
TimedAttemptSettings(RetrySettings, Duration, Duration, Duration, int, long) - Constructor for class com.google.api.gax.retrying.TimedAttemptSettings
 
TimedRetryAlgorithm - Interface in com.google.api.gax.retrying
A timed retry algorithm is responsible for the following operations: Creating first attempt TimedAttemptSettings.
toBuilder() - Method in class com.google.api.gax.batching.BatchingSettings
Get a builder with the same values as this object.
toBuilder() - Method in class com.google.api.gax.batching.FlowControlSettings
 
toBuilder() - Method in class com.google.api.gax.core.GoogleCredentialsProvider
 
toBuilder() - Method in class com.google.api.gax.retrying.RetrySettings
 
toString() - Method in exception com.google.api.gax.batching.FlowController.MaxOutstandingElementCountReachedException
 
toString() - Method in exception com.google.api.gax.batching.FlowController.MaxOutstandingRequestBytesReachedException
 
toString() - Method in class com.google.api.gax.core.Distribution
 

V

validateBatch(T) - Method in class com.google.api.gax.batching.AccumulatingBatchReceiver
 
validateBatch(BatchT) - Method in interface com.google.api.gax.batching.ThresholdBatchReceiver
Validate that the batch can be received by this ThresholdBatchReceiver.
valueOf(String) - Static method in enum com.google.api.gax.batching.FlowController.LimitExceededBehavior
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.api.gax.batching.FlowController.LimitExceededBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P R S T V 
Skip navigation links