Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
docs: remove raw html from proto comments (#182)
Browse files Browse the repository at this point in the history
See https://aip.dev/192

> Any formatting in comments must be in CommonMark. Headings and tables must not be used, as these cause problems for several tools, and are unsuitable for client library reference documentation.
>
> Comments should use code font for property names and for literals (such as true).
>
> Raw HTML must not be used.

PiperOrigin-RevId: 308716969

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Apr 27 16:03:26 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 371206424e6db4df2cb3734bb1013dcaac9dbe4b
Source-Link: googleapis/googleapis@3712064
  • Loading branch information
yoshi-automation committed Apr 28, 2020
1 parent 5e64098 commit ccdfeff
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 455 deletions.

Large diffs are not rendered by default.

Expand Up @@ -183,42 +183,25 @@ public abstract static class PredictionServiceImplBase implements io.grpc.Bindab
* Perform an online prediction. The prediction result is directly
* returned in the response.
* Available for following ML scenarios, and their expected request payloads:
* &lt;table&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Classification&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Object Detection&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Classification&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Entity Extraction&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Sentiment Analysis&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Translation&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 25,000 characters, UTF-8 encoded.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Tables&lt;/td&gt;
* &lt;td&gt;A row with column values matching
* AutoML Vision Classification
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Vision Object Detection
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Natural Language Classification
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Natural Language Entity Extraction
* * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.
* AutoML Natural Language Sentiment Analysis
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Translation
* * A TextSnippet up to 25,000 characters, UTF-8 encoded.
* AutoML Tables
* * A row with column values matching
* the columns of the model, up to 5MB. Not available for FORECASTING
* `prediction_type`.
* &lt;/td&gt;
* &lt;/tr&gt;
* &lt;/table&gt;
* </pre>
*/
public void predict(
Expand Down Expand Up @@ -300,42 +283,25 @@ protected PredictionServiceStub build(
* Perform an online prediction. The prediction result is directly
* returned in the response.
* Available for following ML scenarios, and their expected request payloads:
* &lt;table&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Classification&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Object Detection&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Classification&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Entity Extraction&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Sentiment Analysis&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Translation&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 25,000 characters, UTF-8 encoded.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Tables&lt;/td&gt;
* &lt;td&gt;A row with column values matching
* AutoML Vision Classification
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Vision Object Detection
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Natural Language Classification
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Natural Language Entity Extraction
* * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.
* AutoML Natural Language Sentiment Analysis
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Translation
* * A TextSnippet up to 25,000 characters, UTF-8 encoded.
* AutoML Tables
* * A row with column values matching
* the columns of the model, up to 5MB. Not available for FORECASTING
* `prediction_type`.
* &lt;/td&gt;
* &lt;/tr&gt;
* &lt;/table&gt;
* </pre>
*/
public void predict(
Expand Down Expand Up @@ -404,42 +370,25 @@ protected PredictionServiceBlockingStub build(
* Perform an online prediction. The prediction result is directly
* returned in the response.
* Available for following ML scenarios, and their expected request payloads:
* &lt;table&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Classification&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Object Detection&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Classification&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Entity Extraction&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Sentiment Analysis&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Translation&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 25,000 characters, UTF-8 encoded.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Tables&lt;/td&gt;
* &lt;td&gt;A row with column values matching
* AutoML Vision Classification
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Vision Object Detection
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Natural Language Classification
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Natural Language Entity Extraction
* * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.
* AutoML Natural Language Sentiment Analysis
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Translation
* * A TextSnippet up to 25,000 characters, UTF-8 encoded.
* AutoML Tables
* * A row with column values matching
* the columns of the model, up to 5MB. Not available for FORECASTING
* `prediction_type`.
* &lt;/td&gt;
* &lt;/tr&gt;
* &lt;/table&gt;
* </pre>
*/
public com.google.cloud.automl.v1.PredictResponse predict(
Expand Down Expand Up @@ -501,42 +450,25 @@ protected PredictionServiceFutureStub build(
* Perform an online prediction. The prediction result is directly
* returned in the response.
* Available for following ML scenarios, and their expected request payloads:
* &lt;table&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Classification&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Vision Object Detection&lt;/td&gt;
* &lt;td&gt;An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Classification&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Entity Extraction&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Natural Language Sentiment Analysis&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Translation&lt;/td&gt;
* &lt;td&gt;A TextSnippet up to 25,000 characters, UTF-8 encoded.&lt;/td&gt;
* &lt;/tr&gt;
* &lt;tr&gt;
* &lt;td&gt;AutoML Tables&lt;/td&gt;
* &lt;td&gt;A row with column values matching
* AutoML Vision Classification
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Vision Object Detection
* * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
* AutoML Natural Language Classification
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Natural Language Entity Extraction
* * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
* in .PDF, .TIF or .TIFF format with size upto 20MB.
* AutoML Natural Language Sentiment Analysis
* * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
* .PDF, .TIF or .TIFF format with size upto 2MB.
* AutoML Translation
* * A TextSnippet up to 25,000 characters, UTF-8 encoded.
* AutoML Tables
* * A row with column values matching
* the columns of the model, up to 5MB. Not available for FORECASTING
* `prediction_type`.
* &lt;/td&gt;
* &lt;/tr&gt;
* &lt;/table&gt;
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down

0 comments on commit ccdfeff

Please sign in to comment.