Interface PersistenceConfigOrBuilder (0.1.0)

public interface PersistenceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAofConfig()

public abstract PersistenceConfig.AOFConfig getAofConfig()

Optional. AOF configuration. This field will be ignored if mode is not AOF.

.google.cloud.memorystore.v1beta.PersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.AOFConfig

The aofConfig.

getAofConfigOrBuilder()

public abstract PersistenceConfig.AOFConfigOrBuilder getAofConfigOrBuilder()

Optional. AOF configuration. This field will be ignored if mode is not AOF.

.google.cloud.memorystore.v1beta.PersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.AOFConfigOrBuilder

getMode()

public abstract PersistenceConfig.PersistenceMode getMode()

Optional. Current persistence mode.

.google.cloud.memorystore.v1beta.PersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.PersistenceMode

The mode.

getModeValue()

public abstract int getModeValue()

Optional. Current persistence mode.

.google.cloud.memorystore.v1beta.PersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for mode.

getRdbConfig()

public abstract PersistenceConfig.RDBConfig getRdbConfig()

Optional. RDB configuration. This field will be ignored if mode is not RDB.

.google.cloud.memorystore.v1beta.PersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.RDBConfig

The rdbConfig.

getRdbConfigOrBuilder()

public abstract PersistenceConfig.RDBConfigOrBuilder getRdbConfigOrBuilder()

Optional. RDB configuration. This field will be ignored if mode is not RDB.

.google.cloud.memorystore.v1beta.PersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.RDBConfigOrBuilder

hasAofConfig()

public abstract boolean hasAofConfig()

Optional. AOF configuration. This field will be ignored if mode is not AOF.

.google.cloud.memorystore.v1beta.PersistenceConfig.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.memorystore.v1beta.PersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rdbConfig field is set.