Skip to content
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

Integrate Firebase Performance with Firebase Sessions. #5020

Merged
merged 18 commits into from
May 26, 2023

Conversation

visumickey
Copy link
Contributor

No description provided.

@visumickey visumickey marked this pull request as draft May 20, 2023 00:26
@github-actions
Copy link
Contributor

github-actions bot commented May 20, 2023

Javadoc Changes:
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/database/DataSnapshot.html	2023-05-25 22:57:09.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/database/DataSnapshot.html	2023-05-25 22:51:18.000000000 +0000
@@ -53,13 +53,13 @@
             </td>
           </tr>
           <tr>
-            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+            <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/database/DataSnapshot.html#getKey()">getKey</a>()</code></div>
             </td>
           </tr>
           <tr>
-            <td><code>@<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></code></td>
+            <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>()</code></div>
               <p>Returns the priority of the data contained in this snapshot as a native type.</p>
@@ -73,28 +73,28 @@
             </td>
           </tr>
           <tr>
-            <td><code>@<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></code></td>
+            <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>()</code></div>
               <p>getValue() returns the data contained in this snapshot as native types.</p>
             </td>
           </tr>
           <tr>
-            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T</code></td>
+            <td><code>T</code></td>
             <td>
               <div><code>&lt;T&gt; <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a>&lt;T&gt;&nbsp;t)</code></div>
               <p>Due to the way that Java implements generics, it takes an extra step to get back a properly-typed Collection.</p>
             </td>
           </tr>
           <tr>
-            <td><code>@<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></code></td>
+            <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(boolean&nbsp;useExportFormat)</code></div>
               <p>getValue() returns the data contained in this snapshot as native types.</p>
             </td>
           </tr>
           <tr>
-            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T</code></td>
+            <td><code>T</code></td>
             <td>
               <div><code>&lt;T&gt; <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class&lt;T&gt;)">getValue</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a>&lt;T&gt;&nbsp;valueType)</code></div>
               <p>This method is used to marshall the data contained in this snapshot into a class of your choosing.</p>
@@ -255,7 +255,7 @@
       </div>
       <div class="api-item"><a name="getKey--"></a><a name="getkey"></a>
         <h3 class="api-name" id="getKey()">getKey</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="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getKey()">getKey</a>()</pre>
+        <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/database/DataSnapshot.html#getKey()">getKey</a>()</pre>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -269,7 +269,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+                <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
                 <td>
                   <p>The key name for the source location of this snapshot or null if this snapshot points to the database root.</p>
                 </td>
@@ -280,7 +280,7 @@
       </div>
       <div class="api-item"><a name="getPriority--"></a><a name="getpriority"></a>
         <h3 class="api-name" id="getPriority()">getPriority</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="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>()</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>()</pre>
         <p>Returns the priority of the data contained in this snapshot as a native type. Possible return types: </p>
         <ul>
           <li><code>Double</code></li>
@@ -300,7 +300,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<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></code></td>
+                <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
                 <td>
                   <p>the priority of the data contained in this snapshot as a native type</p>
                 </td>
@@ -337,7 +337,7 @@
       </div>
       <div class="api-item"><a name="getValue--"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue()">getValue</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="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>()</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>()</pre>
         <p>getValue() returns the data contained in this snapshot as native types. The possible types returned are: </p>
         <ul>
           <li><code>Boolean</code></li>
@@ -361,7 +361,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<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></code></td>
+                <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
                 <td>
                   <p>The data contained in this snapshot as native types or null if there is no data at this location.</p>
                 </td>
@@ -372,7 +372,7 @@
       </div>
       <div class="api-item"><a name="getValue-com.google.firebase.database.GenericTypeIndicator&lt;T&gt;-"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T&nbsp;&lt;T&gt; <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a>&lt;T&gt;&nbsp;t)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;T&nbsp;&lt;T&gt; <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a>&lt;T&gt;&nbsp;t)</pre>
         <p>Due to the way that Java implements generics, it takes an extra step to get back a properly-typed Collection. So, in the case where you want a <code><a href="https://developer.android.com/reference/kotlin/java/util/List.html">java.util.List</a></code> of Message instances, you will need to do something like the following: </p>
         <pre class="prettyprint">    GenericTypeIndicator&lt;List&lt;Message&gt;&gt; t = new GenericTypeIndicator&lt;List&lt;Message&gt;&gt;() {};
     List&lt;Message&gt; messages = snapshot.getValue(t);
@@ -418,7 +418,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T</code></td>
+                <td><code>T</code></td>
                 <td>
                   <p>A properly typed collection, populated with the data from this snapshot, or null if there is no data at this location.</p>
                 </td>
