- abortOn(Class<? extends Exception>...) - Method in class com.google.cloud.ExceptionHandler.Builder
-
Adds the exceptions to abort on.
- account() - Method in class com.google.cloud.AuthCredentials.AppEngineAuthCredentials
-
- account() - Method in class com.google.cloud.AuthCredentials.ServiceAccountAuthCredentials
-
- account() - Method in interface com.google.cloud.ServiceAccountSigner
-
Returns the service account associated with the signer.
- addIdentity(R, Identity, Identity...) - Method in class com.google.cloud.IamPolicy.Builder
-
Adds one or more identities to the policy under the role specified.
- afterEval(Exception, ExceptionHandler.Interceptor.RetryResult) - Method in interface com.google.cloud.ExceptionHandler.Interceptor
-
This method is called after the evaluation and could alter its result.
- allAuthenticatedUsers() - Static method in class com.google.cloud.Identity
-
Returns a new identity representing anyone who is authenticated with a Google account or a
service account.
- allUsers() - Static method in class com.google.cloud.Identity
-
Returns a new identity representing anyone who is on the internet; with or without a Google
account.
- appEngineAppId() - Static method in class com.google.cloud.ServiceOptions
-
- appEngineProjectId() - Static method in class com.google.cloud.ServiceOptions
-
- applicationName() - Method in class com.google.cloud.ServiceOptions
-
Returns the application's name as a string in the format gcloud-java/[version].
- AuthCredentials - Class in com.google.cloud
-
Credentials for accessing Google Cloud services.
- AuthCredentials() - Constructor for class com.google.cloud.AuthCredentials
-
- authCredentials() - Method in class com.google.cloud.ServiceOptions
-
Returns the authentication credentials.
- authCredentials(AuthCredentials) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the service authentication credentials.
- AuthCredentials.AppEngineAuthCredentials - Class in com.google.cloud
-
Represents built-in credentials when running in Google App Engine.
- AuthCredentials.AppEngineAuthCredentials() - Constructor for class com.google.cloud.AuthCredentials.AppEngineAuthCredentials
-
- AuthCredentials.ApplicationDefaultAuthCredentials - Class in com.google.cloud
-
Represents Application Default Credentials, which are credentials that are inferred from the
runtime environment.
- AuthCredentials.NoAuthCredentials - Class in com.google.cloud
-
A placeholder for credentials to signify that requests sent to the server should not be
authenticated.
- AuthCredentials.ServiceAccountAuthCredentials - Class in com.google.cloud
-
Represents service account credentials.
- capture() - Method in class com.google.cloud.AuthCredentials.AppEngineAuthCredentials
-
- capture() - Method in class com.google.cloud.AuthCredentials.ApplicationDefaultAuthCredentials
-
- capture() - Method in class com.google.cloud.AuthCredentials.NoAuthCredentials
-
- capture() - Method in class com.google.cloud.AuthCredentials.ServiceAccountAuthCredentials
-
- capture() - Method in class com.google.cloud.BaseWriteChannel
-
- capture() - Method in interface com.google.cloud.ReadChannel
-
Captures the read channel state so that it can be saved and restored afterwards.
- capture() - Method in interface com.google.cloud.Restorable
-
Captures the state of this object.
- capture() - Method in interface com.google.cloud.WriteChannel
-
Captures the write channel state so that it can be saved and restored afterwards.
- chunkSize(int) - Method in class com.google.cloud.BaseWriteChannel.BaseState.Builder
-
- chunkSize - Variable in class com.google.cloud.BaseWriteChannel.BaseState
-
- chunkSize() - Method in class com.google.cloud.BaseWriteChannel
-
- chunkSize(int) - Method in class com.google.cloud.BaseWriteChannel
-
- chunkSize(int) - Method in interface com.google.cloud.ReadChannel
-
Sets the minimum size that will be read by a single RPC.
- chunkSize(int) - Method in interface com.google.cloud.WriteChannel
-
Sets the minimum size that will be written by a single RPC.
- Clock - Class in com.google.cloud
-
A class providing access to the current time in milliseconds.
- Clock() - Constructor for class com.google.cloud.Clock
-
- clock(Clock) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the service's clock.
- clock() - Method in class com.google.cloud.ServiceOptions
-
Returns the service's clock.
- close() - Method in class com.google.cloud.BaseWriteChannel
-
- close() - Method in interface com.google.cloud.ReadChannel
-
Overridden to remove IOException.
- code() - Method in exception com.google.cloud.BaseServiceException
-
Returns the code associated with this exception.
- code() - Method in class com.google.cloud.BaseServiceException.Error
-
Returns the code associated with this exception.
- com.google.cloud - package com.google.cloud
-
Core classes for the gcloud-java library.
- com.google.cloud.spi - package com.google.cloud.spi
-
- completed() - Method in class com.google.cloud.BatchResult
-
Returns true if the batch has been completed and the result is available; false
otherwise.
- connectTimeout(int) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the timeout in milliseconds to establish a connection.
- connectTimeout() - Method in class com.google.cloud.ServiceOptions
-
Returns the timeout in milliseconds to establish a connection.
- create(ServiceOptionsT) - Method in interface com.google.cloud.ServiceFactory
-
- create() - Method in class com.google.cloud.ServiceOptions.DefaultHttpTransportFactory
-
- create() - Method in interface com.google.cloud.ServiceOptions.HttpTransportFactory
-
- create(OptionsT) - Method in interface com.google.cloud.spi.ServiceRpcFactory
-
- createApplicationDefaults() - Static method in class com.google.cloud.AuthCredentials
-
Returns the Application Default Credentials.
- createFor(String, PrivateKey) - Static method in class com.google.cloud.AuthCredentials
-
Creates Service Account Credentials given an account id and a private key.
- createForAppEngine() - Static method in class com.google.cloud.AuthCredentials
-
- createForJson(InputStream) - Static method in class com.google.cloud.AuthCredentials
-
Creates Service Account Credentials given a stream for credentials in JSON format.
- credentials() - Method in class com.google.cloud.AuthCredentials.AppEngineAuthCredentials
-
- credentials() - Method in class com.google.cloud.AuthCredentials.ApplicationDefaultAuthCredentials
-
- credentials() - Method in class com.google.cloud.AuthCredentials
-
- credentials() - Method in class com.google.cloud.AuthCredentials.NoAuthCredentials
-
- credentials() - Method in class com.google.cloud.AuthCredentials.ServiceAccountAuthCredentials
-
- ReadChannel - Interface in com.google.cloud
-
A channel for reading data from a Google Cloud object.
- readTimeout(int) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the timeout in milliseconds to read data from an established connection.
- readTimeout() - Method in class com.google.cloud.ServiceOptions
-
Returns the timeout in milliseconds to read from an established connection.
- reason() - Method in class com.google.cloud.BaseServiceException.Error
-
Returns the reason that caused the exception.
- reason() - Method in exception com.google.cloud.BaseServiceException
-
Returns the reason that caused the exception.
- rejected() - Method in class com.google.cloud.BaseServiceException.Error
-
Returns true if the error indicates that the API call was certainly not accepted by the
server.
- removeIdentity(R, Identity, Identity...) - Method in class com.google.cloud.IamPolicy.Builder
-
Removes one or more identities from an existing binding.
- removeRole(R) - Method in class com.google.cloud.IamPolicy.Builder
-
Removes the role (and all identities associated with that role) from the policy.
- Restorable<T extends Restorable<T>> - Interface in com.google.cloud
-
Implementation of this interface can persist their state and restore from it.
- RestorableState<T extends Restorable<T>> - Interface in com.google.cloud
-
A common interface for restorable states.
- restore(BaseWriteChannel.BaseState) - Method in class com.google.cloud.BaseWriteChannel
-
- restore() - Method in interface com.google.cloud.RestorableState
-
Returns an object whose internal state reflects the one saved in the invocation object.
- retriableExceptions() - Method in class com.google.cloud.ExceptionHandler
-
- retryable() - Method in exception com.google.cloud.BaseServiceException
-
Returns true when it is safe to retry the operation that caused this exception.
- retryableErrors() - Method in exception com.google.cloud.BaseServiceException
-
- retryDelayBackoffFactor(double) - Method in class com.google.cloud.RetryParams.Builder
-
Sets retryDelayBackoffFactor.
- retryDelayBackoffFactor() - Method in class com.google.cloud.RetryParams
-
Returns the maxRetryDelayBackoffFactor.
- RetryHelper<V> - Class in com.google.cloud
-
Utility class for retrying operations.
- RetryHelper.NonRetriableException - Exception in com.google.cloud
-
Thrown when RetryHelper callable has indicate it should not be retried.
- RetryHelper.RetriesExhaustedException - Exception in com.google.cloud
-
Thrown when a RetryHelper has attempted the maximum number of attempts allowed by RetryParams
and was not successful.
- RetryHelper.RetryHelperException - Exception in com.google.cloud
-
- RetryHelper.RetryInterruptedException - Exception in com.google.cloud
-
Thrown when a RetryHelper failed to complete its work due to interruption.
- retryMaxAttempts(int) - Method in class com.google.cloud.RetryParams.Builder
-
Sets retryMaxAttempts.
- retryMaxAttempts() - Method in class com.google.cloud.RetryParams
-
Returns the retryMaxAttempts.
- retryMinAttempts(int) - Method in class com.google.cloud.RetryParams.Builder
-
Sets retryMinAttempts.
- retryMinAttempts() - Method in class com.google.cloud.RetryParams
-
Returns the retryMinAttempts.
- retryOn(Class<? extends Exception>...) - Method in class com.google.cloud.ExceptionHandler.Builder
-
Add the exceptions to ignore/retry-on.
- RetryParams - Class in com.google.cloud
-
Parameters for configuring retries with an exponential backoff.
- retryParams(RetryParams) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets configuration parameters for request retries.
- retryParams() - Method in class com.google.cloud.ServiceOptions
-
Returns configuration parameters for request retries.
- RetryParams.Builder - Class in com.google.cloud
-
RetryParams builder.
- rpc() - Method in class com.google.cloud.ServiceOptions
-
- runWithRetries(Callable<V>) - Static method in class com.google.cloud.RetryHelper
-
- runWithRetries(Callable<V>, RetryParams, ExceptionHandler) - Static method in class com.google.cloud.RetryHelper
-
- runWithRetries(Callable<V>, RetryParams, ExceptionHandler, Clock) - Static method in class com.google.cloud.RetryHelper
-