Interface ClusterPersistenceConfigOrBuilder (0.18.0)

public interface ClusterPersistenceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAofConfig()

public abstract 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];

Returns
Type Description
ClusterPersistenceConfig.AOFConfig

The aofConfig.

getAofConfigOrBuilder()

public abstract 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];

Returns
Type Description
ClusterPersistenceConfig.AOFConfigOrBuilder

getMode()

public abstract ClusterPersistenceConfig.PersistenceMode getMode()

Optional. The mode of persistence.

.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClusterPersistenceConfig.PersistenceMode

The mode.

getModeValue()

public abstract 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.

getRdbConfig()

public abstract 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];

Returns
Type Description
ClusterPersistenceConfig.RDBConfig

The rdbConfig.

getRdbConfigOrBuilder()

public abstract 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];

Returns
Type Description
ClusterPersistenceConfig.RDBConfigOrBuilder

hasAofConfig()

public abstract 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 abstract 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.