- 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.
- addLabel(String, String) - Method in class com.google.cloud.MonitoredResource.Builder
-
Adds a label to the labels of the monitored resource.
- 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.
- apiCallSettings() - Method in class com.google.cloud.GrpcServiceOptions
-
Returns a builder for API call settings.
- 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]
.
- asInputStream() - Method in class com.google.cloud.ByteArray
-
- asReadOnlyByteBuffer() - Method in class com.google.cloud.ByteArray
-
Returns the content of this
ByteArray
as a read-only
ByteBuffer
.
- AsyncPage<T> - Interface in com.google.cloud
-
Interface for asynchronously consuming Google Cloud paginated results.
- AsyncPageImpl<T> - Class in com.google.cloud
-
Base implementation for asynchronously consuming Google Cloud paginated results.
- AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T>, String, Iterable<T>) - Constructor for class com.google.cloud.AsyncPageImpl
-
Creates an AsyncPageImpl
object.
- AsyncPageImpl.NextPageFetcher<T> - Interface in com.google.cloud
-
Interface for asynchronously fetching the next page of results from the service.
- 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.OAuth2AuthCredentials - Class in com.google.cloud
-
Represents OAuth2 credentials.
- 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.OAuth2AuthCredentials
-
- 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.
- checkEvery(long, TimeUnit) - Static method in class com.google.cloud.WaitForOption
-
Returns an option to set how frequently the resource status should be checked.
- 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.
- clearLabels() - Method in class com.google.cloud.MonitoredResource.Builder
-
Clears all the labels of the monitored resource.
- 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.
- connectionSettings() - Method in class com.google.cloud.GrpcServiceOptions
-
Returns a builder for connection-related settings.
- connectTimeout(int) - Method in class com.google.cloud.HttpServiceOptions.Builder
-
Sets the timeout in milliseconds to establish a connection.
- connectTimeout() - Method in class com.google.cloud.HttpServiceOptions
-
Returns the timeout in milliseconds to establish a connection.
- copyFrom(byte[]) - Static method in class com.google.cloud.ByteArray
-
Creates a ByteArray
object given an array of bytes.
- copyFrom(String) - Static method in class com.google.cloud.ByteArray
-
Creates a ByteArray
object given a string.
- copyFrom(ByteBuffer) - Static method in class com.google.cloud.ByteArray
-
- copyFrom(InputStream) - Static method in class com.google.cloud.ByteArray
-
- copyTo(ByteBuffer) - Method in class com.google.cloud.ByteArray
-
Copies the content of this ByteArray
into an existing ByteBuffer
.
- copyTo(byte[]) - Method in class com.google.cloud.ByteArray
-
Copies the content of this ByteArray
into an array of bytes.
- create() - Method in class com.google.cloud.HttpServiceOptions.DefaultHttpTransportFactory
-
- create() - Method in interface com.google.cloud.HttpServiceOptions.HttpTransportFactory
-
- create(ServiceOptionsT) - Method in interface com.google.cloud.ServiceFactory
-
- 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.
- createFor(String) - Static method in class com.google.cloud.AuthCredentials
-
Creates OAuth2 Credentials given the string representation of an access token.
- createFor(String, Date) - Static method in class com.google.cloud.AuthCredentials
-
Creates OAuth2 Credentials given the string representation of an access token and its
expiration time.
- 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.OAuth2AuthCredentials
-
- 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.HttpServiceOptions.Builder
-
Sets the timeout in milliseconds to read data from an established connection.
- readTimeout() - Method in class com.google.cloud.HttpServiceOptions
-
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.
- release(T) - Method in interface com.google.cloud.GrpcServiceOptions.ExecutorFactory
-
Releases resources used by the executor and possibly shuts it down.
- 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
-
- value() - Method in class com.google.cloud.Identity
-
Returns the string identifier for this identity.
- valueOf(String) - Static method in enum com.google.cloud.ExceptionHandler.Interceptor.RetryResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.Identity.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.Identity
-
Converts a string to an Identity
.
- valueOf(String) - Static method in enum com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.cloud.ExceptionHandler.Interceptor.RetryResult
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.Identity.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in interface com.google.cloud.Page
-
Returns the values contained in this page.
- values() - Method in class com.google.cloud.PageImpl
-
- valueType() - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
-
Returns the type of data that can be assigned to this label.
- version(Integer) - Method in class com.google.cloud.IamPolicy.Builder
-
Sets the version of the policy.
- version() - Method in class com.google.cloud.IamPolicy
-
Sets the version of the policy.