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

A

AbstractGoogleAsyncWriteChannel<T extends com.google.api.client.googleapis.services.AbstractGoogleClientRequest<S>,S> - Class in com.google.cloud.hadoop.util
 
AbstractGoogleAsyncWriteChannel(ExecutorService, AsyncWriteChannelOptions) - Constructor for class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Construct a new channel using the given ExecutorService to run background uploads.
ACCESS_NOT_CONFIGURED_REASON_CODE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
accessDenied(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates 'access denied'.
accessDeniedNonRecoverable(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if the exception is a non-recoverable access denied code (such as account closed or marked for deletion).
accessDeniedNonRecoverable(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if a given GoogleJsonError is caused by, and only by, account disabled error.
ACCOUNT_DISABLED_REASON_CODE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
ApiErrorExtractor - Class in com.google.cloud.hadoop.util
Translates exceptions from API calls into higher-level meaning, while allowing injectability for testing how API errors are handled.
ApiErrorExtractor() - Constructor for class com.google.cloud.hadoop.util.ApiErrorExtractor
Deprecated.
apply(Exception) - Method in class com.google.cloud.hadoop.util.ExceptionToIoExceptionFunction
 
AsyncWriteChannelOptions - Class in com.google.cloud.hadoop.util
AsyncWriteChannelOptions() - Constructor for class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
 
AsyncWriteChannelOptions.Builder - Class in com.google.cloud.hadoop.util
Mutable builder for the GoogleCloudStorageWriteChannelOptions class.

B

BASE_KEY_PREFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
All instances constructed using the builder will use "google.cloud" as the first prefix checked.
beginBuild() - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
Return an instance of the concrete type specified as the second template argument of this builder, optionally performing any type-specific initialization before this builder finishes off the rest of the build() method using methods defined within the EntriesCredentialConfiguration base class.
beginBuild() - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.EntriesBuilder
 
BUFFER_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Default upload buffer size.
build() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
 
build() - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
Return the fully-assembled concrete object for which this is a builder.
build() - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions.Builder
 
builder() - Static method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
 
Builder() - Constructor for class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
 
Builder() - Constructor for class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
 
builder() - Static method in class com.google.cloud.hadoop.util.RequesterPaysOptions
 
Builder() - Constructor for class com.google.cloud.hadoop.util.RequesterPaysOptions.Builder
 

C

call() - Method in interface com.google.cloud.hadoop.util.ResilientOperation.CheckedCallable
 
ChainingHttpRequestInitializer - Class in com.google.cloud.hadoop.util
HttpRequestInitializer that composes handlers and interceptors supplied by component handlers.
ChainingHttpRequestInitializer(HttpRequestInitializer...) - Constructor for class com.google.cloud.hadoop.util.ChainingHttpRequestInitializer
 
CLIENT_ID_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
For OAuth-based Installed App authentication, the key suffix specifying the client ID for the credentials.
CLIENT_SECRET_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
For OAuth-based Installed App authentication, the key suffix specifying the client secret for the credentials.
ClientRequestHelper<S> - Class in com.google.cloud.hadoop.util
ClientRequestHelper provides wrapper methods around final methods of AbstractGoogleClientRequest to allow overriding them if necessary.
ClientRequestHelper() - Constructor for class com.google.cloud.hadoop.util.ClientRequestHelper
 
close() - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Closes this channel.
com.google.cloud.hadoop.util - package com.google.cloud.hadoop.util
 
ComputeCredentialWithRetry(ComputeCredential.Builder) - Constructor for class com.google.cloud.hadoop.util.CredentialFactory.ComputeCredentialWithRetry
 
createApacheHttpTransport(HttpHost) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
createApacheHttpTransport(URI, Credentials) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
Create an ApacheHttpTransport for calling Google APIs with an optional HTTP proxy.
createHttpTransport(HttpTransportFactory.HttpTransportType, String) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
Create an HttpTransport based on an type class and an optional HTTP proxy.
createHttpTransport(HttpTransportFactory.HttpTransportType, String, String, String) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
Create an HttpTransport based on an type class and an optional HTTP proxy.
createNetHttpTransport(Proxy) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
createNetHttpTransport(URI, PasswordAuthentication) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
Create an NetHttpTransport for calling Google APIs with an optional HTTP proxy.
createRateLimitedRetryDeterminer(ApiErrorExtractor) - Static method in class com.google.cloud.hadoop.util.RetryDeterminer
A RetryDeterminer that retries on rate limited errors as determined by the provided ApiErrorExtractor.
createRequest(InputStreamContent) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Create an API request to upload the given InputStreamContent.
createResponseFromException(IOException) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Derived classes may optionally intercept an IOException thrown from the execute() method of a prepared request that came from AbstractGoogleAsyncWriteChannel.createRequest(com.google.api.client.http.InputStreamContent), and return a reconstituted "response" object if the IOException can be handled as a success; for example, if the caller already has an identifier for an object, and the response is used solely for obtaining the same identifier, and the IOException is a handled "409 Already Exists" type of exception, then the derived class may override this method to return the expected "identifier" response.
CredentialConfiguration - Class in com.google.cloud.hadoop.util
Configuration for how components should obtain Credentials.
CredentialConfiguration() - Constructor for class com.google.cloud.hadoop.util.CredentialConfiguration
 
CredentialFactory - Class in com.google.cloud.hadoop.util
Miscellaneous helper methods for getting a Credential from various sources.
CredentialFactory() - Constructor for class com.google.cloud.hadoop.util.CredentialFactory
 
CredentialFactory.ComputeCredentialWithRetry - Class in com.google.cloud.hadoop.util
A subclass of ComputeCredential that properly sets request initializers.
CredentialFactory.CredentialHttpRetryInitializer - Class in com.google.cloud.hadoop.util
Simple HttpRequestInitializer that retries requests that result in 5XX response codes and IO Exceptions with an exponential backoff.
CredentialFactory.GoogleCredentialWithRetry - Class in com.google.cloud.hadoop.util
A subclass of GoogleCredential that properly wires specified HttpRequestInitializer through the @{link Credential#executeRefreshToken} override.
CredentialHttpRetryInitializer() - Constructor for class com.google.cloud.hadoop.util.CredentialFactory.CredentialHttpRetryInitializer
 

D

DATASTORE_SCOPES - Static variable in class com.google.cloud.hadoop.util.CredentialFactory
 
DEFAULT - Static variable in class com.google.cloud.hadoop.util.RequesterPaysOptions
 
DEFAULT - Static variable in class com.google.cloud.hadoop.util.RetryDeterminer
Retries when either SOCKET_ERRORS or SERVER_ERRORS would retry.
DEFAULT_TRANSPORT_TYPE - Static variable in class com.google.cloud.hadoop.util.HttpTransportFactory
 
DIRECT_UPLOAD_ENABLED_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Default of whether to use direct upload.

E

ENABLE_NULL_CREDENTIAL_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
For unit-testing, the key suffix allowing null to be returned from credential creation instead of logging an error and aborting.
ENABLE_SERVICE_ACCOUNTS_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Key suffix used to disable service accounts.
enableFileSizeLimit250Gb(boolean) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Enables or disables hard limit of 250GB on size of uploaded files.
EntriesBuilder() - Constructor for class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.EntriesBuilder
 
EntriesCredentialConfiguration - Class in com.google.cloud.hadoop.util
CredentialConfiguration based on configuration objects that implement our Entries interface.
EntriesCredentialConfiguration(List<String>) - Constructor for class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
 
EntriesCredentialConfiguration.Builder<B extends EntriesCredentialConfiguration.Builder<B,T>,T extends EntriesCredentialConfiguration> - Class in com.google.cloud.hadoop.util
Builder for constructing CredentialConfiguration instances.
EntriesCredentialConfiguration.Entries - Interface in com.google.cloud.hadoop.util
The interface to interact with the configuration object.
EntriesCredentialConfiguration.EntriesBuilder - Class in com.google.cloud.hadoop.util
A builder for use without a subclasses of EntriesCredentialConfiguration.
ExceptionToIoExceptionFunction - Class in com.google.cloud.hadoop.util
Converter function from Exception to IOException.
executeRefreshToken() - Method in class com.google.cloud.hadoop.util.CredentialFactory.ComputeCredentialWithRetry
 
executeRefreshToken() - Method in class com.google.cloud.hadoop.util.CredentialFactory.GoogleCredentialWithRetry
 

F

FIELD_SIZE_TOO_LARGE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
fieldSizeTooLarge(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given GoogleJsonError indicates 'field size too large'.
fieldSizeTooLarge(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates 'field size too large'.
fromGoogleCredential(GoogleCredential) - Static method in class com.google.cloud.hadoop.util.CredentialFactory.GoogleCredentialWithRetry
Create a new GoogleCredentialWithRetry from a GoogleCredential.

G

GCS_SCOPES - Static variable in class com.google.cloud.hadoop.util.CredentialFactory
 
GCS_UPLOAD_GRANULARITY - Static variable in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
 
get(String) - Method in interface com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Entries
Returns the value of an entry.
getApplicationDefaultCredentials(List<String>, HttpTransport) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Get Google Application Default Credentials as described in Google Application Default Credentials
getBuckets() - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions
 
getBufferSize() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
 
getClientId() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getClientSecret() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getConfigurationInto(EntriesCredentialConfiguration.Entries) - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Gets our parameters and fills it into the specified configuration.
getCredential(List<String>) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
Get the credential as configured.
getCredentialFromFileCredentialStoreForInstalledApp(String, String, String, List<String>, HttpTransport) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Initialized OAuth2 credential for the "installed application" flow; where the credential typically represents an actual end user (instead of a service account), and is stored as a refresh token in a local FileCredentialStore.
getCredentialFromFileCredentialStoreForInstalledApp(String, String, String, List<String>) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Deprecated.
Caller should provide HttpTransport
getCredentialFromJsonKeyFile(String, List<String>, HttpTransport) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Get credentials listed in a JSON file.
getCredentialFromJsonKeyFile(String, List<String>) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Deprecated.
Caller should provide HttpTransport
getCredentialFromMetadataServiceAccount() - Method in class com.google.cloud.hadoop.util.CredentialFactory
Initializes OAuth2 credential using preconfigured ServiceAccount settings on the local GCE VM.
getCredentialFromPrivateKeyServiceAccount(String, String, List<String>, HttpTransport) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Initializes OAuth2 credential from a private keyfile, as described in OAuth2 Service Accounts.
getCredentialFromPrivateKeyServiceAccount(String, String, List<String>) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Deprecated.
Caller should provide HttpTransport
getCredentialsFromSAParameters(String, String, String, List<String>, HttpTransport) - Method in class com.google.cloud.hadoop.util.CredentialFactory
 
getDatastoreCredential(String, String) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Deprecated.
getDebugInfo(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
getDetails(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
If the exception is a GoogleJsonResponseException, get the error details, else return null.
getErrorInfo(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Get the first ErrorInfo from an IOException if it is an instance of GoogleJsonResponseException, otherwise return null.
getErrorInfo(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Get the first ErrorInfo from a GoogleJsonError, or null if there is not one.
getErrorMessage(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Extracts the error message.
getGoogleRequestCallable(AbstractGoogleClientRequest<V>) - Static method in class com.google.cloud.hadoop.util.ResilientOperation
Returns a ResilientOperation.CheckedCallable that encompasses a AbstractGoogleClientRequest and can be used to retry the execution for an AbstractGoogleClientRequest.
getHttpStatusCode(GoogleJsonResponseException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Returns HTTP status code from the given exception.
getJsonResponseExceptionOrNull(Throwable) - Static method in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
getMode() - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions
 
getOAuthCredentialFile() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getPassword(String) - Method in interface com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Entries
Return the vale of an entry
getPipeBufferSize() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
 
getProjectId() - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions
 
getPropertyOrDefault(Class<?>, String, String, String) - Static method in class com.google.cloud.hadoop.util.PropertyUtil
Get the value of a property or a default value if there's an error retrieving the property key.
getProxyAddress() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getProxyPassword() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getProxyUsername() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getRequestHeaders(AbstractGoogleClientRequest<S>) - Method in class com.google.cloud.hadoop.util.ClientRequestHelper
Wraps AbstractGoogleClientRequest.getRequestHeaders().
getServiceAccountEmail() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getServiceAccountJsonKeyFile() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getServiceAccountKeyFile() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getServiceAccountPrivateKey() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getServiceAccountPrivateKeyId() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getStorageCredential(String, String) - Method in class com.google.cloud.hadoop.util.CredentialFactory
Deprecated.
getTransportType() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
getTransportTypeOf(String) - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
Deprecated.
getUploadBufferSize() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Deprecated.
getUploadChunkSize() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
 
GLOBAL_DOMAIN - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
GoogleCredentialWithRetry(GoogleCredential.Builder) - Constructor for class com.google.cloud.hadoop.util.CredentialFactory.GoogleCredentialWithRetry
 

H

handleResponse(S) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Handle the API response.
HTTP_TRANSPORT_DEFAULT - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Default to the default specified in HttpTransportFactory.
HTTP_TRANSPORT_KEY - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Configuration key for the name of HttpTransport class to use for connecting to GCS.
HttpTransportFactory - Class in com.google.cloud.hadoop.util
Factory for creating HttpTransport types.
HttpTransportFactory() - Constructor for class com.google.cloud.hadoop.util.HttpTransportFactory
 
HttpTransportFactory.HttpTransportType - Enum in com.google.cloud.hadoop.util
Types of HttpTransports the factory can create.

I

initialize() - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Initialize this channel object for writing.
initialize(HttpRequest) - Method in class com.google.cloud.hadoop.util.ChainingHttpRequestInitializer
 
initialize(HttpRequest) - Method in class com.google.cloud.hadoop.util.CredentialFactory.CredentialHttpRetryInitializer
 
initialize(HttpRequest) - Method in class com.google.cloud.hadoop.util.RetryHttpInitializer
 
INSTANCE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
Singleton instance of the ApiErrorExtractor.
INSTANCE - Static variable in class com.google.cloud.hadoop.util.ExceptionToIoExceptionFunction
 
ioError(Throwable) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if a given Throwable is caused by an IO error.
isClientError(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the exception is a client error.
isDirectUploadEnabled() - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Returns true if direct media uploads are enabled.
isDirectUploadEnabled() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
 
isFileSizeLimitedTo250Gb() - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Deprecated.
fileSizeLimitedTo250Gb now defaults to false. It is deprecated and will soon be removed. Files greater than 250Gb are allowed by default.
isInternalServerError(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the exception is an internal server error.
isNullCredentialEnabled() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
isOpen() - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Tells whether this channel is open.
isServiceAccountEnabled() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
itemAlreadyExists(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates 'item already exists'.
itemNotFound(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given GoogleJsonError indicates 'item not found'.
itemNotFound(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates 'item not found'.

J

JSON_KEYFILE_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Key suffix used to indicate the path to a JSON file containing a Service Account key and identifier (email).

L

LIMIT_FILESIZE_TO_250GB_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Deprecated.
LoggingMediaHttpUploaderProgressListener - Class in com.google.cloud.hadoop.util
Logs the status of uploads.
LoggingMediaHttpUploaderProgressListener(String, long) - Constructor for class com.google.cloud.hadoop.util.LoggingMediaHttpUploaderProgressListener
Creates a upload progress listener that emits relevant statistics about the progress of the upload.

N

newBuilder() - Static method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
newEntriesBuilder() - Static method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Create a builder for this class.
newTrustedTransport() - Static method in class com.google.cloud.hadoop.util.HttpTransportFactory
Convenience method equivalent to com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport().
nextBackOffMillis() - Method in class com.google.cloud.hadoop.util.RetryBoundedBackOff
 

O

OAUTH_CLIENT_FILE_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
For OAuth-based Installed App authentication, the key suffix specifying the file containing credentials (JWT).

P

PIPE_BUFFER_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Default pipe buffer size.
preconditionNotMet(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given GoogleJsonError indicates 'precondition not met'
preconditionNotMet(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if the given IOException indicates 'precondition not met' Recursively checks getCause() if outer exception isn't an instance of the correct class.
prefixes - Variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
 
progressChanged(MediaHttpUploader) - Method in class com.google.cloud.hadoop.util.LoggingMediaHttpUploaderProgressListener
 
PropertyUtil - Class in com.google.cloud.hadoop.util
Helpers for interacting with properties files
PropertyUtil() - Constructor for class com.google.cloud.hadoop.util.PropertyUtil
 
PROXY_ADDRESS_DEFAULT - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Default to no proxy.
PROXY_ADDRESS_KEY - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Configuration key for setting a proxy for the connector to use to connect to GCS.
PROXY_PASSWORD_DEFAULT - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Default to no password.
PROXY_PASSWORD_KEY - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Configuration key for setting a proxy password for the connector to use to authenticate with proxy used to connect to GCS.
PROXY_USERNAME_DEFAULT - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Default to no username.
PROXY_USERNAME_KEY - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Configuration key for setting a proxy username for the connector to use to authenticate with proxy used to connect to GCS.

R

rangeNotSatisfiable(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates 'range not satisfiable'.
RATE_LIMIT_ERRORS - Static variable in class com.google.cloud.hadoop.util.RetryDeterminer
A rate limited determiner that uses a generic ApiErrorExtractor.
RATE_LIMITED_REASON_CODE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
rateLimited(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if a given GoogleJsonError is caused by, and only by, a rate limit being applied.
rateLimited(Throwable) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if a given Throwable is caused by a rate limit being applied.
readTimedOut(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
True if the exception is a "read timed out".
recursiveCheckForCode(Throwable, int) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Recursively checks getCause() if outer exception isn't an instance of the correct class.
REQUESTER_PAYS_BUCKETS_DEFAULT - Static variable in class com.google.cloud.hadoop.util.RequesterPaysOptions
REQUESTER_PAYS_MODE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.RequesterPaysOptions
RequesterPaysOptions - Class in com.google.cloud.hadoop.util
Options for the GCS Requester Pays feature.
RequesterPaysOptions() - Constructor for class com.google.cloud.hadoop.util.RequesterPaysOptions
 
RequesterPaysOptions.Builder - Class in com.google.cloud.hadoop.util
RequesterPaysOptions.RequesterPaysMode - Enum in com.google.cloud.hadoop.util
Operational modes of GCS Requester Pays feature.
reset() - Method in class com.google.cloud.hadoop.util.RetryBoundedBackOff
 
ResilientOperation - Class in com.google.cloud.hadoop.util
A class which defines static functions to be called to make a user-provided function more resilient by attempting retries.
ResilientOperation() - Constructor for class com.google.cloud.hadoop.util.ResilientOperation
 
ResilientOperation.CheckedCallable<T,X extends java.lang.Exception> - Interface in com.google.cloud.hadoop.util
Interface that allows a call that can throw an exception X.
RESOURCE_NOT_READY_REASON_CODE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
resourceNotReady(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given GoogleJsonError indicates 'resource not ready'.
resourceNotReady(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates 'resource not ready'.
retry(ResilientOperation.CheckedCallable<T, X>, BackOff, RetryDeterminer<? super X>, Class<X>, Sleeper) - Static method in class com.google.cloud.hadoop.util.ResilientOperation
Retries the given executable function in the case of transient errors defined by the RetryDeterminer.
retry(ResilientOperation.CheckedCallable<T, X>, BackOff, RetryDeterminer<? super X>, Class<X>) - Static method in class com.google.cloud.hadoop.util.ResilientOperation
Retries the given executable function in the case of transient errors defined by the RetryDeterminer and uses default sleeper.
RetryBoundedBackOff - Class in com.google.cloud.hadoop.util
An implementation of BackOff that limits the number of calls on another BackOff.
RetryBoundedBackOff(int, BackOff) - Constructor for class com.google.cloud.hadoop.util.RetryBoundedBackOff
RetryBoundedBackOff takes a BackOff and limits the retries.
RetryDeterminer<X extends java.lang.Exception> - Class in com.google.cloud.hadoop.util
This abstract class is designed to tell if an exception is transient and should result in a retry or not, and should result in a returned exception to the caller.
RetryDeterminer() - Constructor for class com.google.cloud.hadoop.util.RetryDeterminer
 
RetryHttpInitializer - Class in com.google.cloud.hadoop.util
 
RetryHttpInitializer(Credential, String, int, int, int) - Constructor for class com.google.cloud.hadoop.util.RetryHttpInitializer
 
RetryHttpInitializer(Credential, String) - Constructor for class com.google.cloud.hadoop.util.RetryHttpInitializer

S

self() - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
Return "this" of the appropriate Builder type.
self() - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.EntriesBuilder
 
SERVER_ERRORS - Static variable in class com.google.cloud.hadoop.util.RetryDeterminer
Server errors RetryDeterminer decides to retry on HttpResponseExceptions that return a 500.
SERVICE_ACCOUNT_EMAIL_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Key suffix used to control which email address is associated with the service account.
SERVICE_ACCOUNT_KEYFILE_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Key suffix used to indicate the path to the service account p12 keyfile.
SERVICE_ACCOUNT_PRIVATE_KEY_ID_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Key suffix used to specify private key id for the service account.
SERVICE_ACCOUNT_PRIVATE_KEY_SUFFIX - Static variable in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Key suffix used to specify private key for the service account.
set(String, String) - Method in interface com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Entries
Sets the value of an entry.
setBoolean(String, boolean) - Method in interface com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Entries
Sets the value of an entry to a boolean value.
setBuckets(Collection<String>) - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions.Builder
 
setBuckets(String...) - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions.Builder
 
setBufferSize(int) - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
 
setChunkSize(AbstractGoogleClientRequest<S>, int) - Method in class com.google.cloud.hadoop.util.ClientRequestHelper
Wraps AbstractGoogleClientRequest.getMediaHttpUploader().
setClientId(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setClientRequestHelper(ClientRequestHelper<S>) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Sets the ClientRequestHelper to be used instead of calling final methods in client requests.
setClientSecret(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setConfiguration(EntriesCredentialConfiguration.Entries) - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration
Load configuration values from the provided configuration source.
setContentType(String) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Sets the contentType.
setDirectUploadEnabled(boolean) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Enables or disables direct uploads.
setDirectUploadEnabled(boolean) - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
 
setDirectUploadEnabled(AbstractGoogleClientRequest<S>, boolean) - Method in class com.google.cloud.hadoop.util.ClientRequestHelper
Configures the clientRequest to enable/disable direct (single-request) uploads according to enable.
setEnableServiceAccounts(boolean) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setFileSizeLimitedTo250Gb(boolean) - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
Deprecated.
setMode(RequesterPaysOptions.RequesterPaysMode) - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions.Builder
 
setNullCredentialEnabled(boolean) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setOAuthCredentialFile(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setPipeBufferSize(int) - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
 
setProjectId(String) - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions.Builder
 
setProxyAddress(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setProxyPassword(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setProxyUsername(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setServiceAccountEmail(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setServiceAccountJsonKeyFile(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setServiceAccountKeyFile(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setServiceAccountPrivateKey(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setServiceAccountPrivateKeyId(String) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setTransportType(HttpTransportFactory.HttpTransportType) - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
setUploadBufferSize(int) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Deprecated.
setUploadBufferSize(int) - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
Deprecated.
setUploadChunkSize(int) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Sets size of upload buffer used.
setUploadChunkSize(int) - Method in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions.Builder
 
shouldRetry(X) - Method in class com.google.cloud.hadoop.util.RetryDeterminer
Determines if we should attempt a retry depending on the caught exception.
shouldUseMetadataService() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
SOCKET_ERRORS - Static variable in class com.google.cloud.hadoop.util.RetryDeterminer
Socket errors retry determiner retries on socket exceptions.
socketError(Throwable) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if a given Throwable is caused by a socket error.
STATUS_CODE_CONFLICT - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
STATUS_CODE_PRECONDITION_FAILED - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
STATUS_CODE_RANGE_NOT_SATISFIABLE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
STATUS_CODE_TOO_MANY_REQUESTS - Static variable in class com.google.cloud.hadoop.util.RetryHttpInitializer
HTTP status code indicating too many requests in a given amount of time.

T

toBuilder() - Method in class com.google.cloud.hadoop.util.RequesterPaysOptions
 
toString() - Method in class com.google.cloud.hadoop.util.CredentialConfiguration
 
toUserPresentableException(IOException, String) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Converts the exception to a user-presentable error message.
toUserPresentableMessage(IOException, String) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Converts the exception to a user-presentable error message.
toUserPresentableMessage(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
 

U

unauthorized(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determine if the given exception indicates the request was unauthenticated.
UPLOAD_BUFFER_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Deprecated.
UPLOAD_CHUNK_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
 
UPLOAD_CHUNK_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AsyncWriteChannelOptions
Default upload chunk size.
UPLOAD_PIPE_BUFFER_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Deprecated.
USAGE_LIMITS_DOMAIN - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
USER_PROJECT_MISSING - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
USER_RATE_LIMITED_REASON_CODE - Static variable in class com.google.cloud.hadoop.util.ApiErrorExtractor
 
userProjectMissing(GoogleJsonError) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given GoogleJsonError indicates that 'userProject' is missing in request
userProjectMissing(IOException) - Method in class com.google.cloud.hadoop.util.ApiErrorExtractor
Determines if the given exception indicates that 'userProject' is missing in request.

V

valueOf(String) - Static method in enum com.google.cloud.hadoop.util.HttpTransportFactory.HttpTransportType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.hadoop.util.RequesterPaysOptions.RequesterPaysMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.hadoop.util.HttpTransportFactory.HttpTransportType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.hadoop.util.RequesterPaysOptions.RequesterPaysMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withConfiguration(EntriesCredentialConfiguration.Entries) - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
 
withOverridePrefix(String) - Method in class com.google.cloud.hadoop.util.EntriesCredentialConfiguration.Builder
 
write(ByteBuffer) - Method in class com.google.cloud.hadoop.util.AbstractGoogleAsyncWriteChannel
Writes contents of the given buffer to this channel.
A B C D E F G H I J L N O P R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.