Package com.google.cloud.hadoop.gcsio
Class GoogleCloudStorageOptions
- java.lang.Object
-
- com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
public abstract class GoogleCloudStorageOptions extends Object
Configuration options for the GoogleCloudStorage class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGoogleCloudStorageOptions.BuilderMutable builder for theGoogleCloudStorageOptionsclass.static classGoogleCloudStorageOptions.MetricsSink
-
Field Summary
Fields Modifier and Type Field Description static GoogleCloudStorageOptionsDEFAULT
-
Constructor Summary
Constructors Constructor Description GoogleCloudStorageOptions()
-
Method Summary
-
-
-
Field Detail
-
DEFAULT
public static final GoogleCloudStorageOptions DEFAULT
-
-
Method Detail
-
builder
public static GoogleCloudStorageOptions.Builder builder()
-
toBuilder
public abstract GoogleCloudStorageOptions.Builder toBuilder()
-
isStorageClientCachingEnabled
public abstract boolean isStorageClientCachingEnabled()
-
isGrpcEnabled
public abstract boolean isGrpcEnabled()
-
isHnBucketRenameEnabled
public abstract boolean isHnBucketRenameEnabled()
-
isTrafficDirectorEnabled
public abstract boolean isTrafficDirectorEnabled()
-
isDirectPathPreferred
public abstract boolean isDirectPathPreferred()
-
getStorageRootUrl
public abstract String getStorageRootUrl()
-
getStorageServicePath
public abstract String getStorageServicePath()
-
isGrpcWriteEnabled
public abstract boolean isGrpcWriteEnabled()
-
getProjectId
@Nullable public abstract String getProjectId()
-
getAppName
@Nullable public abstract String getAppName()
-
isAutoRepairImplicitDirectoriesEnabled
public abstract boolean isAutoRepairImplicitDirectoriesEnabled()
-
getMaxWaitTimeForEmptyObjectCreation
public abstract Duration getMaxWaitTimeForEmptyObjectCreation()
-
getMaxListItemsPerCall
public abstract int getMaxListItemsPerCall()
-
getMaxRequestsPerBatch
public abstract int getMaxRequestsPerBatch()
-
getBatchThreads
public abstract int getBatchThreads()
-
getMaxHttpRequestRetries
public abstract int getMaxHttpRequestRetries()
-
getHttpRequestConnectTimeout
public abstract Duration getHttpRequestConnectTimeout()
-
getHttpRequestReadTimeout
public abstract Duration getHttpRequestReadTimeout()
-
getProxyAddress
@Nullable public abstract String getProxyAddress()
-
getProxyUsername
@Nullable public abstract RedactedString getProxyUsername()
-
getProxyPassword
@Nullable public abstract RedactedString getProxyPassword()
-
isCopyWithRewriteEnabled
public abstract boolean isCopyWithRewriteEnabled()
-
getMaxRewriteChunkSize
public abstract long getMaxRewriteChunkSize()
-
getReadChannelOptions
public abstract GoogleCloudStorageReadOptions getReadChannelOptions()
-
getWriteChannelOptions
public abstract AsyncWriteChannelOptions getWriteChannelOptions()
-
getRequesterPaysOptions
public abstract RequesterPaysOptions getRequesterPaysOptions()
-
getHttpRequestHeaders
public abstract com.google.common.collect.ImmutableMap<String,String> getHttpRequestHeaders()
-
getEncryptionAlgorithm
@Nullable public abstract String getEncryptionAlgorithm()
-
getEncryptionKey
@Nullable public abstract RedactedString getEncryptionKey()
-
getEncryptionKeyHash
@Nullable public abstract RedactedString getEncryptionKeyHash()
-
getGrpcMessageTimeoutCheckInterval
public abstract Duration getGrpcMessageTimeoutCheckInterval()
-
getMetricsSink
public abstract GoogleCloudStorageOptions.MetricsSink getMetricsSink()
-
isTraceLogEnabled
public abstract boolean isTraceLogEnabled()
-
isOperationTraceLogEnabled
public abstract boolean isOperationTraceLogEnabled()
-
isMoveOperationEnabled
public abstract boolean isMoveOperationEnabled()
-
isHnOptimizationEnabled
public abstract boolean isHnOptimizationEnabled()
-
toRetryHttpInitializerOptions
public RetryHttpInitializerOptions toRetryHttpInitializerOptions()
-
throwIfNotValid
public void throwIfNotValid()
-
-