|
55 | 55 | * as threads. In the example above, try-with-resources is used, which automatically calls close().
|
56 | 56 | *
|
57 | 57 | * <table>
|
| 58 | + * <caption>Methods</caption> |
58 | 59 | * <tr>
|
59 | 60 | * <th>Method</th>
|
60 | 61 | * <th>Description</th>
|
61 | 62 | * <th>Method Variants</th>
|
| 63 | + * </tr> |
62 | 64 | * <tr>
|
63 |
| - * <td>BatchAnnotateImages</td> |
| 65 | + * <td><p> BatchAnnotateImages</td> |
64 | 66 | * <td><p> Run image detection and annotation for a batch of images.</td>
|
65 | 67 | * <td>
|
66 | 68 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
67 | 69 | * <ul>
|
68 |
| - * <li>batchAnnotateImages(List<AnnotateImageRequest> requests) |
69 |
| - * <li>batchAnnotateImages(BatchAnnotateImagesRequest request) |
| 70 | + * <li><p> batchAnnotateImages(List<AnnotateImageRequest> requests) |
| 71 | + * <li><p> batchAnnotateImages(BatchAnnotateImagesRequest request) |
70 | 72 | * </ul>
|
71 | 73 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
72 | 74 | * <ul>
|
73 |
| - * <li>batchAnnotateImagesCallable() |
| 75 | + * <li><p> batchAnnotateImagesCallable() |
74 | 76 | * </ul>
|
75 | 77 | * </td>
|
76 | 78 | * </tr>
|
77 | 79 | * <tr>
|
78 |
| - * <td>BatchAnnotateFiles</td> |
| 80 | + * <td><p> BatchAnnotateFiles</td> |
79 | 81 | * <td><p> Service that performs image detection and annotation for a batch of files. Now only "application/pdf", "image/tiff" and "image/gif" are supported.
|
80 | 82 | * <p> This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.</td>
|
81 | 83 | * <td>
|
82 | 84 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
83 | 85 | * <ul>
|
84 |
| - * <li>batchAnnotateFiles(List<AnnotateFileRequest> requests) |
85 |
| - * <li>batchAnnotateFiles(BatchAnnotateFilesRequest request) |
| 86 | + * <li><p> batchAnnotateFiles(List<AnnotateFileRequest> requests) |
| 87 | + * <li><p> batchAnnotateFiles(BatchAnnotateFilesRequest request) |
86 | 88 | * </ul>
|
87 | 89 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
88 | 90 | * <ul>
|
89 |
| - * <li>batchAnnotateFilesCallable() |
| 91 | + * <li><p> batchAnnotateFilesCallable() |
90 | 92 | * </ul>
|
91 | 93 | * </td>
|
92 | 94 | * </tr>
|
93 | 95 | * <tr>
|
94 |
| - * <td>AsyncBatchAnnotateImages</td> |
| 96 | + * <td><p> AsyncBatchAnnotateImages</td> |
95 | 97 | * <td><p> Run asynchronous image detection and annotation for a list of images.
|
96 | 98 | * <p> Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).
|
97 | 99 | * <p> This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.</td>
|
98 | 100 | * <td>
|
99 | 101 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
100 | 102 | * <ul>
|
101 |
| - * <li>asyncBatchAnnotateImagesAsync(List<AnnotateImageRequest> requests, OutputConfig outputConfig) |
102 |
| - * <li>asyncBatchAnnotateImagesAsync(AsyncBatchAnnotateImagesRequest request) |
| 103 | + * <li><p> asyncBatchAnnotateImagesAsync(List<AnnotateImageRequest> requests, OutputConfig outputConfig) |
| 104 | + * <li><p> asyncBatchAnnotateImagesAsync(AsyncBatchAnnotateImagesRequest request) |
103 | 105 | * </ul>
|
104 | 106 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
105 | 107 | * <ul>
|
106 |
| - * <li>asyncBatchAnnotateImagesOperationCallable() |
107 |
| - * <li>asyncBatchAnnotateImagesCallable() |
| 108 | + * <li><p> asyncBatchAnnotateImagesOperationCallable() |
| 109 | + * <li><p> asyncBatchAnnotateImagesCallable() |
108 | 110 | * </ul>
|
109 | 111 | * </td>
|
110 | 112 | * </tr>
|
111 | 113 | * <tr>
|
112 |
| - * <td>AsyncBatchAnnotateFiles</td> |
| 114 | + * <td><p> AsyncBatchAnnotateFiles</td> |
113 | 115 | * <td><p> Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).</td>
|
114 | 116 | * <td>
|
115 | 117 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
116 | 118 | * <ul>
|
117 |
| - * <li>asyncBatchAnnotateFilesAsync(List<AsyncAnnotateFileRequest> requests) |
118 |
| - * <li>asyncBatchAnnotateFilesAsync(AsyncBatchAnnotateFilesRequest request) |
| 119 | + * <li><p> asyncBatchAnnotateFilesAsync(List<AsyncAnnotateFileRequest> requests) |
| 120 | + * <li><p> asyncBatchAnnotateFilesAsync(AsyncBatchAnnotateFilesRequest request) |
119 | 121 | * </ul>
|
120 | 122 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
121 | 123 | * <ul>
|
122 |
| - * <li>asyncBatchAnnotateFilesOperationCallable() |
123 |
| - * <li>asyncBatchAnnotateFilesCallable() |
| 124 | + * <li><p> asyncBatchAnnotateFilesOperationCallable() |
| 125 | + * <li><p> asyncBatchAnnotateFilesCallable() |
124 | 126 | * </ul>
|
125 | 127 | * </td>
|
126 | 128 | * </tr>
|
127 |
| - * </tr> |
128 | 129 | * </table>
|
129 | 130 | *
|
130 | 131 | * <p>See the individual methods for example code.
|
|
0 commit comments