public static final class ManagedFolder.RapidCacheConfig extends GeneratedMessage 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.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
POLICIES_FIELD_NUMBER
public static final int POLICIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ManagedFolder.RapidCacheConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ManagedFolder.RapidCacheConfig.Builder newBuilder()
newBuilder(ManagedFolder.RapidCacheConfig prototype)
public static ManagedFolder.RapidCacheConfig.Builder newBuilder(ManagedFolder.RapidCacheConfig prototype)
public static ManagedFolder.RapidCacheConfig parseDelimitedFrom(InputStream input)
public static ManagedFolder.RapidCacheConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ManagedFolder.RapidCacheConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ManagedFolder.RapidCacheConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ManagedFolder.RapidCacheConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManagedFolder.RapidCacheConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManagedFolder.RapidCacheConfig parseFrom(CodedInputStream input)
public static ManagedFolder.RapidCacheConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedFolder.RapidCacheConfig parseFrom(InputStream input)
public static ManagedFolder.RapidCacheConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ManagedFolder.RapidCacheConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ManagedFolder.RapidCacheConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ManagedFolder.RapidCacheConfig> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ManagedFolder.RapidCacheConfig getDefaultInstanceForType()
getParserForType()
public Parser<ManagedFolder.RapidCacheConfig> getParserForType()
Overrides
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
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
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.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ManagedFolder.RapidCacheConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ManagedFolder.RapidCacheConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ManagedFolder.RapidCacheConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides