- 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
-
- ScheduledRetryingExecutor<ResponseT> - Class in com.google.api.gax.retrying
-
- 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
-
- 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.