public abstract class StorageOptions extends com.google.cloud.ServiceOptions<Storage,StorageOptions>
Modifier and Type | Class and Description |
---|---|
static class |
StorageOptions.Builder |
static class |
StorageOptions.DefaultStorageFactory
Deprecated.
|
static class |
StorageOptions.DefaultStorageRpcFactory
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(Object obj) |
static com.google.cloud.http.HttpTransportOptions |
getDefaultHttpTransportOptions()
|
static StorageOptions |
getDefaultInstance()
Returns a default
StorageOptions instance. |
static StorageOptions |
getUnauthenticatedInstance()
Returns a unauthenticated
StorageOptions instance. |
static GrpcStorageOptions.Builder |
grpc()
Builder factory method which will create a gRPC specific instance of storage options.
|
abstract int |
hashCode() |
static HttpStorageOptions.Builder |
http()
Builder factory method which will create a JSON over HTTP specific instance of storage options.
|
static StorageOptions.Builder |
newBuilder()
The returned instance will use JSON over HTTP for its transport.
|
protected boolean |
projectIdRequired() |
abstract StorageOptions.Builder |
toBuilder() |
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultHost, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getRetrySettings, getRpc, getScopedCredentials, getScopes, getService, getServiceAccountProjectId, getTransportOptions, getUserAgent, newInstance, shouldRefreshRpc, shouldRefreshService
@Deprecated public static com.google.cloud.http.HttpTransportOptions getDefaultHttpTransportOptions()
protected boolean projectIdRequired()
projectIdRequired
in class com.google.cloud.ServiceOptions<Storage,StorageOptions>
public abstract StorageOptions.Builder toBuilder()
toBuilder
in class com.google.cloud.ServiceOptions<Storage,StorageOptions>
@TransportCompatibility(value=HTTP) public static StorageOptions getDefaultInstance()
StorageOptions
instance. The default instance will use JSON over HTTP
for its transport.@TransportCompatibility(value=HTTP) public static StorageOptions getUnauthenticatedInstance()
StorageOptions
instance. The returned instance will use JSON
over HTTP for its transport.@TransportCompatibility(value=HTTP) public static StorageOptions.Builder newBuilder()
@BetaApi @TransportCompatibility(value=HTTP) public static HttpStorageOptions.Builder http()
@BetaApi @TransportCompatibility(value=GRPC) public static GrpcStorageOptions.Builder grpc()
Google Cloud Storage is in Private Preview for a gRPC centric transport.
Copyright © 2023 Google LLC. All rights reserved.