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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic classInternal implementation detail, only public to allow forSerializablecompatibility inServiceOptions.static classDeprecated.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()booleancom.google.api.core.ApiClockgetClock()static GrpcStorageOptionsio.opentelemetry.api.OpenTelemetrycom.google.api.gax.retrying.RetrySettingsinthashCode()static GrpcStorageOptions.Builderprotected booleanshouldRefreshService(Storage cachedService) Methods inherited from class com.google.cloud.storage.StorageOptions
getDefaultHttpTransportOptions, getLibraryVersion, getUnauthenticatedInstance, grpc, http, projectIdRequired, versionMethods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getApiTracerFactory, 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:
getScopesin classcom.google.cloud.ServiceOptions<Storage,StorageOptions>
-
getOpenTelemetry
@BetaApi public io.opentelemetry.api.OpenTelemetry getOpenTelemetry()- Specified by:
getOpenTelemetryin classStorageOptions- Since:
- 2.47.0 This new api is in preview and is subject to breaking changes.
-
toBuilder
- Specified by:
toBuilderin classStorageOptions- Since:
- 2.14.0
-
hashCode
public int hashCode()- Specified by:
hashCodein classStorageOptions
-
equals
- Specified by:
equalsin classStorageOptions
-
newBuilder
- Since:
- 2.14.0
-
getDefaultInstance
- Since:
- 2.14.0
-
defaults
- Since:
- 2.14.0
-
shouldRefreshService
- Overrides:
shouldRefreshServicein classcom.google.cloud.ServiceOptions<Storage,StorageOptions>
-
getRetrySettings
com.google.api.gax.retrying.RetrySettings getRetrySettings() -
getClock
com.google.api.core.ApiClock getClock()
-