public Builder mergeAofConfig(
        com.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig value) {
      if (aofConfigBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)
            && aofConfig_ != null
            && aofConfig_
                != com.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig
                    .getDefaultInstance()) {
          getAofConfigBuilder().mergeFrom(value);
        } else {
          aofConfig_ = value;
        }
      } else {
        aofConfigBuilder_.mergeFrom(value);
      }
      if (aofConfig_ != null) {
        bitField0_ |= 0x00000004;
        onChanged();
      }
      return this;
    }
<pre>
Optional. AOF configuration. This field will be ignored if mode is not AOF.
</pre>

<code>
.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/PersistenceConfig.java