Class GrpcStorageOptions (2.44.1)

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 o)

public boolean equals(Object o)
Parameter
Name Description
o 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