Interface ClusterPersistenceConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ClusterPersistenceConfig, ClusterPersistenceConfig.Builder

@Generated public interface ClusterPersistenceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getModeValue

      int getModeValue()
       Optional. The mode of persistence.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

       Optional. The mode of persistence.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The mode.
    • hasRdbConfig

      boolean hasRdbConfig()
       Optional. RDB configuration. This field will be ignored if mode is not RDB.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the rdbConfig field is set.
    • getRdbConfig

       Optional. RDB configuration. This field will be ignored if mode is not RDB.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rdbConfig.
    • getRdbConfigOrBuilder

       Optional. RDB configuration. This field will be ignored if mode is not RDB.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
    • hasAofConfig

      boolean hasAofConfig()
       Optional. AOF configuration. This field will be ignored if mode is not AOF.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the aofConfig field is set.
    • getAofConfig

       Optional. AOF configuration. This field will be ignored if mode is not AOF.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The aofConfig.
    • getAofConfigOrBuilder

       Optional. AOF configuration. This field will be ignored if mode is not AOF.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];