@@ -429,7 +429,7 @@
       </div>
       <div class="api-item"><a name="getValue-boolean-"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue(boolean)">getValue</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="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(boolean&nbsp;useExportFormat)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(boolean&nbsp;useExportFormat)</pre>
         <p>getValue() returns the data contained in this snapshot as native types. The possible types returned are: </p>
         <ul>
           <li><code>Boolean</code></li>
@@ -475,7 +475,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<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></code></td>
+                <td><code><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
                 <td>
                   <p>The data in native types, along with its priority, or null if there is no data at this location.</p>
                 </td>
@@ -486,7 +486,7 @@
       </div>
       <div class="api-item"><a name="getValue-java.lang.Class&lt;T&gt;-"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue(java.lang.Class&lt;T&gt;)">getValue</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T&nbsp;&lt;T&gt; <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class&lt;T&gt;)">getValue</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a>&lt;T&gt;&nbsp;valueType)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;T&nbsp;&lt;T&gt; <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class&lt;T&gt;)">getValue</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a>&lt;T&gt;&nbsp;valueType)</pre>
         <p>This method is used to marshall the data contained in this snapshot into a class of your choosing. The class must fit 2 simple constraints: </p>
         <ol>
           <li>The class must have a default constructor that takes no arguments </li>
@@ -557,7 +557,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T</code></td>
+                <td><code>T</code></td>
                 <td>
                   <p>An instance of the class passed in, populated with the data from this snapshot, or null if there is no data at this location.</p>
                 </td>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/database/DataSnapshot.html	2023-05-25 22:57:08.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/database/DataSnapshot.html	2023-05-25 22:51:18.000000000 +0000
@@ -53,13 +53,13 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</code></td>
+            <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/database/DataSnapshot.html#getKey()">getKey</a>()</code></div>
             </td>
           </tr>
           <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>()</code></div>
               <p>Returns the priority of the data contained in this snapshot as a native type.</p>
@@ -73,28 +73,28 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>()</code></div>
               <p>getValue() returns the data contained in this snapshot as native types.</p>
             </td>
           </tr>
           <tr>
-            <td><code>T?</code></td>
+            <td><code>T!</code></td>
             <td>
               <div><code>&lt;T&gt; <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</a>(t:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a>&lt;T!&gt;)</code></div>
               <p>Due to the way that Java implements generics, it takes an extra step to get back a properly-typed Collection.</p>
             </td>
           </tr>
           <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(useExportFormat:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>)</code></div>
               <p>getValue() returns the data contained in this snapshot as native types.</p>
             </td>
           </tr>
           <tr>
-            <td><code>T?</code></td>
+            <td><code>T!</code></td>
             <td>
               <div><code>&lt;T&gt; <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class&lt;T&gt;)">getValue</a>(valueType:&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a>&lt;T!&gt;)</code></div>
               <p>This method is used to marshall the data contained in this snapshot into a class of your choosing.</p>
@@ -255,7 +255,7 @@
       </div>
       <div class="api-item"><a name="getKey--"></a><a name="getkey"></a>
         <h3 class="api-name" id="getKey()">getKey</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getKey()">getKey</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getKey()">getKey</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</pre>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -269,7 +269,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</code></td>
+                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</code></td>
                 <td>
                   <p>The key name for the source location of this snapshot or null if this snapshot points to the database root.</p>
                 </td>
@@ -280,7 +280,7 @@
       </div>
       <div class="api-item"><a name="getPriority--"></a><a name="getpriority"></a>
         <h3 class="api-name" id="getPriority()">getPriority</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</pre>
         <p>Returns the priority of the data contained in this snapshot as a native type. Possible return types: </p>
         <ul>
           <li><code>Double</code></li>
@@ -300,7 +300,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
+                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</code></td>
                 <td>
                   <p>the priority of the data contained in this snapshot as a native type</p>
                 </td>
@@ -337,7 +337,7 @@
       </div>
       <div class="api-item"><a name="getValue--"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue()">getValue</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</pre>
         <p>getValue() returns the data contained in this snapshot as native types. The possible types returned are: </p>
         <ul>
           <li><code>Boolean</code></li>
@@ -361,7 +361,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
+                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</code></td>
                 <td>
                   <p>The data contained in this snapshot as native types or null if there is no data at this location.</p>
                 </td>
@@ -372,7 +372,7 @@
       </div>
       <div class="api-item"><a name="getValue-com.google.firebase.database.GenericTypeIndicator&lt;T&gt;-"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;&lt;T&gt; <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</a>(t:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a>&lt;T!&gt;):&nbsp;T?</pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;&lt;T&gt; <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator&lt;T&gt;)">getValue</a>(t:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a>&lt;T!&gt;):&nbsp;T!</pre>
         <p>Due to the way that Java implements generics, it takes an extra step to get back a properly-typed Collection. So, in the case where you want a <code><a href="https://developer.android.com/reference/kotlin/java/util/List.html">java.util.List</a></code> of Message instances, you will need to do something like the following: </p>
         <pre class="prettyprint">    GenericTypeIndicator&lt;List&lt;Message&gt;&gt; t = new GenericTypeIndicator&lt;List&lt;Message&gt;&gt;() {};
     List&lt;Message&gt; messages = snapshot.getValue(t);
