public class GoogleCloudStorageOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleCloudStorageOptions.Builder
Mutable builder for the GoogleCloudStorageOptions class.
|
| Modifier and Type | Field and Description |
|---|---|
static boolean |
AUTO_REPAIR_IMPLICIT_DIRECTORIES_DEFAULT
Default setting for enabling auto-repair of implicit directories.
|
static boolean |
CREATE_EMPTY_MARKER_OBJECT_DEFAULT
Default setting for whether or not to create a marker file when beginning file creation.
|
static boolean |
INFER_IMPLICIT_DIRECTORIES_DEFAULT
Default setting for enabling inferring of implicit directories.
|
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.
|
| Constructor and Description |
|---|
GoogleCloudStorageOptions(boolean autoRepairImplicitDirectoriesEnabled,
boolean inferImplicitDirectoriesEnabled,
String projectId,
String appName,
long maxListItemsPerCall,
long maxRequestsPerBatch,
boolean createMarkerFile,
HttpTransportFactory.HttpTransportType transportType,
String proxyAddress,
AsyncWriteChannelOptions writeChannelOptions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
long |
getMaxListItemsPerCall() |
long |
getMaxRequestsPerBatch() |
String |
getProjectId() |
String |
getProxyAddress() |
HttpTransportFactory.HttpTransportType |
getTransportType() |
AsyncWriteChannelOptions |
getWriteChannelOptions() |
boolean |
isAutoRepairImplicitDirectoriesEnabled() |
boolean |
isInferImplicitDirectoriesEnabled() |
boolean |
isMarkerFileCreationEnabled() |
static GoogleCloudStorageOptions.Builder |
newBuilder() |
void |
throwIfNotValid() |
public static final long MAX_LIST_ITEMS_PER_CALL_DEFAULT
public static final boolean AUTO_REPAIR_IMPLICIT_DIRECTORIES_DEFAULT
public static final boolean INFER_IMPLICIT_DIRECTORIES_DEFAULT
public static final long MAX_REQUESTS_PER_BATCH_DEFAULT
public static final boolean CREATE_EMPTY_MARKER_OBJECT_DEFAULT
public GoogleCloudStorageOptions(boolean autoRepairImplicitDirectoriesEnabled,
boolean inferImplicitDirectoriesEnabled,
String projectId,
String appName,
long maxListItemsPerCall,
long maxRequestsPerBatch,
boolean createMarkerFile,
HttpTransportFactory.HttpTransportType transportType,
String proxyAddress,
AsyncWriteChannelOptions writeChannelOptions)
public static GoogleCloudStorageOptions.Builder newBuilder()
public boolean isAutoRepairImplicitDirectoriesEnabled()
public boolean isInferImplicitDirectoriesEnabled()
public String getProjectId()
public String getAppName()
public HttpTransportFactory.HttpTransportType getTransportType()
public String getProxyAddress()
public long getMaxListItemsPerCall()
public AsyncWriteChannelOptions getWriteChannelOptions()
public long getMaxRequestsPerBatch()
public boolean isMarkerFileCreationEnabled()
public void throwIfNotValid()
Copyright © 2016. All rights reserved.