-
Notifications
You must be signed in to change notification settings - Fork 624
Semver check for firebase sdks #4826
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
Conversation
Javadoc Changes:--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/database/DataSnapshot.html 2023-03-30 17:01:29.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/database/DataSnapshot.html 2023-03-30 16:55:58.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><T> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator<T>)">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><T> 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 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><T> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class<T>)">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><T> 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 @<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> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getKey()">getKey</a>()</pre>
+ <pre class="api-signature no-pretty-print">public <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <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 @<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> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>()</pre>
+ <pre class="api-signature no-pretty-print">public <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> <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 @<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> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>()</pre>
+ <pre class="api-signature no-pretty-print">public <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> <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<T>-"></a><a name="getvalue"></a>
<h3 class="api-name" id="getValue(com.google.firebase.database.GenericTypeIndicator<T>)">getValue</h3>
- <pre class="api-signature no-pretty-print">public @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T <T> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator<T>)">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><T> t)</pre>
+ <pre class="api-signature no-pretty-print">public T <T> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator<T>)">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><T> 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<List<Message>> t = new GenericTypeIndicator<List<Message>>() {};
List<Message> 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 @<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> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(boolean useExportFormat)</pre>
+ <pre class="api-signature no-pretty-print">public <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(boolean 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<T>-"></a><a name="getvalue"></a>
<h3 class="api-name" id="getValue(java.lang.Class<T>)">getValue</h3>
- <pre class="api-signature no-pretty-print">public @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> T <T> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class<T>)">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><T> valueType)</pre>
+ <pre class="api-signature no-pretty-print">public T <T> <a href="/docs/reference/android/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class<T>)">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><T> 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/android/com/google/firebase/functions/FirebaseFunctions.html 2023-03-30 17:01:59.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/functions/FirebaseFunctions.html 2023-03-30 16:56:26.000000000 +0000
@@ -21,6 +21,27 @@
</colgroup>
<thead>
<tr>
+ <th colspan="100%"><h3>Public fields</h3></th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code>final <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/functions/FirebaseFunctions.html#hello()">hello</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>
@@ -87,6 +108,13 @@
</table>
</div>
<div class="list">
+ <h2>Public fields</h2>
+ <div class="api-item"><a name="getHello()"></a><a name="setHello()"></a><a name="getHello--"></a><a name="setHello--"></a>
+ <h3 class="api-name" id="hello()">hello</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/functions/FirebaseFunctions.html#hello()">hello</a></pre>
+ </div>
+ </div>
+ <div class="list">
<h2>Public methods</h2>
<div class="api-item"><a name="getHttpsCallable-java.lang.String-"></a><a name="gethttpscallable"></a>
<h3 class="api-name" id="getHttpsCallable(java.lang.String)">getHttpsCallable</h3> --- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/database/DataSnapshot.html 2023-03-30 17:01:29.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/database/DataSnapshot.html 2023-03-30 16:55:58.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><T> <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator<T>)">getValue</a>(t: <a href="/docs/reference/kotlin/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a><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://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: <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><T> <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class<T>)">getValue</a>(valueType: <a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a><T!>)</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 <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getKey()">getKey</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getKey()">getKey</a>(): <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 <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getPriority()">getPriority</a>(): <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 <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue()">getValue</a>(): <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<T>-"></a><a name="getvalue"></a>
<h3 class="api-name" id="getValue(com.google.firebase.database.GenericTypeIndicator<T>)">getValue</h3>
- <pre class="api-signature no-pretty-print">fun <T> <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator<T>)">getValue</a>(t: <a href="/docs/reference/kotlin/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a><T!>): T?</pre>
+ <pre class="api-signature no-pretty-print">fun <T> <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(com.google.firebase.database.GenericTypeIndicator<T>)">getValue</a>(t: <a href="/docs/reference/kotlin/com/google/firebase/database/GenericTypeIndicator.html">GenericTypeIndicator</a><T!>): 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<List<Message>> t = new GenericTypeIndicator<List<Message>>() {};
List<Message> 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 <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(useExportFormat: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(boolean)">getValue</a>(useExportFormat: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <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<T>-"></a><a name="getvalue"></a>
<h3 class="api-name" id="getValue(java.lang.Class<T>)">getValue</h3>
- <pre class="api-signature no-pretty-print">fun <T> <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class<T>)">getValue</a>(valueType: <a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a><T!>): T?</pre>
+ <pre class="api-signature no-pretty-print">fun <T> <a href="/docs/reference/kotlin/com/google/firebase/database/DataSnapshot.html#getValue(java.lang.Class<T>)">getValue</a>(valueType: <a href="https://developer.android.com/reference/kotlin/java/lang/Class.html">Class</a><T!>): 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> --- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/functions/FirebaseFunctions.html 2023-03-30 17:01:59.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/functions/FirebaseFunctions.html 2023-03-30 16:56:26.000000000 +0000
@@ -86,6 +86,27 @@
</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/-string/index.html">String</a>!</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html#hello()">hello</a></code></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<div class="list">
<h2>Public functions</h2>
<div class="api-item"><a name="getHttpsCallable-java.lang.String-"></a><a name="gethttpscallable"></a>
@@ -230,6 +251,13 @@
</aside>
</div>
</div>
+ <div class="list">
+ <h2>Public properties</h2>
+ <div class="api-item"><a name="getHello()"></a><a name="setHello()"></a><a name="getHello--"></a><a name="setHello--"></a>
+ <h3 class="api-name" id="hello()">hello</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html#hello()">hello</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>!</pre>
+ </div>
+ </div>
</body>
</html>
|
Unit Test Results 788 files + 57 788 suites +57 36m 24s ⏱️ + 7m 21s For more details on these failures, see this check. Results for commit 9afe607. ± Comparison against base commit 1320a47. ♻️ This comment has been updated with latest results. |
Size Report 1Affected ProductsNo changes between base commit (73db13a) and merge commit (e05440f).Test Logs |
Coverage Report 1Affected Products
Test Logs |
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
The public api surface has changed for the subproject firebase-functions: 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. |
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/FirebaseJavaLibraryPlugin.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/BaseFirebaseLibraryPlugin.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/UnzipAar.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/ApiDiffer.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/Delta.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/DeltaType.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/UtilityClass.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/VersionDelta.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/semver/UtilityClass.kt
Show resolved
Hide resolved
…er/ApiDiffer.kt Co-authored-by: Rodrigo Lazo <[email protected]>
buildSrc/src/main/java/com/google/firebase/gradle/plugins/BaseFirebaseLibraryPlugin.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/com/google/firebase/gradle/plugins/BaseFirebaseLibraryPlugin.kt
Outdated
Show resolved
Hide resolved
import org.objectweb.asm.tree.FieldNode | ||
import org.objectweb.asm.tree.MethodNode | ||
|
||
class ClassInfo(val _node: ClassNode, val _classNodes: Map<String, ClassNode>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From https://developer.android.com/kotlin/style-guide#backing-properties seems like the use of _<name>
is as a backing property to allow you to expose <name>
using a getter. But _node
is exposed as is. And _classNodes
are only in the call to getAllMethods()
Based on the list of changes (specified in DeltaType in the code) we decide if there needs to be a minor/major/patch bump for the current sdk by comparing the current releasable aar and the previous aar obtained from gmaven