@@ -418,7 +418,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>T?</code></td>
+                <td><code>T!</code></td>
                 <td>
                   <p>A properly typed collection, populated with the data from this snapshot, or null if there is no data at this location.</p>
                 </td>
@@ -429,7 +429,7 @@
       </div>
       <div class="api-item"><a name="getValue-boolean-"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue(boolean)">getValue</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(useExportFormat:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(useExportFormat:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</pre>
         <p>getValue() returns the data contained in this snapshot as native types. The possible types returned are: </p>
         <ul>
           <li><code>Boolean</code></li>
@@ -475,7 +475,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
+                <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!</code></td>
                 <td>
                   <p>The data in native types, along with its priority, or null if there is no data at this location.</p>
                 </td>
@@ -486,7 +486,7 @@
       </div>
       <div class="api-item"><a name="getValue-java.lang.Class&lt;T&gt;-"></a><a name="getvalue"></a>
         <h3 class="api-name" id="getValue(java.lang.Class&lt;T&gt;)">getValue</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;&lt;T&gt; <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class&lt;T&gt;)">getValue</a>(valueType:&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a>&lt;T!&gt;):&nbsp;T?</pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;&lt;T&gt; <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class&lt;T&gt;)">getValue</a>(valueType:&nbsp;<a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a>&lt;T!&gt;):&nbsp;T!</pre>
         <p>This method is used to marshall the data contained in this snapshot into a class of your choosing. The class must fit 2 simple constraints: </p>
         <ol>
           <li>The class must have a default constructor that takes no arguments </li>
@@ -557,7 +557,7 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>T?</code></td>
+                <td><code>T!</code></td>
                 <td>
                   <p>An instance of the class passed in, populated with the data from this snapshot, or null if there is no data at this location.</p>
                 </td>

@github-actions
Copy link
Contributor

github-actions bot commented May 20, 2023

Unit Test Results

   102 files     102 suites   5m 6s ⏱️
   975 tests    975 ✔️ 0 💤 0
1 950 runs  1 950 ✔️ 0 💤 0

Results for commit 3bf1738.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 20, 2023

Size Report 1

Affected Products

  • base

    TypeBase (62e9e4b)Merge (12bdbd6)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?8.65 kB? (?)
  • firebase-datatransport

    TypeBase (62e9e4b)Merge (12bdbd6)Diff
    aar?4.94 kB? (?)
    apk (aggressive)?161 kB? (?)
    apk (release)?1.35 MB? (?)
  • firebase-perf

    TypeBase (62e9e4b)Merge (12bdbd6)Diff
    aar?317 kB? (?)
  • firebase-perf-ktx

    TypeBase (62e9e4b)Merge (12bdbd6)Diff
    aar?16.0 kB? (?)
  • firebase-sessions

    TypeBase (62e9e4b)Merge (12bdbd6)Diff
    aar?111 kB? (?)

Test Logs

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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 20, 2023

Coverage Report 1

