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 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,
String projectId,
String appName,
long maxListItemsPerCall,
long maxRequestsPerBatch,
boolean createMarkerFile,
AsyncWriteChannelOptions writeChannelOptions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
long |
getMaxListItemsPerCall() |
long |
getMaxRequestsPerBatch() |
String |
getProjectId() |
AsyncWriteChannelOptions |
getWriteChannelOptions() |
boolean |
isAutoRepairImplicitDirectoriesEnabled() |
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 long MAX_REQUESTS_PER_BATCH_DEFAULT
public static final boolean CREATE_EMPTY_MARKER_OBJECT_DEFAULT
public GoogleCloudStorageOptions(boolean autoRepairImplicitDirectoriesEnabled,
String projectId,
String appName,
long maxListItemsPerCall,
long maxRequestsPerBatch,
boolean createMarkerFile,
AsyncWriteChannelOptions writeChannelOptions)
public static GoogleCloudStorageOptions.Builder newBuilder()
public boolean isAutoRepairImplicitDirectoriesEnabled()
public String getProjectId()
public String getAppName()
public long getMaxListItemsPerCall()
public AsyncWriteChannelOptions getWriteChannelOptions()
public long getMaxRequestsPerBatch()
public boolean isMarkerFileCreationEnabled()
public void throwIfNotValid()
Copyright © 2015. All rights reserved.