|
16 | 16 |
|
17 | 17 | package com.google.cloud.documentai.v1;
|
18 | 18 |
|
| 19 | +import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListEvaluationsPagedResponse; |
19 | 20 | import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListLocationsPagedResponse;
|
20 | 21 | import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListProcessorTypesPagedResponse;
|
21 | 22 | import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse;
|
@@ -135,6 +136,23 @@ public UnaryCallSettings<GetProcessorRequest, Processor> getProcessorSettings()
|
135 | 136 | return ((DocumentProcessorServiceStubSettings) getStubSettings()).getProcessorSettings();
|
136 | 137 | }
|
137 | 138 |
|
| 139 | + /** Returns the object with the settings used for calls to trainProcessorVersion. */ |
| 140 | + public UnaryCallSettings<TrainProcessorVersionRequest, Operation> |
| 141 | + trainProcessorVersionSettings() { |
| 142 | + return ((DocumentProcessorServiceStubSettings) getStubSettings()) |
| 143 | + .trainProcessorVersionSettings(); |
| 144 | + } |
| 145 | + |
| 146 | + /** Returns the object with the settings used for calls to trainProcessorVersion. */ |
| 147 | + public OperationCallSettings< |
| 148 | + TrainProcessorVersionRequest, |
| 149 | + TrainProcessorVersionResponse, |
| 150 | + TrainProcessorVersionMetadata> |
| 151 | + trainProcessorVersionOperationSettings() { |
| 152 | + return ((DocumentProcessorServiceStubSettings) getStubSettings()) |
| 153 | + .trainProcessorVersionOperationSettings(); |
| 154 | + } |
| 155 | + |
138 | 156 | /** Returns the object with the settings used for calls to getProcessorVersion. */
|
139 | 157 | public UnaryCallSettings<GetProcessorVersionRequest, ProcessorVersion>
|
140 | 158 | getProcessorVersionSettings() {
|
@@ -272,6 +290,35 @@ public UnaryCallSettings<ReviewDocumentRequest, Operation> reviewDocumentSetting
|
272 | 290 | .reviewDocumentOperationSettings();
|
273 | 291 | }
|
274 | 292 |
|
| 293 | + /** Returns the object with the settings used for calls to evaluateProcessorVersion. */ |
| 294 | + public UnaryCallSettings<EvaluateProcessorVersionRequest, Operation> |
| 295 | + evaluateProcessorVersionSettings() { |
| 296 | + return ((DocumentProcessorServiceStubSettings) getStubSettings()) |
| 297 | + .evaluateProcessorVersionSettings(); |
| 298 | + } |
| 299 | + |
| 300 | + /** Returns the object with the settings used for calls to evaluateProcessorVersion. */ |
| 301 | + public OperationCallSettings< |
| 302 | + EvaluateProcessorVersionRequest, |
| 303 | + EvaluateProcessorVersionResponse, |
| 304 | + EvaluateProcessorVersionMetadata> |
| 305 | + evaluateProcessorVersionOperationSettings() { |
| 306 | + return ((DocumentProcessorServiceStubSettings) getStubSettings()) |
| 307 | + .evaluateProcessorVersionOperationSettings(); |
| 308 | + } |
| 309 | + |
| 310 | + /** Returns the object with the settings used for calls to getEvaluation. */ |
| 311 | + public UnaryCallSettings<GetEvaluationRequest, Evaluation> getEvaluationSettings() { |
| 312 | + return ((DocumentProcessorServiceStubSettings) getStubSettings()).getEvaluationSettings(); |
| 313 | + } |
| 314 | + |
| 315 | + /** Returns the object with the settings used for calls to listEvaluations. */ |
| 316 | + public PagedCallSettings< |
| 317 | + ListEvaluationsRequest, ListEvaluationsResponse, ListEvaluationsPagedResponse> |
| 318 | + listEvaluationsSettings() { |
| 319 | + return ((DocumentProcessorServiceStubSettings) getStubSettings()).listEvaluationsSettings(); |
| 320 | + } |
| 321 | + |
275 | 322 | /** Returns the object with the settings used for calls to listLocations. */
|
276 | 323 | public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
|
277 | 324 | listLocationsSettings() {
|
@@ -448,6 +495,21 @@ public UnaryCallSettings.Builder<GetProcessorRequest, Processor> getProcessorSet
|
448 | 495 | return getStubSettingsBuilder().getProcessorSettings();
|
449 | 496 | }
|
450 | 497 |
|
| 498 | + /** Returns the builder for the settings used for calls to trainProcessorVersion. */ |
| 499 | + public UnaryCallSettings.Builder<TrainProcessorVersionRequest, Operation> |
| 500 | + trainProcessorVersionSettings() { |
| 501 | + return getStubSettingsBuilder().trainProcessorVersionSettings(); |
| 502 | + } |
| 503 | + |
| 504 | + /** Returns the builder for the settings used for calls to trainProcessorVersion. */ |
| 505 | + public OperationCallSettings.Builder< |
| 506 | + TrainProcessorVersionRequest, |
| 507 | + TrainProcessorVersionResponse, |
| 508 | + TrainProcessorVersionMetadata> |
| 509 | + trainProcessorVersionOperationSettings() { |
| 510 | + return getStubSettingsBuilder().trainProcessorVersionOperationSettings(); |
| 511 | + } |
| 512 | + |
451 | 513 | /** Returns the builder for the settings used for calls to getProcessorVersion. */
|
452 | 514 | public UnaryCallSettings.Builder<GetProcessorVersionRequest, ProcessorVersion>
|
453 | 515 | getProcessorVersionSettings() {
|
@@ -574,6 +636,33 @@ public UnaryCallSettings.Builder<ReviewDocumentRequest, Operation> reviewDocumen
|
574 | 636 | return getStubSettingsBuilder().reviewDocumentOperationSettings();
|
575 | 637 | }
|
576 | 638 |
|
| 639 | + /** Returns the builder for the settings used for calls to evaluateProcessorVersion. */ |
| 640 | + public UnaryCallSettings.Builder<EvaluateProcessorVersionRequest, Operation> |
| 641 | + evaluateProcessorVersionSettings() { |
| 642 | + return getStubSettingsBuilder().evaluateProcessorVersionSettings(); |
| 643 | + } |
| 644 | + |
| 645 | + /** Returns the builder for the settings used for calls to evaluateProcessorVersion. */ |
| 646 | + public OperationCallSettings.Builder< |
| 647 | + EvaluateProcessorVersionRequest, |
| 648 | + EvaluateProcessorVersionResponse, |
| 649 | + EvaluateProcessorVersionMetadata> |
| 650 | + evaluateProcessorVersionOperationSettings() { |
| 651 | + return getStubSettingsBuilder().evaluateProcessorVersionOperationSettings(); |
| 652 | + } |
| 653 | + |
| 654 | + /** Returns the builder for the settings used for calls to getEvaluation. */ |
| 655 | + public UnaryCallSettings.Builder<GetEvaluationRequest, Evaluation> getEvaluationSettings() { |
| 656 | + return getStubSettingsBuilder().getEvaluationSettings(); |
| 657 | + } |
| 658 | + |
| 659 | + /** Returns the builder for the settings used for calls to listEvaluations. */ |
| 660 | + public PagedCallSettings.Builder< |
| 661 | + ListEvaluationsRequest, ListEvaluationsResponse, ListEvaluationsPagedResponse> |
| 662 | + listEvaluationsSettings() { |
| 663 | + return getStubSettingsBuilder().listEvaluationsSettings(); |
| 664 | + } |
| 665 | + |
577 | 666 | /** Returns the builder for the settings used for calls to listLocations. */
|
578 | 667 | public PagedCallSettings.Builder<
|
579 | 668 | ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
|
|
0 commit comments