-
Notifications
You must be signed in to change notification settings - Fork 578
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
Make FirebaseVertexAIException abstract, and constructors internal #6368
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For better API evolution while maintaining backward compatibility, moved `FirebaseVertexAIException` from sealed to abstract class. Also, since the dev shoul not be creating instances of the class, or its subclasses, marking those constructors as internal.
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html 2024-10-10 18:40:34.011658236 +0000
@@ -8,7 +8,7 @@
<div id="metadata-info-block"></div>
<h1>FirebaseVertexAIException</h1>
<p>
- <pre>public class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">FirebaseVertexAIException</a> extends <a href="https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html">RuntimeException</a></pre>
+ <pre>public abstract class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">FirebaseVertexAIException</a> extends <a href="https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html">RuntimeException</a></pre>
</p>
<div class="devsite-table-wrapper">
<table class="jd-inheritance-table">
@@ -55,7 +55,7 @@
<tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidAPIKeyException.html">InvalidAPIKeyException</a></code></td>
<td>
- <p>The server responded that the API Key is not valid.</p>
+ <p>The provided API Key is not valid.</p>
</td>
</tr>
<tr>
@@ -73,7 +73,7 @@
<tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html">PromptBlockedException</a></code></td>
<td>
- <p>A request was blocked for some reason.</p>
+ <p>A request was blocked.</p>
</td>
</tr>
<tr>
@@ -127,26 +127,6 @@
<p>Parent class for any errors that occur from the <code><a href="/docs/reference/android/com/google/firebase/vertexai/FirebaseVertexAI.html">FirebaseVertexAI</a></code> 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>Protected constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html#FirebaseVertexAIException(kotlin.String,kotlin.Throwable)">FirebaseVertexAIException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -268,13 +248,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Protected constructors</h2>
- <div class="api-item"><a name="FirebaseVertexAIException(kotlin.String, kotlin.Throwable)"></a><a name="FirebaseVertexAIException-kotlin.String-kotlin.Throwable-"></a><a name="firebasevertexaiexception"></a>
- <h3 class="api-name" id="FirebaseVertexAIException(kotlin.String,kotlin.Throwable)">FirebaseVertexAIException</h3>
- <pre class="api-signature no-pretty-print">protected <a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html#FirebaseVertexAIException(kotlin.String,kotlin.Throwable)">FirebaseVertexAIException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InvalidAPIKeyException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InvalidAPIKeyException.html 2024-10-10 18:40:34.011658236 +0000
@@ -50,29 +50,9 @@
</table>
</div>
<hr>
- <p>The server responded that the API Key is not valid.</p>
+ <p>The provided API Key is not valid.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidAPIKeyException.html#InvalidAPIKeyException(kotlin.String,kotlin.Throwable)">InvalidAPIKeyException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="InvalidAPIKeyException(kotlin.String, kotlin.Throwable)"></a><a name="InvalidAPIKeyException-kotlin.String-kotlin.Throwable-"></a><a name="invalidapikeyexception"></a>
- <h3 class="api-name" id="InvalidAPIKeyException(kotlin.String,kotlin.Throwable)">InvalidAPIKeyException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidAPIKeyException.html#InvalidAPIKeyException(kotlin.String,kotlin.Throwable)">InvalidAPIKeyException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InvalidLocationException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InvalidLocationException.html 2024-10-10 18:40:34.011658236 +0000
@@ -54,26 +54,6 @@
<p>For a list of valid locations, see <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations#available-regions">Vertex AI locations.</a></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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidLocationException.html#InvalidLocationException(kotlin.String,kotlin.Throwable)">InvalidLocationException</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/String.html">String</a> location, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="InvalidLocationException(kotlin.String, kotlin.Throwable)"></a><a name="InvalidLocationException-kotlin.String-kotlin.Throwable-"></a><a name="invalidlocationexception"></a>
- <h3 class="api-name" id="InvalidLocationException(kotlin.String,kotlin.Throwable)">InvalidLocationException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidLocationException.html#InvalidLocationException(kotlin.String,kotlin.Throwable)">InvalidLocationException</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/String.html">String</a> location, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InvalidStateException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InvalidStateException.html 2024-10-10 18:40:34.011658236 +0000
@@ -54,26 +54,6 @@
<p>Usually indicative of consumer error.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidStateException.html#InvalidStateException(kotlin.String,kotlin.Throwable)">InvalidStateException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="InvalidStateException(kotlin.String, kotlin.Throwable)"></a><a name="InvalidStateException-kotlin.String-kotlin.Throwable-"></a><a name="invalidstateexception"></a>
- <h3 class="api-name" id="InvalidStateException(kotlin.String,kotlin.Throwable)">InvalidStateException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidStateException.html#InvalidStateException(kotlin.String,kotlin.Throwable)">InvalidStateException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/PromptBlockedException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/PromptBlockedException.html 2024-10-10 18:40:34.011658236 +0000
@@ -50,7 +50,7 @@
</table>
</div>
<hr>
- <p>A request was blocked for some reason.</p>
+ <p>A request was blocked.</p>
<p>See the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html#response()">response's</a></code> <code>promptFeedback.blockReason</code> for more information.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
@@ -69,27 +69,7 @@
<td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html#response()">response</a></code></div>
- <p>the full server response for the request.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html#PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">PromptBlockedException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a> response,<br> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause<br>)</code></div>
+ <p>The full server response.</p>
</td>
</tr>
</tbody>
@@ -222,14 +202,7 @@
<div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
<h3 class="api-name" id="response()">response</h3>
<pre class="api-signature no-pretty-print">public final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html#response()">response</a></pre>
- <p>the full server response for the request.</p>
- </div>
- </div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse, kotlin.Throwable)"></a><a name="PromptBlockedException-com.google.firebase.vertexai.type.GenerateContentResponse-kotlin.Throwable-"></a><a name="promptblockedexception"></a>
- <h3 class="api-name" id="PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">PromptBlockedException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html#PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">PromptBlockedException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a> response,<br> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause<br>)</pre>
+ <p>The full server response.</p>
</div>
</div>
</body> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/RequestTimeoutException.html 2024-10-10 18:42:40.580284871 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/RequestTimeoutException.html 2024-10-10 18:40:34.007658213 +0000
@@ -54,26 +54,6 @@
<p>Usually occurs due to a user specified <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestOptions.html#timeout()">timeout</a></code>.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestTimeoutException.html#RequestTimeoutException(kotlin.String,kotlin.Throwable)">RequestTimeoutException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="RequestTimeoutException(kotlin.String, kotlin.Throwable)"></a><a name="RequestTimeoutException-kotlin.String-kotlin.Throwable-"></a><a name="requesttimeoutexception"></a>
- <h3 class="api-name" id="RequestTimeoutException(kotlin.String,kotlin.Throwable)">RequestTimeoutException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestTimeoutException.html#RequestTimeoutException(kotlin.String,kotlin.Throwable)">RequestTimeoutException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ResponseStoppedException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ResponseStoppedException.html 2024-10-10 18:40:34.011658236 +0000
@@ -68,27 +68,7 @@
<td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ResponseStoppedException.html#response()">response</a></code></div>
- <p>the full server response for the request</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ResponseStoppedException.html#ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">ResponseStoppedException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a> response,<br> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause<br>)</code></div>
+ <p>The full server response.</p>
</td>
</tr>
</tbody>
@@ -221,14 +201,7 @@
<div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
<h3 class="api-name" id="response()">response</h3>
<pre class="api-signature no-pretty-print">public final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/ResponseStoppedException.html#response()">response</a></pre>
- <p>the full server response for the request</p>
- </div>
- </div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse, kotlin.Throwable)"></a><a name="ResponseStoppedException-com.google.firebase.vertexai.type.GenerateContentResponse-kotlin.Throwable-"></a><a name="responsestoppedexception"></a>
- <h3 class="api-name" id="ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">ResponseStoppedException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/ResponseStoppedException.html#ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">ResponseStoppedException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a> response,<br> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause<br>)</pre>
+ <p>The full server response.</p>
</div>
</div>
</body> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/SerializationException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/SerializationException.html 2024-10-10 18:40:34.011658236 +0000
@@ -53,26 +53,6 @@
<p>Something went wrong while trying to deserialize a response from the server.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SerializationException.html#SerializationException(kotlin.String,kotlin.Throwable)">SerializationException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="SerializationException(kotlin.String, kotlin.Throwable)"></a><a name="SerializationException-kotlin.String-kotlin.Throwable-"></a><a name="serializationexception"></a>
- <h3 class="api-name" id="SerializationException(kotlin.String,kotlin.Throwable)">SerializationException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/SerializationException.html#SerializationException(kotlin.String,kotlin.Throwable)">SerializationException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ServerException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ServerException.html 2024-10-10 18:40:34.011658236 +0000
@@ -53,26 +53,6 @@
<p>The server responded with a non 200 response code.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ServerException.html#ServerException(kotlin.String,kotlin.Throwable)">ServerException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="ServerException(kotlin.String, kotlin.Throwable)"></a><a name="ServerException-kotlin.String-kotlin.Throwable-"></a><a name="serverexception"></a>
- <h3 class="api-name" id="ServerException(kotlin.String,kotlin.Throwable)">ServerException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/ServerException.html#ServerException(kotlin.String,kotlin.Throwable)">ServerException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ServiceDisabledException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ServiceDisabledException.html 2024-10-10 18:40:34.011658236 +0000
@@ -53,26 +53,6 @@
<p>The service is not enabled for this Firebase project. Learn how to enable the required services in the <a href="https://firebase.google.com/docs/vertex-ai/faq-and-troubleshooting#required-apis">Firebase documentation.</a></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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ServiceDisabledException.html#ServiceDisabledException(kotlin.String,kotlin.Throwable)">ServiceDisabledException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="ServiceDisabledException(kotlin.String, kotlin.Throwable)"></a><a name="ServiceDisabledException-kotlin.String-kotlin.Throwable-"></a><a name="servicedisabledexception"></a>
- <h3 class="api-name" id="ServiceDisabledException(kotlin.String,kotlin.Throwable)">ServiceDisabledException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/ServiceDisabledException.html#ServiceDisabledException(kotlin.String,kotlin.Throwable)">ServiceDisabledException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/UnknownException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/UnknownException.html 2024-10-10 18:40:34.011658236 +0000
@@ -53,26 +53,6 @@
<p>Catch all case for exceptions not explicitly expected.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/UnknownException.html#UnknownException(kotlin.String,kotlin.Throwable)">UnknownException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="UnknownException(kotlin.String, kotlin.Throwable)"></a><a name="UnknownException-kotlin.String-kotlin.Throwable-"></a><a name="unknownexception"></a>
- <h3 class="api-name" id="UnknownException(kotlin.String,kotlin.Throwable)">UnknownException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/UnknownException.html#UnknownException(kotlin.String,kotlin.Throwable)">UnknownException</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/String.html">String</a> message, <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html 2024-10-10 18:42:40.584284889 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html 2024-10-10 18:40:34.011658236 +0000
@@ -54,26 +54,6 @@
<p>See the documentation for a <a href="https://firebase.google.com/docs/vertex-ai/locations?platform=android#available-locations">list of regions</a> (countries and territories) where the API is available.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html#UnsupportedUserLocationException(kotlin.Throwable)">UnsupportedUserLocationException</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="UnsupportedUserLocationException-kotlin.Throwable-"></a><a name="unsupporteduserlocationexception"></a>
- <h3 class="api-name" id="UnsupportedUserLocationException(kotlin.Throwable)">UnsupportedUserLocationException</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html#UnsupportedUserLocationException(kotlin.Throwable)">UnsupportedUserLocationException</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> cause)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html 2024-10-10 18:42:40.580284871 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html 2024-10-10 18:40:34.011658236 +0000
@@ -263,7 +263,7 @@
<tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidAPIKeyException.html">InvalidAPIKeyException</a></code></td>
<td>
- <p>The server responded that the API Key is not valid.</p>
+ <p>The provided API Key is not valid.</p>
</td>
</tr>
<tr>
@@ -281,7 +281,7 @@
<tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PromptBlockedException.html">PromptBlockedException</a></code></td>
<td>
- <p>A request was blocked for some reason.</p>
+ <p>A request was blocked.</p>
</td>
</tr>
<tr> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html 2024-10-10 18:42:40.572284837 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html 2024-10-10 18:40:34.003658188 +0000
@@ -8,7 +8,7 @@
<div id="metadata-info-block"></div>
<h1>FirebaseVertexAIException</h1>
<p>
- <pre>sealed class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">FirebaseVertexAIException</a> : <a href="https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html">RuntimeException</a></pre>
+ <pre>abstract class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">FirebaseVertexAIException</a> : <a href="https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html">RuntimeException</a></pre>
</p>
<div class="devsite-table-wrapper">
<table class="jd-inheritance-table">
@@ -55,7 +55,7 @@
<tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidAPIKeyException.html">InvalidAPIKeyException</a></code></td>
<td>
- <p>The server responded that the API Key is not valid.</p>
+ <p>The provided API Key is not valid.</p>
</td>
</tr>
<tr>
@@ -73,7 +73,7 @@
<tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html">PromptBlockedException</a></code></td>
<td>
- <p>A request was blocked for some reason.</p>
+ <p>A request was blocked.</p>
</td>
</tr>
<tr>
@@ -127,26 +127,6 @@
<p>Parent class for any errors that occur from the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI.html">FirebaseVertexAI</a></code> 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>Protected constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html#FirebaseVertexAIException(kotlin.String,kotlin.Throwable)">FirebaseVertexAIException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -268,13 +248,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Protected constructors</h2>
- <div class="api-item"><a name="FirebaseVertexAIException(kotlin.String, kotlin.Throwable)"></a><a name="FirebaseVertexAIException-kotlin.String-kotlin.Throwable-"></a><a name="firebasevertexaiexception"></a>
- <h3 class="api-name" id="FirebaseVertexAIException(kotlin.String,kotlin.Throwable)">FirebaseVertexAIException</h3>
- <pre class="api-signature no-pretty-print">protected <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html#FirebaseVertexAIException(kotlin.String,kotlin.Throwable)">FirebaseVertexAIException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InvalidAPIKeyException.html 2024-10-10 18:42:40.572284837 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InvalidAPIKeyException.html 2024-10-10 18:40:34.003658188 +0000
@@ -50,29 +50,9 @@
</table>
</div>
<hr>
- <p>The server responded that the API Key is not valid.</p>
+ <p>The provided API Key is not valid.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidAPIKeyException.html#InvalidAPIKeyException(kotlin.String,kotlin.Throwable)">InvalidAPIKeyException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="InvalidAPIKeyException(kotlin.String, kotlin.Throwable)"></a><a name="InvalidAPIKeyException-kotlin.String-kotlin.Throwable-"></a><a name="invalidapikeyexception"></a>
- <h3 class="api-name" id="InvalidAPIKeyException(kotlin.String,kotlin.Throwable)">InvalidAPIKeyException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidAPIKeyException.html#InvalidAPIKeyException(kotlin.String,kotlin.Throwable)">InvalidAPIKeyException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InvalidLocationException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InvalidLocationException.html 2024-10-10 18:40:34.003658188 +0000
@@ -54,26 +54,6 @@
<p>For a list of valid locations, see <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations#available-regions">Vertex AI locations.</a></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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidLocationException.html#InvalidLocationException(kotlin.String,kotlin.Throwable)">InvalidLocationException</a>(location: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="InvalidLocationException(kotlin.String, kotlin.Throwable)"></a><a name="InvalidLocationException-kotlin.String-kotlin.Throwable-"></a><a name="invalidlocationexception"></a>
- <h3 class="api-name" id="InvalidLocationException(kotlin.String,kotlin.Throwable)">InvalidLocationException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidLocationException.html#InvalidLocationException(kotlin.String,kotlin.Throwable)">InvalidLocationException</a>(location: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html 2024-10-10 18:40:34.003658188 +0000
@@ -54,26 +54,6 @@
<p>Usually indicative of consumer error.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html#InvalidStateException(kotlin.String,kotlin.Throwable)">InvalidStateException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="InvalidStateException(kotlin.String, kotlin.Throwable)"></a><a name="InvalidStateException-kotlin.String-kotlin.Throwable-"></a><a name="invalidstateexception"></a>
- <h3 class="api-name" id="InvalidStateException(kotlin.String,kotlin.Throwable)">InvalidStateException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html#InvalidStateException(kotlin.String,kotlin.Throwable)">InvalidStateException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html 2024-10-10 18:40:34.003658188 +0000
@@ -50,7 +50,7 @@
</table>
</div>
<hr>
- <p>A request was blocked for some reason.</p>
+ <p>A request was blocked.</p>
<p>See the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html#response()">response's</a></code> <code>promptFeedback.blockReason</code> for more information.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
@@ -61,26 +61,6 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html#PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">PromptBlockedException</a>(<br> response: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a>,<br> cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?<br>)</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>
@@ -89,7 +69,7 @@
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html#response()">response</a></code></div>
- <p>the full server response for the request.</p>
+ <p>The full server response.</p>
</td>
</tr>
</tbody>
@@ -218,18 +198,11 @@
</table>
</div>
<div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse, kotlin.Throwable)"></a><a name="PromptBlockedException-com.google.firebase.vertexai.type.GenerateContentResponse-kotlin.Throwable-"></a><a name="promptblockedexception"></a>
- <h3 class="api-name" id="PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">PromptBlockedException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html#PromptBlockedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">PromptBlockedException</a>(<br> response: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a>,<br> cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null<br>)</pre>
- </div>
- </div>
- <div class="list">
<h2>Public properties</h2>
<div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
<h3 class="api-name" id="response()">response</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html#response()">response</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a></pre>
- <p>the full server response for the request.</p>
+ <p>The full server response.</p>
</div>
</div>
</body> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/RequestTimeoutException.html 2024-10-10 18:42:40.572284837 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/RequestTimeoutException.html 2024-10-10 18:40:34.003658188 +0000
@@ -54,26 +54,6 @@
<p>Usually occurs due to a user specified <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestOptions.html#timeout()">timeout</a></code>.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestTimeoutException.html#RequestTimeoutException(kotlin.String,kotlin.Throwable)">RequestTimeoutException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="RequestTimeoutException(kotlin.String, kotlin.Throwable)"></a><a name="RequestTimeoutException-kotlin.String-kotlin.Throwable-"></a><a name="requesttimeoutexception"></a>
- <h3 class="api-name" id="RequestTimeoutException(kotlin.String,kotlin.Throwable)">RequestTimeoutException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestTimeoutException.html#RequestTimeoutException(kotlin.String,kotlin.Throwable)">RequestTimeoutException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ResponseStoppedException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ResponseStoppedException.html 2024-10-10 18:40:34.007658213 +0000
@@ -60,26 +60,6 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ResponseStoppedException.html#ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">ResponseStoppedException</a>(<br> response: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a>,<br> cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?<br>)</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>
@@ -88,7 +68,7 @@
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ResponseStoppedException.html#response()">response</a></code></div>
- <p>the full server response for the request</p>
+ <p>The full server response.</p>
</td>
</tr>
</tbody>
@@ -217,18 +197,11 @@
</table>
</div>
<div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse, kotlin.Throwable)"></a><a name="ResponseStoppedException-com.google.firebase.vertexai.type.GenerateContentResponse-kotlin.Throwable-"></a><a name="responsestoppedexception"></a>
- <h3 class="api-name" id="ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">ResponseStoppedException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ResponseStoppedException.html#ResponseStoppedException(com.google.firebase.vertexai.type.GenerateContentResponse,kotlin.Throwable)">ResponseStoppedException</a>(<br> response: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a>,<br> cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null<br>)</pre>
- </div>
- </div>
- <div class="list">
<h2>Public properties</h2>
<div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
<h3 class="api-name" id="response()">response</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ResponseStoppedException.html#response()">response</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.html">GenerateContentResponse</a></pre>
- <p>the full server response for the request</p>
+ <p>The full server response.</p>
</div>
</div>
</body> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/SerializationException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/SerializationException.html 2024-10-10 18:40:34.003658188 +0000
@@ -53,26 +53,6 @@
<p>Something went wrong while trying to deserialize a response from the server.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SerializationException.html#SerializationException(kotlin.String,kotlin.Throwable)">SerializationException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="SerializationException(kotlin.String, kotlin.Throwable)"></a><a name="SerializationException-kotlin.String-kotlin.Throwable-"></a><a name="serializationexception"></a>
- <h3 class="api-name" id="SerializationException(kotlin.String,kotlin.Throwable)">SerializationException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SerializationException.html#SerializationException(kotlin.String,kotlin.Throwable)">SerializationException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ServerException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ServerException.html 2024-10-10 18:40:34.003658188 +0000
@@ -53,26 +53,6 @@
<p>The server responded with a non 200 response code.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ServerException.html#ServerException(kotlin.String,kotlin.Throwable)">ServerException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="ServerException(kotlin.String, kotlin.Throwable)"></a><a name="ServerException-kotlin.String-kotlin.Throwable-"></a><a name="serverexception"></a>
- <h3 class="api-name" id="ServerException(kotlin.String,kotlin.Throwable)">ServerException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ServerException.html#ServerException(kotlin.String,kotlin.Throwable)">ServerException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ServiceDisabledException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ServiceDisabledException.html 2024-10-10 18:40:34.003658188 +0000
@@ -53,26 +53,6 @@
<p>The service is not enabled for this Firebase project. Learn how to enable the required services in the <a href="https://firebase.google.com/docs/vertex-ai/faq-and-troubleshooting#required-apis">Firebase documentation.</a></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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ServiceDisabledException.html#ServiceDisabledException(kotlin.String,kotlin.Throwable)">ServiceDisabledException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="ServiceDisabledException(kotlin.String, kotlin.Throwable)"></a><a name="ServiceDisabledException-kotlin.String-kotlin.Throwable-"></a><a name="servicedisabledexception"></a>
- <h3 class="api-name" id="ServiceDisabledException(kotlin.String,kotlin.Throwable)">ServiceDisabledException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ServiceDisabledException.html#ServiceDisabledException(kotlin.String,kotlin.Throwable)">ServiceDisabledException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/UnknownException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/UnknownException.html 2024-10-10 18:40:34.007658213 +0000
@@ -53,26 +53,6 @@
<p>Catch all case for exceptions not explicitly expected.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/UnknownException.html#UnknownException(kotlin.String,kotlin.Throwable)">UnknownException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -194,13 +174,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="UnknownException(kotlin.String, kotlin.Throwable)"></a><a name="UnknownException-kotlin.String-kotlin.Throwable-"></a><a name="unknownexception"></a>
- <h3 class="api-name" id="UnknownException(kotlin.String,kotlin.Throwable)">UnknownException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/UnknownException.html#UnknownException(kotlin.String,kotlin.Throwable)">UnknownException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html 2024-10-10 18:42:40.576284854 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html 2024-10-10 18:40:34.003658188 +0000
@@ -54,26 +54,6 @@
<p>See the documentation for a <a href="https://firebase.google.com/docs/vertex-ai/locations?platform=android#available-locations">list of regions</a> (countries and territories) where the API is available.</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 constructors</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html#UnsupportedUserLocationException(kotlin.Throwable)">UnsupportedUserLocationException</a>(cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
@@ -195,13 +175,6 @@
</tbody>
</table>
</div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="UnsupportedUserLocationException-kotlin.Throwable-"></a><a name="unsupporteduserlocationexception"></a>
- <h3 class="api-name" id="UnsupportedUserLocationException(kotlin.Throwable)">UnsupportedUserLocationException</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/UnsupportedUserLocationException.html#UnsupportedUserLocationException(kotlin.Throwable)">UnsupportedUserLocationException</a>(cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>? = null)</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html 2024-10-10 18:42:40.572284837 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html 2024-10-10 18:40:34.003658188 +0000
@@ -251,7 +251,7 @@
<tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidAPIKeyException.html">InvalidAPIKeyException</a></code></td>
<td>
- <p>The server responded that the API Key is not valid.</p>
+ <p>The provided API Key is not valid.</p>
</td>
</tr>
<tr>
@@ -269,7 +269,7 @@
<tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptBlockedException.html">PromptBlockedException</a></code></td>
<td>
- <p>A request was blocked for some reason.</p>
+ <p>A request was blocked.</p>
</td>
</tr>
<tr> |
daymxn
approved these changes
Oct 10, 2024
Co-authored-by: Daymon <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For better API evolution while maintaining backward compatibility, moved
FirebaseVertexAIException
from sealed to abstract class.Also, since the dev shoul not be creating instances of the class, or its subclasses, marking those constructors as internal.