public abstract class GoogleCloudStorageOptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleCloudStorageOptions.Builder
Mutable builder for the
GoogleCloudStorageOptions class. |
| Modifier and Type | Field and Description |
|---|---|
static AsyncWriteChannelOptions |
ASYNC_WRITE_CHANNEL_OPTIONS_DEFAULT
Default setting for async write channel.
|
static boolean |
AUTO_REPAIR_IMPLICIT_DIRECTORIES_DEFAULT
Default setting for enabling auto-repair of implicit directories.
|
static int |
BATCH_THREADS_DEFAULT
Default setting for number of threads to execute GCS batch requests.
|
static int |
COPY_BATCH_THREADS_DEFAULT
Default setting for number of threads to execute GCS batch requests for copy operations.
|
static long |
COPY_MAX_REQUESTS_PER_BATCH_DEFAULT
Default setting for maximum number of requests per GCS batch for copy operations.
|
static boolean |
COPY_WITH_REWRITE_DEFAULT
Default setting for whether or not to use rewrite request for copy operation.
|
static boolean |
CREATE_EMPTY_MARKER_OBJECT_DEFAULT
Default setting for whether or not to create a marker file when beginning file creation.
|
static int |
HTTP_REQUEST_CONNECT_TIMEOUT
Default setting for connect timeout (in millisecond) of GCS HTTP request.
|
static int |
HTTP_REQUEST_READ_TIMEOUT
Default setting for read timeout (in millisecond) of GCS HTTP request.
|
static boolean |
INFER_IMPLICIT_DIRECTORIES_DEFAULT
Default setting for enabling inferring of implicit directories.
|
static int |
MAX_BYTES_REWRITTEN_PER_CALL_DEFAULT
Default setting for max number of bytes rewritten per rewrite request/call.
|
static int |
MAX_HTTP_REQUEST_RETRIES
Default setting for maximum number of GCS HTTP request retires.
|
static long |
MAX_LIST_ITEMS_PER_CALL_DEFAULT
Default number of items to return per call to the list* GCS RPCs.
|
static long |
MAX_REQUESTS_PER_BATCH_DEFAULT
Default setting for maximum number of requests per GCS batch.
|
static int |
MAX_WAIT_MILLIS_FOR_EMPTY_OBJECT_CREATION
Default setting for the length of time to wait for empty objects to appear if we believe we are
in a race with multiple workers.
|
static GoogleCloudStorageReadOptions |
READ_CHANNEL_OPTIONS_DEFAULT
Default setting for read write channel.
|
static RequesterPaysOptions |
REQUESTER_PAYS_OPTIONS_DEFAULT
Default setting for requester pays feature.
|
| Constructor and Description |
|---|
GoogleCloudStorageOptions() |
public static final boolean AUTO_REPAIR_IMPLICIT_DIRECTORIES_DEFAULT
public static final boolean INFER_IMPLICIT_DIRECTORIES_DEFAULT
public static final boolean CREATE_EMPTY_MARKER_OBJECT_DEFAULT
public static final int MAX_WAIT_MILLIS_FOR_EMPTY_OBJECT_CREATION
public static final long MAX_LIST_ITEMS_PER_CALL_DEFAULT
public static final long MAX_REQUESTS_PER_BATCH_DEFAULT
public static final int BATCH_THREADS_DEFAULT
public static final int MAX_HTTP_REQUEST_RETRIES
public static final int HTTP_REQUEST_CONNECT_TIMEOUT
public static final int HTTP_REQUEST_READ_TIMEOUT
public static final boolean COPY_WITH_REWRITE_DEFAULT
public static final int MAX_BYTES_REWRITTEN_PER_CALL_DEFAULT
public static final long COPY_MAX_REQUESTS_PER_BATCH_DEFAULT
public static final int COPY_BATCH_THREADS_DEFAULT
public static final GoogleCloudStorageReadOptions READ_CHANNEL_OPTIONS_DEFAULT
public static final AsyncWriteChannelOptions ASYNC_WRITE_CHANNEL_OPTIONS_DEFAULT
public static final RequesterPaysOptions REQUESTER_PAYS_OPTIONS_DEFAULT
public static GoogleCloudStorageOptions.Builder newBuilder()
@Nullable public abstract java.lang.String getProjectId()
@Nullable public abstract java.lang.String getAppName()
public abstract boolean isAutoRepairImplicitDirectoriesEnabled()
public abstract boolean isInferImplicitDirectoriesEnabled()
public abstract boolean isMarkerFileCreationEnabled()
public abstract int getMaxWaitMillisForEmptyObjectCreation()
public abstract long getMaxListItemsPerCall()
public abstract long getMaxRequestsPerBatch()
public abstract int getBatchThreads()
public abstract long getCopyMaxRequestsPerBatch()
public abstract int getCopyBatchThreads()
public abstract int getMaxHttpRequestRetries()
public abstract int getHttpRequestConnectTimeout()
public abstract int getHttpRequestReadTimeout()
public abstract HttpTransportFactory.HttpTransportType getTransportType()
@Nullable public abstract java.lang.String getProxyAddress()
@Nullable public abstract java.lang.String getProxyUsername()
@Nullable public abstract java.lang.String getProxyPassword()
public abstract boolean isCopyWithRewriteEnabled()
public abstract long getMaxBytesRewrittenPerCall()
public abstract GoogleCloudStorageReadOptions getReadChannelOptions()
public abstract AsyncWriteChannelOptions getWriteChannelOptions()
public abstract RequesterPaysOptions getRequesterPaysOptions()
public abstract GoogleCloudStorageOptions.Builder toBuilder()
public void throwIfNotValid()
Copyright © 2019. All rights reserved.