|
80 | 80 | * as threads. In the example above, try-with-resources is used, which automatically calls close(). |
81 | 81 | * |
82 | 82 | * <table> |
83 | | - * <caption>Methods</caption> |
| 83 | + * <caption>Methods</caption> |
84 | 84 | * <tr> |
85 | 85 | * <th>Method</th> |
86 | 86 | * <th>Description</th> |
87 | 87 | * <th>Method Variants</th> |
88 | 88 | * </tr> |
89 | 89 | * <tr> |
90 | | - * <td>CreateSchema</td> |
| 90 | + * <td><p> CreateSchema</td> |
91 | 91 | * <td><p> Creates a schema.</td> |
92 | 92 | * <td> |
93 | 93 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
94 | 94 | * <ul> |
95 | | - * <li>createSchema(CreateSchemaRequest request) |
| 95 | + * <li><p> createSchema(CreateSchemaRequest request) |
96 | 96 | * </ul> |
97 | 97 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
98 | 98 | * <ul> |
99 | | - * <li>createSchema(ProjectName parent, Schema schema, String schemaId) |
100 | | - * <li>createSchema(String parent, Schema schema, String schemaId) |
| 99 | + * <li><p> createSchema(ProjectName parent, Schema schema, String schemaId) |
| 100 | + * <li><p> createSchema(String parent, Schema schema, String schemaId) |
101 | 101 | * </ul> |
102 | 102 | * <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> |
103 | 103 | * <ul> |
104 | | - * <li>createSchemaCallable() |
| 104 | + * <li><p> createSchemaCallable() |
105 | 105 | * </ul> |
106 | 106 | * </td> |
107 | 107 | * </tr> |
108 | 108 | * <tr> |
109 | | - * <td>GetSchema</td> |
| 109 | + * <td><p> GetSchema</td> |
110 | 110 | * <td><p> Gets a schema.</td> |
111 | 111 | * <td> |
112 | 112 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
113 | 113 | * <ul> |
114 | | - * <li>getSchema(GetSchemaRequest request) |
| 114 | + * <li><p> getSchema(GetSchemaRequest request) |
115 | 115 | * </ul> |
116 | 116 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
117 | 117 | * <ul> |
118 | | - * <li>getSchema(SchemaName name) |
119 | | - * <li>getSchema(String name) |
| 118 | + * <li><p> getSchema(SchemaName name) |
| 119 | + * <li><p> getSchema(String name) |
120 | 120 | * </ul> |
121 | 121 | * <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> |
122 | 122 | * <ul> |
123 | | - * <li>getSchemaCallable() |
| 123 | + * <li><p> getSchemaCallable() |
124 | 124 | * </ul> |
125 | 125 | * </td> |
126 | 126 | * </tr> |
127 | 127 | * <tr> |
128 | | - * <td>ListSchemas</td> |
| 128 | + * <td><p> ListSchemas</td> |
129 | 129 | * <td><p> Lists schemas in a project.</td> |
130 | 130 | * <td> |
131 | 131 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
132 | 132 | * <ul> |
133 | | - * <li>listSchemas(ListSchemasRequest request) |
| 133 | + * <li><p> listSchemas(ListSchemasRequest request) |
134 | 134 | * </ul> |
135 | 135 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
136 | 136 | * <ul> |
137 | | - * <li>listSchemas(ProjectName parent) |
138 | | - * <li>listSchemas(String parent) |
| 137 | + * <li><p> listSchemas(ProjectName parent) |
| 138 | + * <li><p> listSchemas(String parent) |
139 | 139 | * </ul> |
140 | 140 | * <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> |
141 | 141 | * <ul> |
142 | | - * <li>listSchemasPagedCallable() |
143 | | - * <li>listSchemasCallable() |
| 142 | + * <li><p> listSchemasPagedCallable() |
| 143 | + * <li><p> listSchemasCallable() |
144 | 144 | * </ul> |
145 | 145 | * </td> |
146 | 146 | * </tr> |
147 | 147 | * <tr> |
148 | | - * <td>ListSchemaRevisions</td> |
| 148 | + * <td><p> ListSchemaRevisions</td> |
149 | 149 | * <td><p> Lists all schema revisions for the named schema.</td> |
150 | 150 | * <td> |
151 | 151 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
152 | 152 | * <ul> |
153 | | - * <li>listSchemaRevisions(ListSchemaRevisionsRequest request) |
| 153 | + * <li><p> listSchemaRevisions(ListSchemaRevisionsRequest request) |
154 | 154 | * </ul> |
155 | 155 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
156 | 156 | * <ul> |
157 | | - * <li>listSchemaRevisions(SchemaName name) |
158 | | - * <li>listSchemaRevisions(String name) |
| 157 | + * <li><p> listSchemaRevisions(SchemaName name) |
| 158 | + * <li><p> listSchemaRevisions(String name) |
159 | 159 | * </ul> |
160 | 160 | * <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> |
161 | 161 | * <ul> |
162 | | - * <li>listSchemaRevisionsPagedCallable() |
163 | | - * <li>listSchemaRevisionsCallable() |
| 162 | + * <li><p> listSchemaRevisionsPagedCallable() |
| 163 | + * <li><p> listSchemaRevisionsCallable() |
164 | 164 | * </ul> |
165 | 165 | * </td> |
166 | 166 | * </tr> |
167 | 167 | * <tr> |
168 | | - * <td>CommitSchema</td> |
| 168 | + * <td><p> CommitSchema</td> |
169 | 169 | * <td><p> Commits a new schema revision to an existing schema.</td> |
170 | 170 | * <td> |
171 | 171 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
172 | 172 | * <ul> |
173 | | - * <li>commitSchema(CommitSchemaRequest request) |
| 173 | + * <li><p> commitSchema(CommitSchemaRequest request) |
174 | 174 | * </ul> |
175 | 175 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
176 | 176 | * <ul> |
177 | | - * <li>commitSchema(SchemaName name, Schema schema) |
178 | | - * <li>commitSchema(String name, Schema schema) |
| 177 | + * <li><p> commitSchema(SchemaName name, Schema schema) |
| 178 | + * <li><p> commitSchema(String name, Schema schema) |
179 | 179 | * </ul> |
180 | 180 | * <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> |
181 | 181 | * <ul> |
182 | | - * <li>commitSchemaCallable() |
| 182 | + * <li><p> commitSchemaCallable() |
183 | 183 | * </ul> |
184 | 184 | * </td> |
185 | 185 | * </tr> |
186 | 186 | * <tr> |
187 | | - * <td>RollbackSchema</td> |
| 187 | + * <td><p> RollbackSchema</td> |
188 | 188 | * <td><p> Creates a new schema revision that is a copy of the provided revision_id.</td> |
189 | 189 | * <td> |
190 | 190 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
191 | 191 | * <ul> |
192 | | - * <li>rollbackSchema(RollbackSchemaRequest request) |
| 192 | + * <li><p> rollbackSchema(RollbackSchemaRequest request) |
193 | 193 | * </ul> |
194 | 194 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
195 | 195 | * <ul> |
196 | | - * <li>rollbackSchema(SchemaName name, String revisionId) |
197 | | - * <li>rollbackSchema(String name, String revisionId) |
| 196 | + * <li><p> rollbackSchema(SchemaName name, String revisionId) |
| 197 | + * <li><p> rollbackSchema(String name, String revisionId) |
198 | 198 | * </ul> |
199 | 199 | * <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> |
200 | 200 | * <ul> |
201 | | - * <li>rollbackSchemaCallable() |
| 201 | + * <li><p> rollbackSchemaCallable() |
202 | 202 | * </ul> |
203 | 203 | * </td> |
204 | 204 | * </tr> |
205 | 205 | * <tr> |
206 | | - * <td>DeleteSchemaRevision</td> |
| 206 | + * <td><p> DeleteSchemaRevision</td> |
207 | 207 | * <td><p> Deletes a specific schema revision.</td> |
208 | 208 | * <td> |
209 | 209 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
210 | 210 | * <ul> |
211 | | - * <li>deleteSchemaRevision(DeleteSchemaRevisionRequest request) |
| 211 | + * <li><p> deleteSchemaRevision(DeleteSchemaRevisionRequest request) |
212 | 212 | * </ul> |
213 | 213 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
214 | 214 | * <ul> |
215 | | - * <li>deleteSchemaRevision(SchemaName name, String revisionId) |
216 | | - * <li>deleteSchemaRevision(String name, String revisionId) |
| 215 | + * <li><p> deleteSchemaRevision(SchemaName name, String revisionId) |
| 216 | + * <li><p> deleteSchemaRevision(String name, String revisionId) |
217 | 217 | * </ul> |
218 | 218 | * <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> |
219 | 219 | * <ul> |
220 | | - * <li>deleteSchemaRevisionCallable() |
| 220 | + * <li><p> deleteSchemaRevisionCallable() |
221 | 221 | * </ul> |
222 | 222 | * </td> |
223 | 223 | * </tr> |
224 | 224 | * <tr> |
225 | | - * <td>DeleteSchema</td> |
| 225 | + * <td><p> DeleteSchema</td> |
226 | 226 | * <td><p> Deletes a schema.</td> |
227 | 227 | * <td> |
228 | 228 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
229 | 229 | * <ul> |
230 | | - * <li>deleteSchema(DeleteSchemaRequest request) |
| 230 | + * <li><p> deleteSchema(DeleteSchemaRequest request) |
231 | 231 | * </ul> |
232 | 232 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
233 | 233 | * <ul> |
234 | | - * <li>deleteSchema(SchemaName name) |
235 | | - * <li>deleteSchema(String name) |
| 234 | + * <li><p> deleteSchema(SchemaName name) |
| 235 | + * <li><p> deleteSchema(String name) |
236 | 236 | * </ul> |
237 | 237 | * <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> |
238 | 238 | * <ul> |
239 | | - * <li>deleteSchemaCallable() |
| 239 | + * <li><p> deleteSchemaCallable() |
240 | 240 | * </ul> |
241 | 241 | * </td> |
242 | 242 | * </tr> |
243 | 243 | * <tr> |
244 | | - * <td>ValidateSchema</td> |
| 244 | + * <td><p> ValidateSchema</td> |
245 | 245 | * <td><p> Validates a schema.</td> |
246 | 246 | * <td> |
247 | 247 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
248 | 248 | * <ul> |
249 | | - * <li>validateSchema(ValidateSchemaRequest request) |
| 249 | + * <li><p> validateSchema(ValidateSchemaRequest request) |
250 | 250 | * </ul> |
251 | 251 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
252 | 252 | * <ul> |
253 | | - * <li>validateSchema(ProjectName parent, Schema schema) |
254 | | - * <li>validateSchema(String parent, Schema schema) |
| 253 | + * <li><p> validateSchema(ProjectName parent, Schema schema) |
| 254 | + * <li><p> validateSchema(String parent, Schema schema) |
255 | 255 | * </ul> |
256 | 256 | * <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> |
257 | 257 | * <ul> |
258 | | - * <li>validateSchemaCallable() |
| 258 | + * <li><p> validateSchemaCallable() |
259 | 259 | * </ul> |
260 | 260 | * </td> |
261 | 261 | * </tr> |
262 | 262 | * <tr> |
263 | | - * <td>ValidateMessage</td> |
| 263 | + * <td><p> ValidateMessage</td> |
264 | 264 | * <td><p> Validates a message against a schema.</td> |
265 | 265 | * <td> |
266 | 266 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
267 | 267 | * <ul> |
268 | | - * <li>validateMessage(ValidateMessageRequest request) |
| 268 | + * <li><p> validateMessage(ValidateMessageRequest request) |
269 | 269 | * </ul> |
270 | 270 | * <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> |
271 | 271 | * <ul> |
272 | | - * <li>validateMessageCallable() |
| 272 | + * <li><p> validateMessageCallable() |
273 | 273 | * </ul> |
274 | 274 | * </td> |
275 | 275 | * </tr> |
276 | 276 | * <tr> |
277 | | - * <td>SetIamPolicy</td> |
| 277 | + * <td><p> SetIamPolicy</td> |
278 | 278 | * <td><p> Sets the access control policy on the specified resource. Replacesany existing policy. |
279 | 279 | * <p> Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.</td> |
280 | 280 | * <td> |
281 | 281 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
282 | 282 | * <ul> |
283 | | - * <li>setIamPolicy(SetIamPolicyRequest request) |
| 283 | + * <li><p> setIamPolicy(SetIamPolicyRequest request) |
284 | 284 | * </ul> |
285 | 285 | * <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> |
286 | 286 | * <ul> |
287 | | - * <li>setIamPolicyCallable() |
| 287 | + * <li><p> setIamPolicyCallable() |
288 | 288 | * </ul> |
289 | 289 | * </td> |
290 | 290 | * </tr> |
291 | 291 | * <tr> |
292 | | - * <td>GetIamPolicy</td> |
| 292 | + * <td><p> GetIamPolicy</td> |
293 | 293 | * <td><p> Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.</td> |
294 | 294 | * <td> |
295 | 295 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
296 | 296 | * <ul> |
297 | | - * <li>getIamPolicy(GetIamPolicyRequest request) |
| 297 | + * <li><p> getIamPolicy(GetIamPolicyRequest request) |
298 | 298 | * </ul> |
299 | 299 | * <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> |
300 | 300 | * <ul> |
301 | | - * <li>getIamPolicyCallable() |
| 301 | + * <li><p> getIamPolicyCallable() |
302 | 302 | * </ul> |
303 | 303 | * </td> |
304 | 304 | * </tr> |
305 | 305 | * <tr> |
306 | | - * <td>TestIamPermissions</td> |
| 306 | + * <td><p> TestIamPermissions</td> |
307 | 307 | * <td><p> Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. |
308 | 308 | * <p> Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.</td> |
309 | 309 | * <td> |
310 | 310 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
311 | 311 | * <ul> |
312 | | - * <li>testIamPermissions(TestIamPermissionsRequest request) |
| 312 | + * <li><p> testIamPermissions(TestIamPermissionsRequest request) |
313 | 313 | * </ul> |
314 | 314 | * <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> |
315 | 315 | * <ul> |
316 | | - * <li>testIamPermissionsCallable() |
| 316 | + * <li><p> testIamPermissionsCallable() |
317 | 317 | * </ul> |
318 | 318 | * </td> |
319 | 319 | * </tr> |
@@ -449,7 +449,7 @@ public SchemaServiceStub getStub() { |
449 | 449 | * will have a `name` made using the given `parent` and `schema_id`. |
450 | 450 | * @param schemaId The ID to use for the schema, which will become the final component of the |
451 | 451 | * schema's resource name. |
452 | | - * <p>See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name |
| 452 | + * <p>See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name |
453 | 453 | * constraints. |
454 | 454 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails |
455 | 455 | */ |
@@ -490,7 +490,7 @@ public final Schema createSchema(ProjectName parent, Schema schema, String schem |
490 | 490 | * will have a `name` made using the given `parent` and `schema_id`. |
491 | 491 | * @param schemaId The ID to use for the schema, which will become the final component of the |
492 | 492 | * schema's resource name. |
493 | | - * <p>See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name |
| 493 | + * <p>See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name |
494 | 494 | * constraints. |
495 | 495 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails |
496 | 496 | */ |
|
0 commit comments