public final class ClusterPersistenceConfig extends GeneratedMessageV3 implements ClusterPersistenceConfigOrBuilder
Configuration of the persistence functionality.
Protobuf type google.cloud.redis.cluster.v1.ClusterPersistenceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AOF_CONFIG_FIELD_NUMBER
public static final int AOF_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RDB_CONFIG_FIELD_NUMBER
public static final int RDB_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ClusterPersistenceConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClusterPersistenceConfig.Builder newBuilder()
newBuilder(ClusterPersistenceConfig prototype)
public static ClusterPersistenceConfig.Builder newBuilder(ClusterPersistenceConfig prototype)
public static ClusterPersistenceConfig parseDelimitedFrom(InputStream input)
public static ClusterPersistenceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClusterPersistenceConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClusterPersistenceConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig parseFrom(CodedInputStream input)
public static ClusterPersistenceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig parseFrom(InputStream input)
public static ClusterPersistenceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClusterPersistenceConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClusterPersistenceConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAofConfig()
public ClusterPersistenceConfig.AOFConfig getAofConfig()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getAofConfigOrBuilder()
public ClusterPersistenceConfig.AOFConfigOrBuilder getAofConfigOrBuilder()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ClusterPersistenceConfig getDefaultInstanceForType()
getMode()
public ClusterPersistenceConfig.PersistenceMode getMode()
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
getModeValue()
public int getModeValue()
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
getParserForType()
public Parser<ClusterPersistenceConfig> getParserForType()
Overrides
getRdbConfig()
public ClusterPersistenceConfig.RDBConfig getRdbConfig()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getRdbConfigOrBuilder()
public ClusterPersistenceConfig.RDBConfigOrBuilder getRdbConfigOrBuilder()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasAofConfig()
public boolean hasAofConfig()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the aofConfig field is set.
|
hasRdbConfig()
public boolean hasRdbConfig()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rdbConfig field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClusterPersistenceConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterPersistenceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ClusterPersistenceConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides