Class GrpcStorageOptions (2.23.0)

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
Type Description
GrpcStorageOptions.GrpcStorageDefaults

getDefaultInstance()

public static GrpcStorageOptions getDefaultInstance()
Returns
Type Description
GrpcStorageOptions

newBuilder()

public static GrpcStorageOptions.Builder newBuilder()
Returns
Type Description
GrpcStorageOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getScopes()

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

shouldRefreshService(Storage cachedService)

protected boolean shouldRefreshService(Storage cachedService)
Parameter
Name Description
cachedService Storage
Returns
Type Description
boolean
Overrides
com.google.cloud.ServiceOptions.shouldRefreshService(ServiceT)

toBuilder()

public GrpcStorageOptions.Builder toBuilder()
Returns
Type Description
GrpcStorageOptions.Builder
Overrides