public static final class ManagedFolder.RapidCacheConfig.Builder extends GeneratedMessage.Builder<ManagedFolder.RapidCacheConfig.Builder> implements ManagedFolder.RapidCacheConfigOrBuilder
Rapid Cache configuration for a managed prefix. This configuration is used
to determine how the rapid cache behaves for objects under the managed
folder.
Protobuf type google.storage.control.v2.ManagedFolder.RapidCacheConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ManagedFolder.RapidCacheConfig build()
buildPartial()
public ManagedFolder.RapidCacheConfig buildPartial()
clear()
public ManagedFolder.RapidCacheConfig.Builder clear()
Overrides
clearPolicies()
public ManagedFolder.RapidCacheConfig.Builder clearPolicies()
containsPolicies(String key)
public 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
|
getDefaultInstanceForType()
public ManagedFolder.RapidCacheConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutablePolicies() (deprecated)
public Map<String,ManagedFolder.RapidCacheConfig.RapidCachePolicy> getMutablePolicies()
Use alternate mutation accessors instead.
getPolicies() (deprecated)
public Map<String,ManagedFolder.RapidCacheConfig.RapidCachePolicy> getPolicies()
getPoliciesCount()
public 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 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];
getPoliciesOrDefault(String key, ManagedFolder.RapidCacheConfig.RapidCachePolicy defaultValue)
public 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];
getPoliciesOrThrow(String key)
public 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
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public ManagedFolder.RapidCacheConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ManagedFolder.RapidCacheConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFrom(ManagedFolder.RapidCacheConfig other)
public ManagedFolder.RapidCacheConfig.Builder mergeFrom(ManagedFolder.RapidCacheConfig other)
putAllPolicies(Map<String,ManagedFolder.RapidCacheConfig.RapidCachePolicy> values)
public ManagedFolder.RapidCacheConfig.Builder putAllPolicies(Map<String,ManagedFolder.RapidCacheConfig.RapidCachePolicy> values)
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];
putPolicies(String key, ManagedFolder.RapidCacheConfig.RapidCachePolicy value)
public ManagedFolder.RapidCacheConfig.Builder putPolicies(String key, ManagedFolder.RapidCacheConfig.RapidCachePolicy value)
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];
putPoliciesBuilderIfAbsent(String key)
public ManagedFolder.RapidCacheConfig.RapidCachePolicy.Builder putPoliciesBuilderIfAbsent(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
|
removePolicies(String key)
public ManagedFolder.RapidCacheConfig.Builder removePolicies(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
|