Class GrpcStorageOptions (2.22.5)

public final class GrpcStorageOptions extends StorageOptions implements Retrying.RetryingDependencies

Inheritance

Object > com.google.cloud.ServiceOptions > StorageOptions > GrpcStorageOptions

Implements

com.google.cloud.storage.Retrying.RetryingDependencies

Static Methods

defaults()

public static GrpcStorageOptions.GrpcStorageDefaults defaults()
Returns
TypeDescription
GrpcStorageOptions.GrpcStorageDefaults

getDefaultInstance()

public static GrpcStorageOptions getDefaultInstance()
Returns
TypeDescription
GrpcStorageOptions

newBuilder()

public static GrpcStorageOptions.Builder newBuilder()
Returns
TypeDescription
GrpcStorageOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getScopes()

protected Set<String> getScopes()
Returns
TypeDescription
Set<String>
Overrides
com.google.cloud.ServiceOptions.getScopes()

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

shouldRefreshService(Storage cachedService)

protected boolean shouldRefreshService(Storage cachedService)
Parameter
NameDescription
cachedServiceStorage
Returns
TypeDescription
boolean
Overrides
com.google.cloud.ServiceOptions.shouldRefreshService(ServiceT)

toBuilder()

public GrpcStorageOptions.Builder toBuilder()
Returns
TypeDescription
GrpcStorageOptions.Builder
Overrides