Class GrpcStorageOptions.GrpcStorageDefaults (2.46.0)

public static final class GrpcStorageOptions.GrpcStorageDefaults extends StorageOptions.StorageDefaults

Inheritance

java.lang.Object > com.google.cloud.storage.StorageOptions.StorageDefaults > GrpcStorageOptions.GrpcStorageDefaults

Methods

getDefaultRpcFactory()

public StorageRpcFactory getDefaultRpcFactory()
Returns
Type Description
StorageRpcFactory

getDefaultServiceFactory()

public StorageFactory getDefaultServiceFactory()
Returns
Type Description
StorageFactory

getDefaultStorageWriterConfig()

public BlobWriteSessionConfig getDefaultStorageWriterConfig()
Returns
Type Description
BlobWriteSessionConfig

getDefaultTransportOptions()

public GrpcTransportOptions getDefaultTransportOptions()
Returns
Type Description
com.google.cloud.grpc.GrpcTransportOptions

getStorageRetryStrategy()

public StorageRetryStrategy getStorageRetryStrategy()
Returns
Type Description
StorageRetryStrategy

getTerminationAwaitDuration()

public Duration getTerminationAwaitDuration()

This method is obsolete. Use #getTerminationAwaitDurationJavaTime() instead.

Returns
Type Description
org.threeten.bp.Duration

getTerminationAwaitDurationJavaTime()

public Duration getTerminationAwaitDurationJavaTime()
Returns
Type Description
Duration

grpcInterceptorProvider()

public GrpcInterceptorProvider grpcInterceptorProvider()
Returns
Type Description
GrpcInterceptorProvider

isAttemptDirectPath()

public boolean isAttemptDirectPath()
Returns
Type Description
boolean

isEnableGrpcClientMetrics()

public boolean isEnableGrpcClientMetrics()
Returns
Type Description
boolean