Affected Products

  • firebase-perf

    Overall coverage changed from ? (62e9e4b) to 71.28% (12bdbd6) by ?.

    104 individual files with coverage change

    FilenameBase (62e9e4b)Merge (12bdbd6)Diff
    AddTrace.java?0.00%?
    AndroidApplicationInfo.java?34.71%?
    AndroidApplicationInfoOrBuilder.java?0.00%?
    AndroidLogger.java?100.00%?
    AndroidMemoryReading.java?38.36%?
    AndroidMemoryReadingOrBuilder.java?0.00%?
    ApplicationInfo.java?45.00%?
    ApplicationInfoOrBuilder.java?0.00%?
    ApplicationProcessState.java?73.91%?
    AppStartTrace.java?77.37%?
    AppStateMonitor.java?86.71%?
    AppStateUpdateHandler.java?92.86%?
    Clock.java?100.00%?
    ConfigResolver.java?93.19%?
    ConfigurationConstants.java?97.86%?
    ConfigurationFlag.java?100.00%?
    ConsoleUrlGenerator.java?37.50%?
    Constants.java?95.65%?
    Counter.java?90.91%?
    CpuGaugeCollector.java?92.77%?
    CpuMetricReading.java?39.33%?
    CpuMetricReadingOrBuilder.java?0.00%?
    DaggerFirebasePerformanceComponent.java?100.00%?
    DeviceCacheManager.java?76.42%?
    FirebasePerfApplicationInfoValidator.java?92.86%?
    FirebasePerfEarly.java?76.92%?
    FirebasePerfGaugeMetricValidator.java?100.00%?
    FirebasePerfHttpClient.java?93.85%?
    FirebasePerfMetricProto.java?0.00%?
    FirebasePerfNetworkValidator.java?86.67%?
    FirebasePerfOkHttpClient.java?44.90%?
    FirebasePerformance.java?80.41%?
    FirebasePerformanceAttributable.java?0.00%?
    FirebasePerformanceComponent.java?0.00%?
    FirebasePerformanceInitializer.java?33.33%?
    FirebasePerformanceModule.java?100.00%?
    FirebasePerformanceModule_ProvidesConfigResolverFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesFirebaseAppFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesFirebaseInstallationsFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesFirebaseSessionsFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesRemoteConfigComponentFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesRemoteConfigManagerFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesSessionManagerFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesTransportFactoryProviderFactory.java?100.00%?
    FirebasePerformance_Factory.java?100.00%?
    FirebasePerfRegistrar.java?100.00%?
    FirebasePerfTraceValidator.java?85.87%?
    FirebasePerfUrlConnection.java?44.26%?
    FirstDrawDoneListener.java?85.71%?
    FlgTransport.java?83.33%?
    FragmentStateMonitor.java?94.87%?
    FrameMetricsCalculator.java?96.77%?
    FrameMetricsRecorder.java?76.32%?
    GaugeManager.java?98.40%?
    GaugeMetadata.java?26.17%?
    GaugeMetadataManager.java?77.78%?
    GaugeMetadataOrBuilder.java?0.00%?
    GaugeMetric.java?39.47%?
    GaugeMetricOrBuilder.java?0.00%?
    HttpMetric.java?92.65%?
    ImmutableBundle.java?100.00%?
    InstrHttpInputStream.java?92.86%?
    InstrHttpOutputStream.java?98.00%?
    InstrHttpsURLConnection.java?94.32%?
    InstrHttpURLConnection.java?93.42%?
    InstrumentApacheHttpResponseHandler.java?100.00%?
    InstrumentOkHttpEnqueueCallback.java?100.00%?
    InstrURLConnectionBase.java?94.86%?
    LogWrapper.java?23.08%?
    MemoryGaugeCollector.java?89.66%?
    NetworkConnectionInfo.java?0.00%?
    NetworkConnectionInfoOrBuilder.java?0.00%?
    NetworkRequestMetric.java?49.16%?
    NetworkRequestMetricBuilder.java?95.97%?
    NetworkRequestMetricBuilderUtil.java?75.00%?
    NetworkRequestMetricOrBuilder.java?0.00%?
    Optional.java?86.67%?
    PendingPerfEvent.java?100.00%?
    PerfMetric.java?33.67%?
    PerfMetricOrBuilder.java?0.00%?
    PerfMetricValidator.java?93.55%?
    PerfSession.java?93.22%?
    PerfSessionOrBuilder.java?0.00%?
    PreDrawListener.java?94.12%?
    Rate.java?100.00%?
    RateLimiter.java?90.77%?
    RemoteConfigManager.java?91.30%?
    ResourceType.java?0.00%?
    ScreenTraceUtil.java?94.12%?
    SessionAwareObject.java?0.00%?
    SessionManager.java?100.00%?
    SessionVerbosity.java?68.42%?
    StorageUnit.java?57.89%?
    Timer.java?90.63%?
    Trace.java?96.67%?
    TraceMetric.java?43.14%?
    TraceMetricBuilder.java?100.00%?
    TraceMetricOrBuilder.java?0.00%?
    TransportInfo.java?0.00%?
    TransportInfoOrBuilder.java?0.00%?
    TransportManager.java?94.88%?
    URLAllowlist.java?94.44%?
    URLWrapper.java?0.00%?
    Utils.java?78.57%?

  • firebase-perf-ktx

    Overall coverage changed from ? (62e9e4b) to 28.57% (12bdbd6) by ?.

    FilenameBase (62e9e4b)Merge (12bdbd6)Diff
    Performance.kt?28.57%?

Test Logs

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

@visumickey visumickey force-pushed the firebase-sessions-perf-integration branch from 95457c3 to 85a3bbc Compare May 24, 2023 21:34
@visumickey visumickey marked this pull request as ready for review May 25, 2023 22:09
@visumickey visumickey requested a review from rlazo May 25, 2023 22:30
@visumickey visumickey requested a review from mrober May 25, 2023 23:59
@visumickey visumickey merged commit 29cf590 into firebase-sessions May 26, 2023
@visumickey visumickey deleted the firebase-sessions-perf-integration branch May 26, 2023 16:34
@firebase firebase locked and limited conversation to collaborators Jun 26, 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.

3 participants