Skip to content

New cache config API #4869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Apr 14, 2023
Merged

New cache config API #4869

merged 14 commits into from
Apr 14, 2023

Conversation

wu-hui
Copy link
Contributor

@wu-hui wu-hui commented Apr 6, 2023

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2023

Javadoc Changes:
--- /Users/runner/diff/original/firebase-kotlindoc/android/client/firebase-firestore/_toc.yaml	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/client/firebase-firestore/_toc.yaml	2023-04-14 14:34:59.000000000 +0000
@@ -10,6 +10,8 @@
       path: "/docs/reference/android/com/google/firebase/firestore/EventListener.html"
     - title: "ListenerRegistration"
       path: "/docs/reference/android/com/google/firebase/firestore/ListenerRegistration.html"
+    - title: "LocalCacheSettings"
+      path: "/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html"
     - title: "OnProgressListener"
       path: "/docs/reference/android/com/google/firebase/firestore/OnProgressListener.html"
     - title: "Transaction.Function"
@@ -52,6 +54,14 @@
       path: "/docs/reference/android/com/google/firebase/firestore/LoadBundleTask.html"
     - title: "LoadBundleTaskProgress"
       path: "/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.html"
+    - title: "MemoryCacheSettings"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html"
+    - title: "MemoryCacheSettings.Builder"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html"
+    - title: "PersistentCacheSettings"
+      path: "/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html"
+    - title: "PersistentCacheSettings.Builder"
+      path: "/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html"
     - title: "Query"
       path: "/docs/reference/android/com/google/firebase/firestore/Query.html"
     - title: "QueryDocumentSnapshot"
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html	2023-04-14 14:34:59.000000000 +0000
@@ -89,7 +89,10 @@
           <tr>
             <td><code>long</code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#getCacheSizeBytes()">getCacheSizeBytes</a>()</code></div>
+              <div><code><span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#getCacheSizeBytes()">getCacheSizeBytes</a></del></span>()</code></div>
+              <p><strong>This method is deprecated.</strong>
+                <p>Build the <code>FirebaseFirestoreSettings</code> instance to check cache configurations.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -101,7 +104,10 @@
           <tr>
             <td><code>boolean</code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a>()</code></div>
+              <div><code><span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>()</code></div>
+              <p><strong>This method is deprecated.</strong>
+                <p>Build the <code>FirebaseFirestoreSettings</code> instance to check cache configurations.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -113,8 +119,10 @@
           <tr>
             <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setCacheSizeBytes(long)">setCacheSizeBytes</a>(long&nbsp;value)</code></div>
-              <p>Sets an approximate cache size threshold for the on-disk data.</p>
+              <div><code><span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setCacheSizeBytes(long)">setCacheSizeBytes</a></del></span>(long&nbsp;value)</code></div>
+              <p><strong>This method is deprecated.</strong>
+                <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code> to configure SDK cache instead.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -127,8 +135,17 @@
           <tr>
             <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a>(boolean&nbsp;value)</code></div>
-              <p>Enables or disables local persistent storage.</p>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>&nbsp;settings)</code></div>
+              <p>Specifies the cache used by the SDK.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
+            <td>
+              <div><code><span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a></del></span>(boolean&nbsp;value)</code></div>
+              <p><strong>This method is deprecated.</strong>
+                <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code> to configure SDK cache instead.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -174,7 +191,10 @@
       </div>
       <div class="api-item"><a name="getCacheSizeBytes--"></a><a name="getcachesizebytes"></a>
         <h3 class="api-name" id="getCacheSizeBytes()">getCacheSizeBytes</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#getCacheSizeBytes()">getCacheSizeBytes</a>()</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#getCacheSizeBytes()">getCacheSizeBytes</a></del></span>()</pre>
+        <aside class="caution"><strong>This method is deprecated.</strong><br>
+          <p>Build the <code>FirebaseFirestoreSettings</code> instance to check cache configurations.</p>
+        </aside>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -224,7 +244,10 @@
       </div>
       <div class="api-item"><a name="isPersistenceEnabled--"></a><a name="ispersistenceenabled"></a>
         <h3 class="api-name" id="isPersistenceEnabled()">isPersistenceEnabled</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a>()</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>()</pre>
+        <aside class="caution"><strong>This method is deprecated.</strong><br>
+          <p>Build the <code>FirebaseFirestoreSettings</code> instance to check cache configurations.</p>
+        </aside>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -274,7 +297,10 @@
       </div>
       <div class="api-item"><a name="setCacheSizeBytes-long-"></a><a name="setcachesizebytes"></a>
         <h3 class="api-name" id="setCacheSizeBytes(long)">setCacheSizeBytes</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setCacheSizeBytes(long)">setCacheSizeBytes</a>(long&nbsp;value)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a>&nbsp;<span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setCacheSizeBytes(long)">setCacheSizeBytes</a></del></span>(long&nbsp;value)</pre>
+        <aside class="caution"><strong>This method is deprecated.</strong><br>
+          <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code> to configure SDK cache instead.</p>
+        </aside>
         <p>Sets an approximate cache size threshold for the on-disk data. If the cache grows beyond this size, Cloud Firestore will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
         <p>By default, collection is enabled with a cache size of 100 MB. The minimum value is 1 MB.</p>
         <div class="devsite-table-wrapper">
@@ -346,9 +372,40 @@
           </table>
         </div>
       </div>
