public interface PersistenceConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAofConfig()
public abstract PersistenceConfig.AOFConfig getAofConfig()Optional. AOF configuration. This field will be ignored if mode is not AOF.
 
 .google.cloud.memorystore.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.PersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the rdbConfig field is set.  |