Interface ManagedFolder.RapidCacheConfigOrBuilder (2.71.0)

public static interface ManagedFolder.RapidCacheConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsPolicies(String key)

public abstract boolean containsPolicies(String key)

Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix. Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.

map<string, .google.storage.control.v2.ManagedFolder.RapidCacheConfig.RapidCachePolicy> policies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getPolicies() (deprecated)

public abstract Map<String,ManagedFolder.RapidCacheConfig.RapidCachePolicy> getPolicies()

Use #getPoliciesMap() instead.

Returns
Type Description
Map<String,RapidCachePolicy>

getPoliciesCount()

public abstract int getPoliciesCount()

Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix. Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.

map<string, .google.storage.control.v2.ManagedFolder.RapidCacheConfig.RapidCachePolicy> policies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPoliciesMap()

public abstract Map<String,ManagedFolder.RapidCacheConfig.RapidCachePolicy> getPoliciesMap()

Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix. Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.

map<string, .google.storage.control.v2.ManagedFolder.RapidCacheConfig.RapidCachePolicy> policies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,RapidCachePolicy>

getPoliciesOrDefault(String key, ManagedFolder.RapidCacheConfig.RapidCachePolicy defaultValue)

public abstract ManagedFolder.RapidCacheConfig.RapidCachePolicy getPoliciesOrDefault(String key, ManagedFolder.RapidCacheConfig.RapidCachePolicy defaultValue)

Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix. Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.

map<string, .google.storage.control.v2.ManagedFolder.RapidCacheConfig.RapidCachePolicy> policies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue ManagedFolder.RapidCacheConfig.RapidCachePolicy
Returns
Type Description
ManagedFolder.RapidCacheConfig.RapidCachePolicy

getPoliciesOrThrow(String key)

public abstract ManagedFolder.RapidCacheConfig.RapidCachePolicy getPoliciesOrThrow(String key)

Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix. Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.

map<string, .google.storage.control.v2.ManagedFolder.RapidCacheConfig.RapidCachePolicy> policies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ManagedFolder.RapidCacheConfig.RapidCachePolicy