+      <div class="api-item"><a name="setLocalCacheSettings-com.google.firebase.firestore.LocalCacheSettings-"></a><a name="setlocalcachesettings"></a>
+        <h3 class="api-name" id="setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>&nbsp;settings)</pre>
+        <p>Specifies the cache used by the SDK. Available options are <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> and <code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code>, each with different configuration options. </p>
+        <p>When unspecified, <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> will be used by default. </p>
+        <p>NOTE: Calling this setter and <code>setPersistenceEnabled()</code> or @{code setCacheSizeBytes()} at the same time will throw an exception during SDK initialization. Instead, use the configuration in the <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> object to specify the cache size.</p>
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <thead>
+              <tr>
+                <th colspan="100%">Returns</th>
+              </tr>
+            </thead>
+            <tbody class="list">
+              <tr>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
+                <td>
+                  <p>A settings object on which the cache settings is configured as specified by the given <code>settings</code>.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
       <div class="api-item"><a name="setPersistenceEnabled-boolean-"></a><a name="setpersistenceenabled"></a>
         <h3 class="api-name" id="setPersistenceEnabled(boolean)">setPersistenceEnabled</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a>(boolean&nbsp;value)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a>&nbsp;<span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a></del></span>(boolean&nbsp;value)</pre>
+        <aside class="caution"><strong>This method is deprecated.</strong><br>
+          <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code> to configure SDK cache instead.</p>
+        </aside>
         <p>Enables or disables local persistent storage. The default is to use local persistent storage.</p>
         <div class="devsite-table-wrapper">
           <table class="responsive">
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -69,6 +69,12 @@
         </thead>
         <tbody class="list">
           <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSettings()">cacheSettings</a></code></div>
+            </td>
+          </tr>
+          <tr>
             <td><code>final long</code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSizeBytes()">cacheSizeBytes</a></code></div>
@@ -98,14 +104,23 @@
           <tr>
             <td><code>boolean</code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</code></div>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a>()</code></div>
+              <p>Returns the cache settings configured for the SDK.</p>
             </td>
           </tr>
           <tr>
             <td><code>long</code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSizeBytes()">getCacheSizeBytes</a>()</code></div>
-              <p>Returns the threshold for the cache size above which the SDK will attempt to collect the least recently used documents.</p>
+              <div><code><span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSizeBytes()">getCacheSizeBytes</a></del></span>()</code></div>
+              <p><strong>This method is deprecated.</strong>
+                <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a></code> instead.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -124,8 +139,10 @@
           <tr>
             <td><code>boolean</code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a>()</code></div>
-              <p>Returns whether or not to use local persistent storage.</p>
+              <div><code><span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>()</code></div>
+              <p><strong>This method is deprecated.</strong>
+                <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a></code> instead.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -154,6 +171,10 @@
     </div>
     <div class="list">
       <h2>Public fields</h2>
+      <div class="api-item"><a name="getCacheSettings()"></a><a name="setCacheSettings()"></a><a name="getCacheSettings--"></a><a name="setCacheSettings--"></a>
+        <h3 class="api-name" id="cacheSettings()">cacheSettings</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSettings()">cacheSettings</a></pre>
+      </div>
       <div class="api-item"><a name="getCacheSizeBytes()"></a><a name="setCacheSizeBytes()"></a><a name="getCacheSizeBytes--"></a><a name="setCacheSizeBytes--"></a>
         <h3 class="api-name" id="cacheSizeBytes()">cacheSizeBytes</h3>
         <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSizeBytes()">cacheSizeBytes</a></pre>
@@ -167,11 +188,19 @@
       <h2>Public methods</h2>
       <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
         <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</pre>
+      </div>
+      <div class="api-item"><a name="getCacheSettings--"></a><a name="getcachesettings"></a>
+        <h3 class="api-name" id="getCacheSettings()">getCacheSettings</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a>()</pre>
+        <p>Returns the cache settings configured for the SDK. Returns null if it is not configured, in which case a default <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> instance is used.</p>
       </div>
       <div class="api-item"><a name="getCacheSizeBytes--"></a><a name="getcachesizebytes"></a>
         <h3 class="api-name" id="getCacheSizeBytes()">getCacheSizeBytes</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSizeBytes()">getCacheSizeBytes</a>()</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSizeBytes()">getCacheSizeBytes</a></del></span>()</pre>
+        <aside class="caution"><strong>This method is deprecated.</strong><br>
+          <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a></code> instead.</p>
+        </aside>
         <p>Returns the threshold for the cache size above which the SDK will attempt to collect the least recently used documents.</p>
       </div>
       <div class="api-item"><a name="getHost--"></a><a name="gethost"></a>
@@ -185,7 +214,10 @@
       </div>
       <div class="api-item"><a name="isPersistenceEnabled--"></a><a name="ispersistenceenabled"></a>
         <h3 class="api-name" id="isPersistenceEnabled()">isPersistenceEnabled</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a>()</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<span><del><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>()</pre>
