Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static GrpcStorageOptions.Builder |
StorageOptions.grpc()
Builder factory method which will create a gRPC specific instance of storage options.
|
static GrpcStorageOptions.Builder |
GrpcStorageOptions.newBuilder() |
protected GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.self() |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setAttemptDirectPath(boolean attemptDirectPath)
Option which signifies the client should attempt to connect to gcs via Direct Path.
|
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setClientLibToken(String clientLibToken) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setClock(com.google.api.core.ApiClock clock) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setCredentials(com.google.auth.Credentials credentials) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setGrpcInterceptorProvider(@NonNull com.google.api.gax.grpc.GrpcInterceptorProvider grpcInterceptorProvider) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setHeaderProvider(com.google.api.gax.rpc.HeaderProvider headerProvider) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setHost(String host) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setProjectId(String projectId) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setQuotaProjectId(String quotaProjectId) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setRetrySettings(com.google.api.gax.retrying.RetrySettings retrySettings) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setServiceFactory(com.google.cloud.ServiceFactory<Storage,StorageOptions> serviceFactory) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setServiceRpcFactory(com.google.cloud.spi.ServiceRpcFactory<StorageOptions> serviceRpcFactory) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setStorageRetryStrategy(StorageRetryStrategy storageRetryStrategy)
Override the default retry handling behavior with an alternate strategy.
|
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setTerminationAwaitDuration(org.threeten.bp.Duration terminationAwaitDuration)
Set the maximum duration in which to await termination of any outstanding requests when
calling
Storage.close() |
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions transportOptions) |
GrpcStorageOptions.Builder |
GrpcStorageOptions.toBuilder() |
Copyright © 2023 Google LLC. All rights reserved.