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

@BetaApi @TransportCompatibility(GRPC) public final class GrpcStorageOptions extends StorageOptions
Since:
2.14.0 This new api is in preview and is subject to breaking changes.
See Also:
  • Method Details

    • getScopes

      protected Set<String> getScopes()
      Specified by:
      getScopes in class com.google.cloud.ServiceOptions<Storage,StorageOptions>
    • toBuilder

      @BetaApi public GrpcStorageOptions.Builder toBuilder()
      Specified by:
      toBuilder in class StorageOptions
      Since:
      2.14.0 This new api is in preview and is subject to breaking changes.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class StorageOptions
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class StorageOptions
    • newBuilder

      @BetaApi public static GrpcStorageOptions.Builder newBuilder()
      Since:
      2.14.0 This new api is in preview and is subject to breaking changes.
    • getDefaultInstance

      @BetaApi public static GrpcStorageOptions getDefaultInstance()
      Since:
      2.14.0 This new api is in preview and is subject to breaking changes.
    • defaults

      @BetaApi public static GrpcStorageOptions.GrpcStorageDefaults defaults()
      Since:
      2.14.0 This new api is in preview and is subject to breaking changes.
    • shouldRefreshService

      protected boolean shouldRefreshService(Storage cachedService)
      Overrides:
      shouldRefreshService in class com.google.cloud.ServiceOptions<Storage,StorageOptions>
    • getRetrySettings

      com.google.api.gax.retrying.RetrySettings getRetrySettings()
    • getClock

      com.google.api.core.ApiClock getClock()