public static class HttpStorageOptions.Builder extends StorageOptions.Builder
public HttpStorageOptions.Builder setTransportOptions(com.google.cloud.TransportOptions transportOptions)
setTransportOptions
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setStorageRetryStrategy(StorageRetryStrategy storageRetryStrategy)
setStorageRetryStrategy
in class StorageOptions.Builder
storageRetryStrategy
- a non-null storageRetryStrategy to useStorageRetryStrategy.getDefaultStorageRetryStrategy()
protected HttpStorageOptions.Builder self()
self
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setServiceFactory(com.google.cloud.ServiceFactory<Storage,StorageOptions> serviceFactory)
setServiceFactory
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setClock(com.google.api.core.ApiClock clock)
setClock
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setProjectId(String projectId)
setProjectId
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setHost(String host)
setHost
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setCredentials(com.google.auth.Credentials credentials)
setCredentials
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setRetrySettings(com.google.api.gax.retrying.RetrySettings retrySettings)
setRetrySettings
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setServiceRpcFactory(com.google.cloud.spi.ServiceRpcFactory<StorageOptions> serviceRpcFactory)
setServiceRpcFactory
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setHeaderProvider(com.google.api.gax.rpc.HeaderProvider headerProvider)
setHeaderProvider
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setClientLibToken(String clientLibToken)
setClientLibToken
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions.Builder setQuotaProjectId(String quotaProjectId)
setQuotaProjectId
in class com.google.cloud.ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
public HttpStorageOptions build()
build
in class StorageOptions.Builder
Copyright © 2023 Google LLC. All rights reserved.