+        <aside class="caution"><strong>This method is deprecated.</strong><br>
+          <p>Use <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a></code> instead.</p>
+        </aside>
         <p>Returns whether or not to use local persistent storage.</p>
       </div>
       <div class="api-item"><a name="isSslEnabled--"></a><a name="issslenabled"></a>
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/LocalCacheSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/LocalCacheSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,46 @@
+<html devsite="true">
+  <head>
+    <title>LocalCacheSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>LocalCacheSettings</h1>
+    <p>
+      <pre>public interface <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></pre>
+    </p>
+    <div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
+        <div class="showalways" id="subclasses-direct"><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a>, <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></div>
+      </span>
+      <div id="subclasses-direct-summary">
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+                <td>
+                  <p>Configures the SDK to use a memory cache.</p>
+                </td>
+              </tr>
+              <tr>
+                <td><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+                <td>
+                  <p>Configures the SDK to use a persistent cache.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
+</devsite-expandable>    </div>
+    <hr>
+    <p>Marker interface implemented by all supported cache settings. </p>
+    <p>The two cache types supported are <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> and . Custom implementation is not supported by the SDK.</p>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,48 @@
+<html devsite="true">
+  <head>
+    <title>MemoryCacheSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryCacheSettings.Builder</h1>
+    <p>
+      <pre>public class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <p>A Builder for creating <code>MemoryCacheSettings</code> instance.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#build()">build</a>()</code></div>
+              <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#build()">build</a>()</pre>
+        <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,100 @@
+<html devsite="true">
+  <head>
+    <title>MemoryCacheSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryCacheSettings</h1>
+    <p>
+      <pre>public final class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a> implements <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></pre>
+    </p>
+    <hr>
+    <p>Configures the SDK to use a memory cache. Firestore documents and mutations are NOT persisted across App restart. </p>
+    <p>To use, create an instance using <code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#newBuilder()">newBuilder</a></code>, then set the instance to <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code>, and use the built `FirebaseFirestoreSettings` instance to configure Firestore SDK.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>public class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></div>
+              <p>A Builder for creating <code>MemoryCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>boolean</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;obj)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>int</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>static @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#newBuilder()">newBuilder</a>()</code></div>
+              <p>Returns a new instance of <code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code> with default configurations.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;obj)</pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;int&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>()</pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#newBuilder()">newBuilder</a>()</pre>
+        <p>Returns a new instance of <code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code> with default configurations.</p>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#toString()">toString</a>()</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,82 @@
+<html devsite="true">
+  <head>
+    <title>PersistentCacheSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>PersistentCacheSettings.Builder</h1>
+    <p>
+      <pre>public class <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <p>A Builder for creating <code>PersistentCacheSettings</code> instance.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#build()">build</a>()</code></div>
+              <p>Creates a <code>PersistentCacheSettings</code> instance from this builder instance.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;sizeBytes)</code></div>
+              <p>Sets an approximate cache size threshold for the on-disk data.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#build()">build</a>()</pre>
+        <p>Creates a <code>PersistentCacheSettings</code> instance from this builder instance.</p>
+      </div>
+      <div class="api-item"><a name="setSizeBytes-long-"></a><a name="setsizebytes"></a>
+        <h3 class="api-name" id="setSizeBytes(long)">setSizeBytes</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;sizeBytes)</pre>
+        <p>Sets an approximate cache size threshold for the on-disk data. If the cache grows beyond this size, Firestore SDK will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
+        <p>By default, collection is enabled with a cache size of 100 MB. The minimum value is 1 MB.</p>
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <thead>
+              <tr>
+                <th colspan="100%">Returns</th>
+              </tr>
+            </thead>
+            <tbody class="list">
+              <tr>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+                <td>
+                  <p>A settings object on which the cache size is configured as specified by the given <code>value</code>.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/PersistentCacheSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/PersistentCacheSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,142 @@
+<html devsite="true">
+  <head>
+    <title>PersistentCacheSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>PersistentCacheSettings</h1>
+    <p>
+      <pre>public final class <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a> implements <a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></pre>
+    </p>
+    <hr>
+    <p>Configures the SDK to use a persistent cache. Firestore documents and mutations are persisted across App restart. </p>
+    <p>This is the default cache type unless explicitly specified otherwise. </p>
+    <p>To use, create an instance using <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#newBuilder()">newBuilder</a></code>, then set the instance to <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code>, and use the built `FirebaseFirestoreSettings` instance to configure Firestore SDK.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>public class <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></div>
+              <p>A Builder for creating <code>PersistentCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public fields</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>final long</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#sizeBytes()">sizeBytes</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>boolean</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#equals(java.lang.Object)">equals</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>long</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#getSizeBytes()">getSizeBytes</a>()</code></div>
+              <p>Returns cache size threshold for the on-disk data.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code>int</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>static @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#newBuilder()">newBuilder</a>()</code></div>
+              <p>Returns a new instance of <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code> with default configurations.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public fields</h2>
+      <div class="api-item"><a name="getSizeBytes()"></a><a name="setSizeBytes()"></a><a name="getSizeBytes--"></a><a name="setSizeBytes--"></a>
+        <h3 class="api-name" id="sizeBytes()">sizeBytes</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#sizeBytes()">sizeBytes</a></pre>
+      </div>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#equals(java.lang.Object)">equals</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</pre>
+      </div>
+      <div class="api-item"><a name="getSizeBytes--"></a><a name="getsizebytes"></a>
+        <h3 class="api-name" id="getSizeBytes()">getSizeBytes</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#getSizeBytes()">getSizeBytes</a>()</pre>
+        <p>Returns cache size threshold for the on-disk data. If the cache grows beyond this size, Firestore SDK will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
+        <p>By default, persistent cache is enabled with a cache size of 100 MB. The minimum value is 1 MB.</p>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;int&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#hashCode()">hashCode</a>()</pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#newBuilder()">newBuilder</a>()</pre>
+        <p>Returns a new instance of <code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code> with default configurations.</p>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html#toString()">toString</a>()</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/package-summary.html	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/package-summary.html	2023-04-14 14:34:59.000000000 +0000
@@ -74,6 +74,12 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></code></td>
+            <td>
+              <p>Marker interface implemented by all supported cache settings.</p>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/OnProgressListener.html">OnProgressListener</a></code></td>
             <td>
               <p>A listener that is called periodically during execution of a <code><a href="/docs/reference/android/com/google/firebase/firestore/LoadBundleTask.html">LoadBundleTask</a></code>.</p>
