Package com.google.cloud.storage
Class GrpcStorageOptions
java.lang.Object
com.google.cloud.ServiceOptions<Storage,StorageOptions>
com.google.cloud.storage.StorageOptions
com.google.cloud.storage.GrpcStorageOptions
- All Implemented Interfaces:
Serializable
- Since:
- 2.14.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static class
Internal implementation detail, only public to allow forSerializable
compatibility inServiceOptions
.static class
Deprecated.Nested classes/interfaces inherited from class com.google.cloud.storage.StorageOptions
StorageOptions.DefaultStorageFactory, StorageOptions.DefaultStorageRpcFactory
-
Field Summary
Fields inherited from class com.google.cloud.ServiceOptions
clientLibToken, CREDENTIAL_ENV_NAME, credentials
-
Method Summary
Modifier and TypeMethodDescriptiondefaults()
boolean
com.google.api.core.ApiClock
getClock()
static GrpcStorageOptions
com.google.api.gax.retrying.RetrySettings
int
hashCode()
static GrpcStorageOptions.Builder
protected boolean
shouldRefreshService
(Storage cachedService) Methods inherited from class com.google.cloud.storage.StorageOptions
getDefaultHttpTransportOptions, getLibraryVersion, getUnauthenticatedInstance, grpc, http, projectIdRequired, version
Methods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultHost, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getResolvedApiaryHost, getResolvedHost, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUniverseDomain, getUserAgent, hasValidUniverseDomain, newInstance, shouldRefreshRpc
-
Method Details
-
getScopes
- Specified by:
getScopes
in classcom.google.cloud.ServiceOptions<Storage,
StorageOptions>
-
toBuilder
- Specified by:
toBuilder
in classStorageOptions
- Since:
- 2.14.0 This new api is in preview and is subject to breaking changes.
-
hashCode
public int hashCode()- Specified by:
hashCode
in classStorageOptions
-
equals
- Specified by:
equals
in classStorageOptions
-
newBuilder
- Since:
- 2.14.0 This new api is in preview and is subject to breaking changes.
-
getDefaultInstance
- Since:
- 2.14.0 This new api is in preview and is subject to breaking changes.
-
defaults
- Since:
- 2.14.0 This new api is in preview and is subject to breaking changes.
-
shouldRefreshService
- Overrides:
shouldRefreshService
in classcom.google.cloud.ServiceOptions<Storage,
StorageOptions>
-
getRetrySettings
com.google.api.gax.retrying.RetrySettings getRetrySettings() -
getClock
com.google.api.core.ApiClock getClock()
-