@@ -200,6 +206,30 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+            <td>
+              <p>Configures the SDK to use a memory cache.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></td>
+            <td>
+              <p>A Builder for creating <code>MemoryCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+            <td>
+              <p>Configures the SDK to use a persistent cache.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+            <td>
+              <p>A Builder for creating <code>PersistentCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/Query.html">Query</a></code></td>
             <td>
               <p>A <code>Query</code> which you can read or listen to.</p>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/client/firebase-firestore/_toc.yaml	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/client/firebase-firestore/_toc.yaml	2023-04-14 14:34:59.000000000 +0000
@@ -10,6 +10,8 @@
       path: "/docs/reference/kotlin/com/google/firebase/firestore/EventListener.html"
     - title: "ListenerRegistration"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/ListenerRegistration.html"
+    - title: "LocalCacheSettings"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html"
     - title: "OnProgressListener"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/OnProgressListener.html"
     - title: "Transaction.Function"
@@ -52,6 +54,14 @@
       path: "/docs/reference/kotlin/com/google/firebase/firestore/LoadBundleTask.html"
     - title: "LoadBundleTaskProgress"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/LoadBundleTaskProgress.html"
+    - title: "MemoryCacheSettings"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html"
+    - title: "MemoryCacheSettings.Builder"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html"
+    - title: "PersistentCacheSettings"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html"
+    - title: "PersistentCacheSettings.Builder"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html"
     - title: "Query"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/Query.html"
     - title: "QueryDocumentSnapshot"
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html	2023-04-14 14:34:59.000000000 +0000
@@ -62,7 +62,10 @@
           <tr>
             <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a>()</code></div>
+              <div><code><span><del><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>()</code></div>
+              <p><strong>This function is deprecated.</strong>
+                <p>Build the <code>FirebaseFirestoreSettings</code> instance to check cache configurations.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -74,8 +77,17 @@
           <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a>(value:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>)</code></div>
-              <p>Enables or disables local persistent storage.</p>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a>(settings:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>)</code></div>
+              <p>Specifies the cache used by the SDK.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
+            <td>
+              <div><code><span><del><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a></del></span>(value:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>)</code></div>
+              <p><strong>This function is deprecated.</strong>
+                <p>Use <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code> to configure SDK cache instead.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -137,7 +149,10 @@
       </div>
       <div class="api-item"><a name="isPersistenceEnabled--"></a><a name="ispersistenceenabled"></a>
         <h3 class="api-name" id="isPersistenceEnabled()">isPersistenceEnabled</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<span><del><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+        <aside class="caution"><strong>This function is deprecated.</strong><br>
+          <p>Build the <code>FirebaseFirestoreSettings</code> instance to check cache configurations.</p>
+        </aside>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -185,9 +200,40 @@
           </table>
         </div>
       </div>
+      <div class="api-item"><a name="setLocalCacheSettings-com.google.firebase.firestore.LocalCacheSettings-"></a><a name="setlocalcachesettings"></a>
+        <h3 class="api-name" id="setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a>(settings:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></pre>
+        <p>Specifies the cache used by the SDK. Available options are <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code>, each with different configuration options. </p>
+        <p>When unspecified, <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> will be used by default. </p>
+        <p>NOTE: Calling this setter and <code>setPersistenceEnabled()</code> or @{code setCacheSizeBytes()} at the same time will throw an exception during SDK initialization. Instead, use the configuration in the <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> object to specify the cache size.</p>
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <thead>
+              <tr>
+                <th colspan="100%">Returns</th>
+              </tr>
+            </thead>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></code></td>
+                <td>
+                  <p>A settings object on which the cache settings is configured as specified by the given <code>settings</code>.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
       <div class="api-item"><a name="setPersistenceEnabled-boolean-"></a><a name="setpersistenceenabled"></a>
         <h3 class="api-name" id="setPersistenceEnabled(boolean)">setPersistenceEnabled</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a>(value:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<span><del><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setPersistenceEnabled(boolean)">setPersistenceEnabled</a></del></span>(value:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a></pre>
+        <aside class="caution"><strong>This function is deprecated.</strong><br>
+          <p>Use <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code> to configure SDK cache instead.</p>
+        </aside>
         <p>Enables or disables local persistent storage. The default is to use local persistent storage.</p>
         <div class="devsite-table-wrapper">
           <table class="responsive">
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -71,7 +71,7 @@
           <tr>
             <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?)</code></div>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!)</code></div>
             </td>
           </tr>
           <tr>
@@ -83,8 +83,10 @@
           <tr>
             <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a>()</code></div>
-              <p>Returns whether or not to use local persistent storage.</p>
+              <div><code><span><del><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>()</code></div>
+              <p><strong>This function is deprecated.</strong>
+                <p>Use <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a></code> instead.</p>
+              </p>
             </td>
           </tr>
           <tr>
@@ -116,6 +118,12 @@
         </thead>
         <tbody class="list">
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>!</code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSettings()">cacheSettings</a></code></div>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a></code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSizeBytes()">cacheSizeBytes</a></code></div>
@@ -142,7 +150,7 @@
       <h2>Public functions</h2>
       <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
         <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
       </div>
       <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
         <h3 class="api-name" id="hashCode()">hashCode</h3>
@@ -150,7 +158,10 @@
       </div>
       <div class="api-item"><a name="isPersistenceEnabled--"></a><a name="ispersistenceenabled"></a>
         <h3 class="api-name" id="isPersistenceEnabled()">isPersistenceEnabled</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<span><del><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#isPersistenceEnabled()">isPersistenceEnabled</a></del></span>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+        <aside class="caution"><strong>This function is deprecated.</strong><br>
+          <p>Use <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#getCacheSettings()">getCacheSettings</a></code> instead.</p>
+        </aside>
         <p>Returns whether or not to use local persistent storage.</p>
       </div>
       <div class="api-item"><a name="isSslEnabled--"></a><a name="issslenabled"></a>
@@ -165,6 +176,10 @@
     </div>
     <div class="list">
       <h2>Public properties</h2>
+      <div class="api-item"><a name="getCacheSettings()"></a><a name="setCacheSettings()"></a><a name="getCacheSettings--"></a><a name="setCacheSettings--"></a>
+        <h3 class="api-name" id="cacheSettings()">cacheSettings</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSettings()">cacheSettings</a>:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a>!</pre>
+      </div>
       <div class="api-item"><a name="getCacheSizeBytes()"></a><a name="setCacheSizeBytes()"></a><a name="getCacheSizeBytes--"></a><a name="setCacheSizeBytes--"></a>
         <h3 class="api-name" id="cacheSizeBytes()">cacheSizeBytes</h3>
         <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html#cacheSizeBytes()">cacheSizeBytes</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a></pre>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/LocalCacheSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/LocalCacheSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,46 @@
+<html devsite="true">
+  <head>
+    <title>LocalCacheSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>LocalCacheSettings</h1>
+    <p>
+      <pre>interface <a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></pre>
+    </p>
+    <div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
+        <div class="showalways" id="subclasses-direct"><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a>, <a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></div>
+      </span>
+      <div id="subclasses-direct-summary">
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+                <td>
+                  <p>Configures the SDK to use a memory cache.</p>
+                </td>
+              </tr>
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+                <td>
+                  <p>Configures the SDK to use a persistent cache.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
+</devsite-expandable>    </div>
+    <hr>
+    <p>Marker interface implemented by all supported cache settings. </p>
+    <p>The two cache types supported are <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code> and . Custom implementation is not supported by the SDK.</p>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,48 @@
+<html devsite="true">
+  <head>
+    <title>MemoryCacheSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryCacheSettings.Builder</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <p>A Builder for creating <code>MemoryCacheSettings</code> instance.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#build()">build</a>()</code></div>
+              <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#build()">build</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></pre>
+        <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,100 @@
+<html devsite="true">
+  <head>
+    <title>MemoryCacheSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryCacheSettings</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a> : <a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></pre>
+    </p>
+    <hr>
+    <p>Configures the SDK to use a memory cache. Firestore documents and mutations are NOT persisted across App restart. </p>
+    <p>To use, create an instance using <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#newBuilder()">newBuilder</a></code>, then set the instance to <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code>, and use the built `FirebaseFirestoreSettings` instance to configure Firestore SDK.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></div>
+              <p>A Builder for creating <code>MemoryCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#equals(java.lang.Object)">equals</a>(obj:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>java-static <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#newBuilder()">newBuilder</a>()</code></div>
+              <p>Returns a new instance of <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code> with default configurations.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#equals(java.lang.Object)">equals</a>(obj:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">java-static&nbsp;fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#newBuilder()">newBuilder</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></pre>
+        <p>Returns a new instance of <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code> with default configurations.</p>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#toString()">toString</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,82 @@
+<html devsite="true">
+  <head>
+    <title>PersistentCacheSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>PersistentCacheSettings.Builder</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <p>A Builder for creating <code>PersistentCacheSettings</code> instance.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#build()">build</a>()</code></div>
+              <p>Creates a <code>PersistentCacheSettings</code> instance from this builder instance.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(sizeBytes:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>)</code></div>
+              <p>Sets an approximate cache size threshold for the on-disk data.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#build()">build</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></pre>
+        <p>Creates a <code>PersistentCacheSettings</code> instance from this builder instance.</p>
+      </div>
+      <div class="api-item"><a name="setSizeBytes-long-"></a><a name="setsizebytes"></a>
+        <h3 class="api-name" id="setSizeBytes(long)">setSizeBytes</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(sizeBytes:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></pre>
+        <p>Sets an approximate cache size threshold for the on-disk data. If the cache grows beyond this size, Firestore SDK will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
+        <p>By default, collection is enabled with a cache size of 100 MB. The minimum value is 1 MB.</p>
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <thead>
+              <tr>
+                <th colspan="100%">Returns</th>
+              </tr>
+            </thead>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+                <td>
+                  <p>A settings object on which the cache size is configured as specified by the given <code>value</code>.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html	2023-04-14 14:34:59.000000000 +0000
@@ -0,0 +1,129 @@
+<html devsite="true">
+  <head>
+    <title>PersistentCacheSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>PersistentCacheSettings</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a> : <a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></pre>
+    </p>
+    <hr>
+    <p>Configures the SDK to use a persistent cache. Firestore documents and mutations are persisted across App restart. </p>
+    <p>This is the default cache type unless explicitly specified otherwise. </p>
+    <p>To use, create an instance using <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#newBuilder()">newBuilder</a></code>, then set the instance to <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings)">setLocalCacheSettings</a></code>, and use the built `FirebaseFirestoreSettings` instance to configure Firestore SDK.</p>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></div>
+              <p>A Builder for creating <code>PersistentCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>java-static <a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#newBuilder()">newBuilder</a>()</code></div>
+              <p>Returns a new instance of <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code> with default configurations.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public properties</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#sizeBytes()">sizeBytes</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#hashCode()">hashCode</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">java-static&nbsp;fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#newBuilder()">newBuilder</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></pre>
+        <p>Returns a new instance of <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code> with default configurations.</p>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#toString()">toString</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</pre>
+      </div>
+    </div>
+    <div class="list">
+      <h2>Public properties</h2>
+      <div class="api-item"><a name="getSizeBytes()"></a><a name="setSizeBytes()"></a><a name="getSizeBytes--"></a><a name="setSizeBytes--"></a>
+        <h3 class="api-name" id="sizeBytes()">sizeBytes</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html#sizeBytes()">sizeBytes</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a></pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/ktx/package-summary.html	2023-04-14 14:42:14.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/ktx/package-summary.html	2023-04-14 14:37:23.000000000 +0000
@@ -21,6 +21,18 @@
               <p>Returns a <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html">FirebaseFirestoreSettings</a></code> instance initialized using the <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#firestoreSettings(kotlin.Function1)">init</a></code> function.</p>
             </td>
           </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryCacheSettings(kotlin.Function1)">memoryCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#persistentCacheSettings(kotlin.Function1)">persistentCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
+            </td>
+          </tr>
         </tbody>
       </table>
     </div>
@@ -164,6 +176,14 @@
       <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#firestoreSettings(kotlin.Function1)">firestoreSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html">FirebaseFirestoreSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html">FirebaseFirestoreSettings</a></pre>
       <p>Returns a <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestoreSettings.html">FirebaseFirestoreSettings</a></code> instance initialized using the <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#firestoreSettings(kotlin.Function1)">init</a></code> function.</p>
     </div>
+    <div class="api-item"><a name="memoryCacheSettings-kotlin.Function1-"></a><a name="memorycachesettings"></a>
+      <h3 class="api-name" id="memoryCacheSettings(kotlin.Function1)">memoryCacheSettings</h3>
+      <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryCacheSettings(kotlin.Function1)">memoryCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></pre>
+    </div>
+    <div class="api-item"><a name="persistentCacheSettings-kotlin.Function1-"></a><a name="persistentcachesettings"></a>
+      <h3 class="api-name" id="persistentCacheSettings(kotlin.Function1)">persistentCacheSettings</h3>
+      <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#persistentCacheSettings(kotlin.Function1)">persistentCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></pre>
+    </div>
     <h2>Extension functions</h2>
     <div class="api-item"><a name="-com.google.firebase.firestore.DocumentReference-.dataObjects-com.google.firebase.firestore.MetadataChanges-"></a><a name="dataobjects"></a>
       <h3 class="api-name" id="(com.google.firebase.firestore.DocumentReference).dataObjects(com.google.firebase.firestore.MetadataChanges)">dataObjects</h3>
@@ -171,7 +191,7 @@
       <p>Starts listening to the document referenced by this <code>DocumentReference</code> with the given options and emits its values converted to a POJO via a <code><a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html">Flow</a></code>.</p>
       <ul>
         <li>
-          <p>When the returned flow starts being collected, an EventListener will be attached.</p>
+          <p>When the returned flow starts being collected, an <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/EventListener.html">EventListener</a></code> will be attached.</p>
         </li>
         <li>
           <p>When the flow completes, the listener will be removed.</p>
@@ -211,7 +231,7 @@
       <p>Starts listening to this query with the given options and emits its values converted to a POJO via a <code><a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html">Flow</a></code>.</p>
       <ul>
         <li>
-          <p>When the returned flow starts being collected, an EventListener will be attached.</p>
+          <p>When the returned flow starts being collected, an <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/EventListener.html">EventListener</a></code> will be attached.</p>
         </li>
         <li>
           <p>When the flow completes, the listener will be removed.</p>
@@ -442,7 +462,7 @@
       <p>Starts listening to the document referenced by this <code>DocumentReference</code> with the given options and emits its values via a <code><a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html">Flow</a></code>.</p>
       <ul>
         <li>
-          <p>When the returned flow starts being collected, an EventListener will be attached.</p>
+          <p>When the returned flow starts being collected, an <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/EventListener.html">EventListener</a></code> will be attached.</p>
         </li>
         <li>
           <p>When the flow completes, the listener will be removed.</p>
@@ -476,7 +496,7 @@
       <p>Starts listening to this query with the given options and emits its values via a <code><a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html">Flow</a></code>.</p>
       <ul>
         <li>
-          <p>When the returned flow starts being collected, an EventListener will be attached.</p>
+          <p>When the returned flow starts being collected, an <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/EventListener.html">EventListener</a></code> will be attached.</p>
         </li>
         <li>
           <p>When the flow completes, the listener will be removed.</p>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/package-summary.html	2023-04-14 14:40:37.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/package-summary.html	2023-04-14 14:34:59.000000000 +0000
@@ -27,6 +27,12 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html">LocalCacheSettings</a></code></td>
+            <td>
+              <p>Marker interface implemented by all supported cache settings.</p>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/OnProgressListener.html">OnProgressListener</a></code></td>
             <td>
               <p>A listener that is called periodically during execution of a <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/LoadBundleTask.html">LoadBundleTask</a></code>.</p>
@@ -153,6 +159,30 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></code></td>
+            <td>
+              <p>Configures the SDK to use a memory cache.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></td>
+            <td>
+              <p>A Builder for creating <code>MemoryCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
+            <td>
+              <p>Configures the SDK to use a persistent cache.</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a></code></td>
+            <td>
+              <p>A Builder for creating <code>PersistentCacheSettings</code> instance.</p>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/Query.html">Query</a></code></td>
             <td>
               <p>A <code>Query</code> which you can read or listen to.</p>

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.Builder.setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryCacheSettings [AddedClass]
error: Added class com.google.firebase.firestore.PersistentCacheSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

2 similar comments
@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.Builder.setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryCacheSettings [AddedClass]
error: Added class com.google.firebase.firestore.PersistentCacheSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.Builder.setLocalCacheSettings(com.google.firebase.firestore.LocalCacheSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryCacheSettings [AddedClass]
error: Added class com.google.firebase.firestore.PersistentCacheSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 6, 2023

Coverage Report 1

Affected Products

  • firebase-firestore

    Overall coverage changed from 44.08% (7375cab) to 44.10% (9cab9be) by +0.02%.

    FilenameBase (7375cab)Merge (9cab9be)Diff
    DeleteMutation.java90.48%95.24%+4.76%
    FirebaseFirestoreSettings.java75.00%71.76%-3.24%
    LocalCacheSettings.java?0.00%?
    LocalStore.java100.00%99.39%-0.61%
    LruGarbageCollector.java97.20%93.46%-3.74%
    MemoryCacheSettings.java?28.57%?
    PatchMutation.java98.39%100.00%+1.61%
    PersistentCacheSettings.java?62.50%?
  • firebase-firestore-ktx

    Overall coverage changed from 19.05% (7375cab) to 29.17% (9cab9be) by +10.12%.

    FilenameBase (7375cab)Merge (9cab9be)Diff
    Firestore.kt21.05%31.82%+10.77%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/NMH55RRsNk.html

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2023

Unit Test Results

   158 files   -    630     158 suites   - 630   2m 28s ⏱️ - 33m 41s
1 121 tests  - 3 733  1 105 ✔️  - 3 728  16 💤  -   5  0 ±0 
2 242 runs   - 7 375  2 210 ✔️  - 7 365  32 💤  - 10  0 ±0 

Results for commit 1501ac9. ± Comparison against base commit 5f273c7.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 6, 2023

Size Report 1

Affected Products

  • firebase-firestore

    TypeBase (7375cab)Merge (9cab9be)Diff
    aar1.33 MB1.33 MB+4.14 kB (+0.3%)
    apk (release)3.94 MB3.94 MB+1.74 kB (+0.0%)
  • firebase-firestore-ktx

    TypeBase (7375cab)Merge (9cab9be)Diff
    aar24.5 kB24.9 kB+372 B (+1.5%)
    apk (release)4.33 MB4.33 MB+1.97 kB (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/R6NpnEdyS1.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 6, 2023

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

  • fire-fst

    DeviceStatisticsDistributions
    oriole-32
    Percentile7375cab9cab9beDiffSignificant (?)
    p10346 ±47 μs324 ±20 μs-21.8 μs (-6.3%)NO
    p25362 ±58 μs341 ±30 μs-21.3 μs (-5.9%)NO
    p50387 ±77 μs376 ±63 μs-11.0 μs (-2.8%)NO
    p75438 ±102 μs447 ±131 μs+9.17 μs (+2.1%)NO
    p90540 ±190 μs507 ±175 μs-33.8 μs (-6.3%)NO

    20 test runs in comparison
    CommitTest Runs
    7375cab
    • 2023-04-12_22:26:35.160354_GFXe
    • 2023-04-12_22:26:35.162569_ivdB
    • 2023-04-12_22:26:35.162579_thZc
    • 2023-04-12_22:26:35.162585_QMNE
    • 2023-04-12_22:26:35.162590_pBDs
    • 2023-04-12_22:26:35.162739_bzji
    • 2023-04-12_22:26:35.162746_iElW
    • 2023-04-12_22:26:35.162751_AsWe
    • 2023-04-12_22:26:35.162757_QESI
    • 2023-04-12_22:26:35.162762_RoBE
    9cab9be
    • 2023-04-14_14:42:33.527523_TBkB
    • 2023-04-14_14:42:33.534011_oSsa
    • 2023-04-14_14:42:33.534022_saBp
    • 2023-04-14_14:42:33.534028_pSRX
    • 2023-04-14_14:42:33.534177_FASn
    • 2023-04-14_14:42:33.534659_PXgS
    • 2023-04-14_14:42:33.534665_hSiN
    • 2023-04-14_14:42:33.534671_oQKc
    • 2023-04-14_14:42:33.534827_EfMG
    • 2023-04-14_14:42:33.534833_YEGl
    redfin-30
    Percentile7375cab9cab9beDiffSignificant (?)
    p10619 ±27 μs620 ±30 μs+1.60 μs (+0.3%)NO
    p25631 ±29 μs635 ±39 μs+4.07 μs (+0.6%)NO
    p50655 ±35 μs661 ±48 μs+6.46 μs (+1.0%)NO
    p75682 ±43 μs693 ±60 μs+11.7 μs (+1.7%)NO
    p90715 ±54 μs740 ±85 μs+25.5 μs (+3.6%)NO

    20 test runs in comparison
    CommitTest Runs
    7375cab
    • 2023-04-12_22:26:35.160354_GFXe
    • 2023-04-12_22:26:35.162569_ivdB
    • 2023-04-12_22:26:35.162579_thZc
    • 2023-04-12_22:26:35.162585_QMNE
    • 2023-04-12_22:26:35.162590_pBDs
    • 2023-04-12_22:26:35.162739_bzji
    • 2023-04-12_22:26:35.162746_iElW
    • 2023-04-12_22:26:35.162751_AsWe
    • 2023-04-12_22:26:35.162757_QESI
    • 2023-04-12_22:26:35.162762_RoBE
    9cab9be
    • 2023-04-14_14:42:33.527523_TBkB
    • 2023-04-14_14:42:33.534011_oSsa
    • 2023-04-14_14:42:33.534022_saBp
    • 2023-04-14_14:42:33.534028_pSRX
    • 2023-04-14_14:42:33.534177_FASn
    • 2023-04-14_14:42:33.534659_PXgS
    • 2023-04-14_14:42:33.534665_hSiN
    • 2023-04-14_14:42:33.534671_oQKc
    • 2023-04-14_14:42:33.534827_EfMG
    • 2023-04-14_14:42:33.534833_YEGl
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile7375cab9cab9beDiffSignificant (?)
    p10196 ±12 ms197 ±3 ms+864 μs (+0.4%)NO
    p25202 ±12 ms203 ±4 ms+1.16 ms (+0.6%)NO
    p50211 ±18 ms211 ±5 ms+499 μs (+0.2%)NO
    p75221 ±22 ms220 ±5 ms-221 μs (-0.1%)NO
    p90230 ±26 ms233 ±10 ms+2.75 ms (+1.2%)NO

    20 test runs in comparison
    CommitTest Runs
    7375cab
    • 2023-04-12_22:26:35.160354_GFXe
    • 2023-04-12_22:26:35.162569_ivdB
    • 2023-04-12_22:26:35.162579_thZc
    • 2023-04-12_22:26:35.162585_QMNE
    • 2023-04-12_22:26:35.162590_pBDs
    • 2023-04-12_22:26:35.162739_bzji
    • 2023-04-12_22:26:35.162746_iElW
    • 2023-04-12_22:26:35.162751_AsWe
    • 2023-04-12_22:26:35.162757_QESI
    • 2023-04-12_22:26:35.162762_RoBE
    9cab9be
    • 2023-04-14_14:42:33.527523_TBkB
    • 2023-04-14_14:42:33.534011_oSsa
    • 2023-04-14_14:42:33.534022_saBp
    • 2023-04-14_14:42:33.534028_pSRX
    • 2023-04-14_14:42:33.534177_FASn
    • 2023-04-14_14:42:33.534659_PXgS
    • 2023-04-14_14:42:33.534665_hSiN
    • 2023-04-14_14:42:33.534671_oQKc
    • 2023-04-14_14:42:33.534827_EfMG
    • 2023-04-14_14:42:33.534833_YEGl
    redfin-30
    Percentile7375cab9cab9beDiffSignificant (?)
    p10231 ±5 ms251 ±4 ms+20.3 ms (+8.8%)MAYBE
    p25236 ±5 ms256 ±4 ms+20.5 ms (+8.7%)MAYBE
    p50243 ±5 ms264 ±3 ms+20.8 ms (+8.6%)MAYBE
    p75252 ±6 ms274 ±3 ms+22.0 ms (+8.7%)MAYBE
    p90261 ±8 ms289 ±7 ms+28.4 ms (+10.9%)MAYBE

    20 test runs in comparison
    CommitTest Runs
    7375cab
    • 2023-04-12_22:26:35.160354_GFXe
    • 2023-04-12_22:26:35.162569_ivdB
    • 2023-04-12_22:26:35.162579_thZc
    • 2023-04-12_22:26:35.162585_QMNE
    • 2023-04-12_22:26:35.162590_pBDs
    • 2023-04-12_22:26:35.162739_bzji
    • 2023-04-12_22:26:35.162746_iElW
    • 2023-04-12_22:26:35.162751_AsWe
    • 2023-04-12_22:26:35.162757_QESI
    • 2023-04-12_22:26:35.162762_RoBE
    9cab9be
    • 2023-04-14_14:42:33.527523_TBkB
    • 2023-04-14_14:42:33.534011_oSsa
    • 2023-04-14_14:42:33.534022_saBp
    • 2023-04-14_14:42:33.534028_pSRX
    • 2023-04-14_14:42:33.534177_FASn
    • 2023-04-14_14:42:33.534659_PXgS
    • 2023-04-14_14:42:33.534665_hSiN
    • 2023-04-14_14:42:33.534671_oQKc
    • 2023-04-14_14:42:33.534827_EfMG
    • 2023-04-14_14:42:33.534833_YEGl

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/K9SZdc9rGI/index.html

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Method com.google.firebase.firestore.PersistentCacheSettings.Builder.setSizeBytes has changed return type from void to com.google.firebase.firestore.PersistentCacheSettings.Builder [ChangedType]

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Attempted to change method return from @nonnull to @nullable: incompatible change for method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [InvalidNullConversion]

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

1 similar comment
@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Attempted to change method return from @nonnull to @nullable: incompatible change for method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [InvalidNullConversion]

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Attempted to change method return from @nonnull to @nullable: incompatible change for method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [InvalidNullConversion]

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@tom-andersen tom-andersen assigned ehsannas and wu-hui and unassigned ehsannas Apr 12, 2023
@tom-andersen tom-andersen removed their assignment Apr 12, 2023
@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Attempted to change method return from @nonnull to @nullable: incompatible change for method com.google.firebase.firestore.FirebaseFirestoreSettings.getCacheSettings() [InvalidNullConversion]
error: Method com.google.firebase.firestore.PersistentCacheSettings.getSizeBytes has added 'final' qualifier [AddedFinal]

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore_ktx:
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.memoryCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.MemoryCacheSettings.Builder,kotlin.Unit>) [AddedMethod]
error: Added method com.google.firebase.firestore.ktx.FirestoreKt.persistentCacheSettings(kotlin.jvm.functions.Function1<? super com.google.firebase.firestore.PersistentCacheSettings.Builder,kotlin.Unit>) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

Copy link
Contributor Author

@wu-hui wu-hui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review.

@wu-hui wu-hui assigned tom-andersen and unassigned wu-hui Apr 13, 2023
Copy link
Contributor

@tom-andersen tom-andersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I look forward to seeing the deprecated methods removed! :)

@tom-andersen tom-andersen assigned wu-hui and unassigned tom-andersen Apr 13, 2023
@wu-hui wu-hui merged commit 24197b5 into master Apr 14, 2023
@wu-hui wu-hui deleted the wuandy/NewCacheConfig branch April 14, 2023 14:59
@firebase firebase locked and limited conversation to collaborators May 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants